Pass the Zend Zend Certification ZF-100-500 Questions and answers with CertsForce

Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions
Questions # 21:

Which of the following allows a user to store the configuration data in a familiar INI format?

Options:

A.

Zend_Config


B.

Zend_Config_data


C.

Zend_Config_Ini_format


D.

Zend_Config_Ini


Expert Solution
Questions # 22:

Symonds works as a Database Administrator for Blue Well Inc. The company uses an Oracledatabase. 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?

Options:

A.

Outer join


B.

Equijoin


C.

Cross join


D.

Self join


Expert Solution
Questions # 23:

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?

Options:

A.

Zend_Db::FETCH_BOTH


B.

Zend_Db::FETCH_ASSOC


C.

Zend_Db::FETCH_OBJ


D.

Zend_Db::FETCH_COLUMN


Expert Solution
Questions # 24:

Which of the following code segments can be used to check the form validity?

Options:

A.

if (Zend_Form::isValid($_Post)) {

// success!

} else {

// failure!

}


B.

if (Zend_Form->isValid($form)) {

// success!

} else {

// failure!

}


C.

if ($form->isValid($_POST)) {

// success!

} else {

// failure!

}


D.

if (Zend_Form::isValid($form)) {

// success!

} else {

// failure!

}


Expert Solution
Questions # 25:

Fill in the blank with the appropriate method name. _________is used to make call of the remote methods in the same manner as native methods.


Expert Solution
Questions # 26:

Which of the following methods will you use to get the actual set language in Zend_Translateclass?

Options:

A.

setLocale()


B.

getList()


C.

getLocale()


D.

isAvailable()


Expert Solution
Questions # 27:

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?

Options:

A.

Zend_Controller_Get_Request


B.

Zend_Controller_Router


C.

Zend_Controller_Request_Abstract


D.

Zend_Controller_Response_Abstract


Expert Solution
Questions # 28:

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

Options:

A.

addTo()


B.

send()


C.

addBcc()


D.

appendMessage()


Expert Solution
Questions # 29:

Which of the following classes allows for the reporting of queries, including information on which queries were processed by the adapter?

Options:

A.

Zend_Db_Profiler


B.

Zend_Loader


C.

Zend_Db


D.

Zend_Db_Select


Expert Solution
Questions # 30:

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);

}

Options:

A.

$transport = new transport();


B.

$transport = new Zend_Mail_Transport_Smtp('localho st');


C.

$transport = new Zend_Mail_Transport('localhost');


D.

$transport -> new Zend_Mail_Transport;


Expert Solution
Viewing page 3 out of 4 pages
Viewing questions 21-30 out of questions