Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: merry71

Free Zend PHP 5 Certification Practice Questions

Exams4sure Dumps

Exam style questions across every 200-500 domain

Last Update 3 days ago
Total Questions : 219

Start with our free 200-500 practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real Zend Certification exam. Each 200-500 exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Zend weak domains, see where you're losing marks, and build a focused study plan in minutes.

200-500 PDF

200-500 PDF (Printable)
$46.5
$154.99

200-500 Testing Engine

200-500 PDF (Printable)
$51
$169.99

200-500 PDF + Testing Engine

200-500 PDF (Printable)
$63.9
$212.99
Question # 1

What is the method used to execute XPath queries in the SimpleXML extension?

Options:

A.  

xpathQuery()

B.  

xpath()

C.  

simpleXMLXpath()

D.  

query()

E.  

evaluate()

Discussion 0
Question # 2

How can the id attribute of the 2nd baz element from the XML string below be retrieved from the SimpleXML object found inside $xml?

One

Two

Options:

A.  

$xml->getElementById('2');

B.  

$xml->foo->bar->baz[2]['id']

C.  

$xml->foo->baz[2]['id']

D.  

$xml->foo->bar->baz[1]['id']

E.  

$xml->bar->baz[1]['id']

Discussion 0
Question # 3

Which of the following statements about database connections are commonly true? (Choose 2)

Options:

A.  

Database connections are closed after each SQL statement is executed

B.  

Database connections are closed at the end of each request

C.  

Database connections are only closed when the Web server shuts down

D.  

A single database connection may serve more than one PHP application at the same time

Discussion 0
Question # 4

Is the following code piece E_STRICT compliant?

final class Testing {

var $test = 0;

public function tester() {

return "Tested!";

}}

Options:

A.  

Yes

B.  

No

Discussion 0
Question # 5

What is the output of the following code:

str_replace(array("Apple","Orange"), array("Orange","Apple"), "Oranges are orange and Apples are green");

Options:

A.  

Apples are orange and Oranges are green

B.  

Apples are orange and Apples are green

C.  

Apples are apple and Oranges are green

D.  

Apples are apple and Apples are green

Discussion 0
Question # 6

Which of the following may be used in conjunction with CASE inside a SWITCH statement?

Options:

A.  

A scalar

B.  

An expression

C.  

A boolean

D.  

All of the above

Discussion 0
Question # 7

The purpose of the singleton pattern is to...

Options:

A.  

...create applications that only a single user may use.

B.  

...have just one single instance of an object in the entire application.

C.  

...have only one instance of each object in a collection of objects.

Discussion 0
Question # 8

When uploading a file to a PHP script using the HTTP PUT method, where would the information about this file be available?

Options:

A.  

the $_FILES super-global

B.  

the input stream php://stdin

C.  

the $_POST super-global

D.  

the global variable scope

Discussion 0
Question # 9

In a shared hosting environment, session data can be read by PHP scripts written by any user. How can you prevent this?

Options:

A.  

Store session data in a different location with session.save_path

B.  

Store session data in a database.

C.  

Enable safe_mode.

D.  

Set session.name to something unique.

Discussion 0
Question # 10

What PHP function can be used to remove a local file?

Options:

A.  

A) rmdir()

B.  

B) unlink()

C.  

C) rm()

D.  

D) delete()

E.  

E) delete_file()

Discussion 0

Free Exams Sample Questions