Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Adobe AD0-E722 Dumps

Page: 1 / 4
Total 50 questions

Adobe Commerce Architect Master Questions and Answers

Question 1

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

Options:

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

Question 2

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?

Options:

A.

Mark the controller by setting no-cache HTTP headers

B.

Invalidate the status of gift registry indexers

C.

Specify a new action in a sections.xml configuration file

Question 3

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.

Question 4

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'

Question 5

An Adobe Commerce Architect is asked by a merchant using B2B features to help with a configuration issue.

The Architect creates a test Company Account and wants to create Approval Rules for orders. The Approval Rules tab does not appear in the Company section in the Customer Account Menu when the Architect logs in using the Company Administrator account.

Which two steps must be taken to fix this issue? (Choose two.)

Options:

A.

Set 'Enable B2B Quote’ in the B2B Admin to TRUE

B.

Merchant needs to log out of frontend and then log back in to load new permissions

C.

Set 'Enable Purchase Orders' in the B2B Admin to TRUE

D.

Set 'Enable Purchase Orders' on the Company Record to TRUE

E.

Make sure that the 'Purchase Order' payment method is active

Question 6

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

Question 7

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?

Options:

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.

Question 8

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

Question 9

An Adobe Commerce Architect is troubleshooting an issue on an Adobe Commerce Cloud project that is not yet live.

The developers copied the Staging Database to Production in readiness to Go Live. However, when the developers test their Product Import feature, the new products do not appear on the front end.

The developers suspect the Varnish Cache is not being cleared. Staging seems to work as expected. Production was working before the database migration.

What is the likely cause?

Options:

A.

Thefatlycredentials in the Production Database are incorrect.

B.

A deployment should have been done on Production to initialize Fatly caching.

C.

The site URLs in the Production Database are the URLs of the Staging Instance and must be updated

Question 10

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

Question 11

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

Options:

A.

Set mage_ihdexer_threads_COUNT environment variable to enable parallel mode

B.

Move catalog_Price_index indexer to another custom indexer group

C.

Enable price index customer group merging for products without tier prices

D.

Set Customer Share Customer Accounts Option to Global

E.

Edit customer groups to exclude websites that they are not using

Question 12

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:

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

Options:

A.

Change the annotation to Use@magentoApiDataFixture Magento/Customer/_files/ instead Or dmagentoDataFixture Magento/Customer/_files/customer_one_address.php

B.

Set the annotation to USe AmagentoPersistDataFixture Magento/Cu5tomer/_f iles/custcwer_one_address.php instead Of @magentoDataFixture Magento/Customer/_f iles/customer_one_address.php

C.

Update the annotation to Specify addreSSjd £niagentoDataFixture Magento/Customer/_files/customer_one_address.php with:{Maddress_id":"$address.id$"}

Question 13

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.

Question 14

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

Question 15

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

Page: 1 / 4
Total 50 questions