Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

Which of the following code snippets will you use if you want to connect to a Pop3 server using TLS?

A.

$mail = new Zend_Mail_Storage_Pop3(array('host'

='example.com', 'user' ='user_name',

'protocol_used' = 'tls')); ?>

B.

$mail = new Zend_Mail_Storage_Pop3(array('host'

='example.com', 'user' ='user_name',

'connectTo' = 'tls')); ?>

C.

$mail = new Zend_Mail_Storage_Pop3(array('host'

='example.com', 'user' ='user_name',

'ssl' = 'tls')); ?>

D.

$mail = new Zend_Mail_Storage_Pop3(array('host'

='example.com', 'user' ='user_name',

'protocol_used' = 'ssl/tls')); ?>

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.

A.

Putting the Zend_Translate into session

B.

Deciding which adapter to use

C.

Creating the View and integrate Zend_Translate into the code

D.

Creating the source file from the code

E.

Translating the source file to the desired language

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

A.

xml_parse_into_struct()

B.

xml_parser_create_ns()

C.

xml_set_object()

D.

xml_set_element_handler()

You have created a table based on the following data:

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)

Now, you want to display the names of employees and their managers, using a self join. Which of the following SQL statements can you use to accomplish this?

Each correct answer represents a complete solution. Choose two.

A.

SELECT e.EmpName, m.ManagerName

FROM Employees e, Employeesm

WHERE e.EmpID = m.ManagerID;

B.

SELECT e.EmpName, m.ManagerName

FROM Employees e SELF JOIN Employeesm

ON e.EmpID = m.ManagerID;

C.

SELECT e.EmpName, m.ManagerName

FROM Employees e INNER JOIN Employeesm

ON e.EmpID = m.ManagerID;

D.

SELECT e.EmpName, m.ManagerName

FROM Employees e LEFT OUTER JOIN Employees m

ON e.EmpID = m.ManagerID;

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.

A.

array_sum()

In which of the following situations will you use the set_exception_handler() function?

A.

When you want to restore a previously defined exception handler function.

B.

When the try/catch block is unable to catch an exception.

C.

When you want to set a user-defined function to handle errors.

D.

When you want to generate a user-level error/warning/notice message.

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.

A.

mysql_real_escape_string()

B.

escapeshellcmd()

C.

regenerateid()

D.

escapeshellarg()

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

A.

addTo()

B.

send()

C.

appendMessage()

D.

addBcc()

Which of the following statements correctly explain the working of Zend_Serach_Lucene?

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

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.

Which of the following is used to provide a tree structure onto which multiple resources can be added?

A.

Zend_Acl_Assert_Interface

B.

Zend_Acl_Assert

C.

Zend_Acl_Role

D.

Zend_Acl