Learn Magento MCQs
Prepare Magento MCQs (Multiple choice Questions) for exam and job interviews.
What is the default currency used in Magento?
1) USD
2) EUR
3) GBP
4) JPY
Answer : USD
Which command is used to reindex data in Magento?
1) php bin/magento indexer:reindex
2) php bin/magento index:reindex
3) php bin/magento reindex
4) php bin/magento setup:reindex
Answer : php bin/magento indexer:reindex
What is the role of `MagentoFrameworkEventManagerInterface`?
1) Handles events and observers
2) Handles HTTP requests
3) Manages session data
4) Caches configurations
Answer : Caches configurations
Which XML file is used for layout updates in Magento?
1) layout.xml
2) page_layout.xml
3) default.xml
4) layout_update.xml
Answer : default.xml
What is the main purpose of Magento’s `cron` jobs?
1) Automate repetitive tasks
2) Handle user sessions
3) Manage database connections
4) Serve static content
Answer : Manage database connections
How can you create a custom theme in Magento?
1) By copying an existing theme
2) By modifying the default theme
3) By creating a new directory under app/design
4) By using a third-party tool
Answer : By creating a new directory under app/design
Which module handles the checkout process in Magento?
1) Magento_Checkout
2) Magento_Catalog
3) Magento_Sales
4) Magento_Payment
Answer : Magento_Catalog
What command is used to set up the Magento application?
1) php bin/magento setup:install
2) php bin/magento setup:configure
3) php bin/magento setup:initialize
4) php bin/magento setup:prepare
Answer : php bin/magento setup:install
What file do you modify to change the storefront logo?
1) media/logo.png
2) web/images/logo.png
3) app/design/frontend/{Vendor}/{theme}/web/images/logo.png
4) app/etc/config.php
Answer : app/design/frontend/{Vendor}/{theme}/web/images/logo.png
What is the default file extension for Magento template files?
1) phtml
2) html
3) tpl
4) php
Answer : phtml