Zend-Technologies Zend Framework Certification - ZF-100-500 Exam Practice Test
Which inheritance does Zend_Acl support among Resource objects?
Correct Answer: B
Vote an answer
Which of the following methods of Zend_Auth returns TRUE if and only if the result represents a successful authentication attempt?
Correct Answer: B
Vote an answer
Which of the following statements correctly explains the behavior of Zend_Controller_Front?
Each correct answer represents a complete solution. Choose all that apply.
Each correct answer represents a complete solution. Choose all that apply.
Correct Answer: B,C,D
Vote an answer
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.
Correct Answer: A
Vote an answer
Symonds works as a Database Administrato r for Blue Well Inc. The company uses an Oracle database. The database contains a table named Employees. Following is the structure of the table: EmployeeID NUMBER (5) PRIMARY KEY EmployeeName VARCHAR2 (35) NOT
NULL Salary NUMBER (9, 2) NOT NULL Commission NUMBER (4, 2)
DepartmentID NUMBER (5)
Symonds queries the Employees table with the following statement:
SELECT e.EmployeeName, m.Salary
FROM Employees e, Employeesm
WHERE e.EmployeeID = m.EmployeeID;
Which of the following types of joins is used in the statement?
NULL Salary NUMBER (9, 2) NOT NULL Commission NUMBER (4, 2)
DepartmentID NUMBER (5)
Symonds queries the Employees table with the following statement:
SELECT e.EmployeeName, m.Salary
FROM Employees e, Employeesm
WHERE e.EmployeeID = m.EmployeeID;
Which of the following types of joins is used in the statement?
Correct Answer: B
Vote an answer
Celina works as a Database Administrator for Tech Mart Inc. The company uses an Oracle database. The database contains a table named Employees. Following is the structure of the table: EmpID NUMBER (5) PRIMARY KEY EmpName VARCHAR2 (35) NOT NULL Salary NUMBER (9, 2) NOT NULL Commission NUMBER (4, 2) ManagerName VARCHAR2 (25) ManagerID NUMBER (5) Celina wants to display the names of employees and their managers, using a self join. Which of the following SQL statements will she use to accomplish this? Each correct answer represents a complete solution. Choose two.
Correct Answer: A,D
Vote an answer
You run the following PHP script:
<?php include("xml.inc");
if (!$dom = domxml_open_mem($xmlstr)) {
echo "Error while parsing the XML document \n";
exit;
}
$a = **********
print_r($a);
?>
Which of the following functions will you use instead o f * if you want to print the root element of the XML file?
<?php include("xml.inc");
if (!$dom = domxml_open_mem($xmlstr)) {
echo "Error while parsing the XML document \n";
exit;
}
$a = **********
print_r($a);
?>
Which of the following functions will you use instead o f * if you want to print the root element of the XML file?
Correct Answer: A
Vote an answer
Which of the following code snippets will you use if you want to connect to a Pop3 server using TLS?
Correct Answer: C
Vote an answer
Which of the following are the features of Zend_Layout? Each correct answer represents a complete solution. Choose all th at apply.
Correct Answer: A,C,D
Vote an answer
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?
Correct Answer: C
Vote an answer
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?
<?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?
Correct Answer: D
Vote an answer