Adobe Commerce Developer Expert - AD0-E709 Exam Practice Test
You are tasked to install an extension to the merchant's Magento instance.
The extension is developed by the company called MyCompany and its codebase is available from all four locations listed below.
Which two installations options do you choose from to prevent version conflicts during upgrade? (Choose two.)
The extension is developed by the company called MyCompany and its codebase is available from all four locations listed below.
Which two installations options do you choose from to prevent version conflicts during upgrade? (Choose two.)
Correct Answer: A,B
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: C
Which three scopes can be used to set different System Configuration values in Magento? (Choose three.)
Correct Answer: A,D,E
You are adding a new entry to the backend menu that appears after
Marketing > SEO & Search > Site Map
You see the existing site map menu item is declared by the node:

What two actions do you take to configure the new menu entry location? (Choose two.)
Marketing > SEO & Search > Site Map
You see the existing site map menu item is declared by the node:

What two actions do you take to configure the new menu entry location? (Choose two.)
Correct Answer: A,D
What scopes are available for customer attributes?
Correct Answer: D
A product has some stock and quantity in the Sources panel in its edit view m the admin:

But when trying to add this product to the cart on the frontend. the following error is displayed:
"The requested qty is not available".
Why was this error received?

But when trying to add this product to the cart on the frontend. the following error is displayed:
"The requested qty is not available".
Why was this error received?
Correct Answer: C
You are reviewing a theme in app/design/frontend/MyCompany/MyTheme and see the file etc/view.xml.
What is the function of this file?
What is the function of this file?
Correct Answer: B
You are implementing a custom module MyModule, which provides an implementation of \Psr\Log\LoggerInterface called \MyCompany\MyModule\Logger.
The LoggerInterface has the default preference declared in app/etc/di.xml.
Keeping upgradability in mind, how do you make \MyCompany\MyModule\Logger the default implementation of the LoggerInterface globally?
The LoggerInterface has the default preference declared in app/etc/di.xml.
Keeping upgradability in mind, how do you make \MyCompany\MyModule\Logger the default implementation of the LoggerInterface globally?
Correct Answer: B
You are making some major adjustments to a core Magento class (ClassA). These adjustments are only necessary when utilized from a specific Magento class (ClassB). You have created MyClass that contains the needed customizations.
Keeping upgradeability in mind, how do you configure di.xml to make the substitution happen?
Keeping upgradeability in mind, how do you configure di.xml to make the substitution happen?
Correct Answer: C
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: A
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?
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?
Correct Answer: C