There are two different configurable products which both share one variation. The shared variation is represented by the same simple product.
A customer added both configurables to the cart with the same selected variation?
How will they be displayed?
A. As two separate line items with quantity 1 each
B. As one line item which lists both configurable products with quantity 1 each
C. As one line item of the first product with quantity 2
D. As one line item of the second product with quantity 2
You are working on a project that contains a million SKUs. The merchant has requested the product view page to have a custom color schema and page layout depending on the product price range.
How do you implement this, keeping simplicity in mind?
A. Create a custom block which will dynamically choose the appropriate template
B. Specify custom layout update XML in the admin panel for every product
C. Write a Data Patch which will set the appropriate layout update XML for every product record
D. Enable the dynamic product page UI component and configure it to use a different layout per price range
You are trying to determine why a product is not appearing in a category. What table does Magento on the frontend to locate the relationship between a category and its products?
A. catalog_category_product
B. catalog_product_parent
C. catalog_category_product_index
D. catalog_category_product_relationship
What is the difference between online and offline shipping methods?
A. Online means that a shipment will have a tracking number, and offline means no tracking numbers are available
B. Online means Magento will use a shipping carrier's API to obtain rates, offline means Magento will calculate the rates internally
C. Online means that an item's shipping will be processed by the merchant, offline means that it will be processed by the customer
D. Online means that it will be sent to the customer using a shipping carrier, offline means the customer will pick up the order in person
While integrating a merchant's product information management system with Magento, you create a module MyCompany_MerchantPim that adds a catalog product EAV attribute pim_entity_id programmatically. In which type of setup script do you create the EAV attribute?
A. Setup/InstallSchema.php
B. Setup/UpgradeSchema.php
C. Setup/InstallEntity.php
D. Setup/UpgradeData.php
Which method of a Magento resource model will remove a record from the database?
A. remove
B. erase
C. clean
D. delete
You need to add a new text attribute to all products in the Magento store. When this attribute is displayed on the product page, its values must be different depending on the selected language.
Keeping simplicity in mind, how do you add this attribute?
A. Use the Magento CLI to create a new custom attribute, then generate dictionaries for all supported languages
B. Use a Data Patch to create a new EAV attribute
C. Add a new column to the catalog_product_entity table using declarative schema
D. Use the admin panel to create a new extension attribute
What interface should a frontend controllers action implement?
A. \Magento\Framework\App\ActionInterface
B. \Magento\Frontend\Controller\ActionInterface
C. \Magento\Frontend\Controller\ControllerInterface
D. \Magento\Framework\App\ControllerInterface
You are working on a custom web API endpoint and have configured it in etc/webapi.xml. This config is cached as part of the config_webservice cache type.
Keeping performance in mind, how do you refresh the cached version of this config using Magento CLI?
A. cache:clean config_webservice
B. cache:refresh config_webservice
C. cache:flush
D. cache:purge
Assume that a customer's cart only includes one downloadable product.
What effect will it cause on the quote object?
A. The quote object will have a downloadable URL instead of an address
B. The quote object will not have shipping address
C. The quote object will not have any address
D. The quote object will not have a billing address