Weekend Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

AD0-E722 Adobe Commerce Architect Master Questions and Answers

Questions 4

An Adobe Commerce Architect needs to ensure zero downtime during the deployment process of Adobe Commerce on-premises. Which two steps should the Architect follow? (Choose two.)

Options:

A.

Enable Config flag Under deployement/blue_green/enabled

B.

Run bin/magento setup:upgrade --dry-run=true to upgrade database

C.

Run bin/magento setup:upgrade - -keep-generated to Upgrade database

D.

Run bin/magento setup:upgrad --convert-old-scripts-true to Upgrade database

E.

Enable Config flag Under developer/zero_down_time/enabled

Buy Now
Questions 5

A representative of a small business needs an Adobe Commerce Architect to design a custom integration of a third-party payment solution. They want to reduce the list of controls identified in their Self-Assessment Questionnaire as much as possible to achieve PCI compliance for their existing Magento application.

Which approach meets the business needs?

Options:

A.

Utilize the Advanced Encryption standard (aes-256) algorithm to encrypt all customer-sensitive data from the payment module.

B.

Utilize the payment provider iframe system to isolate content of the embedded frame from the parent web page.

C.

Utilize a trusted signed certificate issued by a Certification Authority (CA) to secure each connection made by the payment solution protocol via https.

Buy Now
Questions 6

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)

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Questions 7

A merchant is utilizing an out-of-the-box Adobe Commerce application and asks to add a new reward card functionality for customers. During the code review, the Adobe Commerce Architect notices the reward_card_number attribute setup created for this functionality is causing the customer attribute to be unavailable in the My account/My rewards page template.

What should be added to set the customer attribute correctly?

Options:

A.

group property should be added with a value of 1

B.

system property should be added with a value of true

C.

scope property should be added with a value of global

Buy Now
Questions 8

An Architect agrees to improve company coding standards and discourage using Helper classes in the code by introducing a new check with PHPCS.

The Architect creates the following:

• A new composer package under the AwesomeAgency\CodingStandard\ namespace

• The ruleset. xml file extending the Magento 2 Coding Standard

What should the Architect do to implement the new code rule?

A)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Questions 9

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.

Buy Now
Questions 10

An Adobe Commerce Architect is supporting deployment and building tools for on-premises Adobe Commerce projects. The tool is executing build scripts on a centralized server and using an SSH connection to deploy to project servers.

A client reports that users cannot work with Admin Panel because the site breaks every time they change interface locale.

Considering maintainability, which solution should the Architect implement?

Options:

A.

Modify project config.php file, configure 'admin_locales_for_deploy' value, and specify all required locales

B.

Edit project env.php file, configure 'adminJocales_for_build' value, and specify all required locales

C.

Adjust the tools build script and specify required locales during *setup:static-content:deploy' command

Buy Now
Questions 11

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?

Options:

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

Buy Now
Questions 12

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 data. The code that is commonly repeated is as follows:

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

Options:

A.

Create a common config service class v«ndor\Pay-ient\Gat«way\conf ig\conf ig under Vendor.Payment and use it as a parent class for all of the

Vendor\Payi»entModule\Gateway\Conf ig\Conf ig ClaSSeS and remove $scopeConf ig and Sencryptor dependencies

B.

Replace all Vendor\PaymentModule\Gateway\Config\Config ClaSSeS With virtualType Of Magento\Payiaent\Gateway\Conf ig\Conf ig and Set Under config.xml

C.

Add a plugin after the getvalue method of $scopeConfig, remove the $encryptor from dependency and use it in the plugin to decrypt the value if the config name is user.secret'

Buy Now
Questions 13

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 isimplemented 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?

Options:

A.

ln_doShipmentRequest()f call canCollectRates() before sending request to the API.

B.

Override getResponse, save the response to a variable, check if the response exists, then return.

C.

Implement _setCachedQuotes() and _getCachedQuotes(), return the data if the request matches.

Buy Now
Questions 14

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:

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.

Buy Now
Questions 15

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

Buy Now
Exam Code: AD0-E722
Exam Name: Adobe Commerce Architect Master
Last Update: May 13, 2024
Questions: 50
AD0-E722 pdf

AD0-E722 PDF

$28  $80
AD0-E722 Engine

AD0-E722 Testing Engine

$33.25  $95
AD0-E722 PDF + Engine

AD0-E722 PDF + Testing Engine

$45.5  $130