1. What must a Symfony Controller return?
2. Who develop Symfony2 framework ?
3. What is the correct syntax to secure a controller for users with ROLE_ADMIN
4. Which of the following is an authorization layer of the security component?
5. In which of the following can the configuration of services in symfony be found?
6. Which of the following Twig codes is valid to check if a variable has the same value and the same type as another ?
7. What is the way around configuring the default charset and collation inside Doctrine?
8. Which configuration format is powerful but less readable than standard configuration formats?
9. How can you dynamically configure Services declared in the Service Container ?
10. How do you avoid running out of memory when executing bulk inserts with Doctrine? (Doctrine\ORM\EntityManager $em)
11. Which base class extend to symfony default test classes ?
12. Which of following console commands checks for syntax errors in Twig templates?
13. True of false: A controller is required when creating a static page.
14. Which parameter is not available in security.yml ?
15. Which of the following is correct when creating a bundle using the command line generator?
16. If you wanted to add routes to an application without including them in the Yaml file, which of the following would you need to use?
17. What does the command "app/console doctrine:mapping:import" do?
18. what is the first file that Symfony framework runs at startup for loading libraries ?
19. Which of the following is the correct way to create a basic route configuration?
20. What is the specific workflow of Functional Tests?
21. Which of the following shows the correct representation of the Twig function?
22. In regard to testing, each time you make a request with the client a ______ instance is returned.
23. Choose the best description of the following sequence (where //LINE BREAK// indicates a new line in the sequence): # app/config/config_test.yml //LINE BREAK// # ... //LINE BREAK// swiftmailer: /linebrea //LINE BREAK// disable_delivery: true
24. what is repository in Symfony ?
25. Choose the best reason why the following autoloading sequence will not run properly: Class Name: Smarterer\HelloBundle\Controller\HelloController Path: src/Smarterer/Controller/HelloController.php
26. A __________ is a short PHP script that lives in the web directory of your project.
27. _______ is a container for key/value pairs.
28. Is a "front controller" the same as the "controllers"?
29. Which of the following methods is a shortcut to direct use of the templating service?
30. Which of the following is a common element of a bundle?
31. In regard to routing, which of the following best describes a route?
32. To delete an object in Doctrine you must use the _________ method of the entity manager.
33. How would one use a service in a controller in Symfony?
34. Which of the following methods checks the 3 different values in PHP that can show whether or not the user is connecting via a secured connection?
35. What are the 2 options you have to install a Symfony2 distribution?
36. True or False? The Symfony2 Framework can be altered to one's preferences or replaced entirely.
37. True or False? To build a form in Symfony2 you must build a form object and then render it in a template.
38. What defines a URL to a page?
39. What is a PHP function that takes incoming requests and transforms them into a response?
40. In order to use your controller from the service container you need to register it as a service. Where can this be done?
41. is it possible to define a form like a service ?
42. True or False? The directory that contains all of the pieces of code that run your application is called the src/ directory.
43. Security is a two-step process, the first being Authentication?
44. What is the purpose of the _controller parameter in routing?
45. A directory that contains a set of files that represents a particular feature is known as a/an:
46. What class is used by the front controller to bootstrap an application?
47. Choose the best description of the following configuration: secure: path: /secure defaults: { _controller: SmartererDemoBundle:Main:secure } schemes: [https]
48. What tag is used for template inheritance?
49. What are the three parts of the logical controller name?
50. What are the 3 environments a Symfony2 project BEGINS with?
51. How do you disable CSRF protection?
52. Which of the following package manager is used in Symfony2 to manage vendor and their dependency ?
53. Which of the following is a Doctrine field type for numbers?
54. Which of the following field types are supported in Doctrine?
55. Which of the following lets you write templates more quickly as well as makes them easier to read?
56. The ________ class is a simple object-oriented representation of the HTTP request message.
57. Where is the AppKernel class stored?
58. The __________ allows you to begin using PHP classes without including the file containing the class.
59. Which of the following directories contains any publicly accessible files?
60. Select the sequence that shows an example of a simple controller.
61. Where is the routing configuration file located?
62. Which of the following Components contain the Request and Response classes?
63. Which of the following methods allows you to progress to another controller internally?
64. Symfony2 is only supported on:
65. True or False? The HTTP response from a controller is limited to 404 errors, XML documents, and HTML pages.
66. Which of the following methods is used to generate a URL for a given route?
67. What Symfony2 environment is used to run unit tests?
68. Which of the following Components allows you to trace a specific URI to a description of how it should be handled?
69. Which of the following allows you to manipulate assets however you like before serving them?
70. If you have the role IS_AUTHENTICATED_FULLY , then you also have the role IS_AUTHENTICATED_REMEMBERED
71. The Dependency Injection component allows you to
72. In regard to validating the data that is entered in forms, which of the following constraints is NOT supported by Symfony2?
VB.NET
XML
Node.js
Data Mining
Internet Security
iOS Technical Test
Related MCQ's
Popular MCQ's