Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Pass the Adobe Commerce AD0-E722 Questions and answers with ValidTests

Exam AD0-E722 All Questions
Exam AD0-E722 Premium Access

View all detail and faqs for the AD0-E722 exam

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

An Adobe Commerce Architect needs to customize the workflow of a monthly installments payment extension. The extension is from a partner who is contracted with the default website Payment Service Provider (PSP), which has its own legacy extension (a module using deprecated payment method).

The installment payment partner manages only initializing a payment, and then hands the capture to be executed by the PSP Once the amount is successfully captured, the PSP notifies the website through a webhook. The goal of the webhook is only to create an "invoice" and save the "capture information" to be used later for refund requests through the PSP itself.

The Architect needs the most simple solution to capture the requested behavior.

Which solution should the Architect implement?

Options:

A.

Add a plugin before the $invoice->capture() and change Its input to prevent the call of the $Payment->capture()

B.

Change the can_capture attribute for the payment method under config.xml to be 0

C.

Declare a capture Command with type Magento\Payment\Gateway\Command\NullCommand for the payment method CommandPool in di.xml

Expert Solution
Questions # 2:

The development of an Adobe Commerce website is complete. The website is ready to be rolled out on the production environment.

An Architect designed the system to run in a distributed architecture made up of multiple backend webservers that process requests behind a Load Balancer.

After deploying the system and accessing the website for the first time, users cannot access the Customer Dashboard after logging in. The website keeps redirecting users to the sign-in page even though the users have successfully logged in The Architect determines that the session is not being

saved properly.

In the "app/etc/env.php", the session is configured as follows:

Question # 2

What should the Architect do to correct this issue?

Options:

A.

Update the session host value to a shared Redis instance

B.

increase the session size with the command config:set system/security/max_session_size_admin

C.

Utilize the Remote Storage module to synchronize sessions between the servers

Expert Solution
Questions # 3:

An Adobe Commerce Architect is setting up a Development environment for an on-premises project that will be used for developers to specifically test functionality, not performance, before being passed to the Testing team.

The Magento application must run with the following requirements:

1. Errors should be logged and hidden from the user

2. Cache mode can only be changed from Command Line

3. Static files should be created dynamically and then cached

Which Application Mode is required to achieve this?

Options:

A.

Default Mode

B.

Production Mode

C.

Developer Mode

Expert Solution
Questions # 4:

A client has multiple warehouses where orders can be fulfilled. The cost of shipping goods from each warehouse varies by day, due to the number of workers available. The Architect needs to make sure that when an order is shipped, it is shipped from the lowest cost warehouse that is open.

How should this functionality be implemented?

Options:

A.

Create anew class as a preference for Magento\inventoryShipping\piugin\Sales\shipment\AssignSourceCodeToShipmentPlugin to set the lowest-cost warehouse on a shipment.

B.

Create a new class implementing Magento\invtntorysourceSelectionApi\Modei\sourceSelectioninterfacece. which returns open warehouses sorted by cost.

C.

Create an after plugin OnHagento\InventoryDistanceBasedSourceSelection\Hodel\Algorithms\DistanceBasedAlgorithto sortto Warehouse sources by cost

Expert Solution
Questions # 5:

A merchant asks for a new category attribute to allow uploading an additional mobile image against categories. The merchant utilizes the content staging and preview feature in Adobe Commerce and wants to schedule and review changes to this new mobile image field.

A developer creates the attribute via a data patch and adds it to view/adminhtml/ui_component/category_f orm. xml. The attribute appears against the category in the main form, but does not appear in the additional form when scheduled updates are made.

To change this attribute when scheduling new category updates, which additional action should the Architect ask the developer to take?

Options:

A.

The attribute must have its apply_to field set to "staging" in the data patch file.

B.

The attribute must have true set in the cjt.gopy_for-.xni file under the attributes config' section.

C.

The attribute must also be added to view/adminhtml/ui_co-component/catalogstaging_category_update_form.xml.

Expert Solution
Questions # 6:

A merchant notices that product price changes do not update on the storefront.

The index management page in the Adobe Commerce Admin Panel shows the following:

• All indexes are set to 'update by schedule'

• Their status is 'ready'

• There are no items in the backlog

• The indexes were last updated 1 minute ago

A developer verifies that updating and saving product prices adds the relevant product IDs into the catalog_product_price_cl changelog table. Which two steps should the Architect recommend to the developer to resolve this issue? (Choose two.)

Options:

A.

Reduce the frequency of the cron job to 5 minutes so the items have more time to process.

B.

Make sure that no custom or third-party modules modify the changelog and indexing process.

C.

Make sure that the version_id for the price indexer in the mview_state table is not higher than the last entry for the same column in the changelog table and re-synchronize.

D.

Invalidate the catalog_Product_price indexer in the Adobe Commerce Admin Panel so that it is fully reindexed next time the cron runs.

E.

Manually reindex the catalog_product_price index from the command line: bin/magento indexer:reindex catalog_product_price.

Expert Solution
Questions # 7:

An existing Adobe Commerce website is moving to a headless implementation.

The existing website features an "All Brands'' page, as well as individual pages for each brand. All brand-related pages are cached in Varnish using tags in the same manner as products and categories.

Two new GraphQL queries have been created to make this information available to the frontend for the new headless implementation:

Question # 7

During testing, the queries sometimes return out-of-date information. How should this problem be solved while maintaining performance?

Options:

A.

Specify a @cacgecacheable(cacheable: false) directive for each GraphQL query, making sure that the data returned is not cached, and is up to date

B.

Specify a $cache(cacheidentity: Path\\To\\identityclass) directive for each GraphQL query, corresponding to a class that adds cache tags for relevant brands and associated products

C.

Each GraphQL query's resolver class should inject \Magento\GraphQlcache\Model\cacheableQuery and call setcachevalidity(true) on it as part of the resolver's resolve function.

Expert Solution
Questions # 8:

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:

Question # 8

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

Options:

A.

The magento-vars.php file is not processed for any GraphQL requests, so the default website is always processed.

B.

$_server["mage_run_cooe") needs to be setto store and *$_SERVER["MAGE_RUN_TYPE"] needs to be set to the store code instead.

C.

GraphQL requests are always run against the default store view unless a store header or store cookie is provided.

Expert Solution
Questions # 9:

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.)

Options:

A.

Add a new context value of "my_attribute" to Magento\Framework\App\Http\Context

B.

Create a Customer Segment and use 'my.attribute' in the conditions

C.

Add a custom block and a pHTML template with the content to the cmsjndexjndex.xml layout

D.

Add a dynamic block with the content to the Home Page

E.

Use customer-data JS library to retrieve "my.attribute" value

Expert Solution
Questions # 10:

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?

Options:

A.

Create a new ClaSS inheriting from Magento\GraphQlCache\Model\CacheId\CacheIdFactorProvidftrInterface and returning the Value of my_attribute from the getFactorValuefunction and my_attribute from the getFactorName function. Then add this class through Dl to the idFactorProviders array ofMagento\GraphQlCache\Model\CacheId\CacheIdCalculator.

B.

Createa new class inheriting from Magento\Framework\GraphQi\Query\Resolver\identityinterfaca and returning the value of my_attributefrom the getidentities function.

Then specify a ecache(cacheidentity: Path\\To\\identityclass) directive for each GraphQL query to include the newly created IdentityClass to each query that adds the cache tags for each customer.

C.

Create a new class inheriting from Magento\customer\customerData\stctionSourceinterface and returning the value of my_attributefrom the getSectionData function. Then

add thisClaSS through the sectionSourceMap array Of Magento\Customer\CustomerData\SectionPoolInterface.

Expert Solution
Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions