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...
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...
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....
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...
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...
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...
Which two steps should the Architect recommend to the developer to resolve this issue?
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...
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...
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...
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...