Adobe AD0-E703 Adobe Certified Expert – Adobe Commerce Developer Online Training
Adobe AD0-E703 Online Training
The questions for AD0-E703 were last updated at Nov 22,2024.
- Exam Code: AD0-E703
- Exam Name: Adobe Certified Expert - Adobe Commerce Developer
- Certification Provider: Adobe
- Latest update: Nov 22,2024
What are two functions of a resource model? (Choose two.)
- A . It executes create, retrieve, update and delete actions for an entity
- B . It loads lists of entity models
- C . It is made available in the Magento API for the purpose of data manipulation
- D . It maps an entity to one or more database rows
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
You need to add the Google Tag Manager (GTM) to every page.
What three steps do you take to accomplish this in MyCompany_MyModule?
- A . Add into view/frontend/layout/default.xml.
- B . Create view/frontend/layout/default.xml.
- C . Create view/frontend/templates/script.phtml and add GTM code.
- D . Run bin/magento create:module:template script.phtml
- E . Copy vendor/module-catalog/view/template/script.phtml to view/template/script.phtml and add GTM script.
A merchant requires the ability to configure contact information for their brick and mortar stores as a CSV file upload. The module already exists and contains an etc/adminhtml/system.xml file where the new field can be added.
How do you specify the class that will process the uploaded file?
- A . <upload_model>MagentoConfigModelConfigUploadFile</upload_model>
- B . <frontend_model>MagentoConfigModelConfigFrontendFile</frontend_model>
- C . <backend_model>MagentoConfigModelConfigBackendFile</backend_model>
- D . <source_model>MagentoConfigModelConfigSourceFile</source_model>
As you are scanning folder in the vendor/module-catalog directory, you see a directory that is named Ui.
What is this folder’s purpose?
- A . It contains UI component data providers and component information.
- B . It contains templates, CSS and JS pertinent to the module.
- C . It contains the block PHP files that render HTML onto the frontend.
- D . It is not a normal folder and further investigation is necessary to determine the purpose.
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
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.)
- A . MagentoCatalogModelResourceModelProduct::load($productModel, $id)
- B . MagentoCatalogModelResourceModelProductCollection::load()->fetchById($id)
- C . MagentoCatalogModelResourceModelProductCollection::fetchItemById($id)
- D . MagentoCatalogApiProductRepositoryInterface::getById($id)
A custom module needs to log all calls of MagentoCustomerApiAddressRepositoryInterface::save().
Which mechanism do you use?
- A . An observer on the customer_address_repository_save event, which is automatically fired for every repository save
- B . A proxy configured to intercept all calls to any public method and log them
- C . An extension attribute configured in the extension_attributes.xml
- D . A plugin declared for the save() method
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 MagentoFrameworkAclLoaderInterface::populateAcl() and echo out the loaded roles
- B . Inspect the output of the CLI command bin/magento admin:role:resources C 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
Your module adds a new controller class which will return a JSON response.
What will be the return type of the execute method?
- A . You should implement a new API endpoint instead of returning JSON from a controller
- B . The string value of Zend_Json::encode()
- C . An instance of MagentoFrameworkControllerResultJson
- D . No return needed, an object that can be converted to JSON must be set as the
Response body