You have created a new section in system configuration under the Catalog tab:
How do you restrict an access to the section using Magento ACL?
Which three scopes can be used to set different System Configuration values in Magento? (Choose three.)
You have created a module controller that responds to the following URL: /mycompany/product/load/id/123.
Which two methods will load the product model by ID as specified in the URL? (Choose two.)
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?
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 module declares the route:
What is the layout handle of the storefront path /custom/feature/?
A merchant gives you the module MyCompany_MyModule to install.
How do you identify which REST endpoints are supported by the module?
You are adding a new entry to the backend menu that appears after
Marketing > SEO & Search > Site Map
You see the existing site map menu item is declared by the node:
What two actions do you take to configure the new menu entry location? (Choose two.)
You are reviewing a Magento module and see a directory named Service.
What can you determine from this directory’s name?
A module MyModule needs to send notifications to customers only when the account was modified from a mobile app using the REST web APIs.
You decided to implement an observer for customer_save_after_data_object event.
In which file do you declare the observer?
A merchant sells shoes with multiple variations such as a color and size. A shoe is represented by a configurable product. There are seven different colors and four sizes.
What is the minimal amount of simple products that represent a combination of color and size needs to be created in order to make a shoe salable?
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?
You have been given the task of importing products from an external source. You decide to create a custom module to do this. The class handling the import creates a product for each record, sets the data on it and saves it to the database.
What do you inject into a constructor to represent each product you create?
A module you are developing requires the addition of new routes that should be accessible in the store front.
Where do you define your module’s frontName?
A client has asked you to include category url keys in product URLs.
How is this done?
You have added a new attribute origin of the type varchar to the product entity.
Which two calls will filter a product collection with origin set to “California”? (Choose two.)
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?
How do you add a foreign key to an existing table created by another module?