Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dumps65

Adobe AD0-E722 Dumps

Page: 1 / 5
Total 50 questions

Adobe Commerce Architect Master Questions and Answers

Question 1

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

Question 2

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 3

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?

Options:

A.

Create two test classes with one test method each. Use the @magentoExecuteinstoreContext 3 and $MagentoExecuteinStoreContext 4 annotations on the class level.

B.

Create one test class with two test methods. Use the emagentostorecontext 3 annotation in one method and amagentostorecontext 4 in the other one.

C.

Create one test class with one test method. Use the \Magento\TestFramework\store\ExecuteinstoreContext class once in the fixture and another time in the test.

Question 4

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)

as

B)

as

C)

as

Options:

A.

Option A

B.

Option B

C.

Option C

Question 5

A developer needs to uninstall two custom modules as well as the database data and schemas. The developer uses the following command: bin/magento module:uninstall Vendor_SampleMinimal Vendor_SampleModifyContent

When the command is run from CLI, the developer fails to remove the database schema and data defined in the module Uninstall class. Which three requirements should the Architect recommend be checked to troubleshoot this issue? (Choose three.)

Options:

A.

invoked uninstall() and uninstallschema are defined in the Uninstall class

B.

invoked unlnstalK) method is implemented in the Uninstall class

C.

bin/magento maintenance:enable command should be run in CLI before

D.

--remove-data option is specified as an argument for the CLI command

E.

--remove-schema and --remove-data options are specified as arguments for the CLI command

F.

composer.json file is present and defines the module as a composer package

Question 6

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:

as

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?

Options:

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.

Question 7

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.

Question 8

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.

Question 9

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:

as

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.

Question 10

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 11

An Adobe Commerce Architect designs and implements functionality that introduces a new Complex Product Type to the existing Adobe Commerce website. Besides visual demonstration of the new product type, the changes include adjustments to the price index.

The website utilizes a multi-dimensional indexer feature to store the price index. The Architect decides to cover it with integration tests. After creating and running one test, the Architect discovers that database storage is not being fully cleaned.

The test method has the following annotation declaration:

as

Which adjustment should the Architect make to fix this issue?

Options:

A.

Add annotation @magentoApplsolation enabled to method PHPDoc

B.

Modify method PHPDoc and change annotation @magentoDbIsolation to enabled

C.

Create Customer_ProductType: :Test/_files/{fixture_name)_rollback.php for every fixture

Question 12

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:

as

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?

Options:

A.

Modify the code of MyService so that the number of different classes and interfaces referenced anywhere inside the class is fewer than 13.

B.

Consolidate the constants referencing other classes into a string representation.

C.

Introduce a new class accepting those five scalars and use it in the constructor and the remaining logic of MyService.

Question 13

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

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?

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

Question 15

In a custom module, an Architect wants to define a new xml configuration file. The module should be able to read all the xml configuration files declared in the system, merge them together, and use their values in PHP class.

Which two steps should the Architect make to meet this requirement? (Choose two.)

Options:

A.

Inject a "reader" dependency for "Magento\Framework\Config\Data" in di.xml

B.

Write a plugin for \Magento\Framework\Config\Data::get() and read the custom xml files

C.

Create a Data class that implements "\Magento\Framework\Config\Data"

D.

Append the custom xml file name in "Magento\Config\Model\Config\Structure\Reader" in di.xml

E.

Make a Reader class that implements '\Magento\Framework\Config\Reader\Filesystem"

Page: 1 / 5
Total 50 questions