| Sno. | Question | Options | Marks |
|---|---|---|---|
| 1. | During deployment, site downtime occurs. Best solution? |
(a). Deploy directly to production (b). Use blue-green deployment strategy (c). Disable maintenance mode (d). Restart server |
1 |
| 2. | Which command recompiles dependency injection code? |
(a). setup:install (b). setup:upgrade (c). setup:di:compile (d). setup:static-content:deploy |
0 |
| 3. | 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 |
0 |
| 4. | Where are plugins defined in a Magento 2 module? |
(a). routes.xml (b). module.xml (c). di.xml (d). webapi.xml |
0 |
| 5. | Which file defines dependency injection configuration? |
(a). module.xml (b). di.xml (c). routes.xml (d). events.xml |
1 |
| 6. | What is used to define service contracts? |
(a). Interfaces (b). Controllers (c). Blocks (d). Helpers |
0 |
| 7. | What is Tier Price used for? |
(a). Seasonal discounts (b). Bulk purchase discounts (c). Coupon-based pricing (d). Fixed product pricing |
0 |
| Total Marks:2/50 | Percentage:4% | ||