CakePHP MCQ Questions

11. Which of the following is not an advantage of CakePHP?

A. Hard CRUD
B. Built-in Validation
C. Search Engine Friendly URLs
D. MVC Framework

View Answer


12. Which folder holds the Cake console executables?

A. config
B. bin
C. logs
D. plugins

View Answer


13. Which directory is the public document root of your application?

A. webroot
B. vendor
C. tmproot
D. testroot

View Answer


14. Configuration for Email defaults is created using ?

A. config() 
B. configTransport()
C. configEmail()
D. Both A and B

View Answer


15. Which method is called after the view has been rendered, but before the layout rendering has started?

A. Helper::afterRender(Event $event, $viewFile)
B. Helper::beforeLayout(Event $event, $layoutFile)
C. Helper::afterLayout(Event $event, $layoutFile)
D. Helper::afterRenderFile(Event $event, $viewFile, $content)

View Answer


16. How many types of Authentication CakePHP supports?

A. 2
B. 3
C. 4
D. 5

View Answer


17. Which allows you to authenticate users using Digest HTTP authentication?

A. FormAuthenticate 
B. BasicAuthenticate 
C. DigestAuthenticate 
D. None of the above

View Answer


18. What is true about errorLevel?

A. The level of errors you are interested in capturing
B. Include stack traces for errors in log files.
C. The class responsible for rendering uncaught exceptions.
D. An array of exception class names that should not be logged.

View Answer


19. What is the first file that gets loaded when you run an application using a cakephp?

A. index.php
B. config.php
C. bootstrap.php
D. core.php

View Answer


20. Which by is not a core find type provided by CakePHP?

A. first
B. all
C. active
D. threaded

View Answer





Discussion


* You must be logged in to add comment.