New Year Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

AD0-E722 Questions and Answers

Question # 6

A client is migrating to Adobe Commerce Cloud and has approximately 800 existing redirects that must be implemented. The number of redirects cannot be reduced because all redirects are specific, and do not match any pattern.

How should the redirects be configured to ensure performance?

A.

Add each redirect in the magento/routes.yaml file.

B.

Use VCL snippets to offload the redirect to Fastly.

C.

Add each redirect as a URL rewrite via the admin Ul.

Full Access
Question # 7

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?

A.

Default Mode

B.

Production Mode

C.

Developer Mode

Full Access
Question # 8

An Architect is investigating a merchant's Adobe Commerce production environment where all customer session data is randomly being lost. Customer session data has been configured to be persisted using Redis, as are all caches (except full page cache, which is handled via Varnish).

After an initial review, the Architect is able to replicate the loss of customer session data by flushing the Magento cache storage, either via the Adobe Commerce Admin Panel or running bin/magento cache: flush on the command line. Refreshing all the caches in the Adobe Commerce Admin Panel or running bin/magento cache: clean on the command line does not cause session data to be lost.

What should be the next step?

A.

Check app/etc/env.php and make sure that the Redis configuration for caches and session data use different database numbers.

B.

Educate the merchant to not flush cache storage and only refresh the caches in future.

C.

Set the Stores > Configuration' option for Store Session Data Separately' to 'Yes' in the Adobe Commerce Admin Panel.

Full Access
Question # 9

A merchant is using a unified website that supports native Adobe Commerce B2B and B2C with a single store view.

The merchant's objective is to display the B2B account features, such as negotiable quotes and credit limits, in the header of the site on every page for logged-in users who belong to a B2B company account.

Each B2B company possesses its unique shared catalog and customer group, while numerous customer groups for non-B2B customers undergo changes. The merchant insists that this association should not be linked to customer groups.

Which two solutions should the Architect recommend for consideration, taking into account public data and caching? (Choose two.)

A.

Create a Virtual Type that switches the theme when a user is part of a B2B company so the output can be modified accordingly in the alternate theme.

B.

Create a new HTTP Context variable to allow for separate public content to be cached for users in B2B companies where the output can be modified accordingly.

C.

Set whether the current user is part of a B2B company in the customer session and use that data directly to modify the output accordingly.

D.

Create a new custom condition for customer segments that allow for choosing whether a user is part of a B2B company and then use this segment to modify the output accordingly.

E.

Check if the current user is part of a B2B company within a block class and modify the output accordingly.

Full Access
Question # 10

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 Carttype. 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?

A)

B)

C)

A.

Option A

B.

Option B

C.

Option C

Full Access
Question # 11

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:

What should the Architect do to correct this issue?

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

Full Access
Question # 12

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

A.

Content of the etc/product_types.xml file

B.

Data patch to register the new product type

C.

Hydrator for attributes belonging to the new product type

D.

New price model extending \Magento\Catalog\Model\Product\Type\Price

E.

Custom type model extended from the abstract Product Type model

F.

A new class with custom pricing logic, extending the abstract Product model class

Full Access
Question # 13

An Adobe Commerce Architect needs to scope a bespoke news section for a merchants 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.

A.

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

B.

Create a standard controller route and mapping the internal URLs (such as news/article/view/id/i) to rewrites that are generated on save and then stored in the URL rewrites table.

C.

Create 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

D.

Create a plugin that intercepts Magento\Framework\App\Action: :(), 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.

E.

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

Full Access
Question # 14

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?

A.

Add a new observer to the event sales.quote.collecLtotals.before'' and add the custom tax to the quote

B.

Write a before plugin to \Magento\Quote\Model\QuoteManagement::placeOrder() and add the custom tax to the quote

C.

Declare a new total collector in "etc/sales.xmr in a custom module

Full Access
Question # 15

An Architect is investigating a deployment issue with a server that is configured to work under the symlink directory /var/www/current, which lead to the latest released version of the application.

The deployment process performs the following steps:

After the last deployment, the merchant reported that the Adobe Commerce Import/Export functionality to export Customer Main File data is not working. The Architect discovered that the export file is not shown in the list of generated files.

Which change to the deployment process should be performed to solve this issue?

A.

Restart the consumer process during deployment to use the directory with a new application version for export files.

B.

Execute Command config:set export/customr/files_directory /var/releases/{release_nunber} toSet the new export path.

C.

Doable Crontab before deployment and re-launch after deployment.

Full Access