Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Zend PHP 5 Certification

Last Update 9 hours ago Total Questions : 219

The Zend PHP 5 Certification content is now fully updated, with all current exam questions added 9 hours ago. Deciding to include 200-500 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our 200-500 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these 200-500 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Zend PHP 5 Certification practice test comfortably within the allotted time.

Question # 11

Which of the following statements about SOAP is NOT true?

A.

SOAP is a request-/response-based protocol.

B.

SOAP can be transported using SMTP, HTTP and other protocols.

C.

SOAP requires developers to use WSDL.

D.

SOAP traffic via HTTP can be encrypted and compressed just like other HTTP requests.

Question # 12

Which of the following statements is NOT correct?

A.

Only methods can have type hints

B.

Typehints can be optional

C.

Typehints can be references

Question # 13

Which requirements need NOT be met so that file uploads work?

A.

The PHP directive file_uploads must be set to On

B.

The form ' s method attribute must be set to " post "

C.

Safe mode must be turned off so that the uploaded file an be written to the server

D.

The form ' s enctype attribute must be set to " multipart/form-data "

Question # 14

What is the purpose of the open_basedir directive?

A.

Provide a list of directories where PHP should search for files.

B.

Provide a list of directories from which PHP can open files.

C.

Provide a list of directories from which PHP cannot open files.

D.

Directory where the PHP extensions can be found.

Question # 15

You are creating an application that repeatedly connects to a database to retrieve order data for invoices. All data comes from the same database. In order to preserve resources, you have to ensure that only one database connection should be used at any time. The code also has to open as few new database connections as possible. Which design pattern should you use for this scenario?

A.

Adapter

B.

Factory

C.

MVC

D.

Singleton

Question # 16

Which of the following XML declarations is NOT valid?

A.

< ?xml version= " 1.0 " ? >

B.

< ?xml version= " 1.1 " encoding= " UTF-8 " ? >

C.

< ?xml standalone= " no " ? >

D.

< ?xml standalone= " 1 " ? >

Question # 17

Do constants have global scope or local scope?

A.

They have global scope

B.

They have local scope

C.

They have both global and local scope

D.

They have neither global nor local scope

Question # 18

How many array elements will be found in the return value of:

split( " . " , "

A.

B.C " )

B.

2

C.

3

D.

1

E.

6

F.

4

Question # 19

What will the following code piece print?

echo strtr( ' Apples and bananas ' , ' ae ' , ' ea ' )

A.

Applas end benenes

B.

Epplas end benenes

C.

Apples and bananas

D.

Applas end bananas

Question # 20

What is the output of the following code?

$a = 3;

switch ($a) {

case 1: echo ' one ' ; break;

case 2: echo ' two ' ; break;

default: echo ' four ' ; break;

case 3: echo ' three ' ; break;

}

A.

one

B.

two

C.

three

D.

four

Go to page: