Pass the Zend Zend Certification 100-500 Questions and answers with CertsForce

Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions
Questions # 21:

Write the appropriate word to complete the sentence below.

___________is used for logging of multiple backends, formatting messages which are sent to the log, and filtering those messages, which should not be logged.

Options:

A.

Zend_Log


Expert Solution
Questions # 22:

Which of the following methods are run by the Zend_Controller_Front::run($path) method at a time?

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

Options:

A.

setControllerDirectory()


B.

getInstance()


C.

dispatch()


D.

setInstance()


Expert Solution
Questions # 23:

Which of the following code snippets will you use to destroy a log if the variable $logger contains the log record?

Options:

A.

$logger=null;


B.

remove($logger);


C.

$logger->null;


D.

delete($logger);


Expert Solution
Questions # 24:

Fill in the blank with the appropriate method name.

________is a method to create REST server.

Options:

A.

Zend_Rest_Server


Expert Solution
Questions # 25:

Which of the following are the features of Zend_Layout?

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

Options:

A.

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


B.

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


C.

It is used to disable layouts and change scripts.


D.

It can be used with ZF MVC components.


Expert Solution
Questions # 26:

Which of the following is an abstract class that is used to provide the basic interface and functionality required by the helper broker?

Options:

A.

Zend_Acl


B.

Zend_Auth


C.

Zend_Controller_Action_Helper_Abstract


D.

Zend_Db


Expert Solution
Questions # 27:

Fill in the blank with the appropriate term.

__________is used to implement a classic Two-Step View pattern that allows a user to wrap the application content within another view.

Options:

A.

Zend_Layout


Expert Solution
Questions # 28:

What will be the output of the following PHP script?

<?php

include("xml.inc");

if (!$dom = domxml_open_mem($xmlstr)) {

echo "Error while parsing the XML document\n";

exit;

}

$a = $dom->document_element();

print_r($a);

?>

Options:

A.

It will display the root element of the XML file.


B.

It will display the XML code of the XML file.


C.

It will throw an error.


D.

It will display the contents of the XML file.


Expert Solution
Questions # 29:

Which method can be used to determine whether text within a source file has been translated in Zend_Translate?

Options:

A.

isLocatedAt()


B.

isLocated()


C.

isTranslated()


D.

isTranslatedAt()


Expert Solution
Questions # 30:

Which of the following steps will you take to apply Zend_View?

Each correct answer represents a part of the solution. Choose all that apply.

Options:

A.

Transfer control of the display to the View Script.


B.

Render the View.


C.

Assign the variables to the View via a Controller Script.


D.

Create an instance of the View.


Expert Solution
Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions