Adobe AD0-E722 Exam Practice Questions (P. 3)
- 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 #11
An Adobe Commerce Architect is planning to create a new action that will add gift registry items to the customer’s quote.
What should the Architect do to guarantee that private content blocks are updated?
What should the Architect do to guarantee that private content blocks are updated?
- AMark the controller by setting no-cache HTTP headers
- BInvalidate the status of gift registry indexers
- CSpecify a new action in a sections.xml configuration file
Correct Answer:
C
C
send
light_mode
delete
Question #12
An Adobe Commerce Architect needs to scope a bespoke news section for a merchant's Adobe Commerce storefront. The merchant's SEO agency requests that the following URL structure: news/{date}/{article_url_key}, where {date} is the publication date of the article, and {article_url_key} is the URL key of the article.
The Architect scopes that a news entity type will be created. The date and URL key data will be stored against each record and autogenerated on save. The values will be able to be manually overridden.
The Architect needs to manage routing this functionality and adhere to best practice.
Which two options should the Architect consider to meet these requirements? (Choose two.)
The Architect scopes that a news entity type will be created. The date and URL key data will be stored against each record and autogenerated on save. The values will be able to be manually overridden.
The Architect needs to manage routing this functionality and adhere to best practice.
Which two options should the Architect consider to meet these requirements? (Choose two.)
- ACreate a standard controller route and mapping the internal URLs (such as news/article/view/id/1) to rewrites that are generated on save and then stored in the URL rewrites table.
- BCreate a custom router that runs before the standard router and matches the news portion of the URL, then looks for and loads a news article by matching the date and URL key parts of the URL.
- CCreate a plugin that intercepts Magento\Framework\App\Action::execute(), looks for the news portion of the URL, and if it matches, loads the relevant news article by matching the URL date and URL key parts.
- DCreate a standard controller route and an Index/Index controller class that loads the relevant news article by matching the URL date and URL key parts.
- ECreate an observer that listens to the controller_front_send_response_before event, looks for the news portion of the URL, and if it matches, loads the relevant news article by matching the URL date and URL key parts.
Correct Answer:
AB
AB
send
light_mode
delete
Question #13
An external system integrates functionality of a product catalog search using Adobe Commerce GraphQL API. The Architect creates a new attribute my_attribute in the admin panel with frontend type select.
Later, the Architect sees that ProductInterface already has the field my_attribute, but returns an Int value. The Architect wants this field to be a new type that contains both option id and label.
To meet this requirement, an Adobe Commerce Architect creates a new module and file etc/schema.graphqls that declares as follows:

After calling command setup:upgrade, the introspection of ProductInterface field my_attribute remains Int.
What prevented the value type of field my_attribute from changing?
Later, the Architect sees that ProductInterface already has the field my_attribute, but returns an Int value. The Architect wants this field to be a new type that contains both option id and label.
To meet this requirement, an Adobe Commerce Architect creates a new module and file etc/schema.graphqls that declares as follows:

After calling command setup:upgrade, the introspection of ProductInterface field my_attribute remains Int.
What prevented the value type of field my_attribute from changing?
- AThe Magento_CatalogGraphQI module occurs later in sequence than the Magento_GraphQI module and merging output of dynamic attributes schema reader overrides types declared in schema.graphqls
- BThe fields of ProductInterface are checked during processing schema.graphqls files. If they have a corresponding attribute, then the backend_type of product attribute is set for field type.
- CThe interface ProductInterface is already declared in Magento.CatalogGraphQI module. Extending requires use of the keyword extend before a new declaration of ProductInterface.
Correct Answer:
C
C
send
light_mode
delete
Question #14
An Adobe Commerce store owner sets up a custom customer attribute “my_attribute”.
An Architect needs to display additional content on the home page, which should display only to Customers with “my_attribute” of a certain value and be the same content for all of them. The website is running Full Page Cache.
With simplicity in mind, which two steps should the Architect take to implement these requirements? (Choose two.)
An Architect needs to display additional content on the home page, which should display only to Customers with “my_attribute” of a certain value and be the same content for all of them. The website is running Full Page Cache.
With simplicity in mind, which two steps should the Architect take to implement these requirements? (Choose two.)
- AAdd a new context value of “my.attribute” to Magento\Framework\App\Http\Context
- BCreate a Customer Segment and use “my_attribute” in the conditions
- CAdd a custom block and a pHTML template with the content to the cmsjndexjndex.xml layout
- DAdd a dynamic block with the content to the Home Page
- EUse customer-data JS library to retrieve “my_attribute” value
Correct Answer:
AC
AC
send
light_mode
delete
Question #15
An Adobe Commerce Architect designs a data flow that contains a new product type with its own custom pricing logic to meet a merchant requirement.
Which three steps are required when adding a product type with custom pricing? (Choose three.)
Which three steps are required when adding a product type with custom pricing? (Choose three.)
- AContent of the etc/product_types.xml file
- BData patch to register the new product type
- CHydrator for attributes belonging to the new product type
- DNew price model extending \Magento\Catalog\Model\Product\Type\Price
- ECustom type model extended from the abstract Product Type model
- FA new class with custom pricing logic, extending the abstract Product model class
Correct Answer:
ADE
ADE
send
light_mode
delete
All Pages