显示标签为“Zend-Technologies”的博文。显示所有博文
显示标签为“Zend-Technologies”的博文。显示所有博文

2014年5月14日星期三

Les meilleures Zend-Technologies ZF-100-500 200-500 examen pratique questions et réponses

Ajoutez le produit de Pass4Test au panier, vous pouvez participer le test avec une 100% confiance. Bénéficiez du succès de test Zend-Technologies ZF-100-500 par une seule fois, vous n'aurez pas aucune raison à refuser.

Vous pouvez tout d'abord télécharger le démo Zend-Technologies 200-500 gratuit dans le site Pass4Test. Une fois que vous décidez à choisir le Pass4Test, Pass4Test va faire tous efforts à vous permettre de réussir le test. Si malheureusement, vous ne passez pas le test, nous allons rendre tout votre argent.

Selon les feedbacks les professionnels bien réputés dans l'Industrie IT, Pass4Test est un bon catalyseur de leurs succès. L'outil de formation offert par Pass4Test leur aide d'économiser le temps et l'argent, le plus important est qu'ils aient passé le test Zend-Technologies 200-500 avec succès. Pass4Test est un fournissur fiable. Vous allez réaliser votre rêve avec l'aide de Pass4Test.

Code d'Examen: ZF-100-500
Nom d'Examen: Zend-Technologies (Zend Framework Certification)
Questions et réponses: 200 Q&As

Code d'Examen: 200-500
Nom d'Examen: Zend-Technologies (Zend PHP 5 Certification)
Questions et réponses: 219 Q&As

Pass4Test est un fournisseur important de résume du test Certification IT dans tous les fournissurs. Les experts de Pass4Test travaillent sans arrêt juste pour augmenter la qualité de l'outil formation et vous aider à économiser le temps et l'argent. D'ailleur, le servie en ligne après vendre est toujours disponible pour vous.

Si vous choisissez notre l'outil formation, Pass4Test peut vous assurer le succès 100% du test Zend-Technologies ZF-100-500. Votre argent sera tout rendu si vous échouez le test.

Le test Zend-Technologies 200-500 est très important dans l'Industrie IT, tous les professionnels le connaîssent ce fait. D'ailleur, c'est difficile à réussir ce test, toutefois le test Zend-Technologies 200-500 est une bonne façon à examiner les connaissances professionnelles. Un gens avec le Certificat Zend-Technologies 200-500 sera apprécié par beaucoup d'entreprises. Pass4Test est un fournisseur très important parce que beaucoup de candidats qui ont déjà réussi le test preuvent que le produit de Pass4Test est effectif. Vous pouvez réussir 100% le test Zend-Technologies 200-500 avec l'aide de Pass4Test.

200-500 Démo gratuit à télécharger: http://www.pass4test.fr/200-500.html

NO.1 Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?
A. Strip all occurrences of the string script.
B. Strip all occurrences of the string javascript.
C. Enable magic_quotes_gpc.
D. None of the above.
Answer: D

Zend-Technologies   certification 200-500   certification 200-500   certification 200-500

NO.2 Given the following code, what is correct?
function f(stdClass &$x = NULL) { $x = 42;
}
$z = new stdClass;
f($z);
var_dump($z);
A. Error: Typehints cannot be NULL
B. Error: Typehints cannot be references
C. Result is NULL
D. Result is object of type stdClass
E. Result is 42
Answer: E

Zend-Technologies examen   200-500 examen   200-500 examen   200-500   200-500 examen   certification 200-500

NO.3 How many times will the function counter() be executed in the following code?
function counter($start, &$stop)
{
if ($stop > $start)
{
return;
}
counter($start--, ++$stop);
}
$start = 5;
$stop = 2;
counter($start, $stop);
A. 3
B. 4
C. 5
D. 6
Answer: C

Zend-Technologies examen   200-500 examen   200-500   200-500   certification 200-500   200-500 examen

NO.4 Which options do you have in PHP to set the expiry date of a session?
A. Set the session.duration directive in php.ini
B. Set session cookie expiry date locally via session_set_cookie_params()
C. Set session expiry date locally via session_cache_expire()
D. None of the above
Answer: D

Zend-Technologies examen   certification 200-500   certification 200-500   certification 200-500

NO.5 You are creating an application that generates invoices in a variety of formats, including PDF, ODS
and HTML. Each of these formats is represented as a PHP class in your application. While some of the
operations can be performed on all of the different formats (such as saving and loading), other operations
may be specific to one or two of the formats (such as setting as read only). Which design pattern should
you use for this application?
A. Adapter
B. Factory
C. MVC
D. Singleton
Answer: B

certification Zend-Technologies   certification 200-500   certification 200-500

NO.6 What is the maximum size of the VARCHAR column type?
A. 255 Bytes
B. 255 Characters
C. 512 Bytes
D. 512 Characters
E. No Limit
Answer: B

Zend-Technologies examen   200-500 examen   200-500   200-500 examen   200-500 examen

NO.7 Identify the security vulnerability in the following example:
1.<?php
2 echo "Welcome, {$_POST['name']}.";
3 ?>
A. SQL Injection
B. Cross-Site Scripting
C. Remote Code Injection
D. None of the above
Answer: B

Zend-Technologies examen   certification 200-500   200-500 examen   certification 200-500   certification 200-500

NO.8 You work for a shared hosting provider, and your supervisor asks you to disable user scripts to
dynamically load PHP extensions using the dl() function. How can you do this? (Choose 2)
A. Set enable_dl to Off in the server's php.ini configuration file.
B. Add dl to the current value of disable_functions in the server's php.ini configuration file.
C. Add dl to the current value of disable_classes in the server's php.ini configuration file.
D. Write a custom function called dl(), save it under the name prepend.inc and then set the
auto_prepend_file directive to prepend.inc in php.ini.
Answer: AB

Zend-Technologies   200-500 examen   certification 200-500   200-500 examen

2014年3月23日星期日

Le plus récent matériel de formation examen Zend-Technologies 100-500 de certification

Vous pouvez s'exercer en Internet avec le démo gratuit. Vous allez découvrir que la Q&A de Pass4Test est laquelle le plus complète. C'est ce que vous voulez.

Pass4Test possède une grande équipe composée des experts IT qui travaillent dur avec leurs riches expériences et connaissances pour produire un bon outil de formation. Selon les anciens test, le test simulation de Pass4Test est bien lié avec le test réel. Pass4Test peut vous assurer à réussir le test. Maintenant vous ajoutez votre outil de formation au panier, et votre rêve réalisera bien tôt.

Beaucoup de travailleurs espèrent obtenir quelques Certificat IT pour avoir une plus grande space de s'améliorer. Certains certificats peut vous aider à réaliser ce rêve. Le test Zend-Technologies 100-500 est un certificat comme ça. Mais il est difficile à réussir. Il y a plusieurs façons pour se préparer, vous pouvez dépenser plein de temps et d'effort, ou vous pouvez choisir une bonne formation en Internet. Pass4Test est un bon fournisseur de l'outil formation de vous aider à atteindre votre but. Selons vos connaissances à propos de Pass4Test, vous allez faire un bon choix de votre formation.

Le suucès n'est pas loin de vous une fois que vous choisissez le produit de Q&A Zend-Technologies 100-500 de Pass4Test.

Code d'Examen: 100-500
Nom d'Examen: Zend-Technologies (Zend Framework Certification Exam)
Questions et réponses: 202 Q&As

100-500 Démo gratuit à télécharger: http://www.pass4test.fr/100-500.html

NO.1 Which of the following actions may fail if you have exceeded your quota limit?
A. addTo()
B. send()
C. addBcc()
D. appendMessage()
Answer: D

Zend-Technologies   100-500   100-500 examen   certification 100-500   100-500 examen   100-500

NO.2 Which of the following methods will you use to retain the identity across requests according to
the PHP session configuration?
A. isValid()
B. getIdentity()
C. Zend_Auth::authenticate()
D. getCode()
Answer: C

certification Zend-Technologies   certification 100-500   100-500   100-500   100-500

NO.3 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.
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;
Answer: A,B

certification Zend-Technologies   100-500   certification 100-500   100-500

NO.4 Which of the following is used to create a new Memory Manager?
A. Zend_Memory::factory()
B. Zend_Memory->NewMemoryManager()
C. Zend_Memory->factory()
D. Zend_Memory::NewMemoryManager()
Answer: A

Zend-Technologies examen   certification 100-500   certification 100-500   certification 100-500   100-500

NO.5 Which of the following methods in Zend_Controller_Action can be used for resetting the state
when multiple controllers use the same helper in the chained actions?
A. preDispatch()
B. setActionController()
C. postDispatch()
D. init()
Answer: D

Zend-Technologies   certification 100-500   100-500

NO.6 You want to set the form method in post and action to /uc/zend.php when you are using the
Zend_Form class. Which of the following code snippets will you use to accomplish the task?
A. <?php
$form->setAction('/uc/zend.php')
->setMethod('post');
B. <?php
echo "<form action=\"/uc/zend.php \" method=POST>";
C. <?php
$form->('/uc/zend.php')
->('post');
D. <?php
$form->Zend::setAction('/uc/zend.php')
->Zend::setMethod('post');
Answer: A

certification Zend-Technologies   100-500 examen   100-500 examen

NO.7 You want a formatted date for an RSS feed. Which of the following code syntaxes will you use
to accomplish the task?
A. Zend_Date::RSSFEED
B. Zend_Date::RSS
C. $RSS= new Zend_RSS_Date()
D. Zend_Date->RSS
Answer: B

Zend-Technologies examen   100-500 examen   certification 100-500   100-500 examen   100-500

NO.8 You have a table created as follows:
create table foo (c1 int, c2 char(30), c3 int, c4 char(10)) If column c1 is unique, which of the
following indexes would optimize the statement given below?
Select distinct (c1), c3 from foo where c1=10
A. create unique index foox on foo (c1) include (c3)
B. create index foox on foo (c1)
C. create index foox on foo (c1,c3)
D. create unique index foox on foo (c1,c3)
Answer: A

Zend-Technologies   100-500 examen   100-500   certification 100-500   certification 100-500

NO.9 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?
A. SELECT...TOP
B. SELECT...WHERE
C. SELECT...DISTINCT
D. SELECT...ALL
Answer: C

Zend-Technologies examen   100-500   100-500   100-500   100-500 examen

NO.10 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()
Answer: B,D

certification Zend-Technologies   100-500 examen   100-500   certification 100-500

NO.11 Which of the following are the configuration files that are used in Zend_Config?
A. Zend_Config_Server
B. Zend_Config_Xml
C. Zend_Config_Db
D. Zend_Config_Ini
Answer: B,D

Zend-Technologies examen   certification 100-500   100-500   100-500 examen

NO.12 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()
Answer: D

certification Zend-Technologies   certification 100-500   100-500 examen   100-500 examen   certification 100-500

NO.13 Which of the following code snippets will you use to instantiate Zend_XmlRpc_Server?
A. $server = Zend_Xml::Zend_XmlRpc_Server()
B. $server = new Zend_Xml();
C. $server = new Zend_XmlRpc_Server();
D. $server = create_new_Zend_XmlRpc_Server()
Answer: C

Zend-Technologies   100-500 examen   certification 100-500   100-500   certification 100-500   certification 100-500

NO.14 Fill in the blank with the appropriate method name.
The__________ method is used to send an email in the HTML format.
Answer: setBodyHTML()

NO.15 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.
Answer: B

certification Zend-Technologies   100-500   100-500 examen   100-500   100-500

Si vous êtes intéressé par l'outil formation Zend-Technologies 100-500 étudié par Pass4Test, vous pouvez télécharger tout d'abord le démo. Le service de la mise à jour gratuite pendant un an est aussi offert pour vous.

2014年3月1日星期六

Meilleur Zend-Technologies ZF-100-500 test formation guide

Passer le test Zend-Technologies ZF-100-500, obtenir le Passport peut améliorer la perspective de votre carrière et vous apporter plus de chances à développer votre boulot. Pass4Test est un site très convenable pour les candidats de test Certification Zend-Technologies ZF-100-500. Ce site peut offrir les informations plus nouvelles et aussi provider les bonnes chances à se former davantage. Ce sont les points essentiels pour votre succès de test Certification Zend-Technologies ZF-100-500.

Il faut une bonne préparation et aussi une série de connaissances professionnelles complètes pour réussir le test Zend-Technologies ZF-100-500. La ressourece providée par Pass4Test peut juste s'accorder votre demande.

Ajoutez le produit de Pass4Test au panier, vous pouvez participer le test avec une 100% confiance. Bénéficiez du succès de test Zend-Technologies ZF-100-500 par une seule fois, vous n'aurez pas aucune raison à refuser.

Le test simulation Zend-Technologies ZF-100-500 sorti par les experts de Pass4Test est bien proche du test réel. Nous sommes confiant sur notre produit qui vous permet à réussir le test Zend-Technologies ZF-100-500 à la première fois. Si vous ne passe pas le test, votre argent sera tout rendu.

Code d'Examen: ZF-100-500
Nom d'Examen: Zend-Technologies (Zend Framework Certification)
Questions et réponses: 200 Q&As

La Q&A de Pass4Test vise au test Certificat Zend-Technologies ZF-100-500. L'outil de formation Zend-Technologies ZF-100-500 offert par Pass4Test comprend les exercices de pratique et le test simulation. Vous pouvez trouver les autres sites de provider la Q&A, en fait vous allez découvrir que c'est l'outil de formation de Pass4Test qui offre les documentaions plus compètes et avec une meilleure qualité.

ZF-100-500 Démo gratuit à télécharger: http://www.pass4test.fr/ZF-100-500.html

NO.1 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.
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;
Answer: A,B

Zend-Technologies   ZF-100-500   ZF-100-500

NO.2 Which of the following are the configuration files that are used in Zend_Config?
A. Zend_Config_Server
B. Zend_Config_Xml
C. Zend_Config_Db
D. Zend_Config_Ini
Answer: B,D

Zend-Technologies examen   ZF-100-500 examen   ZF-100-500

NO.3 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?
A. SELECT...TOP
B. SELECT...WHERE
C. SELECT...DISTINCT
D. SELECT...ALL
Answer: C

Zend-Technologies   ZF-100-500 examen   ZF-100-500   ZF-100-500 examen

NO.4 Which of the following code snippets will you use if you want to connect to a Pop3 server using TLS?
A. <?php
$mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'protocol_used' = 'tls')); ?>
B. <?php
$mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'connectTo' = 'tls')); ?>
C. <?php
$mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'ssl' = 'tls')); ?>
D. <?php
$mail = new Zend_Mail_Storage_Pop3(array('host'
='example.com', 'user' ='user_name',
'protocol_used' = 'ssl/tls')); ?>
Answer: C

certification Zend-Technologies   certification ZF-100-500   ZF-100-500   ZF-100-500 examen   certification ZF-100-500   ZF-100-500 examen

NO.5 Fill in the blank with the appropriate PHP function.
The_____________ function is used to replace the current session id with the new session id, and to
keep information of the current session.
A. session_regenerate_id()
Answer: A

Zend-Technologies   certification ZF-100-500   ZF-100-500   ZF-100-500   ZF-100-500   certification ZF-100-500

NO.6 John works as a professional Ethical Hacker. He has been assigned a project to test the security of
www.we-are-secure.com. On the We-are-secure login page, he enters ='or''=' as a username and
successfully logs in to the user page of the Web site. The We-are-secure login page is vulnerable to a
__________.
A. Land attack
B. Replay attack
C. Dictionary attack
D. SQL injection attack
Answer: D

certification Zend-Technologies   ZF-100-500   ZF-100-500 examen   ZF-100-500 examen

NO.7 You want a formatted date for an RSS feed. Which of the following code syntaxes will you use to
accomplish the task?
A. Zend_Date::RSSFEED
B. Zend_Date::RSS
C. $RSS= new Zend_RSS_Date()
D. Zend_Date->RSS
Answer: B

Zend-Technologies   certification ZF-100-500   ZF-100-500 examen   certification ZF-100-500   certification ZF-100-500

NO.8 Which of the following code snippets will you use to create an index in Zend_Search_Lucene?
1. <?php
2. ?????????????
3. ?????????????
4. $Search_Doc ->addField(Zend_Search_Lucene_Field::Text('url', $docUrl));
5. $Search_Doc ->addField(
6. Zend_Search_Lucene_Field::UnStored(
7. 'contents',
8. $docContent
9. )
10. );

NO.9 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()
Answer: D

Zend-Technologies   ZF-100-500 examen   ZF-100-500   certification ZF-100-500

NO.10 Which of the following methods will you use to retain the identity across requests according to the PHP
session configuration?
A. isValid()
B. getIdentity()
C. Zend_Auth::authenticate()
D. getCode()
Answer: C

certification Zend-Technologies   ZF-100-500 examen   ZF-100-500 examen   ZF-100-500 examen

NO.11 Which of the following is an example of a database connection that needs to be created once at the
beginning of a script and then used throughout its code?
A. Model-view-controller
B. Factory pattern
C. ActiveRecord
D. Singleton
Answer: D

Zend-Technologies   ZF-100-500   certification ZF-100-500

NO.12 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()
Answer: B,D

Zend-Technologies examen   ZF-100-500   ZF-100-500 examen   ZF-100-500

NO.13 Fill in the blank with the appropriate class name.
The______ class is used to load files dynamically.
A. Zend_Loader
Answer: A

Zend-Technologies examen   certification ZF-100-500   ZF-100-500   ZF-100-500   certification ZF-100-500   ZF-100-500

NO.14 $index->addDocument($Search_Doc);
A. $Search_Index = Zend_Search_Lucene::create_Index('/data/my-index');
$Search_Doc = new Zend_Search_Lucene_Document();
B. $Search_Index = Zend_Search_Lucene::open_Index('/data/my-index');
$Search_Doc = new Zend_Search_Lucene_Document();
C. $Search_Index = Zend_Search_Lucene::create('/data/my-index');
$Search_Doc = new Zend_Search_Lucene_Document();
D. $Search_Index = Zend_Search_Lucene::open('/data/my-index');
$Search_Doc = new Zend_Search_Lucene_Document();
Answer: C

Zend-Technologies examen   ZF-100-500   certification ZF-100-500   ZF-100-500   certification ZF-100-500
11.Which of the following methods in Zend_Controller_Action can be used for resetting the state when
multiple controllers use the same helper in the chained actions?
A. preDispatch()
B. setActionController()
C. postDispatch()
D. init()
Answer: D

Zend-Technologies   certification ZF-100-500   certification ZF-100-500   certification ZF-100-500   certification ZF-100-500   ZF-100-500 examen

NO.15 Which of the following methods of Zend_XmlRpc_Client can you use to instantiate a server proxy call?
A. call()
B. getLastResponse()
C. getProxy()
D. XMLResponse
Answer: C

certification Zend-Technologies   certification ZF-100-500   ZF-100-500

NO.16 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.
Answer: B

Zend-Technologies   ZF-100-500 examen   ZF-100-500 examen   ZF-100-500

NO.17 Which of the following is used to create a new Memory Manager?
A. Zend_Memory::factory()
B. Zend_Memory->NewMemoryManager()
C. Zend_Memory->factory()
D. Zend_Memory::NewMemoryManager()
Answer: A

Zend-Technologies examen   ZF-100-500   ZF-100-500   ZF-100-500

NO.18 You want to set the form method in post and action to /uc/zend.php when you are using the
Zend_Form class. Which of the following code snippets will you use to accomplish the task?
A. <?php
$form->setAction('/uc/zend.php')
->setMethod('post');
B. <?php
echo "<form action=\"/uc/zend.php \" method=POST>";
C. <?php
$form->('/uc/zend.php')
->('post');
D. <?php
$form->Zend::setAction('/uc/zend.php')
->Zend::setMethod('post');
Answer: A

Zend-Technologies   ZF-100-500   ZF-100-500

NO.19 Which of the following methods are used by Zend_Controller_Action_Helper_Abstract?
Each correct answer represents a complete solution. Choose all that apply.
A. init()
B. preDispatch()
C. setActionController()
D. getResponseId()
Answer: A,B,C

Zend-Technologies examen   ZF-100-500   certification ZF-100-500

NO.20 Which of the following clauses is used to specify a column or an array of columns by which to sort?
A. Order By
B. WHERE
C. FROM
D. LIMIT
Answer: A

Zend-Technologies examen   certification ZF-100-500   ZF-100-500 examen   ZF-100-500   ZF-100-500 examen   ZF-100-500

NO.21 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.
A. Zend_Log
Answer: A

Zend-Technologies   ZF-100-500   ZF-100-500   ZF-100-500 examen

NO.22 Which of the following are the valid methods of the Zend_Date class?
Each correct answer represents a complete solution. Choose all that apply.
A. set()
B. add()
C. check()
D. get()
E. sub()
Answer: A,B,D,E

Zend-Technologies   ZF-100-500   ZF-100-500 examen   ZF-100-500 examen   ZF-100-500

NO.23 Fill in the blank with the appropriate method name.
The__________ method is used to send an email in the HTML format.
A. setBodyHTML()
Answer: A

Zend-Technologies   certification ZF-100-500   ZF-100-500   ZF-100-500

NO.24 Consider the following code segment:
1. <?php
2. require_once 'Zend/Mail.php';
3. ?????????????????????????
4. $mail->setBodyText('This is the test email.');
5. $mail->setFrom('somebody@example.com', 'Sender');
6. $mail->addTo('somebody_else@example.com', 'Recipient');
7. $mail->setSubject('TestSubject');
8. $mail->send();
9. ?>
Which of the following code snippets will you use at line number 3 to initiate Zend_Mail?
A. $mail = new Zend_Mail();
B. $mail => initialize_Zend_Mail();
C. $mail -> Zend_Mail();
D. $mail => Zend_Mail();
Answer: A

Zend-Technologies examen   ZF-100-500   ZF-100-500   ZF-100-500 examen   ZF-100-500   ZF-100-500

NO.25 You have given the following XML data in the tasks.XML file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<tasklist>
<note>
<tasks>Validate data</tasks>
<details>String Validation</details>
</note>
<note>
<tasks>Secure data</tasks>
<details>Encryption</details>
</note>
</tasklist>
Now, you run the following PHP script:
<?php
$objDOM = new DOMDocument();
$objDOM->load("tasks.xml");
$note = $objDOM->getElementsByTagName("note");
foreach( $note as $value )
{
$tasks = $value->getElementsByTagName("tasks");
$task = $tasks->item(0)->nodeValue;
$details = $value->getElementsByTagName("details");
$detail = $details->item(0)->nodeValue;
echo "$task :: $detail <br>";
}
?>
What should be displayed when this script is executed?
A. The contents of the whole XML document
B. The XML of every tasks and details nodes
C. The contents of every tasks and details nodes
D. The XML of whole XML document
Answer: C

Zend-Technologies   ZF-100-500   ZF-100-500   ZF-100-500

NO.26 Which of the following code snippets will you use to instantiate Zend_XmlRpc_Server?
A. $server = Zend_Xml::Zend_XmlRpc_Server()
B. $server = new Zend_Xml();
C. $server = new Zend_XmlRpc_Server();
D. $server = create_new_Zend_XmlRpc_Server()
Answer: C

Zend-Technologies   certification ZF-100-500   certification ZF-100-500   certification ZF-100-500

NO.27 You have a table created as follows:
create table foo (c1 int, c2 char(30), c3 int, c4 char(10))
If column c1 is unique, which of the following indexes would optimize the statement given below?
Select distinct (c1), c3 from foo where c1=10
A. create unique index foox on foo (c1) include (c3)
B. create index foox on foo (c1)
C. create index foox on foo (c1,c3)
D. create unique index foox on foo (c1,c3)
Answer: A

Zend-Technologies   ZF-100-500   ZF-100-500

NO.28 You run the following PHP script:
<?php
$name = mysql_real_escape_string($_POST["name"]);
$password = mysql_real_escape_string($_POST["password"]);
?>
What is the use of the mysql_real_escape_string() function in the above script.
Each correct answer represents a complete solution. Choose all that apply.
A. It can be used as a countermeasure against a SQL injection attack.
B. It escapes all special characters from strings $_POST["name"] and $_POST["password"] except ' and
".
C. It escapes all special characters from strings $_POST["name"] and $_POST["password"].
D. It can be used to mitigate a cross site scripting attack.
Answer: A,C

Zend-Technologies examen   ZF-100-500 examen   certification ZF-100-500

NO.29 Which of the following actions may fail if you have exceeded your quota limit?
A. addTo()
B. send()
C. addBcc()
D. appendMessage()
Answer: D

Zend-Technologies   ZF-100-500   ZF-100-500

NO.30 Fill in the blank with the appropriate method name.
The__________ method is used to retrieve headers when the storage has been opened.
A. getHeader()
Answer: A

Zend-Technologies   ZF-100-500   ZF-100-500 examen   ZF-100-500   ZF-100-500

Choisir le Pass4Test vous permet non seulement à réussir le test Zend-Technologies ZF-100-500, mais encore à enjouir le service en ligne 24h et la mise à jour gratuite pendant un an. Nous allons lancer au premier temps la Q&A Zend-Technologies ZF-100-500 plus nouvelle. Si vous ne passez pas le test, votre argent sera tout rendu.

2014年1月27日星期一

100-500 dernières questions d'examen certification Zend-Technologies et réponses publiés

Le test Zend-Technologies 100-500 est le premier pas pour promouvoir dans l'Industrie IT, mais aussi la seule rue ramenée au pic de succès. Le test Zend-Technologies 100-500 joue un rôle très important dans cette industrie. Et aussi, Pass4Test est un chaînon inevitable pour réussir le test sans aucune doute.

L'équipe de Pass4Test autorisée offre sans arrêt les bonnes resources aux candidats de test Certification Zend-Technologies 100-500. Les documentations particulièrement visée au test Zend-Technologies 100-500 aide beaucoup de candidats. La Q&A de la version plus nouvelle est lancée maintenant. Vous pouvez télécharger le démo gratuit en Internet. Généralement, vous pouvez réussir le test 100% avec l'aide de Pass4Test, c'est un fait preuvé par les professionnels réputés IT. Ajoutez le produit au panier, vous êtes l'ensuite à réussir le test Zend-Technologies 100-500.

Le guide d'étude de Pas4Test comprend l'outil de se former et même que le test de simulation très proche de test réel. Pass4Test vous permet de se forcer les connaissances professionnelles ciblées à l'examen Certification Zend-Technologies 100-500. Il n'y a pas de soucis à réussir le test avec une haute note.

Code d'Examen: 100-500
Nom d'Examen: Zend-Technologies (Zend Framework Certification Exam)
Questions et réponses: 202 Q&As

Différentes façons peuvent atteindre le même but, ça dépend laquelle que vous prenez. Beaucoup de gens choisissent le test Zend-Technologies 100-500 pour améliorer la vie et la carrière. Mais tous les gens ont déjà participé le test Zend-Technologies 100-500, ils savent qu'il est difficile à réussir le test. Il y a quelques dépensent le temps et l'argent, mais ratent finalement.

100-500 Démo gratuit à télécharger: http://www.pass4test.fr/100-500.html

NO.1 You want a formatted date for an RSS feed. Which of the following code syntaxes will you use
to accomplish the task?
A. Zend_Date::RSSFEED
B. Zend_Date::RSS
C. $RSS= new Zend_RSS_Date()
D. Zend_Date->RSS
Answer: B

Zend-Technologies examen   100-500   100-500   100-500   certification 100-500

NO.2 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()
Answer: B,D

Zend-Technologies   100-500   100-500   certification 100-500

NO.3 Which of the following methods will you use to retain the identity across requests according to
the PHP session configuration?
A. isValid()
B. getIdentity()
C. Zend_Auth::authenticate()
D. getCode()
Answer: C

Zend-Technologies examen   100-500   100-500

NO.4 You have a table created as follows:
create table foo (c1 int, c2 char(30), c3 int, c4 char(10)) If column c1 is unique, which of the
following indexes would optimize the statement given below?
Select distinct (c1), c3 from foo where c1=10
A. create unique index foox on foo (c1) include (c3)
B. create index foox on foo (c1)
C. create index foox on foo (c1,c3)
D. create unique index foox on foo (c1,c3)
Answer: A

Zend-Technologies   100-500   100-500 examen   100-500   certification 100-500   certification 100-500

NO.5 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.
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;
Answer: A,B

Zend-Technologies   100-500 examen   certification 100-500

NO.6 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?
A. SELECT...TOP
B. SELECT...WHERE
C. SELECT...DISTINCT
D. SELECT...ALL
Answer: C

Zend-Technologies   100-500 examen   certification 100-500   100-500   100-500

NO.7 Which of the following code snippets will you use to instantiate Zend_XmlRpc_Server?
A. $server = Zend_Xml::Zend_XmlRpc_Server()
B. $server = new Zend_Xml();
C. $server = new Zend_XmlRpc_Server();
D. $server = create_new_Zend_XmlRpc_Server()
Answer: C

Zend-Technologies   100-500 examen   100-500   100-500

NO.8 You want to set the form method in post and action to /uc/zend.php when you are using the
Zend_Form class. Which of the following code snippets will you use to accomplish the task?
A. <?php
$form->setAction('/uc/zend.php')
->setMethod('post');
B. <?php
echo "<form action=\"/uc/zend.php \" method=POST>";
C. <?php
$form->('/uc/zend.php')
->('post');
D. <?php
$form->Zend::setAction('/uc/zend.php')
->Zend::setMethod('post');
Answer: A

Zend-Technologies examen   100-500   100-500

NO.9 Which of the following are the configuration files that are used in Zend_Config?
A. Zend_Config_Server
B. Zend_Config_Xml
C. Zend_Config_Db
D. Zend_Config_Ini
Answer: B,D

Zend-Technologies examen   100-500 examen   100-500

NO.10 Fill in the blank with the appropriate method name.
The__________ method is used to send an email in the HTML format.
Answer: setBodyHTML()

NO.11 Which of the following is used to create a new Memory Manager?
A. Zend_Memory::factory()
B. Zend_Memory->NewMemoryManager()
C. Zend_Memory->factory()
D. Zend_Memory::NewMemoryManager()
Answer: A

Zend-Technologies   100-500   100-500

NO.12 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.
Answer: B

Zend-Technologies examen   100-500 examen   100-500   certification 100-500   certification 100-500

NO.13 Which of the following actions may fail if you have exceeded your quota limit?
A. addTo()
B. send()
C. addBcc()
D. appendMessage()
Answer: D

certification Zend-Technologies   100-500 examen   100-500 examen   100-500 examen

NO.14 Which of the following methods in Zend_Controller_Action can be used for resetting the state
when multiple controllers use the same helper in the chained actions?
A. preDispatch()
B. setActionController()
C. postDispatch()
D. init()
Answer: D

certification Zend-Technologies   100-500   100-500 examen   100-500   100-500 examen

NO.15 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()
Answer: D

Zend-Technologies   certification 100-500   100-500 examen

Le programme de formation Zend-Technologies 100-500 offert par Pass4Test comprend les exercices et les test simulation. Vous voyez aussi les autres sites d'offrir l'outil de formation, mais c'est pas difficile à découvrir une grand écart de la qualité entre Pass4Test et les autres fournisseurs. Celui de Pass4Test est plus complet et convenable pour la préparation dans une courte terme.

2014年1月23日星期四

Certification Zend-Technologies de téléchargement gratuit pratique d'examen 200-500, questions et réponses

Le test certification Zend-Technologies 200-500 est une bonne preuve de connaissances professionnelles et la techniques. Dans l'Industrie IT, beaucoiup de humains ressource font l'accent de lesquels certificats que les volontiers obtiennent. C'est clairement que le certificat Zend-Technologies 200-500 puisse augmenter la compétition dans ce marché.

Pass4Test peut non seulement vous aider à réussir votre rêve, mais encore vous offre le service gratuit pendand un an après vendre en ligne. Q&A offerte par l'équipe de Pass4Test vous assure à passer 100% le test de Certification Zend-Technologies 200-500.

Le produit de Pass4Test est réputée par une bonne qualité et fiabilité. Vous pouvez télécharger le démo grantuit pour prendre un essai, nons avons la confiance que vous seriez satisfait. Vous n'aurez plus de raison à s'hésiter en face d'un aussi bon produit. Ajoutez notre Q&A au panier, vous aurez une meilleure préparation avant le test.

Pas besoin de beaucoup d'argent et de temps, vous pouvez passer le test Zend-Technologies 200-500 juste avec la Q&A de Zend-Technologies 200-500 offerte par Pass4Test qui vous offre le test simulation bien proche de test réel.

Avec la version plus nouvelle de Q&A Zend-Technologies 200-500, réussir le test Zend-Technologies 200-500 n'est plus un rêve très loin pour vous. Pass4Test peut vous aider à réaliser ce rêve. Le test simualtion de Pass4Test est bien proche du test réel. Vous aurez l'assurance à réussir le test avec le guide de Pass4Test. Voilà, le succès est juste près de vous.

Code d'Examen: 200-500
Nom d'Examen: Zend-Technologies (Zend PHP 5 Certification)
Questions et réponses: 219 Q&As

200-500 Démo gratuit à télécharger: http://www.pass4test.fr/200-500.html

NO.1 A script residing at http://example.com/phpcert/cookies.php contains the following code:
1.<?php
2 setcookie('name1', 'value1', time() + 60*60*24, '/');
3 setcookie('name1', 'value2');
4 ?>
The web browser is configured to accept all cookies. How many cookies will be set by this script?
A. 0
B. 1
C. 2
D. 3
Answer: C

Zend-Technologies examen   200-500   200-500   200-500

NO.2 Which piece of code will return the ASCII value of a character?
A. (int)'t';
B. ord('t');
C. to_ascii('t');
D. chr('t');
Answer: B

Zend-Technologies   200-500 examen   200-500 examen

NO.3 An HTML form contains this form element:
<input type="image" name="myImage" src="image.png" />
The user clicks on the image to submit the form. How can you now access the relative coordinates of the
mouse click?
A. $_IMAGE['myImage']['x'] and $_IMAGE['myImage']['y']
B. $_POST['myImage']['x'] and $_POST['myImage']['x']
C. $_POST['myImage.x'] and $_POST['myImage.y']
D. $_POST['myImage_x'] and $_POST['myImage_y']
Answer: D

Zend-Technologies   200-500   200-500   200-500

NO.4 What is the output of the following code?
echo 0x33, ' monkeys sit on ', 011, ' trees.';
A. 33 monkeys sit on 11 trees.
B. 51 monkeys sit on 9 trees.
C. monkeys sit on trees.
D. 0x33 monkeys sit on 011 trees.
Answer: B

certification Zend-Technologies   certification 200-500   200-500

NO.5 You are creating an application that generates invoices in a variety of formats, including PDF, ODS
and HTML. Each of these formats is represented as a PHP class in your application. While some of the
operations can be performed on all of the different formats (such as saving and loading), other operations
may be specific to one or two of the formats (such as setting as read only). Which design pattern should
you use for this application?
A. Adapter
B. Factory
C. MVC
D. Singleton
Answer: B

Zend-Technologies   200-500   200-500

NO.6 What is the output of the following script?
1 <?php
2 class a
3 {
4 public $val;
5 }
6
7 function renderVal (a $a)
8 {
9 if ($a) {
10 echo $a->val;
11 }
12 }
13
14 renderVal (null);
15 ?>
A. A syntax error in the function declaration line
B. An error, because null is not an instance of 'a'
C. Nothing, because a null value is being passed to renderVal()
D. NULL
Answer: B

certification Zend-Technologies   certification 200-500   200-500   200-500

NO.7 When a class is defined as final it:
A. Can no longer be extended by other classes.
B. Means methods in the class are not over-loadable.
C. Cannot be defined as such, final is only applicable to object methods.
D. Is no longer iteratable.
Answer: A

Zend-Technologies   200-500   200-500 examen   200-500 examen

NO.8 Given the following code, what is correct?
function f(stdClass &$x = NULL) { $x = 42;
}
$z = new stdClass;
f($z);
var_dump($z);
A. Error: Typehints cannot be NULL
B. Error: Typehints cannot be references
C. Result is NULL
D. Result is object of type stdClass
E. Result is 42
Answer: E

Zend-Technologies   200-500   200-500   200-500   certification 200-500

NO.9 Given the following code, what will be the value of $a?
$a = array('a', 'b');
array_push($a, array(1, 2));
A. array('a', 'b', 1, 2)
B. array(1, 2, 'a', 'b')
C. array(array(1, 2), 'a', 'b')
D. None of the above
Answer: D

Zend-Technologies   200-500 examen   200-500 examen   200-500

NO.10 What is the content of $c after the following code has executed?
$a = 2;
$b = 3;
$c = ($a++ * ++$b);
A. 0
B. 5
C. 8
D. 4
Answer:

NO.11 When checking whether two English words are pronounced alike, which function
should be used for the best possible result?
A. levenshtein()
B. metaphone()
C. similar_text()
D. soundex()
Answer: B

Zend-Technologies   certification 200-500   certification 200-500   200-500

NO.12 Which of the following data types cannot be directly manipulated by the client?
A. Cookie Data
B. Session Data
C. Remote IP Address
D. User Agent
Answer: B

Zend-Technologies   200-500   certification 200-500   200-500   200-500 examen   certification 200-500

NO.13 Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by value
in PHP 4?
A. Class
B. String
C. Object
D. Array
Answer: C

Zend-Technologies examen   200-500 examen   certification 200-500

NO.14 What DOMElement method should be used to check for availability of a non-namespaced attribute?
A. getAttributeNS()
B. getAttribute()
C. hasAttribute()
D. hasAttributeNS()
Answer: C

Zend-Technologies   200-500   200-500 examen   200-500

NO.15 Which of the following statements is correct?
A. Interfaces can extend only one interface
B. Interfaces can extend more than one interface
C. Interfaces can inherit a method from different interfaces
D. Interfaces can redeclare inherited methods
Answer: B

Zend-Technologies   200-500 examen   200-500   200-500

NO.16 Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?
A. Strip all occurrences of the string script.
B. Strip all occurrences of the string javascript.
C. Enable magic_quotes_gpc.
D. None of the above.
Answer: D

Zend-Technologies   200-500   200-500

NO.17 What is the maximum size of the VARCHAR column type?
A. 255 Bytes
B. 255 Characters
C. 512 Bytes
D. 512 Characters
E. No Limit
Answer: B

Zend-Technologies   200-500 examen   200-500

NO.18 Which parts of the text are matched in the following regular expression?
1 <?php
2 $text = <<<EOT
3 The big bang bonged under the bung.
4 EOT;
5
6 preg_match_all('@b.n?g@', $text, $matches);
7 ?>
A. bang bong bung
B. bang bonged bung
C. big bang bong bung
D. big bang bung
Answer: C

Zend-Technologies   200-500 examen   200-500 examen

NO.19 Transactions can be used to: (Choose 2)
A. Recover from errors in case of a power outage or a failure in the SQL connection
B. Ensure that the data is properly formatted
C. Ensure that either all statements are performed properly, or that none of them are.
D. Recover from user errors
Answer: AC

Zend-Technologies   certification 200-500   certification 200-500   200-500 examen

NO.20 You work for a shared hosting provider, and your supervisor asks you to disable user scripts to
dynamically load PHP extensions using the dl() function. How can you do this? (Choose 2)
A. Set enable_dl to Off in the server's php.ini configuration file.
B. Add dl to the current value of disable_functions in the server's php.ini configuration file.
C. Add dl to the current value of disable_classes in the server's php.ini configuration file.
D. Write a custom function called dl(), save it under the name prepend.inc and then set the
auto_prepend_file directive to prepend.inc in php.ini.
Answer: AB

Zend-Technologies   200-500 examen   200-500   200-500 examen

NO.21 You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see what
it does and use the following function call:
strcasecmp('hello my dear!', 'Hello my DEAR!');
The function call returns "0". What does that mean?
A. String 1 is less than string 2.
B. The strings are considered equal.
C. String 2 is less than string 1.
D. The strings have equal length.
Answer: B

Zend-Technologies   200-500   200-500   200-500

NO.22 How many elements does the $matches array contain after the following function call is performed?
preg_match('/

2013年10月22日星期二

Pass4Test offre de Zend-Technologies 200-500 matériaux d'essai

Le test Zend-Technologies 200-500 est bien populaire dans l'Industrie IT. Mais ça coûte beaucoup de temps pour bien préparer le test. Le temps est certainemetn la fortune dans cette société. L'outil de formation offert par Pass4Test ne vous demande que 20 heures pour renforcer les connaissances essentales pour le test Zend-Technologies 200-500. Vous aurez une meilleure préparation bien que ce soit la première fois à participer le test.

Nous croyons que pas mal de candidats voient les autres site web qui offrent les ressources de Q&A Zend-Technologies 200-500. En fait, le Pass4Test est le seul site qui puisse offrir la Q&A recherchée par les experts réputés dans l'Industrie IT. Grâce à la Q&A de Pass4Test impressionée par la bonne qualité, vous pouvez réussir le test Zend-Technologies 200-500 sans aucune doute.

Le test Zend-Technologies 200-500 est le premier pas pour promouvoir dans l'Industrie IT, mais aussi la seule rue ramenée au pic de succès. Le test Zend-Technologies 200-500 joue un rôle très important dans cette industrie. Et aussi, Pass4Test est un chaînon inevitable pour réussir le test sans aucune doute.

Code d'Examen: 200-500
Nom d'Examen: Zend-Technologies (Zend PHP 5 Certification)
Questions et réponses: 219 Q&As

Le test Zend-Technologies 200-500 est test certification très répandu dans l'industrie IT. Vous pourriez à améliorer votre niveau de vie, l'état dans l'industrie IT, etc. C'est aussi un test très rentable, mais très difficile à réussir.

Si vous voulez se prouver une compétition et s'enraciner le statut dans l'industrie IT à travers de test Certification Zend-Technologies 200-500, c'est obligatoire que vous devez avior les connaissances professionnelles. Mais il demande pas mal de travaux à passer le test Certification Zend-Technologies 200-500. Peut-être d'obtenir le Certificat Zend-Technologies 200-500 peut promouvoir le tremplin vers l'Industrie IT, mais vous n'avez pas besoin de travailler autant dur à préparer le test. Vous avez un autre choix à faire toutes les choses plus facile : prendre le produit de Pass4Test comme vos matériaux avec qui vous vous pratiquez avant le test réel. La Q&A de Pass4Test est recherchée particulièrement pour le test IT.

Pass4Test est un site professionnel qui répondre les demandes de beaucoup clients. Les candidats qui ont déjà passer leurs premiers test Certification IT ont devenus les suivis de Pass4Test. Grâce à la bonne qualité des documentations, Pass4Test peut aider tous candidats à réussir le test Zend-Technologies 200-500.

200-500 Démo gratuit à télécharger: http://www.pass4test.fr/200-500.html

NO.1 When a class is defined as final it:
A. Can no longer be extended by other classes.
B. Means methods in the class are not over-loadable.
C. Cannot be defined as such, final is only applicable to object methods.
D. Is no longer iteratable.
Answer: A

Zend-Technologies   200-500 examen   200-500 examen

NO.2 Given the following code, what will be the value of $a?
$a = array('a', 'b');
array_push($a, array(1, 2));
A. array('a', 'b', 1, 2)
B. array(1, 2, 'a', 'b')
C. array(array(1, 2), 'a', 'b')
D. None of the above
Answer: D

Zend-Technologies   200-500 examen   200-500   200-500 examen   200-500 examen

NO.3 Transactions can be used to: (Choose 2)
A. Recover from errors in case of a power outage or a failure in the SQL connection
B. Ensure that the data is properly formatted
C. Ensure that either all statements are performed properly, or that none of them are.
D. Recover from user errors
Answer: AC

certification Zend-Technologies   200-500   200-500

NO.4 Which of the following can be registered as entry points with a SoapServer instance (choose 3):
A. A single function
B. A single method from a class
C. Multiple functions at once
D. All methods from a class
E. All classes defined in a script
Answer: ACD

Zend-Technologies   200-500   200-500 examen   200-500

NO.5 A script residing at http://example.com/phpcert/cookies.php contains the following code:
1.<?php
2 setcookie('name1', 'value1', time() + 60*60*24, '/');
3 setcookie('name1', 'value2');
4 ?>
The web browser is configured to accept all cookies. How many cookies will be set by this script?
A. 0
B. 1
C. 2
D. 3
Answer: C

Zend-Technologies examen   200-500   200-500   200-500 examen   certification 200-500

NO.6 How many times will the function counter() be executed in the following code?
function counter($start, &$stop)
{
if ($stop > $start)
{
return;
}
counter($start--, ++$stop);
}
$start = 5;
$stop = 2;
counter($start, $stop);
A. 3
B. 4
C. 5
D. 6
Answer: C

Zend-Technologies   certification 200-500   200-500 examen   certification 200-500

NO.7 What is the output of the following script?
1 <?php
2 class a
3 {
4 public $val;
5 }
6
7 function renderVal (a $a)
8 {
9 if ($a) {
10 echo $a->val;
11 }
12 }
13
14 renderVal (null);
15 ?>
A. A syntax error in the function declaration line
B. An error, because null is not an instance of 'a'
C. Nothing, because a null value is being passed to renderVal()
D. NULL
Answer: B

Zend-Technologies examen   200-500   200-500   200-500

NO.8 What is the output of the following code?
<code>
class test {
public $value = 0;
function test() {
$this->value = 1;
}
function __construct() {
$this->value = 2;
}
}
$object = new test();
echo $object->value;
A. 2
B. 1
C. 0
D. 3
E. No Output, PHP will generate an error message.
Answer: A

Zend-Technologies   200-500 examen   200-500 examen   certification 200-500   certification 200-500

NO.9 Which piece of code will return the ASCII value of a character?
A. (int)'t';
B. ord('t');
C. to_ascii('t');
D. chr('t');
Answer: B

Zend-Technologies examen   certification 200-500   200-500   200-500   200-500

NO.10 When checking whether two English words are pronounced alike, which function
should be used for the best possible result?
A. levenshtein()
B. metaphone()
C. similar_text()
D. soundex()
Answer: B

Zend-Technologies   200-500 examen   200-500 examen

NO.11 What is the maximum size of the VARCHAR column type?
A. 255 Bytes
B. 255 Characters
C. 512 Bytes
D. 512 Characters
E. No Limit
Answer: B

Zend-Technologies   certification 200-500   200-500 examen   200-500

NO.12 REST is a(n) ...
A. Web service protocol similar to SOAP with a strict XML schema.
B. Principle to exchange information using XML and HTTP.
C. API to get information from social networking sites.
Answer: B

Zend-Technologies   200-500   200-500   200-500 examen

NO.13 You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see what
it does and use the following function call:
strcasecmp('hello my dear!', 'Hello my DEAR!');
The function call returns "0". What does that mean?
A. String 1 is less than string 2.
B. The strings are considered equal.
C. String 2 is less than string 1.
D. The strings have equal length.
Answer: B

Zend-Technologies   certification 200-500   200-500   200-500   certification 200-500

NO.14 Type hinting in PHP allows the identification of the following variable types: (Choose 2)
A. String
B. Integer
C. Array
D. Any class or interface type
Answer: CD

Zend-Technologies   200-500   200-500   200-500   certification 200-500

NO.15 Which options do you have in PHP to set the expiry date of a session?
A. Set the session.duration directive in php.ini
B. Set session cookie expiry date locally via session_set_cookie_params()
C. Set session expiry date locally via session_cache_expire()
D. None of the above
Answer: D

Zend-Technologies   200-500   certification 200-500   200-500   certification 200-500

NO.16 You are creating an application that generates invoices in a variety of formats, including PDF, ODS
and HTML. Each of these formats is represented as a PHP class in your application. While some of the
operations can be performed on all of the different formats (such as saving and loading), other operations
may be specific to one or two of the formats (such as setting as read only). Which design pattern should
you use for this application?
A. Adapter
B. Factory
C. MVC
D. Singleton
Answer: B

Zend-Technologies   200-500 examen   certification 200-500   200-500 examen   certification 200-500   200-500

NO.17 Which of the following statements is NOT true?
a) Class constants are public
b) Class constants are being inherited
c) Class constants can omit initialization (default to NULL)
d) Class constants can be initialized by consts
A. a)
B. b)
C. c)
D. d)
Answer: C

Zend-Technologies   200-500   certification 200-500

NO.18 Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?
A. Strip all occurrences of the string script.
B. Strip all occurrences of the string javascript.
C. Enable magic_quotes_gpc.
D. None of the above.
Answer: D

Zend-Technologies   200-500   200-500 examen   200-500 examen   200-500

NO.19 What is the content of $c after the following code has executed?
$a = 2;
$b = 3;
$c = ($a++ * ++$b);
A. 0
B. 5
C. 8
D. 4
Answer:

NO.20 Which parts of the text are matched in the following regular expression?
1 <?php
2 $text = <<<EOT
3 The big bang bonged under the bung.
4 EOT;
5
6 preg_match_all('@b.n?g@', $text, $matches);
7 ?>
A. bang bong bung
B. bang bonged bung
C. big bang bong bung
D. big bang bung
Answer: C

Zend-Technologies   200-500 examen   200-500

NO.21 What DOMElement method should be used to check for availability of a non-namespaced attribute?
A. getAttributeNS()
B. getAttribute()
C. hasAttribute()
D. hasAttributeNS()
Answer: C

Zend-Technologies examen   certification 200-500   200-500

NO.22 Identify the security vulnerability in the following example:
1.<?php
2 echo "Welcome, {$_POST['name']}.";
3 ?>
A. SQL Injection
B. Cross-Site Scripting
C. Remote Code Injection
D. None of the above
Answer: B

certification Zend-Technologies   200-500 examen   200-500

NO.23 An HTML form contains this form element:
<input type="image" name="myImage" src="image.png" />
The user clicks on the image to submit the form. How can you now access the relative coordinates of the
mouse click?
A. $_IMAGE['myImage']['x'] and $_IMAGE['myImage']['y']
B. $_POST['myImage']['x'] and $_POST['myImage']['x']
C. $_POST['myImage.x'] and $_POST['myImage.y']
D. $_POST['myImage_x'] and $_POST['myImage_y']
Answer: D

certification Zend-Technologies   200-500   200-500   200-500 examen   200-500

NO.24 What is the output of the following code?
echo 0x33, ' monkeys sit on ', 011, ' trees.';
A. 33 monkeys sit on 11 trees.
B. 51 monkeys sit on 9 trees.
C. monkeys sit on trees.
D. 0x33 monkeys sit on 011 trees.
Answer: B

certification Zend-Technologies   200-500 examen   200-500 examen   200-500   200-500

NO.25 Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by value
in PHP 4?
A. Class
B. String
C. Object
D. Array
Answer: C

Zend-Technologies   certification 200-500   200-500 examen   200-500

NO.26 Which of the following statements is correct?
A. Interfaces can extend only one interface
B. Interfaces can extend more than one interface
C. Interfaces can inherit a method from different interfaces
D. Interfaces can redeclare inherited methods
Answer: B

certification Zend-Technologies   certification 200-500   certification 200-500

NO.27 Which of the following data types cannot be directly manipulated by the client?
A. Cookie Data
B. Session Data
C. Remote IP Address
D. User Agent
Answer: B

Zend-Technologies   200-500   200-500

NO.28 You work for a shared hosting provider, and your supervisor asks you to disable user scripts to
dynamically load PHP extensions using the dl() function. How can you do this? (Choose 2)
A. Set enable_dl to Off in the server's php.ini configuration file.
B. Add dl to the current value of disable_functions in the server's php.ini configuration file.
C. Add dl to the current value of disable_classes in the server's php.ini configuration file.
D. Write a custom function called dl(), save it under the name prepend.inc and then set the
auto_prepend_file directive to prepend.inc in php.ini.
Answer: AB

Zend-Technologies   200-500 examen   certification 200-500

NO.29 How many elements does the $matches array contain after the following function call is performed?
preg_match('/