Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Question # 4

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 # 5

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

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

Full Access
Question # 6

An Architect is configuring the preload.keys for Redis on an Adobe Commerce on-premise instance.

The Architect discovers that the following cache keys are loaded on each frontend request: EAV_ENTITY_TYPES, GLOBAL_PLUGIN_LIST, DB_IS_UP_TO_DATE, SYSTEM_DEFAULT.

• The id_prefix of the frontend => page_cache is set to 063_.

• The id_pref ix of frontend => default is set to 762_.

• The Architect has enabled and configured Redis L2 caching.

How should the preload.keys be configured?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

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 Adobe Commerce Architect creates a stopword for the Italian locale named stopwordsjtJT.csv and changes the stopword directory to the following: /app/code/Custo«vendor/Elasticsearch/etc/stopwords/

What is the correct approach to change the stopwords directory inside the custom module?

A.

Add stopwords to the stopwordsDirectory and CustomerVendor_Elasticsearch to the stopword sModule parameter Of the \Magento\Elasticsearch\SearchAdapter\Query\Preprocessor\Stopwords ClflSS Via di.xml

B.

Add a new ClaSS implementing \Magento\Framework\Setup\Patch\PatchInterface to modify the default Value Of elasticsearch\customer\stopwordspath in core.conf ig_data table.

C.

Add stopwords to the stopwordsDirectory parameter of the\Hagento\Elasticsearch\Model\Adapter\Document\DirectoryBuilder ClaSS Via stopwords/it.xml and Adobe Commerce will automatically detect the current module.

Full Access
Question # 9

Due to a marketing campaign, a website is experiencing a very large number of simultaneously placed orders, which is affecting checkout performance. The website is in the production deploy mode.

Which two website settings can an Architect optimize to decrease the impact on checkout performance? (Choose two.)

A.

Asynchronous indexing admin panel Setting (Stores > Settings > Configuration > Advanced> Developer > Grid Settings > Asynchronous indexing) can be enabled by executing the following CLI Command: bin/Magento config:set dev/grid/async_indexing 1

B.

Asynchronous email notifications admin panel setting (stores > settings > configuration > sales > sales Emails > General settings > Asynchronous) can be enabled

C.

A new database can be created and the Split Database feature can be automatically configured with the following command: bin/Magento setup:db-schema:spiit-sales –host"- --dbnanie""" --username""

D.

The website deploy mode can be set to siege by executingthe following CLI command: bin/Magento deploy:mode:set siege, provided that it will be changed back to production as soon as the number of simultaneously placed orders decreases to acceptable levels

E.

Multithreaded checkout processing admin panel setting (stores > settings > configuration > sales > checkout > General settings > Asynchronous) can be set to a higher value representing the number of PHP threads used exclusively for checkout

Full Access
Question # 10

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 # 11

A third-party company needs to create an application that will integrate the Adobe Commerce system to get orders data for reporting. The integration needs access to the GET /Vl/orders endpoint. It will call this endpoint automatically every hour around the clock. The merchant wants the ability to restrict or extend access to resources as well as to revoke the access using Admin Panel.

Which type of authentication available in Adobe Commerce should be used and implemented in a third-party system for this integration?

A.

Use token-based authentication to obtain the Admin Token. The third-party system will utilize the REST endpoint using the admin username and password to get the Admin Token, which will be used as the Bearer Token to authorize.

B.

Use token-based authentication to obtain an integration Token, integration will be created and activated in the admin panel using default integration token settings to get access to the token, which will be used as the Bearer Token to authorize.

C.

Use OAuth-based authentication to provide access to system resources. Integration will be registered by the merchant in the admin panel with an OAuth handshake during activation. The third-party system should follow OAuth protocol to authorize.

Full Access
Question # 12

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)

A.

Option A

B.

Option B

C.

Option C

Full Access
Question # 13

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

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

Full Access
Question # 14

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:

Which adjustment should the Architect make to fix this issue?

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

Full Access
Question # 15

An Architect needs to create an additional regional UK website with its own website currency set to GBP in Adobe Commerce. An existing US website is using USD as a default base and website currency.

After the first week of sales in the new UK website, an administrator notices that all sales totals in Sales Orders report show £0.00.

How should this issue be resolved?

A.

Configure currency rates for GBP and USD, so they are not empty.

B.

Refresh Lifetime Statistics for "Total Invoiced'.

C.

Make sure that orders are shipped and not left in processing state.

Full Access