| Sno. | Question | Options | Marks |
|---|---|---|---|
| 1. | What is the purpose of di.xml? |
(a). Define routes (b). Configure dependency injection (c). Define layout (d). Configure database |
1 |
| 2. | A merchant reports that after updating product prices via API, the storefront still shows old prices for several minutes.
What is the BEST solution? |
(a). Flush full page cache manually (b). Use cache tags to invalidate specific product cache (c). Disable Varnish caching (d). Increase cache lifetime |
0 |
| 3. | Which cache improves frontend speed most? |
(a). Config cache (b). Block cache (c). Full Page Cache (d). Layout cache |
1 |
| 4. | In Magento 2, plugins (interceptors) are defined in: |
(a). module.xml (b). di.xml (c). config.xml (d). webapi.xml |
1 |
| 5. | Which plugin type wraps the original method? |
(a). before (b). around (c). after (d). observer |
1 |
| 6. | A merchant complains that:
What should you check FIRST? |
(a). MySQL performance (b). Elasticsearch cluster health & indexing (c). Frontend theme (d). Admin configuration |
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 is used to define service contracts? |
(a). Interfaces (b). Controllers (c). Blocks (d). Helpers |
1 |
| 9. | What is the purpose of config.php? |
(a). Store module configuration (b). Store database credentials (c). Store API tokens (d). Store cache config |
1 |
| Total Marks:8/9 | Percentage:88.888888888889% | ||