Adobe Commerce Developer Expert - AD0-E709 Exam Practice Test
Question 1
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?
What do you inject into a constructor to represent each product you create?
Correct Answer: B
Question 2
Magento allows you to specify custom values per store for product attributes created in the admin panel.
Which architectural pattern makes it possible?
Which architectural pattern makes it possible?
Correct Answer: B
Question 3
How do you instruct Magento to enable a new module?
Correct Answer: A
Question 4
You have created a new block and will be adding this block on every page. The block contains user-specific information and cannot be cached.
The block is added to the default.xml with:

What does this accomplish?
The block is added to the default.xml with:

What does this accomplish?
Correct Answer: B
Question 5
You are working on a new entity called vendor. You implemented the model, resource model and collection. You want to ensure that standard model events will be fired for your model, so an observer can be created for the events vendor_save_after, vendor_save_commit_after and others.
How do you do that?
How do you do that?
Correct Answer: C
Question 6
Which two tasks are supported by Magento CLI? (Choose two.)
Correct Answer: A,C
Question 7
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)


How would the developer implement the validation?
A)

B)

C)

Correct Answer: B
Question 8
You need to add the Google Tag Manager (GTM) to every page.
What three steps do you take to accomplish this in MyCompany_MyModule?
What three steps do you take to accomplish this in MyCompany_MyModule?
Correct Answer: A,B,D
Question 9
You have loaded an instance of Magento\Catalog\Model\Product in the $product variable. You know that the loaded product has the type configurable with four variations. These variations have the prices: $10, $12, $12, $15.
What will be the result of the $product->getFinalPrice() call?
What will be the result of the $product->getFinalPrice() call?
Correct Answer: B

