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?
You are developing a new theme which inherits from the Magento_Luma theme.
How is this accomplished?
You got a notification about error that occurred on a production environment. The merchant gave you the error identifier.
How do you find the error message based on the identifier?
Where do you change the frontName for the admin router?
You added a plugin declaration to MyCompany/MyModule/etc/di.xml:
What will be the effect of this declaration?
What are two functions of a resource model? (Choose two.)
You are creating a new page layout for your custom module.
What is the primary difference between container and block elements?
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?
In layout files you can change al element’s order on a page. This can be done using one of the following:
How are two methods different?
You are reviewing a Magento module and see a directory named Service.
What can you determine from this directory’s name?
While developing a module you need to modify an existing Data Patch.
How can you force Magento to execute an existing Data Patch file again?
Which three scopes can be used to set different System Configuration values in Magento? (Choose three.)
Magento 2’s architecture uses code to bootstrap a custom module that resides in app/code.
What two files are required to make a module usable? (Choose two.)
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?
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?