Free Zend Certified Engineer Exam 200-710 Exam Practice Test
200-710 Exam Features
In Just $59 You can Access
- All Official Question Types
- Interactive Web-Based Practice Test Software
- No Installation or 3rd Party Software Required
- Customize your practice sessions (Free Demo)
- 24/7 Customer Support
Total Questions: 232
-
An unbuffered database query will: (Choose 2)
Answer: A, ,D Next Question -
What is the output of the following code?$text = 'This is text';$text1 = <<<'TEXT'$text TEXT;$text2 = <<<TEXT$text1 TEXT;echo "$text2";
Answer: B Next Question -
Is the following code vulnerable to SQL Injection ($mysqli is an instance of the MySQLi class)?$age = $mysqli->real_escape_string($_GET['age']);$name = $mysqli->real_escape_string($_GET['name']);$query = "SELECT * FROM `table` WHERE name LIKE '$name' AND age = $age";$results = $mysqli->query($query);
Answer: D Next Question -
Which DOMElement property provides a reference to the list of the element's children?
Answer: c,h,i,l,d,N,o,d,e,s Next Question -
Consider the following table data and PHP code, and assume that the database supports transactions. What is the outcome?Table data (table name "users" with primary key "id"):idnameemail1annaalpha@example.com2bettybeta@example.org3claragamma@example.net5suesigma@example.infoPHP code (assume the PDO connection is correctly established):$dsn = 'mysql:host=localhost;dbname=exam';$user = 'username';$pass = '********';$pdo = new PDO($dsn, $user, $pass);try {$pdo->exec("INSERT INTO users (id, name, email) VALUES (6, 'bill', 'delta@example.com')");$pdo->begin();$pdo->exec("INSERT INTO users (id, name, email) VALUES (7, 'john','epsilon@example.com')");throw new Exception();} catch (Exception $e) {$pdo->rollBack();}
Answer: A Next Question -
Please provide the value of the $code variable in the following statement to set an HTTP status code that signifies that the requested resource was not found.http_response_code($code);
Answer: 4,0,4, ,4,0,4, ,N,o,t Next Question -
Which sentence describes the following regular expression match? preg_match('/^\d+(?:\.[0-9]+)?$/', $test);
Answer: B Next Question -
Which php.ini setting is usually required to use an opcode cache?
Answer: B Next Question -
What DOMElement method should be used to check for availability of a non-namespaced attribute?
Answer: C Next Question -
One common security risk is exposing error messages directly in the browser. Which PHP configuration directive can be disabled to prevent this?
Answer: C Next Question
Total Questions: 232
