Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

100-500 Zend Framework Certification Questions and Answers

Questions 4

Which of the following methods is used to associate multiple filters and validators, apply them to collections of data, and retrieve input values?

Options:

A.

Zend_Validate_Interface

B.

isValid()

C.

setMessage()

D.

Zend_Filter_Input

Buy Now
Questions 5

You want a formatted date for an RSS feed. Which of the following code syntaxes will you use to accomplish the task?

Options:

A.

Zend_Date::RSSFEED

B.

Zend_Date::RSS

C.

$RSS= new Zend_RSS_Date()

D.

Zend_Date- > RSS

Buy Now
Questions 6

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

Options:

A.

Zend_Log_Writer_Stream

B.

Zend_Log_Writer_Filestream

C.

Zend_Log_Writer_Abstract

D.

Zend_Log_Writer_Db

Buy Now
Questions 7

Which of the following functions is the best choice to retrieve the fingerprint of a string?

Options:

A.

md5()

B.

fingerprint()

C.

crypt()

D.

hash()

Buy Now
Questions 8

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

Options:

A.

Action View Helpers

B.

Initial Helpers

C.

Partial Helpers

D.

View Helpers

Buy Now
Questions 9

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

Options:

A.

fetchAll()

B.

Zend_Db_Adapter_Pdo_Mysql()

C.

Zend_load_Adaptor()

D.

Zend_Db::factory()

Buy Now
Questions 10

Which of the following methods is triggered when a dispatched action is done even if a preDispatch() plugin has skipped the action and is mainly useful for cleanup?

Options:

A.

getRequest()

B.

postDispatch()

C.

init()

D.

getResponse()

Buy Now
Questions 11

Which of the following classes allows for the reporting of queries, including information on which queries were processed by the adapter?

Options:

A.

Zend_Db_Profiler

B.

Zend_Loader

C.

Zend_Db

D.

Zend_Db_Select

Buy Now
Questions 12

Which of the following functions will be called if there is an HTTP " 404 Not Found " error?

Options:

A.

Zend_XmlRpc_Client_FaultException

B.

Zend_XmlRpc_Client_Fault_404_Exception

C.

Zend_XmlRpc_Client_HttpException

D.

Zend_XmlRpc_Client_404Exception

Buy Now
Questions 13

Consider the following script:

< html >

< head >

< title >

This is a test script.

< /title >

< /head >

< body >

< ?php

echo ' This is some sample text ' ;

? >

< /body >

< /html >

Which of the following tags is used in the php script?

Options:

A.

ASP tag

B.

Short tag

C.

Script tag

D.

Standard tag

Buy Now
Questions 14

Which of the following error constants gives all errors and warnings, except the E_STRICT error level?

Options:

A.

E_ERROR

B.

E_ALL

C.

E_WARNING

D.

E_RECOVERABLE_ERROR

Buy Now
Questions 15

Consider the following XML file:

< ?xml version= " 1.0 " encoding= " ISO-8859-1 " ? >

< !DOCTYPE html

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

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

< html xmlns= " http://www.w3.org/1999/xhtml " xml:lang= " en " lang= " en " >

< head >

< title > SimpleXML Example < /title >

< /head >

< body >

< h1 >

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

< br/ >

< /h1 >

< /body >

< /html >

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

Options:

A.

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

B.

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

C.

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

D.

$sxml- > h1- > a- > href

Buy Now
Questions 16

You have been given the following PHP script:

1. < ?php

2. $xmlstring = < < < XML

3. < ?xml version= " 1.0 " encoding= " ISO-8859-1 " ? >

4. < email >

5. < to > jenny@PassGuide.com < /to >

6. < from > john@PassGuide.com < /from >

7. < heading > Technical issue in Linux OS < /heading >

8. < body > There is a technical issue in my Linux system. Please Fix it. < /body >

9. < /email >

10. XML;

11. $xml = new SimpleXMLElement($xmlstring);

12. foreach($xml- > children() as $child)

13. {

14. < Insert code here. >

15. }

16. ? >

Which of the following code snippets will you insert at line number 14 to get the following output?

Options:

A.

echo $child- > getNamespaces() . " : " . $child . " < br / > " ;

B.

echo $child- > getDocNamespaces() . " : " . $child . " < br / > " ;

C.

echo $child- > getName() . " : " . $child . " < br / > " ;

D.

echo $child- > asXML() . " : " . $child . " < br / > " ;

Buy Now
Questions 17

Which of the following joins retrieves all rows from one table and only the matching rows from the joined table?

Options:

A.

Self join

B.

Outer join

C.

Equijoin

D.

Non-equijoin

Buy Now
Questions 18

Which of the following retrieves the request URI, path, $_GET & $_POST parameters, etc. and tracks whether an action has been dispatched via Zend_Controller_Dispatcher?

Options:

A.

Zend_Controller_Get_Request

B.

Zend_Controller_Router

C.

Zend_Controller_Request_Abstract

D.

Zend_Controller_Response_Abstract

Buy Now
Questions 19

Martin works as a Database Administrator for MTech Inc. He designs a database that has a table named Products. He wants to create a report listing different product categories. He does not want to display any duplicate row in the report. Which of the following SELECT statements will Martin use to create the report?

Options:

A.

SELECT Product_No, Prod_Category

FROM Products

GROUP BY Product_No ORDER BY Product_No;

B.

SELECT Product_No, Prod_Category

FROM Products;

C.

SELECT Product_No, Prod_Category

FROM Products

GROUP BY Product_No;

D.

SELECT DISTINCT Product_No, Prod_Category

FROM Products;

Buy Now
Questions 20

Which of the following methods of Zend_XmlRpc_Client can you use to instantiate a server proxy call?

Options:

A.

call()

B.

getLastResponse()

C.

getProxy()

D.

XMLResponse

Buy Now
Questions 21

Which of the following is designed for accessing and using the configuration data within applications?

Options:

A.

Zend_Loader

B.

Zend_Session

C.

Zend_Registry

D.

Zend_Config

Buy Now
Questions 22

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

Options:

A.

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

// success!

} else {

// failure!

}

B.

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

// success!

} else {

// failure!

}

C.

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

// success!

} else {

// failure!

}

D.

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

// success!

} else {

// failure!

}

Buy Now
Questions 23

You want to record the raw log data received in an array exposed as a public property. Which of the following will you use to accomplish the task?

Options:

A.

Zend_Log_Writer_Mock

B.

Zend_Log_Formatter_Xml

C.

Zend_Log_Writer_Stream

D.

Zend_Log_Formatter_Simple

Buy Now
Questions 24

Which of the following steps will you use to create a multi-lingual Website?

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

Options:

A.

Creating the source file from the code

B.

Creating the View and integrate Zend_Translate into the code

C.

Translating the source file to the desired language

D.

Putting the Zend_Translate into session

E.

Deciding which adapter to use

Buy Now
Questions 25

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?

Options:

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;

Buy Now
Questions 26

You want to set the form method in post and action to /uc/zend.php when you are using the Zend_Form class. Which of the following code snippets will you use to accomplish the task?

Options:

A.

< ?php

$form- > setAction( ' /uc/zend.php ' )

- > setMethod( ' post ' );

B.

< ?php

echo " < form action=\ " /uc/zend.php \ " method=POST > " ;

C.

< ?php

$form- > ( ' /uc/zend.php ' )

- > ( ' post ' );

D.

< ?php

$form- > Zend::setAction( ' /uc/zend.php ' )

- > Zend::setMethod( ' post ' );

Buy Now
Questions 27

Which of the following are the methods that are used by Zend_Controller_Front?

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

Options:

A.

dispatch()

B.

objectsetControllerDirectory()

C.

getInstance()

D.

controller()

Buy Now
Questions 28

You have a table created as follows:

create table foo (c1 int, c2 char(30), c3 int, c4 char(10))

If column c1 is unique, which of the following indexes would optimize the statement given below?

Select distinct (c1), c3 from foo where c1=10

Options:

A.

create unique index foox on foo (c1) include (c3)

B.

create index foox on foo (c1)

C.

create index foox on foo (c1,c3)

D.

create unique index foox on foo (c1,c3)

Buy Now
Questions 29

You have a table created as follows:

create table foo (c1 int, c2 char(30), c3 int, c4 char(10))

If column c1 is unique, which of the following indexes would optimize the statement given below?

Select distinct (c1), c3 from foo where c1=10

Options:

A.

create index foox on foo (c1)

B.

create unique index foox on foo (c1,c3)

C.

create unique index foox on foo (c1) include (c3)

D.

create index foox on foo (c1,c3)

Buy Now
Questions 30

Which of the following is used to encode lines starting with one dot or two dots so that the mail does not violate the SMTP protocol?

Options:

A.

Zend_Mail

B.

Zend_Mail_Storage_Mbox

C.

Zend_Mail_Storage_Pop3

D.

Zend_Mail_Transport_Smtp

Buy Now
Questions 31

Which of the following will NOT display the value of $debug_variable?

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

Options:

A.

echo Zend_Debug::dump($debug_variable, ' debug_variable ' , false);

B.

Zend_Debug::dump($debug_variable, ' debug_variable ' , true);

C.

ob_start();

Zend_Debug::dump($debug_variable, ' debug_variable ' , false);

ob_end_flush();

D.

print(Zend_Debug::dump($debug_variable, ' debug_variable ' , true));

Buy Now
Questions 32

In which of the following situations will you use the set_exception_handler() function?

Options:

A.

When you want to restore a previously defined exception handler function.

B.

When the try/catch block is unable to catch an exception.

C.

When you want to set a user-defined function to handle errors.

D.

When you want to generate a user-level error/warning/notice message.

Buy Now
Questions 33

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()

Buy Now
Questions 34

You are using a database named HumanResource. You have to delete some tables from the database using SQL statements. Which of the following statements will you use to accomplish the task?

Options:

A.

DELETE TABLE < table_name >

B.

DROP TABLE < table_name >

C.

DELETE TABLE < table_name > FROM DATABASE

D.

DROP TABLE < table_name > FROM DATABASE

Buy Now
Questions 35

Which one of the following is used to manage the data within a memory-limited environment?

Options:

A.

Zend_Memory

B.

Zend_Cache

C.

Zend_Cache_Backend

D.

Zend_Memory_Backend

Buy Now
Questions 36

Fill in the blank with the appropriate method name.

The________ method is used to check whether a date is valid or not.

Options:

A.

isDate()

Buy Now
Questions 37

Fill in the blank with the appropriate class name.

_______ is a class that is used to create multilingual applications.

Options:

A.

Zend_Translate

Buy Now
Questions 38

Which of the following functions sets up start and end element handlers?

Options:

A.

xml_parse_into_struct()

B.

xml_parser_create_ns()

C.

xml_set_object()

D.

xml_set_element_handler()

Buy Now
Questions 39

Which of the following modes is the default Fetch mode for Adapter classes and returns data in an associative array on which the keys are the column names?

Options:

A.

Zend_Db::FETCH_BOTH

B.

Zend_Db::FETCH_OBJ

C.

Zend_Db::FETCH_ASSOC

D.

Zend_Db::FETCH_COLUMN

Buy Now
Questions 40

Which of the following are the valid methods of the Zend_Date class?

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

Options:

A.

set()

B.

add()

C.

check()

D.

get()

E.

sub()

Buy Now
Questions 41

John works as a professional Ethical Hacker. He has been assigned a project to test the security of www.we-are-secure.com. On the We-are-secure login page, he enters = ' or ' ' = ' as a username and successfully logs in to the user page of the Web site. The We-are-secure login page is vulnerable to a __________.

Options:

A.

Land attack

B.

Replay attack

C.

Dictionary attack

D.

SQL injection attack

Buy Now
Questions 42

You want to retrieve all the data from any given table. You also want to ensure that no duplicate values are displayed. Which of the following SQL statements will you use to accomplish the task?

Options:

A.

SELECT...TOP

B.

SELECT...WHERE

C.

SELECT...DISTINCT

D.

SELECT...ALL

Buy Now
Questions 43

Which property is used to operate the memory object data?

Options:

A.

object

B.

data

C.

method

D.

value

Buy Now
Questions 44

Which of the following provides the quota limit in Zend_Mail?

Options:

A.

Maildir

B.

IMAP

C.

Mbox

D.

POP3

Buy Now
Questions 45

Which of the following classes will you use to store objects and values in the application space?

Options:

A.

zend_Db

B.

Zend_Acl

C.

Zend_Registry

D.

Zend_Config

Buy Now
Questions 46

Fill in the blank with the appropriate method name.

The__________ method is used to send an email in the HTML format.

Options:

A.

setBodyHTML()

Buy Now
Questions 47

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

Options:

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

Buy Now
Questions 48

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

< ?php

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);

}

Options:

A.

$transport = new transport();

B.

$transport = new Zend_Mail_Transport_Smtp( ' localhost ' );

C.

$transport = new Zend_Mail_Transport( ' localhost ' );

D.

$transport - > new Zend_Mail_Transport;

Buy Now
Questions 49

Which of the following functions can you use to mitigate a command injection attack?

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

Options:

A.

strip_tags()

B.

escapeshellarg()

C.

escapeshellcmd()

D.

htmlentities()

Buy Now
Questions 50

Which of the following methods can be used to verify the authentication and ACLs prior to an action?

Options:

A.

preDispatch()

B.

getHelper()

C.

aunthicate_ACL()

D.

authenticate()

Buy Now
Questions 51

Which of the following types of content is expected by Zend_Rest_Client when using a REST service?

Options:

A.

Simple text

B.

XML

C.

JSON

D.

HTML

Buy Now
Questions 52

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

Options:

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()

Buy Now
Questions 53

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

Options:

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!

}

Buy Now
Questions 54

Which of the following actions may fail if you have exceeded your quota limit?

Options:

A.

addTo()

B.

send()

C.

appendMessage()

D.

addBcc()

Buy Now
Questions 55

Which of the following methods of Zend_Auth returns TRUE if and only if the result represents a successful authentication attempt?

Options:

A.

getIdentity()

B.

getCode()

C.

isValid()

D.

getMessages()

Buy Now
Questions 56

Which of the following statements describes the use of a GROUP BY clause?

Options:

A.

A GROUP BY clause automatically sorts the grouped result in ascending order, if DESC keyword is not defined.

B.

A GROUP BY clause returns a single row of information for each group of rows, in addition to all the rows.

C.

A GROUP BY clause returns a single row of information for each group of rows.

D.

A GROUP BY clause automatically sorts the grouped result in descending order.

Buy Now
Questions 57

Which of the following methods are used by Zend_Controller_Action_Helper_Abstract?

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

Options:

A.

init()

B.

preDispatch()

C.

setActionController()

D.

getResponseId()

Buy Now
Questions 58

Which of the following OOPS design patterns is used to encapsulate a data source so that accessing the data source components becomes hidden within the class that implements the pattern?

Options:

A.

Model-view-controller

B.

ActiveRecord

C.

Registry

D.

Factory

Buy Now
Questions 59

Which of the following is the method that is used to check whether the version required for running the application exists or not?

Options:

A.

$var = Zend_Version- > compareVersion($version)

B.

Zend_Version::VERSION

C.

Zend_Version::compareVersion($version)

D.

Zend_compareVersion($version)

Buy Now
Questions 60

Which of the following joins will you use to display data that do not have an exact match in the column?

Options:

A.

Non-equijoin

B.

Equijoin

C.

Self join

D.

Outer join

Buy Now
Exam Code: 100-500
Exam Name: Zend Framework Certification
Last Update: Apr 30, 2026
Questions: 202

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now 100-500 testing engine

PDF (Q&A)

$43.57  $124.49
buy now 100-500 pdf