Adobe AD0-E709 Adobe Commerce Developer Expert Online Training
Adobe AD0-E709 Online Training
The questions for AD0-E709 were last updated at Feb 02,2025.
- Exam Code: AD0-E709
- Exam Name: Adobe Commerce Developer Expert
- Certification Provider: Adobe
- Latest update: Feb 02,2025
An Adobe Commerce developer has been tasked to create a new rest API endpoint to get a list of items for a CustomEntity. When testing the endpoint, it throws an exception.
This is the code the developer has written forMyVendorModuleApiCustomEntityRepositoryInterface:
And this is the implement method within MyVendorMyModulemodelCustomEntityRepository:
What is wrong with the code?
- A . The @return annotation is missing in the MyVendorMyModuleApiCustomEntityRepositoryInterface::getList function.
- B . The implemented getlist function is returning an array, it should return an instance of MyVendorMyModuleApiDataCustomerEntitySearcResultslnterface .
- C . MagentoFrameworkApiSerchCriteriaInterface $searchCriteria is not a valid parameter for the getList function.
An Adobe Commerce developer has been tasked to create a new rest API endpoint to get a list of items for a CustomEntity. When testing the endpoint, it throws an exception.
This is the code the developer has written forMyVendorModuleApiCustomEntityRepositoryInterface:
And this is the implement method within MyVendorMyModulemodelCustomEntityRepository:
What is wrong with the code?
- A . The @return annotation is missing in the MyVendorMyModuleApiCustomEntityRepositoryInterface::getList function.
- B . The implemented getlist function is returning an array, it should return an instance of MyVendorMyModuleApiDataCustomerEntitySearcResultslnterface .
- C . MagentoFrameworkApiSerchCriteriaInterface $searchCriteria is not a valid parameter for the getList function.
An Adobe Commerce developer has been tasked to create a new rest API endpoint to get a list of items for a CustomEntity. When testing the endpoint, it throws an exception.
This is the code the developer has written forMyVendorModuleApiCustomEntityRepositoryInterface:
And this is the implement method within MyVendorMyModulemodelCustomEntityRepository:
What is wrong with the code?
- A . The @return annotation is missing in the MyVendorMyModuleApiCustomEntityRepositoryInterface::getList function.
- B . The implemented getlist function is returning an array, it should return an instance of MyVendorMyModuleApiDataCustomerEntitySearcResultslnterface .
- C . MagentoFrameworkApiSerchCriteriaInterface $searchCriteria is not a valid parameter for the getList function.
Implement the getidentities() method to return the concatenation of a chosen key and the id of the entity.
An Adobe Commerce developer is working on a module to manage custom brand entities and wants to replicate the following SQL query using SearchCriteria:
Which snippet of code would produce the desired SQL query?
A)
B)
C)
- A . Option A
- B . Option B
- C . Option C
An Adobe Commerce developer is tasked to add a file field to a custom form in the administration panel, the field must accept only .PDF files with size less or equal than 2 MB.
So far the developer has added the following code within the form component xmlfile, inside the filedsetnode:
How would the developer implement the validation?
A)
B)
C)
- A . Option A
- B . Option B
- C . Option C
An Adobe Commerce developer has created a new shipping carrier.
Everything has been implemented and the collectRates() and getAlloweMethods() functions can be seen below:
- A . Given the above code, what would be the displayed cost of the shipping method and final amount charged to the customer?
- B . The shipping method would display $0 but customers would pay a $10 handling fee for their order.
- C . The shipping method would display $10 and customers would pay $10 for using the new shipping method.
- D . The shipping method would display SO and customers would pay $0 for using the new shipping method.
An Adobe Commerce developer is creating a module (Vendor_ModuleName) to be sold on
the Marketplace. The new module creates a database table using declarative schema and now the developer needs to make sure the table is removed when the module is disabled.
What must the developer do to accomplish this?
- A . Add a schema patch thatimplements MogentoFrameworkSetupPatchPatchRevertableInterface and drops the table in the revert function.
- B . There is nothing further the developer needs to do. The table will be removed when the when bin/magento module:uninstall Vendor_ModuleName is run.
- C . There is nothing further the developer needs to do. The table will be removed when the module is disabled and bin/Magento setup :upgrade is run.
An Adobe Commerce developer is asked to restrict access onboth the admin menu item Custom_Reports: :Financial and the admin pagecustomreport/financial/index attached to the menu.
The developer has added the resource Customreports/financial in etc/ael.xml. and the following code on etc/adninhtml/nenu.xml :
Given that const ADMIN_RESOURCE was NOT set on the controller of customreports-financial/index and the secret key is not enabled in the URL which users can access the page?
- A . Only admin users with Custom_Reports::financial resource access.
- B . Only admin users with ALL resources access.
- C . All admin users.
An Adobe Commerce developer wants to add a custom product attribute to the website which will sync to their ERP.
The developer has created a data patch and added the following code to add the attribute:
The attribute is created successfully and it is listed in the attribute grid. But on the website, there are multiple attribute sets and the developer wants the newly created attribute to be visible in all the attribute sets.
In order to set the attribute to all the attributes sets, how will the developer change the code to add the attribute?
- A . Add a property ‘group’ => ‘General’ in the add Attribute method.
- B . Add a property attribute. group’ => ‘general’ in the add Attribute method.
- C . Add a properly ‘attribute. set’ -> ‘all’ in the add Attribute method.