What should be the next step?

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

June 12, 2023No CommentsREAD MORE +

Which solution should the Architect recommend?

While reviewing a newly developed pull request that refactors multiple custom payment methods, the Architect notices multiple classes that depend on MagentoFrameworkEncryptionEncryptorInterf ace to decrypt credentials for sensitive data. The code that is commonly repeated is as follows: In each module, the user_secret config is declared as follows: The Architect...

June 11, 2023No CommentsREAD MORE +

Which two options should the Architect consider to meet these requirements?

An Adobe Commerce Architect needs to scope a bespoke news section for a merchant's Adobe Commerce storefront. The merchant's SEO agency requests that the following URL structure: news/{date}/{article_url_key}l where {date} is the publication date of the article, and {article_url_key} is the URL key of the article. The Architect scopes that...

June 10, 2023No CommentsREAD MORE +

What prevented the value type of field my_attribute from changing?

An external system integrates functionality of a product catalog search using Adobe Commerce GraphQL API. The Architect creates a new attribute my_attribute in the admin panel with frontend type select. Later, the Architect sees that Productinterface already has the field my_atcribute, but returns an mc value. The Architect wants this...

June 9, 2023No CommentsREAD MORE +

What should be added to set the customer attribute correctly?

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

June 9, 2023No CommentsREAD MORE +

How should the Architect make sure that test configuration data is added to test methods according to best practices?

An Adobe Commerce Architect creates a new functionality called Customs Fee, which adds a new total that applies to additional costs for handling customs clearance expenses. The extension allows specifying fee value for every website separately via the Adobe Commerce Configuration System. The Architect plans to cover new functionality with...

June 8, 2023No CommentsREAD MORE +

Which solution should be used to meet this requirement?

An Adobe Commerce Architect needs to log the result of a ServiceClass : : ge-Dara method execution after all plugins have executed. The method is public, and there are a few plugins declared for this method. Among those plugins are after and around types, and all have sortOrder specified. Which...

June 8, 2023No CommentsREAD MORE +

How should the Architect fix the code so that it complies with the coding standard rule?

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: The Architect looks at the class and notices that the constructor has 15 parameters. Five of these parameters are scalars configuring the behavior of Kyservice....

June 8, 2023No CommentsREAD MORE +

Which two steps must be taken to fix this issue?

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

June 7, 2023No CommentsREAD MORE +

Which two steps should the Architect make to meet this requirement?

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

June 6, 2023No CommentsREAD MORE +