An Adobe Commerce Architect gets a request to change existing payment gateway functionality by allowing voided transactions only for a certain range of paid amounts.
In the vendor module file etc/config.xml, payment method has an option can,_void set to 1.
How should this customization be done?
An Architect working on a headless Adobe Commerce project creates a new customer attribute named my_attribure. Based on the attribute value of the customer, the results of GraphQI queries are modified using a plugin. The frontend application is communicating with Adobe Commerce through Varnish by Fastly, which is already caching the queries that will be modified. The Adobe Commerce Fastly extension is installed, and no other modifications are made to the application.
Which steps should the Architect take to make sure the vcl_hash function of Varnish also considers the newly created attribute?
A)

B)

C)

Answer : B
A company has an Adobe Commerce store. An attribute named "my.attribute" (type "text") is created to save each product's global ID that is shared between multiple systems.
Several months after going live, the values of "my.attribute" are all integer. This causes a problem for the other systems when those systems receive this data.
An Adobe Commerce Architect needs to recommend a solution to change the type of "my.attribute" from textXo int
Which two steps should the Architect take to achieve this? (Choose two.)
Answer : A, D
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 developments are valid when reviewing the implementation? (Choose three.)
Answer : A, C, F
To create a new product type with its own custom pricing logic, you need to consider the following developments:
Content of the etc/product_types.xml file. This file will define the name, label, modelInstance, and priceModel of the new product type. The modelInstance will specify the custom type model that extends from the abstract Product Type model. The priceModel will specify the new price model that extends \Magento\Catalog\Model\Product\Type\Price.
Custom type model extended from the abstract Product Type model. This model will implement the logic and behavior of the new product type, such as how to prepare product for cart, how to process buy request, how to check product options, etc.
New price model extended \Magento\Catalog\Model\Product\Type\Price. This model will implement the custom pricing logic for the new product type, such as how to calculate final price, tier price, minimal price, etc.
1: https://meetanshi.com/blog/create-custom-product-type-in-magento-2/
An Architect is reviewing a custom module that is logging customer activity data on storefront using observers. The client reports that logs were recorded while the client was previewing storefront catalog pages from Admin Panel for a future scheduled campaign, using Adobe Commerce staging preview functionality.
What should the Architect check first to address this issue9
Answer : C
It will allow you to exclude logging observers from being executed during staging preview functionality by adding them to bannedObservers parameter of \Magento\staging\Model\Event\Manager type in di.xml file. This will prevent customer activity data from being logged while previewing storefront catalog pages from Admin Panel for a future scheduled campaign.
The Architect should check the list of logging observers in bannedObservers parameter of \Magento\Staging\Model\Event\Manager type in di.xml. This parameter defines the list of observers that should not be executed during staging preview. The Architect should add the logging observers to this list to prevent them from recording customer activity data while previewing the storefront catalog pages from Admin Panel. Reference: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/staging.html
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 /vi/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?
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 solution should be used to meet this requirement?
Answer : C, C
thesortOrderproperty from the plugin node declared in di.xml determines the plugin's prioritization when more than one plugin is observing the same method. The Magento\Framework\Interception\PluginListInterface which is implemented by Magento\Framework\Interception\PluginList\PluginList is responsible to define when to call the before, after, and around methods for each plugin.
Therefore, to log the result of a ServiceClass::getData method execution after all plugins have executed, the solution should be: