Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

ZF-100-500 ZF-100-500 Questions and Answers

Questions 4

Which of the following can be used as a countermeasure against the SQL injection attack?

Each correct answer represents a complete solution. Choose two.

Options:

A.

session_regenerate_id()

B.

Prepared statement

C.

mysql_escape_string()

D.

mysql_real_escape_string()

Buy Now
Questions 5

What will be the output of the following PHP script?

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.

Buy Now
Questions 6

Fill in the blank with the appropriate class name. The______ class is used to load files

dynamically.

Options:

Buy Now
Questions 7

Fill in the blank with the appropriate method name. ________is a method to create REST server.

Options:

Buy Now
Questions 8

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 9

Which of the following allows a user to store the configuration data in a familiar INI format?

Options:

A.

Zend_Config

B.

Zend_Config_data

C.

Zend_Config_Ini_format

D.

Zend_Config_Ini

Buy Now
Questions 10

Fill in the blank with the appropriate term. _______________is used to process all requests that are received by the server and then dispatch them to the appropriate action controllers.

Options:

Buy Now
Questions 11

Which of the following is allowed in the function declaration only?

Options:

A.

Pass-by-reference

B.

Function calling

C.

Function declaration

D.

Call-by-reference

Buy Now
Questions 12

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 13

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 o f the following SELECT statements will Martin use to create the report?

Options:

A.

SELECT Product_No, Prod_Category

FROM Products;

B.

SELECT DISTINCT Product_No, Prod_Category

FROM Products;

C.

SELECT Product_No, Prod_Category

FROM Products

GROUP BY Product_No;

D.

SELECT Product_No, Prod_Category

FROM Products

GROUP BY Product_No ORDER BY Product_No;

Buy Now
Questions 14

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 15

Consider the following code segment:

1.

2. require_once 'Zend/Mail.php';

3. ?????????????????????????

4. $mail->setBodyText('This is the test email.');

5. $mail->setFrom('somebody@example.com', 'Send er');

6. $mail->addTo('somebody_else@example.com', 'Recipient');

7. $mail->setSubject('TestSubject');

8. $mail->send();

9. ?>

Which of the following code snippets will you use at line number 3 to initiate Zend_Mail?

Options:

A.

$mail = new Zend_Mail();

B.

$mail => initialize_Zend_Mail();

C.

$mail -> Zend_Mail();

D.

$mail => Zend_Mail();

Buy Now
Questions 16

Angela works as a Database Administrator for AznoTech Inc. She writes the following query:

SELECT Dept_Name, Emp_Name

FROM Departments d1, Employees e1

WHERE d1.Dept_No = e1.Dept_No

ORDER BY Dept_Name, Emp_Name;

Which of the following joins is used in this query?

Options:

A.

Non-equijoin

B.

Outer join

C.

Equijoin

D.

Self join

Buy Now
Questions 17

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 18

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 19

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
Exam Code: ZF-100-500
Exam Name: ZF-100-500
Last Update: May 5, 2024
Questions: 130
ZF-100-500 pdf

ZF-100-500 PDF

$28  $80
ZF-100-500 Engine

ZF-100-500 Testing Engine

$33.25  $95
ZF-100-500 PDF + Engine

ZF-100-500 PDF + Testing Engine

$45.5  $130