Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netbudy65

ZF-100-500 Zend Framework CertificationVersion 4.0 Questions and Answers

Questions 4

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 ='o r''=' 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 5

Which of the following SPL Interfaces/classes extends the standard Iterator interface and enables the ability to retrieve a specific item from internal data store?

Options:

A.

ArrayAccess

B.

Recursive Iterator

C.

FilterIterator

D.

SeekableIterator

Buy Now
Questions 6

Consider the PHP program (which includes a file specified by request):

$color = 'blue';

if (isset( $_GET['COLOR'] ) )

$color = $_GET['COLOR'];

require( $color . '.php' );

?>

A malicious user injects the following command:

/vulnerable.php?COLOR=C:\\notes.txt%00

Where vulnerable.php is a remotely hosted file containing an exploit. What does the malicious user want to do?

Options:

A.

Perform a cross-site scripting attack.

B.

Execute the malicious code that exists in the file vulnerable.php.

C.

Remove the .php suffix, allowing access to files other than .php.

D.

Inject a remotely hosted file containing an exploit.

Buy Now
Questions 7

You work as a Database Administrator for Dolliver Inc. The company uses an Oracle database. The database contains two tables, named Employees and Departments. You want to retrieve all matched and unmatched rows from both the tables. Which of the following types of joins will you use to accomplish this?

Options:

A.

FULL OUTER JOIN

B.

LEFT OUTER JOIN

C.

RIGHT OUTER JOIN

D.

CROSS JOIN

Buy Now
Questions 8

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 9

Which property is used to operate the memory object data?

Options:

A.

object

B.

data

C.

method

D.

value

Buy Now
Questions 10

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 11

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

Options:

A.

getRequest()

B.

postDispatch()

C.

init()

D.

getResponse()

Buy Now
Questions 12

Which of the following functions can be used as a countermeasure to a Shell Injection attack? Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

mysql_real_escape_string()

B.

escapeshellcmd()

C.

regenerateid()

D.

escapeshellarg()

Buy Now
Questions 13

Which of the following is the temp late layer, where all the HTML rendering takes place, and where everything to be displayed to a user is assembled?

Options:

A.

Controller

B.

Model

C.

Architecture

D.

View

Buy Now
Questions 14

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 15

You have given the following XML data in the tasks.XML file:

Validate data

String Validation

Secure data

Encryption

Now, you run the following PHP script:

$objDOM = new DOMDocument();

$objDOM->load("tasks.xml");

$note = $objDOM->getElementsByTagName("note");

foreach( $note as $value )

{

$tasks = $value->getElementsByTagName("tasks");

$task = $tasks->item(0)->nodeValue;

$details = $value->getElementsByTagName("details");

$detail = $details->item(0)->nodeValue;

echo "$task :: $detail
";

}

?>

What should be displayed when this script is executed?

Options:

A.

The contents of the whole XML document

B.

The XML of every tasks and details nodes

C.

The contents of every tasks and details nodes

D.

The XML of whole XML document

Buy Now
Questions 16

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 17

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

Buy Now
Questions 18

Which of the following statements correctly explain the working of Zend_Sera ch_Lucene?

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

Options:

A.

It supports ranked searching, phrase queries, wildcard queries, and proximity queries.

B.

It is a text search engine.

C.

It requires the Zend_Db class to connect to a database server.

D.

It can also be used to search by any specific field, such as, title, author, etc.

Buy Now
Questions 19

Which of the following methods will you use to create movable objects?

Options:

A.

Zend_Memory_Manager::createLocked([$data])

B.

Zend_Memory_Manager::create([$data])

C.

getMemoryLimit()

D.

setMemoryLimit($newLimit)

Buy Now
Exam Code: ZF-100-500
Exam Name: Zend Framework CertificationVersion 4.0
Last Update: Nov 21, 2024
Questions: 130

PDF + Testing Engine

$130

Testing Engine

$95

PDF (Q&A)

$80