New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70special

Zend ZF-100-500 ZF-100-500 Exam Practice Test

Page: 1 / 13
Total 130 questions

ZF-100-500 Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

Fill in the blank with the appropriate PHP function. The_________ function is used to return the sum of the values of every entry within an array.

Options:

Question 2

Which of the following clauses is used to specify a column or an array of columns by which to sort?

Options:

A.

Order By

B.

WHERE

C.

FROM

D.

LIMIT

Question 3

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.

Question 4

Write the appropriate word to complete the sentence below. ___________is used for logging of multiple backends, formatting messages which are sent to the log, and filtering those messages, which should not be logged.

Options:

Question 5

Which of the following is used for separation of hierarchies in Zend_config_Ini file?

Options:

A.

.

B.

>

C.

,

D.

->

Question 6

Which of the following code snippets will create a memory manager object?

Options:

A.

$memoryManager = Zend_Memory:=>factory('None');

B.

$memoryManager = Zend_Memoryfactory::None;

C.

$memoryManager = Zend_Memory::factory.None;

D.

$memoryManager = Zend_Memory::factory('None');

Question 7

Which of the following are the limitations for the cross site request forgery (CSRF) attack?

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

Options:

A.

The attacker must determine the right values for all the form inputs.

B.

The target site should authenticate in GET and POST parameters, not only cookies.

C.

The target site should have limited lifetime authentication cookies.

D.

The attacker must target a site that doesn't check the referrer header.

Question 8

Fill in the blank with the appropriate term. ________is used to implement a classic Two -StepView pattern that allows a user to wrap the application content within another view.

Options:

Question 9

Fill in the blank with the appropriate method name. The__________ method is used to send an email in the HTML format.

Options:

A.

setBodyHTML()

Question 10

Which of the following actions may fail if you have exceeded your quota limit?

Options:

A.

addTo()

B.

send()

C.

addBcc()

D.

appendMessage()

Question 11

Which property is used to operate the memory object data?

Options:

A.

object

B.

data

C.

method

D.

value

Question 12

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 NULLSalary NUMBER (9, 2) NOT NULL Commission NUMBER (4, 2) ManagerNameVARCHAR2 (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.

Options:

A.

SELECT e.EmpName, m.ManagerName

FROM Employees e, Employeesm

WHERE e.EmpID = m.ManagerID;

B.

SELECT e.EmpName, m.ManagerName

FROM Employees e INNER JOIN Employeesm

ON e.EmpID = m.ManagerID;

C.

SELECT e.EmpName, m.ManagerName

FROM Employees e LEFT OUTER JOIN Employees m

ON e.EmpID = m.ManagerID;

D.

SELECT e.EmpName, m.ManagerName

FROM Employees e SELF JOIN Employeesm

ON e.EmpID = m.ManagerID;

Question 13

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?

Options:

A.

SELECT Stud.Student_ID, Cou.Course_ID FROM Students Stud, Courses Cou WHERE

Stud.Course_ID (+) = Cou.Course_ID;

B.

SELECT Stud.Student_ID, Cou.Course_ ID FROM Students Stud, Courses Cou WHERE

Stud.Fees BETWEEN Cou.Min_Fees and Cou.Max_Fees;

C.

SELECT Stud.Student_ID, Cou.Course_ID FROM Students Stud, Courses Cou WHERE

Stud.Course_ID = Cou.Course_ID;

D.

SELECT Stud.Student_ID, Cou.Course_ID FROM Students Stud, Courses Cou WHERE

Stud.Student_ID = Cou.Course_ID;

Question 14

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

Question 15

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?

Options:

A.

Zend_Log_Writer_Mock

B.

Zend_Log_Formatter_Xml

C.

Zend_Log_Writer_Stream

D.

Zend_Log_Formatter_Simple

Question 16

Which of the following functions sets up start and end element handlers?

Options:

A.

xml_parse_into_struct()

B.

xml_parser_create_ns()

C.

xml_set_object()

D.

xml_set_element_handler()

Question 17

Which of the following methods is used to change the session con figuration options?

Options:

A.

Zend_Session::start()

B.

Zend_config_options

C.

Zend_Session_Namespace()

D.

Zend_Session::setOptions()

Question 18

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

Question 19

You want to get the information of total number of documents stored in the index. You also want to include the deleted documents. Which of the following methods will you use to accomplish the task?

Options:

A.

$search_index::count_document();

B.

$search_index::count();

C.

$search_index->count();

D.

$search_index->docCount();

Page: 1 / 13
Total 130 questions