Zend 100-500 - Zend Framework Certification 5.0 Exam

Question #6 (Topic: )
Which of the following is used to create a new Memory Manager?
A. Zend_Memory::factory() B. Zend_Memory->NewMemoryManager() C. Zend_Memory->factory() D. Zend_Memory::NewMemoryManager()
Answer: A
Question #7 (Topic: )
You want a formatted date for an RSS feed. Which of the following code syntaxes will you
use to accomplish the task?
A. Zend_Date::RSSFEED B. Zend_Date::RSS C. $RSS= new Zend_RSS_Date() D. Zend_Date->RSS
Answer: B
Question #8 (Topic: )
Fill in the blank with the appropriate method name.
The__________ method is used to send an email in the HTML format.
A. setBodyHTML()
Answer: A
Question #9 (Topic: )
Which of the following methods will you use to retain the identity across requests according
to the PHP session configuration?
A. isValid() B. getIdentity() C. Zend_Auth::authenticate() D. getCode()
Answer: C
Question #10 (Topic: )
Which of the following code snippets will you use to create an index in
Zend_Search_Lucene?
1. <?php
2. ?????????????
3. ?????????????
4. $Search_Doc ->addField(Zend_Search_Lucene_Field::Text('url', $docUrl));
5. $Search_Doc ->addField(
6. Zend_Search_Lucene_Field::UnStored(
7. 'contents',
8. $docContent
9. )
10. );
11. $index->addDocument($Search_Doc);
A. $Search_Index = Zend_Search_Lucene::create_Index('/data/my-index'); $Search_Doc = new Zend_Search_Lucene_Document(); B. $Search_Index = Zend_Search_Lucene::open_Index('/data/my-index'); $Search_Doc = new Zend_Search_Lucene_Document(); C. $Search_Index = Zend_Search_Lucene::create('/data/my-index'); $Search_Doc = new Zend_Search_Lucene_Document(); D. $Search_Index = Zend_Search_Lucene::open('/data/my-index'); $Search_Doc = new Zend_Search_Lucene_Document();
Answer: C
Download Exam
Page: 2 / 41
Total 202 questions