View Quiz Result

Sno. Question Options Marks
1. In Magento 2, plugins (interceptors) are defined in: (a). module.xml
(b). di.xml
(c). config.xml
(d). webapi.xml
1
2. Which is NOT a valid type of Dependency Injection in Magento 2? (a). Constructor Injection
(b). Method Injection
(c). Property Injection
(d). Interface Injection
1
3. Flat catalog is: (a). Mandatory
(b). Deprecated
(c). Recommended
(d). Required for speed
0
4. Service contracts are defined in which folder? (a). Api/
(b). Model/
(c). Helper/
(d). Controller/
1
5. Add custom checkout field → best approach? (a). Modify core
(b). Extension attributes
(c). DB column directly
(d). Template change
1
6. What database model does Magento use for catalog? (a). Relational
(b). Document
(c). EAV
(d). Graph
1
7. What is the purpose of db_schema.xml? (a). Define UI components
(b). Define database tables
(c). Configure API routes
(d). Configure cache
1
8. What happens if two plugins with the same sortOrder are declared for a method? (a). Magento throws an error
(b). Only the first plugin runs
(c). Execution order becomes unpredictable
(d). Magento merges them automatically
1
9. Where are events defined? (a). events.xml
(b). di.xml
(c). module.xml
(d). routes.xml
1
10. Which Magento feature protects against CSRF? (a). Form Key
(b). Session ID
(c). Token
(d). Salt
1
Total Marks:9/10 Percentage:90%