An Architect wants to create an Integration Test that does the following:Adds a product using a data fixtureExecutes $this->someLogic->execute($product) on the productChecks 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?
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 custom cron job has been added to an Adobe Commerce system to collect data for several reports. Its crontab.xml configuration is as follows:The job is data intensive and runs for between 20 and 30 minutes each night.Within a few days of deployment, it is noticed that the site’s sitemap.xml file has not been updated since the new job was added.What should be done to fix this issue?
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 page template.What should be added to set the customer attribute correctly?
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\ namespaceThe ruleset.xml file extending the Magento 2 Coding StandardWhat should the Architect do to implement the new code rule?
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_SampleModifyContentWhen 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.)