An Adobe Commerce store owner sets up a custom customer attribute “my_attribute” (type int).An Architect needs to display customer-specific content on the home page to Customers with “my_attribute” greater than 3. The website is running Full Page Cache.Using best practices, which two steps should the Architect take to implement these requirements? (Choose two.)
An existing Adobe Commerce website is moving to a headless implementation.The existing website features an “All Brands” page, as well as individual pages for each brand. All brand-related pages are cached in Varnish using tags in the same manner as products and categories.Two new GraphQL queries have been created to make this information available to the frontend for the new headless implementation:During testing, the queries sometimes return out-of-date information.How should this problem be solved while maintaining performance?
An Adobe Commerce Architect needs to scope a bespoke news section for a merchants Adobe Commerce storefront. The merchant’s SEO agency requests that the following URL structure: news/{date}/{article_url_key}, where {date} is the publication date of the article, and {article _url_key} is the URL key of the article.The Architect scopes that a news entity type will be created. The date and URL key data will be stored against each record and autogenerated on save. The values will be able to be manually overridden.The Architect needs to manage routing this functionality and adhere to best practice.Which two options should the Architect consider to meet these requirements? (Choose two.)
An Adobe Commerce Architect is working on a sales campaign to present a new product on the site that allows the purchase of a pre-defined set of products with a discount. Each product in the set should have a separate stock and tax class.One requirement is to use a third-party system to build reports with REST API to fetch the following data:SKU -Qty -Original price -Sales price -Tax amount -Which solution should the Architect use to meet these requirements?
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:In each module, the user_secret config is declared 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?
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.How should the Architect add the taxes for all orders?