200-710 Exam Details

  • Exam Code
    :200-710
  • Exam Name
    :Zend Certified Engineer
  • Certification
    :Zend Certifications
  • Vendor
    :Zend
  • Total Questions
    :233 Q&As
  • Last Updated
    :Jul 14, 2026

Zend 200-710 Online Questions & Answers

  • Question 11:

    CORRECT TEXT

    What is the output of the following code?

    function increment (and$val)

    {

    return $val + 1;

    }

    $a = 1;

    echo increment ($a);

    echo increment ($a);

  • Question 12:

    When would you use classes and when would you use namespaces?

    A. Use classes to encapsulate code and represent objects, and namespaces to avoid symbol name collisions
    B. Use classes for performance-sensitive code, and namespaces when readability matters more
    C. Use namespaces for performance-sensitive code, and classes when readability matters more
    D. Always use them; namespaces are always superior to classes

  • Question 13:

    Which of the following parts must a XML document have in order to be well-formed?

    A. An XML declaration
    B. A root element
    C. A specified encoding
    D. A reference to either a DTD or an XML schema definition

  • Question 14:

    Consider 3 PHP files that are called asynchronously via XmlHttpRequest:

    Which of the following statements is true? (Choose two.)

    A. The total execution time for all 3 requests will be the maximum of the longest sleep() call
    B. The requests may be processed out of order
    C. The requests are guaranteed to be executed in order
    D. Concurrent requests will be blocked until the session lock is released

  • Question 15:

    What is the pattern modifier for handling UTF-8 encoded preg_* functionality?

    A. e
    B. u
    C. PHP does not support UTF-8 encoded strings
    D. A pattern modifier is not needed

  • Question 16:

    You want to allow your users to submit HTML code in a form, which will then be displayed as real code and not affect your page layout. Which function do you apply to the text, when displaying it? (Choose 2)

    A. strip_tags()
    B. htmlentities()
    C. htmltidy()
    D. htmlspecialchars()
    E. showhtml()

  • Question 17:

    Consider the following table data and PHP code. What is the outcome?

    Table data (table name "users" with primary key "id"):

    id name email

    1 anna [email protected]

    2 betty [email protected]

    3 clara [email protected]

    5 sue [email protected]

    PHP code (assume the PDO connection is correctly established):

    $dsn = 'mysql:host=localhost;dbname=exam';

    $user = 'username';

    $pass = '********';

    $pdo = new PDO($dsn, $user, $pass);

    try {

    $cmd = "INSERT INTO users (id, name, email) VALUES (:id, :name, :email)";

    $stmt = $pdo->prepare($cmd);

    $stmt->bindValue('id', 1);

    $stmt->bindValue('name', 'anna');

    $stmt->bindValue('email', '[email protected]');

    $stmt->execute();

    echo "Success!";

    } catch (PDOException $e) {

    echo "Failure!";

    throw $e;

    }

    A. The INSERT will succeed and the user will see the "Success!" message.
    B. The INSERT will fail because of a primary key violation, and the user will see the "Success!" message.
    C. The INSERT will fail because of a primary key violation, and the user will see a PDO warning message.
    D. The INSERT will fail because of a primary key violation, and the user will see the "Failure!" message.

  • Question 18:

    Which one of the following XML declarations is NOT valid?

  • Question 19:

    Which class of HTTP status codes is used for redirections?

    A. 2XX
    B. 3XX
    C. 4XX
    D. 5XX

  • Question 20:

    In a shared hosting environment, session data can be read by PHP scripts written by any user. How can you prevent this? (Choose 2)

    A. Store session data in a different location with session.save_path .
    B. Store session data in a database.
    C. Enable safe_mode .
    D. Set session.name to something unique.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Zend exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 200-710 exam preparations and Zend certification application, do not hesitate to visit our Vcedump.com to find your solutions here.