| Sno. | Question | Options | Marks |
|---|---|---|---|
| 1. | 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 |
| 2. | What is MView? |
(a). Materialized View system (b). Magento View (c). Module View (d). Model View |
1 |
| 3. | In Magento 2, which file defines module dependencies and version? |
(a). registration.php (b). di.xml (c). module.xml (d). config.xml |
1 |
| 4. | Where is checkout UI logic defined? |
(a). XML only (b). Knockout.js (c). PHP (d). CSS |
1 |
| 5. | Which plugin type can stop method execution? |
(a). before (b). after (c). around (d). none |
1 |
| 6. | Which Magento component handles routing? |
(a). Router (b). Controller (c). FrontController (d). Dispatcher |
1 |
| 7. | What is the purpose of indexers? |
(a). Improve database speed (b). Precompute data for faster queries (c). Backup database (d). Compress data |
1 |
| 8. | What is Special Price in Magento 2? |
(a). Price based on customer group (b). Discount applied for bulk quantity (c). Temporary discounted price for all customers (d). Price only for logged-in users |
0 |
| 9. | Special price is applied: |
(a). Based on quantity (b). Based on customer group (c). Globally to all customers (with date range) (d). Only in admin panel |
1 |
| 10. | Which of the following is true about around plugins? |
(a). They must call $proceed() to execute the original method (b). They cannot access method arguments (c). They always run after before and after plugins (d). They do not support return value modification |
0 |
| Total Marks:8/10 | Percentage:80% | ||