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' = 'ssl/tls')); ?>
B. $mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'protocol_used' = 'tls')); ?>
C. $mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'connectTo' = 'tls')); ?>
D. $mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'ssl' = 'tls')); ?>
正解:D
質問 2:
Which of the following are the limitations for the cross site request forgery (CSRF) attack?
Each correct answer represents a complete s olution. Choose all that apply.
A. The target site should authenticate in GET and POST parameters, not only cookies.
B. The attacker must determine the right values for all the form inputs.
C. The target site should have limited lifetime authentication cookies.
D. The attacker must target a site that doesn't check the referrer header.
正解:B,D
質問 3:
Which of the following methods dynamically loads the Adapter class file on demand using Zend_Loader::loadClass()?
A. Zend_Db_Adapter_Pdo_Mysql()
B. Zend_Db::factory()
C. Zend_load_Adaptor()
D. fetchAll()
正解:B
質問 4:
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?
A. Short tag
B. ASP tag
C. Script tag
D. Standard tag
正解:D
質問 5:
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. Translating the source file to the desired language
E. Creating the source file from the code
正解:B,C,D,E
質問 6:
Which of the following inherits from Zend_Log_Writer_Abstract and is responsible for saving data to storage?
A. Writer
B. Formatter
C. Log
D. Filter
正解:A
铃木** -
一週間前に受験して合格しました。ZF-100-500の問題集を習得して本番にして似たような問題は大量にいてびっくりしました。簡単に試験を書けた結果、合格しました。Zend-Technologiesさんの問題集やはり強い。