Adobe Commerce Developer Expert AD0-E709 Exam Practice Test

Page: 1 / 14
Total 50 questions
Question 1

An Adobe Commerce Developer is tasked with writing an importer for a custom entity. After the work is complete and deployed, they start receiving complaints from their client that the importer does not work and fails every time they use it.

The developer realizes that the client is importing a file which does not match the format required for the importer to process correctly.

What two features would the developer add to this importer to prevent this? (Choose two.)



Answer : C, D


Question 2

An Adobe Commerce developer is asked to restrict access on both the admin menu item Custom_Reports: :Financial and the admin page customreport/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?



Answer : A


Question 3

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 for MyVendor\Module\Api\CustomEntityRepositoryInterface:

And this is the implement method within MyVendor\MyModulemodel\CustomEntityRepository:

What is wrong with the code?



Answer : C


Question 4

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?



Answer : A


Question 5

An Adobe Commerce developer is being tasked with storing additional data for products added to the cart in the quote. A new column should be added to the Quote_item table to store the value-Following best practices, how would the developer extend the database to accomplish this?

A)

B)



Answer : A


Question 6

An Adobe Commerce developer has added an iframe and included a JavaScript library from an external domain to the website. After that they found the following error in the console:

Refused to frame IURLJ because it violates the Content Security Policy directive.

In order to fix this error, what would be the correct policy ids to add to the csp_whitelist.xmi file?



Answer : A


Question 7

There is an integration developed using a cron service that runs twice a day. sending the Order ID to the integrated ERP system if there are orders that are able to create an invoice. The order is already loaded with the following code:

$order =$this->orderRepository->get($orderid);

In order to verify if the store has invoices to be created, what implementation would the Adobe Commerce developer use?

A)

B)

C)



Answer : B


Page:    1 / 14   
Total 50 questions