Big Halloween Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the Zend Zend Certification 200-500 Questions and answers with CertsForce

Viewing page 2 out of 7 pages
Viewing questions 11-20 out of questions
Questions # 11:

Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?

Options:

A.

Strip all occurrences of the string script.


B.

Strip all occurrences of the string javascript.


C.

Enable magic_quotes_gpc.


D.

None of the above.


Expert Solution
Questions # 12:

Which of the following statements is NOT true?

a) Class constants are public

b) Class constants are being inherited

c) Class constants can omit initialization (default to NULL)

d) Class constants can be initialized by consts

Options:

A.

a)


B.

b)


C.

c)


D.

d)


Expert Solution
Questions # 13:

What is the return value of the following code?

strpos("me myself and I", "m", 2)

Options:

A.

2


B.

3


C.

4


D.

0


E.

1


Expert Solution
Questions # 14:

What is the content of $c after the following code has executed?

$a = 2;

$b = 3;

$c = ($a++ * ++$b);

Options:

A.

0


B.

5


C.

8


D.

4


Expert Solution
Questions # 15:

What super-global should be used to access information about uploaded files via a POST request?

Options:

A.

$_SERVER


B.

$_ENV


C.

$_POST


D.

$_FILES


E.

$_GET


Expert Solution
Questions # 16:

Identify the security vulnerability in the following example:

1 <?php

2 echo "Welcome, {$_POST['name']}.";

3 ?>

Options:

A.

SQL Injection


B.

Cross-Site Scripting


C.

Remote Code Injection


D.

None of the above


Expert Solution
Questions # 17:

You are creating an application that generates invoices in a variety of formats, including PDF, ODS and HTML. Each of these formats is represented as a PHP class in your application. While some of the operations can be performed on all of the different formats (such as saving and loading), other operations may be specific to one or two of the formats (such as setting as read only). Which design pattern should you use for this application?

Options:

A.

Adapter


B.

Factory


C.

MVC


D.

Singleton


Expert Solution
Questions # 18:

Can calls to Web Services be queued natively in PHP?

Options:

A.

Yes


B.

No


C.

Only if PHP is compiled with --enable-soap-queue


Expert Solution
Questions # 19:

Which 2.17of the following formats is used to describe web services?

Options:

A.

WSDL


B.

UDDI


C.

SOAP


D.

XLANG


Expert Solution
Questions # 20:

How can precisely one byte be read from a file, pointed by $fp? (Choose 2)

Options:

A.

fread($fp, 1);


B.

fgets($fp, 1);


C.

fgetss($fp, 1);


D.

fgetc($fp);


E.

All of the above


Expert Solution
Viewing page 2 out of 7 pages
Viewing questions 11-20 out of questions