Adobe AD0-E722 Exam Practice Questions (P. 1)
- Full Access (50 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
A company wants to build an Adobe Commerce website to sell their products to customers in their country. The taxes in their country are highly complex and require customization to Adobe Commerce. An Architect is trying to solve this problem by creating a custom tax calculator that will handle the calculation of taxes for all orders in Adobe Commerce.
Following best practices, how should the Architect add the taxes for all orders?
Following best practices, how should the Architect add the taxes for all orders?
- AAdd a new observer to the event “sales_quote_collect_totals_before” and add the custom tax to the quote
- BWrite a before plugin to \Magento\Quote\Model\QuoteManagement::placeOrder() and add the custom tax to the quote
- CDeclare a new total collector in “etc/sales.xml” in a custom module
Correct Answer:
C
C
send
light_mode
delete
Question #2
An Adobe Commerce Architect is creating a new GraphQL API mutation to alter the process of adding configurable products to the cart. The mutation accepts configurable product ID. If the given product has only one variant, then the mutation should add this variant to the cart and return not nullable Cart type. If the configurable product has more variants, then the mutation should return not nullable Conf igurableProduct type.
The mutation declaration looks as follows:

How should the Adobe Commerce Architect declare output of this mutation?
The mutation declaration looks as follows:

How should the Adobe Commerce Architect declare output of this mutation?
send
light_mode
delete
Question #3
A third-party company needs to create an application that will integrate the Adobe Commerce system to get orders data for reporting. The integration needs access to the GET /V1/orders endpoint. It will call this endpoint automatically every hour around the clock. The merchant wants the ability to restrict or extend access to resources as well as to revoke the access using Admin Panel.
Which type of authentication available in Adobe Commerce should be used and implemented in a third-party system for this integration?
Which type of authentication available in Adobe Commerce should be used and implemented in a third-party system for this integration?
- AUse token-based authentication to obtain the Admin Token. The third-party system will utilize the REST endpoint using the admin username and password to get the Admin Token, which will be used as the Bearer Token to authorize.
- BUse token-based authentication to obtain an Integration Token. Integration will be created and activated in the admin panel using default integration token settings to get access to the token, which will be used as the Bearer Token to authorize.
- CUse OAuth-based authentication to provide access to system resources. Integration will be registered by the merchant in the admin panel with an OAuth handshake during activation. The third-party system should follow OAuth protocol to authorize.
Correct Answer:
B
B
send
light_mode
delete
Question #4
In a custom module, an Architect wants to define a new xml configuration file. The module should be able to read all the xml configuration files declared in the system, merge them together, and use their values in PHP class.
Which two steps should the Architect make to meet this requirement? (Choose two.)
Which two steps should the Architect make to meet this requirement? (Choose two.)
- AInject a “reader” dependency for “Magento\Framework\Config\Data” in di.xml
- BWrite a plugin for \Magento\Framework\Config\Data::get() and read the custom xml files
- CCreate a Data class that implements “\Magento\Framework\Config\Data”
- DAppend the custom xml file name in “Magento\Config\Model\Config\Structure\Reader” in di.xml
- EMake a Reader class that implements “\Magento\Framework\Config\Reader\Filesystem”
Correct Answer:
CE
CE
send
light_mode
delete
Question #5
An Adobe Commerce Architect creates a stopword for the Italian locale named stopwordsJtJT.csv and changes the stopword directory to the following:
<magento_root>/app/code/CustomVendor/Elasticsearch/etc/stopwords/
What is the correct approach to change the stopwords directory inside the custom module?
<magento_root>/app/code/CustomVendor/Elasticsearch/etc/stopwords/
What is the correct approach to change the stopwords directory inside the custom module?
- AAdd stopwords to the stopwordsDirectory and CustomVendor_Elasticsearch to the stopwordsModule parameter of the \Magento\Elasticsearch\SearchAdapter\Query\Preprocessor\Stopwords class via di.xml
- BAdd a new class implementing \Magento\Framework\Setup\Patch\PatchInterface to modify the default Value of elasticsearch\custom\stopwordspath in core_config_data table.
- CAdd stopwords to the stopwordsDirectory parameter of the \Magento\Elasticsearch\Model\Adapter\Document\DirectoryBuilder class via stopwords/it.xml and Adobe Commerce will automatically detect the current module.
Correct Answer:
A
A
send
light_mode
delete
All Pages