Which of the following can be used as a countermeasure against the SQL injection attack?
Each correct answer represents a complete solution. Choose two.
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);
?>
Fill in the blank with the appropriate class name. The______ class is used to load files
dynamically.
Fill in the blank with the appropriate method name. ________is a method to create REST server.
Which of the following methods of Zend_Auth returns TRUE if and only if the result represents a successful authentication attempt?
Which of the following allows a user to store the configuration data in a familiar INI format?
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.
You want a formatted date for an RSS feed. Which of the following code syntaxes will you use to accomplish the task?
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?
Which of the following methods of Zend_XmlRpc_Client can you use to instantiate a server proxy call?
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?
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?
Which of the following methods can be used to verify the authentication and ACLs prior to an action?
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.
Which of the following code snippets will you use to instantiate Zend_XmlRpc_Server?