Zend ZF-100-500 Exam
Zend Framework Certification (Page 6 )

Updated On: 1-Feb-2026

You have a table created as follows:
create table foo (c1int, 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

  1. create unique index foox on foo (c1) include (c3)
  2. create index foox on foo (c1)
  3. create index foox on foo (c1, c3)
  4. create unique index foox on foo (c1, c3)

Answer(s): A



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?

  1. <?php
    $form->setAction('/uc/zend.php')
    ->setMethod('post');
  2. <?php
    echo "<form action=\"/uc/zend.php \" method=POST>";
  3. <?php
    $form->('/uc/zend.php')
    ->('post');
  4. <?php
    $form->Zend::setAction('/uc/zend.php')
    ->Zend::setMethod('post');

Answer(s): A



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

  1. When you want to restore a previously defined exception handler function.
  2. When the try/catch block is unable to catch an exception.
  3. When you want to set a user -defined function to handle errors.
  4. When you want to generate a user -level error/warning/notice message.

Answer(s): B



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

  1. <?php
    $mail = new Zend_Mail_Storage_Pop3(array('host'
    ='example.com', 'user' ='user_name',
    'protocol_used' = 'tls')); ?>
  2. <?php
    $mail = new Zend_Mail_Storag e_Pop3(array('host'
    ='example.com', 'user' ='user_name',
    'connectTo' = 'tls')); ?>
  3. <?php
    $mail = new Zend_Mail_Storage_Pop3(array('host'
    ='example.com', 'user' ='user_name',
    'ssl' = 'tls')); ?>
  4. <?php
    $mail = new Zend_Mail_Storage_Pop3(array('host'
    ='example.com', 'user' ='user_name',
    'protocol_used' = 'ssl/tls')); ?>

Answer(s): C



Which of the following are the configuration files that are used in Zend_Config?

  1. Zend_Config_Server
  2. Zend_Config_Xml
  3. Zend_Config_Db
  4. Zend_Config_Ini

Answer(s): B,D



Viewing page 6 of 27
Viewing questions 26 - 30 out of 200 questions



Post your Comments and Discuss Zend ZF-100-500 exam prep with other Community members:

Join the ZF-100-500 Discussion