View Quiz Result

Sno. Question Options Marks
1. Which table stores product entity data? (a). catalog_product_entity
(b). product_entity
(c). catalog_product_data
(d). product_table
1
2. Which Magento component handles routing? (a). Router
(b). Controller
(c). FrontController
(d). Dispatcher
1
3. Which API type is preferred for headless storefronts? (a). SOAP
(b). REST
(c). GraphQL
(d). RPC
1
4. Service contracts are defined in which folder? (a). Api/
(b). Model/
(c). Helper/
(d). Controller/
1
5. A product has:
  • Price = ₹1000
  • Special Price = ₹800
  • Tier Price (Qty 5) = ₹750
Customer buys 5 items. What price is applied?
(a). ₹1000
(b). ₹800
(c). ₹750
(d). ₹900
1
6. In Magento 2, plugins (interceptors) are defined in: (a). module.xml
(b). di.xml
(c). config.xml
(d). webapi.xml
1
7. A third-party module contains a class:
Vendor\Module\Model\OrderManager
You need to modify the return value of the placeOrder() method without breaking other modules.
What is the best solution?
(a). Class Preference
(b). Plugin (After method)
(c). Rewrite core class
(d). Observer
1
8. ObjectManager should be used: (a). Everywhere
(b). Only in templates
(c). Avoided (except core cases)
(d). Only in controllers
1
9. Which configuration should be stored in the code repository for an Adobe Commerce Cloud project? (a). Base URLs
(b). Payment gateway credentials
(c). Module enable/disable configuration
(d). Store email addresses
0
10. In Magento 2, what is the purpose of the generated folder? (a). Stores compiled classes and dependency injection generated files
(b). Stores static content like CSS and JS
(c). Stores cache and logs
(d). Stores backup copies of modules
1
11. Which service is commonly used for Magento caching? (a). Redis
(b). MongoDB
(c). Cassandra
(d). SQLite
1
12. Which plugin type wraps the original method? (a). before
(b). around
(c). after
(d). observer
1
13. If Special Price is ₹700 and Tier Price is ₹750 (Qty 5), what will apply? (a). Tier Price
(b). Special Price
(c). Both combined
(d). Random
0
14. What is Tier Price used for? (a). Seasonal discounts
(b). Bulk purchase discounts
(c). Coupon-based pricing
(d). Fixed product pricing
1
15. Which cache type stores full page responses? (a). Config cache
(b). Page cache
(c). Layout cache
(d). Block cache
1
16. What is the purpose of indexers? (a). Improve database speed
(b). Precompute data for faster queries
(c). Backup database
(d). Compress data
1
17. What is the purpose of config.php? (a). Store module configuration
(b). Store database credentials
(c). Store API tokens
(d). Store cache config
1
18. Which component handles checkout UI? (a). Knockout.js
(b). Vue.js
(c). Angular
(d). React
1
19. Which file defines the deployment hooks for build, deploy, and post-deploy phases? (a). composer.json
(b). magento.env.yaml
(c). .magento.app.yaml
(d). env.php
1
20. Which plugin type can stop method execution? (a). before
(b). after
(c). around
(d). none
1
21. Which service is used as CDN in Adobe Commerce Cloud? (a). Cloudflare
(b). Akamai
(c). Fastly
(d). AWS CloudFront
0
22. Where are plugins defined in a Magento 2 module? (a). routes.xml
(b). module.xml
(c). di.xml
(d). webapi.xml
1
23. A product is assigned to multiple sources but not salable.
What could be the issue?
(a). Product is disabled
(b). No stock assigned to website
(c). Source items have quantity but not assigned to stock
(d). Cache issue
1
24. Which cache stores layout XML? (a). Layout cache
(b). Config cache
(c). Block cache
(d). Full page cache
1
25. A merchant complains that:
  • Category pages are slow
  • Elasticsearch is enabled
  • Queries are optimized

What should you check FIRST?
(a). MySQL performance
(b). Elasticsearch cluster health & indexing
(c). Frontend theme
(d). Admin configuration
1
26. Which of the following correctly describes a ViewModel in Magento 2? (a). A helper class for templates defined via layout.xml
(b). A block class replacement for controllers
(c). A data provider for UI components only
(d). A frontend model for product attributes
1
27. Where is module version defined? (a). composer.json
(b). module.xml
(c). di.xml
(d). routes.xml
1
28. What is used to define service contracts? (a). Interfaces
(b). Controllers
(c). Blocks
(d). Helpers
1
29. A CMS block is updated. Which cache tag is used? (a). cms_block
(b). cms_block_<id>
(c). block_cache_<id>
(d). cms_cache
0
30. What type of plugin executes before method? (a). around
(b). before
(c). after
(d). override
1
31. What happens if a block does NOT implement IdentityInterface? (a). It cannot be cached
(b). It will always be cached forever
(c). Magento cannot selectively invalidate its cache
(d). It breaks Full Page Cache
1
32. A developer creates a custom block that displays customer-specific loyalty points on the homepage. The homepage is cached using Full Page Cache (Varnish).
What is the correct approach?
(a). Disable FPC for the homepage
(b). Use AJAX to load loyalty points after page load
(c). Set block cache lifetime to 0
(d). Use private content (customer-data JS)
0
33. Where are events defined? (a). events.xml
(b). di.xml
(c). module.xml
(d). routes.xml
1
34. Where is checkout UI logic defined? (a). XML only
(b). Knockout.js
(c). PHP
(d). CSS
0
35. A constructor has too many dependencies.
Best practice?
(a). Add more dependencies
(b). Use service class / refactor logic
(c). Use ObjectManager directly
(d). Remove DI
1
36. If an event passes data using ['order' => $order], how do you access it inside the observer? (a). $order = $observer->getOrder();
(b). $order = $observer->getEvent()->getOrder();
(c). $order = $observer->order;
(d). $order = $this->getOrder();
1
37. What is the purpose of virtualType in Magento 2 DI configuration? (a). To define a class that doesn’t exist physically but uses another class as its base
(b). To make a class abstract
(c). To create a singleton object automatically
(d). To define plugins for abstract classes
1
38. In Magento 2, where should you define an observer if you want it to trigger only during frontend requests? (a). etc/events.xml
(b). etc/adminhtml/events.xml
(c). etc/frontend/events.xml
(d). etc/global/events.xml
1
39. A PWA storefront using GraphQL is slow.
What is BEST optimization?
(a). Increase server RAM
(b). Use persisted queries + caching
(c). Disable GraphQL
(d). Use REST instead
1
40. What happens if _eventPrefix is not defined in a custom model? (a). Magento throws an exception
(b). No events are triggered
(c). Default prefix model is used
(d). Only delete events work
0
41. What invalidates product cache? (a). Product save
(b). Cron
(c). Admin login
(d). API call
0
42. What database model does Magento use for catalog? (a). Relational
(b). Document
(c). EAV
(d). Graph
1
43. Which file defines application configuration in Adobe Commerce Cloud? (a). services.yaml
(b). .magento.env.yaml
(c). .magento.app.yaml
(d). env.php
1
44. A store with 500k+ products experiences slow reindexing.
What should you recommend?
(a). Switch all indexers to "Update on Save"
(b). Use "Update by Schedule" with cron
(c). Disable indexing
(d). Use flat catalog
1
45. 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
46. Which cache backend is commonly used in Magento Cloud? (a). Memcached
(b). Redis
(c). Cassandra
(d). MongoDB
1
47. Which tool is used for search? (a). MySQL
(b). Redis
(c). Elasticsearch
(d). RabbitMQ
1
48. What is the purpose of db_schema.xml? (a). Define UI components
(b). Define database tables
(c). Configure API routes
(d). Configure cache
1
Total Marks:40/50 Percentage:80%