March Sale Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Zend 200-710 Dumps

Page: 1 / 3
Total 232 questions

Zend Certified Engineer Questions and Answers

Question 1

Which PHP function is used to validate whether the contents of $_FILES[‘name’][‘tmp_name’] have really been uploaded via HTTP?

Options:

Question 2

What is the benefit of using persistent database connections in PHP? (Choose two.)

Options:

A.

Reduces the connection & authentication overhead of connecting to the database

B.

Ensures that only a single connection is open to the database from PHP

C.

Allows connection settings such as character set encoding to persist

D.

Allows for resumption of transactions across multiple requests.

Question 3

Which of the following are NOT acceptable ways to create a secure password hash in PHP? (Choose two.)

Options:

A.

md5()

B.

hash_pbkdf2()

C.

password_hash()

D.

crypt()

E.

openssl_digest()

Question 4

What exception type will catch the error raised by the expression 2 / 0?

Options:

A.

LogicException

B.

RangeException

C.

DivisionByZeroError

D.

ArithmeticError

Question 5

What is the method used to execute XPath queries in the SimpleXML extension?

Options:

A.

xpathQuery()

B.

xpath()

C.

simpleXMLXpath()

D.

query()

E.

evaluate()

Question 6

Your supervisor wants you to disallow PHP scripts to open remote HTTP and FTP resources using PHP’s file functions. Which php.ini setting should you change accordingly?

Options:

Question 7

After performing the following operations:

What will be the value of $a?

Options:

A.

array(‘c’, ’b’, ’a’)

B.

array(2, 1, 0)

C.

array(‘a’, ’b’, ’c’)

D.

None of the above

Question 8

Which of the following statements about Reflection are correct?

Options:

A.

Reflection is an extension that can be disabled

B.

Reflection is a new extension present only in PHP 7.0+

C.

Reflection only allows to reflect on built-in classes

D.

Built-in classes can be reflected on command line using php --rc

Question 9

What method can be used to find the tag via the DOM extension?

Options:

A.

getElementById()

B.

getElementsByTagName()

C.

getElementsByTagNameNS()

D.

getElementByName()

E.

findTag()

Question 10

Given a DateTime object that is set to the first second of the year 2017, which of the following samples will correctly return a date in the format ‘2017-01-01 00:00:01’?

Options:

A.

$datetime->format(‘%Y-%m-%d %h:%i:%s’)

B.

$datetime->format(‘%Y-%m-%d %h:%i:%s’, array(‘year’, ‘month’, ‘day’, ‘hour’, ‘minute’, ‘second’))

C.

$datetime->format(‘Y-m-d H:i:s’)

D.

$date = date(“Y-m-d H:i:s’, $datetime);

Question 11

What is the output of the following code?

Options:

A.

5

B.

10

C.

50

D.

Fatal error

Page: 1 / 3
Total 232 questions