live chatMcAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Pass4Test 10%OFF Discount Code

Adobe Commerce Developer Expert - AD0-E709 Exam Questions

QUESTION NO: 1
You have to install a new module on the production environment. All the module is adding a new product attribute. You enabled maintenance mode, copied the module code, run bin/magento setup:upgrade and disabled maintenance mode.
What two risks does this process pose? (Choose two.)
Correct Answer: B,D
QUESTION NO: 2
The developer is required to convert a modules database scripts from old install/upgrade setup files to a data patches format and does not want to apply database changes that were already done by install/upgrade scripts.
The current module version is 1.5A
What would be the recommended solution to skip changes that were already applied via old format (install/upgrade scripts)?
Correct Answer: B
QUESTION NO: 3
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?
Correct Answer: B
QUESTION NO: 4
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?
Correct Answer: B
QUESTION NO: 5
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?
Correct Answer: C
QUESTION NO: 6
When building a custom page we need to get a collection of data. To determine how many items are in this collection, the Adobe Commerce developer uses $collection->count() . This sometimes is slow and causes some delay.
What is the reason?
Correct Answer: C
QUESTION NO: 7
A module you are developing requires the addition of new routes that should be accessible in the store front.
Where do you define your module's frontName?
Correct Answer: D
QUESTION NO: 8
You are trying to determine why a product is not appearing in a category.
What table does Magento on the frontend to locate the relationship between a category and its products?
Correct Answer: C
QUESTION NO: 9
You are working on a custom web API endpoint and have configured it in etc/webapi.xml.
This config is cached as part of the config_webservice cache type.
Keeping performance in mind, how do you refresh the cached version of this config using Magento CLI?
Correct Answer: C
QUESTION NO: 10
What scopes are available for customer attributes?
Correct Answer: B