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
How many shipping addresses may be selected for an order during the checkout process?
A. One shipping address per line item is possible
B. Only one shipping address per order is possible
C. One shipping addresses per unit of quantity is possible
D. One shipping address per product type is possible
A third-party module uses a layout update that changes the template path for a core block from product/ view/addto/compare.phtml of the Magento_Catalog module to custom/view/addto/compare.phtml of your custom module. The merchant has a customized version of this template in their custom theme.
What is a consequence of this setup?
A. If the custom module is removed, the custom template will no longer apply
B. This setup will throw an IllegalStateException
C. If a preference for the core block is set, the template will no longer apply
D. If another module is installed which also customizes the same core template, the templates will be rendered sequentially
A custom module must make changes to the schema following each setup:upgrade run. This must be done after all other module's schema updates have been applied.
How is this accomplished?
A. Write a plugin intercepting \Magento\Setup\Model\Installer::handleDBSchemaData
B. Create an UpgradeSchemaAfter class which implements InstallSchemaInterface
C. Update the module's setup_priority in etc/modules.xml
D. Create a Recurring class which implements InstallSchemaInterface
While reviewing a layout file named sales_order_view.xml you notice the element
What is the purpose of this element?
A. Replaces the customer_account handle with sales_order_view
B. Nothing, this element has been deprecated
C. Adds the customer_account handle to the page's handles list
D. Updates the current page handle to customer_account
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 render a product attribute's raw value as a variable in a script tag. This value will be used to initialize an application on the frontend. How do you render this value?
A. = $block->escapeJs($value) ?>
B. = $block->escapeJsVar($value) ?>
C. = $block->renderJs($value) ?>
D. = $block->escapeHtml($value) ?>
A merchant asks you to extend customer functionality to allow customer accounts to be associated with two or more billing addresses.
How is this implemented?
A. By adding the attribute like customer_address_billing2 and customizing both My Account and Checkout functionality to use that new attribute
B. By changing the System Configuration setting: Customer>Allow multiple billing addresses to Yes
C. By altering the customer_entity table, adding the field billing_address2, and customizing both My Account and Checkout functionality to use that new field
D. This is out-of-the box functionality
The module MyCompany_MyModule will add a new page to the admin interface at the URL path admin/ mycompany/entity_grid.
How do you name the file containing the action controller class so the admin router matches the path to the class?
A. Controller/Adminhtml/Entity/Grid/Index.php
B. Controller/Adminhtml/Mycompany/Entity/Grid.php
C. Controller/Adminhtml/Entity/Grid.php
D. Controller/Adminhtml/Mycompany/Entity_Grid.php
How can you render a text on a page using only layout xml?

A. Option A
B. Option B
C. Option C
D. Option D