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
The module MyCompany_MyModule provides custom admin interface pages.
Access to these pages should only be granted to specific users.
You add the required configuration to the module's acl.xml file, but the setting does not seem to work as expected.
How do you visually check if Magento evaluates your ACL resource as expected?
A. Write a plugin for the class \Magento\Framework\Acl\LoaderInterface::populateAcl() and echo out the loaded roles
B. Inspect the output of the CLI command bin/magento admin:role:resources ?all
C. In the browser, open the admin User Roles page. Choose a role and inspect the tree of available resources
D. Inspect the response of a GET request to the webapi endpoint http://example.com/rest/V1/acl/ resources
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
You have created a module with a custom ACL resource and want to restrict access to resources of your module.
Which three items are restricted based on ACL role permissions? (Choose three.)
A. CLI Commands
B. Webapi resources
C. Storefront login
D. System configuration sections
E. Adminhtml controllers
What happens when a category's is_anchor attribute is set to 1?
A. Products without a specified category will be associated with this category
B. The customer will see all products from all children of the category
C. This is the default category for a website
D. The category will always be visible in the menu
You are tasked to install an extension to the merchant's Magento instance.
The extension is developed by the company called MyCompany and its codebase is available from all four locations listed below.
Which two installations options do you choose from to prevent version conflicts during upgrade? (Choose two.)
A. Clone the code from GitHub and put it into the vendor directory
B. Download the extension code from the developer's website, and put it into app/code
C. Use Magento web setup wizard to pull the code from Magento's composer repository
D. Use composer CLI to pull the code from MyCompany's repository
What scopes are available for customer attributes?
A. Global only
B. Website only
C. Global and Website
D. Global, Website and Store
You are adding an entry to the backend menu. To do so you open a core etc/adminhtml/menu.xml file as a reference. In the file you see the node:
What is the result of specifying resource="Magento_Catalog::catalog"?
A. The menu item will only be visible to users who are assigned to a role with access to the matching ACL resource
B. The menu item will only be visible if the class method specified by the resource returns a true value
C. The last selected menu item for a user is stored in the DB so the previously visited page can be restored on the next login
D. The resource is used to locate the correct translation for the attributes listed in title="..."
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
You are building a report using complex SQL aggregations to locate the required data.
In what type of class do you put these SQL statements?
A. Resource model
B. Repository
C. Model
D. Helper