問題1
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?
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?
正確答案: B
問題2
The module MyCompany_MyModule will add a new page in the admin interface to display a custom entity in a grid.
You created a controller for this grid \MyCompany\MyModule\Controller\Adminhtml\CustomEntity\Index
Which two actions are required to make the new page accessible at the https://your.store.base.url/admin/my_module/custom_entity URL? (Choose two.)
The module MyCompany_MyModule will add a new page in the admin interface to display a custom entity in a grid.
You created a controller for this grid \MyCompany\MyModule\Controller\Adminhtml\CustomEntity\Index
Which two actions are required to make the new page accessible at the https://your.store.base.url/admin/my_module/custom_entity URL? (Choose two.)
正確答案: A,C
問題3
A module declares the route:

What is the layout handle of the storefront path /custom/feature/?
A module declares the route:

What is the layout handle of the storefront path /custom/feature/?
正確答案: C
問題4
Your module, MyCompany_MyModule, is using the frontName mymodule. You need to locate the class responsible for the frontend path /mymodule/custom.
What file contains the controller class for the frontend path /mymodule/custom?
Your module, MyCompany_MyModule, is using the frontName mymodule. You need to locate the class responsible for the frontend path /mymodule/custom.
What file contains the controller class for the frontend path /mymodule/custom?
正確答案: D
問題5
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 merchant asks you to extend customer functionality to allow customer accounts to be associated with two or more billing addresses.
How is this implemented?
正確答案: C
問題6
You are building CLI that use the console to create a customer account with our custom command, Adding a new command to CLI is based on passing on the argument from the XML level to the class.
Dependency Injection comes in handy here. you create the file app/code/Mycompany/Customer/etc/di.xml with the following content:
<type name="---------------------"> </type>
What is the correct in below?
You are building CLI that use the console to create a customer account with our custom command, Adding a new command to CLI is based on passing on the argument from the XML level to the class.
Dependency Injection comes in handy here. you create the file app/code/Mycompany/Customer/etc/di.xml with the following content:
<type name="---------------------"> </type>
What is the correct in below?
正確答案: C
問題7
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.)
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.)
正確答案: B,C
問題8
You need to find all orders in the processing state. You have written the code:

How do you resolve the exception?
You need to find all orders in the processing state. You have written the code:

How do you resolve the exception?
正確答案: D
問題9
An Adobe Commerce developer has created a before plugin for the save() function within the magento\Framework\App\Cache\Proxy class. The purpose of this plugin is to add a prefix on all cache identifiers that fulfill certain criteria.
Why is the plugin not executing as expected?
An Adobe Commerce developer has created a before plugin for the save() function within the magento\Framework\App\Cache\Proxy class. The purpose of this plugin is to add a prefix on all cache identifiers that fulfill certain criteria.
Why is the plugin not executing as expected?
正確答案: C
問題10
A merchant gives you the module MyCompany_MyModule to install.
How do you identify which REST endpoints are supported by the module?
A merchant gives you the module MyCompany_MyModule to install.
How do you identify which REST endpoints are supported by the module?
正確答案: D
問題11
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 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?
正確答案: C