Easter Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

ZF-100-500 Question and Answers

ZF-100-500

Last Update May 14, 2024
Total Questions : 128

We are offering FREE ZF-100-500 Zend exam questions. All you do is to just go and sign up. Give your details, prepare ZF-100-500 free exam questions and then go for complete pool of ZF-100-500 test questions that will help you more.

ZF-100-500 pdf

ZF-100-500 PDF

$35  $99.99
ZF-100-500 Engine

ZF-100-500 Testing Engine

$42  $119.99
ZF-100-500 PDF + Engine

ZF-100-500 PDF + Testing Engine

$56  $159.99
Questions 1

Which of the following are the features of Zend_Layout? Each correct answer represents a complete solution. Choose all that apply.

Options:

A.  

It is the configuration of layout name, inflection, and path.

B.  

It can be used with ZF MVC components.

C.  

It is used to disable layouts and change scripts.

D.  

It has a separate scope for layout-related variables and content.

Discussion 0
Questions 2

Consider the following script:

<html>

<head>

<title>

This is a test script.

</title>

</head>

<body>

<?php

echo 'This is some sample text';

?>

</body>

</html>

Which of the following tags is used in the php script?

Options:

A.  

ASP tag

B.  

Short tag

C.  

Script tag

D.  

Standard tag

Discussion 0
Questions 3

Which of the following SPL Interfaces/classes extends the standard Iterator interface and enables the ability to retrieve a specific item from internal data store?

Options:

A.  

ArrayAccess

B.  

Recursive Iterator

C.  

FilterIterator

D.  

SeekableIterator

Discussion 0
Questions 4

Which of the following statements correctly explain the working of Zend_Sera ch_Lucene?

Each correct answer represents a complete solution. Choose all that apply.

Options:

A.  

It supports ranked searching, phrase queries, wildcard queries, and proximity queries.

B.  

It is a text search engine.

C.  

It requires the Zend_Db class to connect to a database server.

D.  

It can also be used to search by any specific field, such as, title, author, etc.

Discussion 0
Questions 5

Which of the following functions can be used as a countermeasure to a Shell Injection attack? Each correct answer represents a complete solution. Choose all that apply.

Options:

A.  

mysql_real_escape_string()

B.  

escapeshellcmd()

C.  

regenerateid()

D.  

escapeshellarg()

Discussion 0
Questions 6

Which of the following methods sends log data to a PHP stream?

Options:

A.  

Zend_Log_Writer_Stream

B.  

Zend_Log_Writer_Filestream

C.  

Zend_Log_Writer_Abstract

D.  

Zend_Log_Writer_Db

Discussion 0
Questions 7

Fill in the blank with the appropriate method name. The__________ method is used to convert an existing money value to a localized currency formatted output.

Options:

Discussion 0
Questions 8

Which function is used to take a locale string as a parameter and set a new locale?

Options:

A.  

setNewLocale()

B.  

setLocale()

C.  

locale_Set()

D.  

newLocale()

Discussion 0
Questions 9

Which of the following are the configuration files that are used in Zend_Config?

Options:

A.  

Zend_Config_Server

B.  

Zend_Config_Xml

C.  

Zend_Config_Db

D.  

Zend_Config_Ini

Discussion 0
Questions 10

Which of the following functions in SimpleXML can be used to return an iterator containing a list of all subnodes of the current node?

Options:

A.  

asXML()

B.  

attributes()

C.  

getName()

D.  

children()

Discussion 0
Questions 11

Which of the following resource objects is used to support Zend_Acl?

Options:

A.  

No

B.  

Multiple

C.  

Single

D.  

Cyclic

Discussion 0
Questions 12

Which of the following are the valid methods of the Zend_Date class? Each correct answer represents a complete solution. Choose all that apply.

Options:

A.  

set()

B.  

add()

C.  

check()

D.  

get()

E.  

sub()

Discussion 0
Questions 13

In which of the following situations will you use the set_exception_handler() function?

Options:

A.  

When you want to restore a previously defined exception handler function.

B.  

When the try/catch block is unable to catch an exception.

C.  

When you want to set a user -defined function to handle errors.

D.  

When you want to generate a user -level error/warning/notice message.

Discussion 0
Questions 14

You have a table created as follows:

create table foo (c1int, c2 char(30), c3 int, c4 char(10))

If column c1 is unique, which of the following indexes would optimize the statement given

below? Select distinct (c1), c3 from foo where c1=10

Options:

A.  

create unique index foox on foo (c1) include (c3)

B.  

create index foox on foo (c1)

C.  

create index foox on foo (c1,c3)

D.  

create unique index foox on foo (c1,c3)

Discussion 0
Questions 15

Which of the following is used to encode lines starting with one dot or two dots so that the mail does not violate the SMTP protocol?

Options:

A.  

Zend_Mail

B.  

Zend_Mail_Storage_Mbox

C.  

Zend_Mail_Storage_Pop3

D.  

Zend_Mail_Transport_Smtp

Discussion 0
Questions 16

Which method is used to clear or invalidate a particular cache ID?

Options:

A.  

delete()

B.  

cancel()

C.  

remove()

D.  

clear()

Discussion 0
Questions 17

You want to retrieve all the data from any given table. You also want to ensure that no duplicate values are displayed. Which of the following SQL statements will you use to accomplish the task?

Options:

A.  

SELECT...TOP

B.  

SELECT...WHERE

C.  

SELECT...DISTINCT

D.  

SELECT...ALL

Discussion 0
Questions 18

Which of the following is used to render a specific template within its own variable scope?

Options:

A.  

Action View Helpers

B.  

Initial Helpers

C.  

Partial Helpers

D.  

View Helpers

Discussion 0
Questions 19

Fill in the blank with the appropriate method name. The__________ method is used to retrieve headers when the storage has been opened.

Options:

Discussion 0