Home > PHP & Programming > Quizzes > 200-710: Zend Certified Engineer Exam Practice Test 2
200-710: Zend Certified Engineer Exam Practice Test 2
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 14% Most missed: “Which of these error types may be handled by a user defined error handler functi…”
200-710: Zend Certified Engineer Exam Practice Test 2
Time left 00:00
25 Questions

1. Which of the following items in the $_SERVER superglobal are important for authenticating the client when using HTTP Basic authentication? (Choose two.)
2. Under what condition may HTTP headers be set from PHP if there is content echoed prior to the header function being used?
3. What is the output of the following code?
4. What Content-Type HTTP header value is required when sending an HTTP POST request using JavaScript to ensure that PHP can access the data?
5. What will the following function call print?
6. What is the output of the following code?
7. Consider 3 PHP files that are called asynchronously via XmlHttpRequest: Which of the following statements is true? (Choose two.)
8. What is the benefit of using persistent database connections in PHP? (Choose two.)
9. What exception type will catch the error raised by the expression 2 / 0?
10. When would you use classes and when would you use namespaces?
11. Which of the following statements about anonymous functions in PHP are NOT true? (Choose two.)
12. What is the output of the following code?
13. Assuming UTF-8 encoding, what is the value of $count? $data ==
14. What function can be used to retrieve an array of current options for a stream context?
15. Is the following code vulnerable to SQL Injection where ($mysqli is an instance of the MySQLi class)?
16. Which of the following is NOT possible using reflection?
17. Which of the following is NOT true about PHP traits? (Choose two.)
18. FILL BLANK Which PHP function is used to validate where the contents of $_FILES[
19. What is the output of the following code?
20. Consider the following table data and PHP code. What is the outcome? Table data (table name
21. What is the output of the following code?
22. Which of the following expressions will evaluate to a random value from an array below? $array = [
23. Which methods can be used to overload object properties? (Choose two.)
24. Which of the following can NOT be used to send a cookie from within a PHP application?
25. Which of these error types may be handled by a user defined error handler function? (Choose two.)