Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

ZF-100-500 Exam Dumps - ZF-100-500

Question # 4

Which of the following methods sends log data to a PHP stream?

A.

Zend_Log_Writer_Stream

B.

Zend_Log_Writer_Filestream

C.

Zend_Log_Writer_Abstract

D.

Zend_Log_Writer_Db

Full Access
Question # 5

Which of the following are the features of Zend_Controller_Front? Each correct answer represents a complete solution. Choose all that apply.

A.

By default, the ErrorHandler plugin and ViewRenderer action helper plugin are loaded inZend_Controller_Front.

B.

It is used to register a plugin broker, which allows calling a user code when certainevents occurin controller process.

C.

It is used to implement the Singleton pattern.

D.

It is used to handle the request and output.

Full Access
Question # 6

Which of the following code snippets will you use to instantiate Zend_XmlRpc_Server?

A.

$server = Zend_Xml::Zend_XmlRpc_Server()

B.

$server = new Zend_Xml();

C.

$server = new Zend_XmlRpc_Server();

D.

$server = create_new_Zend_XmlRpc_Server()

Full Access
Question # 7

Which of the following code snippets will you use to create a transport while considering the following PHP code segment?

require_once 'Zend/Mail.php';

require_once 'Zend/Mail/Transport/Smtp.php';

??????????????????????????????????

for ($i = 0; $i > 5; $i++) {

$mail = new Zend_Mail();

$mail->addTo('someone@example.com', 'Test');

$mail->setFrom(' someone@example.com', 'Test');

$mail->setSubject('Multiple Mails');

$mail->setBodyText('Messages');

$mail->send($transport);

}

A.

$transport = new transport();

B.

$transport = new Zend_Mail_Transport_Smtp('localho st');

C.

$transport = new Zend_Mail_Transport('localhost');

D.

$transport -> new Zend_Mail_Transport;

Full Access
Question # 8

Ross creates a database for a school. He creates two tables named Students and Courses. Which of the following SELECT statements will he use to define an outer join?

A.

SELECT Stud.Student_ID, Cou.Course_ID FROM Students Stud, Courses Cou WHERE

Stud.Course_ID (+) = Cou.Course_ID;

B.

SELECT Stud.Student_ID, Cou.Course_ ID FROM Students Stud, Courses Cou WHERE

Stud.Fees BETWEEN Cou.Min_Fees and Cou.Max_Fees;

C.

SELECT Stud.Student_ID, Cou.Course_ID FROM Students Stud, Courses Cou WHERE

Stud.Course_ID = Cou.Course_ID;

D.

SELECT Stud.Student_ID, Cou.Course_ID FROM Students Stud, Courses Cou WHERE

Stud.Student_ID = Cou.Course_ID;

Full Access
Question # 9

Which of the following statements correctly explains the behavior of Zend_Controller_Front?

Each correct answer represents a complete solution. Choose all that apply.

A.

It registers a plug-in broker with itself.

B.

It uses the Singleton pattern.

C.

It processes all requests received by the server.

D.

The Zend_Controller_Front never loads any plugin by default.

Full Access
Question # 10

Which of the following methods dynamically loads the Adapter class file on demand using Zend_Loader::loadClass()?

A.

Zend_Db_Adapter_Pdo_Mysql()

B.

Zend_load_Adaptor()

C.

fetchAll()

D.

Zend_Db::factory()

Full Access
Question # 11

Which of the following is a common feature of the Front Controller plugins and ActionHelpers?

A.

Scope of layout variables

B.

preDispatch() and postDispatch() hooks

C.

Isolation of layout view script from other view scripts

D.

Rendering of the layout

Full Access
Question # 12

Fill in the blank with the appropriate term. ________is used to implement a classic Two -StepView pattern that allows a user to wrap the application content within another view.

Full Access
Question # 13

Which of the following is used to render a specific template within its own variable scope?

A.

Action View Helpers

B.

Initial Helpers

C.

Partial Helpers

D.

View Helpers

Full Access
Question # 14

Consider the following XML file:

PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1 -transitional.dtd" >

SimpleXML Example

Please go href="http://www.PassGuide.com" >http: //www.PassGuide.com


Which of the following statements will display the HREF attribute on the anchor tag if the SimpleXML object is $sxml?

A.

$sxml->body->h1->a->href

B.

$sxml->body->h1->a

C.

$sxml->body->h1->a['href']

D.

$sxml->h1->a->href

Full Access
Question # 15

Which of the following code snippets will create a memory manager object?

A.

$memoryManager = Zend_Memory:=>factory('None');

B.

$memoryManager = Zend_Memoryfactory::None;

C.

$memoryManager = Zend_Memory::factory.None;

D.

$memoryManager = Zend_Memory::factory('None');

Full Access
Question # 16

Fill in the blank with the appropriate method name. The__________ method is used to retrieve headers when the storage has been opened.

Full Access
Question # 17

Which of the following are the features of Zend_Layout? Each correct answer represents a complete solution. Choose all that apply.

A.

It is the configuration of layout name, inflection, and path.

B.

It can be used with ZF MVC components.

C.

It is used to disable layouts and change scripts.

D.

It has a separate scope for layout-related variables and content.

Full Access
Question # 18

Which of the following code segments can be used to check the form validity?

A.

if (Zend_Form::isValid($_Post)) {

// success!

} else {

// failure!

}

B.

if (Zend_Form->isValid($form)) {

// success!

} else {

// failure!

}

C.

if ($form->isValid($_POST)) {

// success!

} else {

// failure!

}

D.

if (Zend_Form::isValid($form)) {

// success!

} else {

// failure!

}

Full Access
Question # 19

You are using a database named SalesDB to keep all sales records. The SalesDB database contains a table named Orders. You are required to create a new t able named OldOrders and transfer all the data from the Orders table to the new table. Which of the following statements will you use to accomplish the task?

A.

IMPORT INTO

B.

INSERT INTO

C.

ADD INTO

D.

SELECT INTO

Full Access