Exam Details

  • Exam Code
    :200-550
  • Exam Name
    :Zend Certified PHP Engineer
  • Certification
    :Zend Certified
  • Vendor
    :Zend
  • Total Questions
    :223 Q&As
  • Last Updated
    :May 12, 2024

Zend Zend Certified 200-550 Questions & Answers

  • Question 21:

    An HTML form contains this form element:

    The user clicks on the image to submit the form. How can you now access the relative coordinates of the

    mouse click?

    A. $_FILES['myImage']['x'] and $_FILES['myImage']['y']

    B. $_POST['myImage']['x'] and $_POST['myImage']['y']

    C. $_POST['myImage.x'] and $_POST['myImage.y']

    D. $_POST['myImage_x'] and $_POST['myImage_y']

  • Question 22:

    The following form is loaded in a recent browser and submitted, with the second select option selected:

    In the server-side PHP code to deal with the form data, what is the value of $_POST['list'] ?

    A. 1

    B. 2

    C. two

    D. null

  • Question 23:

    When uploading a file to a PHP script using the HTTP PUT method, where would the file data be found?

    A. the $_FILES super-global

    B. the input stream php://input

    C. the $_POST super-global

    D. the global variable scope

  • Question 24:

    The following form is loaded in a browser and submitted, with the checkbox activated:

    In the server-side PHP code to deal with the form data, what is the value of $_POST['accept'] ?

    A. accept

    B. ok

    C. true

    D. on

  • Question 25:

    Which PHP function retrieves a list of HTTP headers that have been sent as part of the HTTP response or are ready to be sent?

    A. header()

    B. headers()

    C. headers_list()

    D. headers_sent()

    E. getresponseheaders()

  • Question 26:

    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

  • Question 27:

    An HTML form contains this form element:

    When this form is submitted, the following PHP code gets executed:

    move_uploaded_file(

    $_FILES['myFile']['tmp_name'], 'uploads/' . $_FILES['myFile']['name'] );

    Which of the following actions must be taken before this code may go into production? (Choose 2)

    A. Check with is_uploaded_file() whether the uploaded file $_FILES['myFile']['tmp_name'] is valid

    B. Sanitize the file name in $_FILES['myFile']['name'] because this value is not consistent among web browsers

    C. Check the charset encoding of the HTTP request to see whether it matches the encoding of the uploaded file

    D. Sanitize the file name in $_FILES['myFile']['name'] because this value could be forged

    E. Use $HTTP_POST_FILES instead of $_FILES to maintain upwards compatibility

  • Question 28:

    How many elements does the array $pieces contain after the following piece of code has been executed?

    $pieces = explode("/", "///");

    A. 0

    B. 3

    C. 4

    D. 5

  • Question 29:

    Which string will be returned by the following function call?

    $test = '/etc/conf.d/wireless';

    substr($test, strrpos($test, '/')); // note that strrpos() is being called, and not strpos()

    A. ""

    B. "/wireless"

    C. "wireless"

    D. "/conf.d/wireless"

    E. "/etc"

  • Question 30:

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

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-550 exam preparations and Zend certification application, do not hesitate to visit our Vcedump.com to find your solutions here.