Which of the following methods is used to associate multiple filters and validators, apply them to collections of data, and retrieve input values?
You want a formatted date for an RSS feed. Which of the following code syntaxes will you use to accomplish the task?
Which of the following functions is the best choice to retrieve the fingerprint of a string?
Which of the following is used to render a specific template within its own variable scope?
Which of the following methods dynamically loads the Adapter class file on demand using Zend_Loader::loadClass()?
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?
Which of the following classes allows for the reporting of queries, including information on which queries were processed by the adapter?
Which of the following functions will be called if there is an HTTP " 404 Not Found " error?
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?
Which of the following error constants gives all errors and warnings, except the E_STRICT error level?
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?
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?
Which of the following joins retrieves all rows from one table and only the matching rows from the joined table?
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?
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?
Which of the following methods of Zend_XmlRpc_Client can you use to instantiate a server proxy call?
Which of the following is designed for accessing and using the configuration data within applications?
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?
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.
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?
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?
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.
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
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
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?
Which of the following will NOT display the value of $debug_variable?
Each correct answer represents a complete solution. Choose all that apply.
In which of the following situations will you use the set_exception_handler() function?
Which method can be used to determine whether text within a source file has been translated in Zend_Translate?
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?
Which one of the following is used to manage the data within a memory-limited environment?
Fill in the blank with the appropriate method name.
The________ method is used to check whether a date is valid or not.
Fill in the blank with the appropriate class name.
_______ is a class that is used to create multilingual applications.
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?
Which of the following are the valid methods of the Zend_Date class?
Each correct answer represents a complete solution. Choose all that apply.
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 __________.
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?
Which of the following classes will you use to store objects and values in the application space?
Fill in the blank with the appropriate method name.
The__________ method is used to send an email in the HTML format.
Which of the following is a common feature of the Front Controller plugins and Action Helpers?
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);
}
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.
Which of the following methods can be used to verify the authentication and ACLs prior to an action?
Which of the following types of content is expected by Zend_Rest_Client when using a REST service?
Which of the following code snippets will you use to instantiate Zend_XmlRpc_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 methods are used by Zend_Controller_Action_Helper_Abstract?
Each correct answer represents a complete solution. Choose all that apply.
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?
Which of the following is the method that is used to check whether the version required for running the application exists or not?
Which of the following joins will you use to display data that do not have an exact match in the column?