View Quiz Result

Sno. Question Options Marks
1. A developer needs to modify method behavior without overriding the class. What should be used? (a). Preference
(b). Plugin
(c). Observer
(d). Helper
1
2. In Magento 2, plugins (interceptors) are defined in: (a). module.xml
(b). di.xml
(c). config.xml
(d). webapi.xml
1
3. In Magento 2, Dependency Injection primarily helps in: (a). Reducing database queries
(b). Removing layout dependencies
(c). Replacing class dependencies at runtime without modifying code
(d). Improving frontend performance
1
4. Which API type is preferred for headless storefronts? (a). SOAP
(b). REST
(c). GraphQL
(d). RPC
1
5. Which cache system is recommended for full page caching? (a). Redis
(b). Varnish
(c). Memcached
(d). Elasticsearch
1
6. Which file is used to configure environment variables in Adobe Commerce Cloud? (a). env.php
(b). .magento.env.yaml
(c). config.php
(d). services.yaml
1
7. In Magento 2, the preference tag in di.xml is used to: (a). Replace one class implementation with another globally
(b). Set constructor arguments dynamically
(c). Define a plugin for a class
(d). Inject dependencies into controller actions
1
8. Which cache type stores full page responses? (a). Config cache
(b). Page cache
(c). Layout cache
(d). Block cache
1
9. In Magento 2, which file defines module dependencies and version? (a). registration.php
(b). di.xml
(c). module.xml
(d). config.xml
1
10. 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
Total Marks:10/10 Percentage:100%