ExamGecko
Home / Adobe / AD0-E722 / List of questions
Ask Question

Adobe AD0-E722 Practice Test - Questions Answers, Page 3

Add to Whishlist

List of questions

Question 21

Report Export Collapse

A single Adobe Commerce Cloud instance is set up with two websites (each with a single store view) with different domains.

* The default website is website_one, with store view store_one, and domain storeone. com.

* The second website is website_two, with store view store_two, and domain storetwo. com.

The magento-vars. php file is set up as follows to determine which website each request runs against:

Adobe AD0-E722 image Question 21 92334 10022024174905000000

When testing a new GraphQL integration, all requests returned data relating to the default website, regardless of the domain. What is causing this issue?

Become a Premium Member for full access
  Unlock Premium Member

Question 22

Report Export Collapse

An Architect needs to integrate an Adobe Commerce store with a new Shipping Carrier. Cart data is sent to the Shipping Carrier's API to retrieve the price and display to the customer. After the feature is implemented on the store, the API hits its quota and returns the error 'Too many requests'. The Shipping Carrier warns the store about sending too many requests with the same content to the API.

In the carrier model, what should the Architect change to fix the problem?

Become a Premium Member for full access
  Unlock Premium Member

Question 23

Report Export Collapse

An Architect working on a headless Adobe Commerce project creates a new customer attribute named my_attribute. Based on the attribute value of the customer, the results of GraphQI queries are modified using a plugin. The frontend application is communicating with Adobe Commerce through Varnish by Fastly. which is already caching the queries that will be modified. The Adobe Commerce Fastly extension is installed, and no other modifications are made to the application.

Which steps should the Architect take to make sure the vcl_hash function of Varnish also considers the newly created attribute?

Become a Premium Member for full access
  Unlock Premium Member

Question 24

Report Export Collapse

An Architect wants to create an Integration Test that does the following:

* Adds a product using a data fixture

* Executes $this->someLogic->execute($product) on the product

* Checks if the result is true.

$this->someLogic has the correct object assigned in the setup() method.

Product creation and the tested logic must be executed in the context of two different store views with IDs of 3 and 4, which have been created and are available for the test.

How should the Architect meet these requirements?

Become a Premium Member for full access
  Unlock Premium Member

Question 25

Report Export Collapse

An Adobe Commerce Architect notices that the product price index takes too long to execute. The store is configured with multiple websites and dozens of customer groups.

Which two ways can the Architect shorten the full price index execution time? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 26

Report Export Collapse

While reviewing a newly developed pull request that refactors multiple custom payment methods, the Architect notices multiple classes that depend on \Magento\Framework\Encryption\EncryptorInterface to decrypt credentials for sensitive dat a. The code that is commonly repeated is as follows:

Adobe AD0-E722 image Question 26 92339 10022024174905000000

The Architect needs to recommend an optimal solution to avoid redundant dependency and duplicate code among the methods. Which solution should the Architect recommend?

Become a Premium Member for full access
  Unlock Premium Member

Question 27

Report Export Collapse

Since the last production deployment, customers can not complete checkout.

The error logs show the following message multiple times:

main.CRITICAL: Report ID: webapi-61b9fe83f0c3e; Message: Infinite loop detected, review the trace for the looping path

The Architect finds a deployed feature that should limit delivery for some specific postcodes.

The Architect sees the following code deployed in etc/webapi_rest/di. xml and etc/frontend/di. Xml

Adobe AD0-E722 image Question 27 92340 10022024174905000000

LimitRates.php:

Adobe AD0-E722 image Question 27 92340 10022024174905000000

Which step should the Architect perform to solve the issue?

Become a Premium Member for full access
  Unlock Premium Member

Question 28

Report Export Collapse

An Adobe Commerce Architect runs the PHP Mess Detector from the command-line interface using the coding standard provided with Adobe Commerce. The following output appears:

Adobe AD0-E722 image Question 28 92341 10022024174905000000

The Architect looks at the class and notices that the constructor has 15 parameters. Five of these parameters are scalars configuring the behavior of MyService. The class also contains three constants referencing one other class.

How should the Architect fix the code so that it complies with the coding standard rule?

Become a Premium Member for full access
  Unlock Premium Member

Question 29

Report Export Collapse

Due to a marketing campaign, a website is experiencing a very large number of simultaneously placed orders, which is affecting checkout performance. The website is in the production deploy mode.

Which two website settings can an Architect optimize to decrease the impact on checkout performance? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 30

Report Export Collapse

An Adobe Commerce Architect is reviewing API-functional test code. Some tests send errors to indicate that the customer address does not exist. The test codes show the following:

Adobe AD0-E722 image Question 30 92343 10022024174905000000

Which step should the Architect take to fix the test errors?

Become a Premium Member for full access
  Unlock Premium Member
Total 50 questions
Go to page: of 5
Search

Related questions