| Sno. | Question | Options | Marks |
|---|---|---|---|
| 1. | Which Magento component handles routing? |
(a). Router (b). Controller (c). FrontController (d). Dispatcher |
1 |
| 2. | Which API type is preferred for headless storefronts? |
(a). SOAP (b). REST (c). GraphQL (d). RPC |
1 |
| 3. | After upgrading Adobe Commerce, deployment fails because a custom patch cannot be applied. What should the developer do? |
(a). Restart the upgrade (b). Run ece-patches revert (c). Delete patch from .magento.app.yaml (d). Delete patch from m2-hotfixes directory |
1 |
| 4. | In Magento 2, which file is used to declare routes for a custom module? |
(a). routes.xml in etc/frontend or etc/adminhtml (b). webapi.xml in etc (c). di.xml in etc (d). module.xml in etc |
1 |
| 5. | What is MView? |
(a). Materialized View system (b). Magento View (c). Module View (d). Model View |
1 |
| 6. | What is the main purpose of a Plugin in Magento 2? |
(a). To override core files directly (b). To intercept public method calls and modify input/output (c). To add new database tables (d). To manage static content deployment |
1 |
| 7. | In Magento 2, plugins (interceptors) are defined in: |
(a). module.xml (b). di.xml (c). config.xml (d). webapi.xml |
1 |
| 8. | What command is used to deploy static content in production mode? |
(a). bin/magento cache:flush (b). bin/magento setup:static-content:deploy (c). bin/magento deploy:static (d). bin/magento setup:upgrade |
1 |
| 9. | Which cache system is recommended for full page caching? |
(a). Redis (b). Varnish (c). Memcached (d). Elasticsearch |
1 |
| 10. | A CTO wants to disable one of Magento’s core cron jobs. What is the recommended way for a developer to accomplish this? |
(a). Use cron_job_run event and stop execution (b). Rewrite cron schedule with a date that will never happen (c). Rewrite cron job and add disable="true" to job node (d). Disable cron job from Magento Admin |
1 |
| Total Marks:10/10 | Percentage:100% | ||