[Jan-2024] Adobe AD0-E718 Official Cert Guide PDF
Exam AD0-E718: Adobe Commerce Architect Master - TrainingDumps
Adobe Commerce Architect Master exam is a challenging and comprehensive certification exam that tests the expertise of professionals in e-commerce architecture and development using Adobe Commerce. It is a valuable credential for individuals who want to demonstrate their skills and advance their careers in this field. Becoming certified as an Adobe Commerce Architect Master can open up new opportunities and enhance one's professional reputation in the industry.
NEW QUESTION # 23
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.)
- A. Write a plugin for \Magento\Eav\Model\Entity\Attrlbute\Backend\AbstractBackend::afterLoad() and load data from "catalog_product_entity_int"
- B. Create a Data Patch and update 'my.attribute' type from "text" to "inf
- C. Run the Command bin/magentc indexer: reset catalog_product_attribute
- D. Go to Admin > Stores > Attributes > Product, edit "my.attribute" and update type from "text' to "inf
- E. Migrate data from table "catalog_product_entity_text" to "catalog.producLentityjnt" for the attribute.id
Answer: B,E
Explanation:
Explanation
Option A is correct because it will migrate data from one table to another based on the attribute id, which is required when changing the attribute type . Option D is correct because it will create a data patch that will update 'my.attribute' type from "text" to "int", which is a recommended way of changing the attribute type programmatically4.
NEW QUESTION # 24
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?
- A. Write a before plugin to \Magento\Quote\Model\QuoteManagement::placeOrder() and add the custom tax to the quote
- B. Declare a new total collector in "etc/sales.xml" in a custom module
- C. Add a new observer to the event 'sales_quote_collect_totals_before" and add the custom tax to the quote
Answer: B
Explanation:
Explanation
you can create tax rules in Magento 2 by going to Stores > Taxes > Tax Rules and choosing or adding tax rates. However, this may not be enough for complex tax scenarios that require customization.
https://amasty.com/knowledge-base/how-to-configure-tax-calculation-in-magento-2.html
NEW QUESTION # 25
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_SampleModifyContent When 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.)
- A. bin/magento maintenance: enable command should be run in CLI before
- B. invoked uninstall () method is implemented in the Uninstall class
- C. --remove-data option is specified as an argument for the CLI command
- D. composer.json file is present and defines the module as a composer package
- E. remove-schema and --remove-data options are specified as arguments for the CLI command
- F. Invoke uninstallData() and uninstallSchema () are defined in the Uninstall class
Answer: B,E,F
Explanation:
Explanation
To troubleshoot the issue, the Architect should check that the remove-schema and --remove-data options are specified as arguments for the CLI command, that the Uninstall class defines the uninstallData() and uninstallSchema() methods, and that the invoked uninstall() method is implemented in the Uninstall class.
NEW QUESTION # 26
An Adobe Commerce Architect is reviewing api-functional test code. Some tests send errors to indicate that the customer address does not exist.
The test codes show the following:
Which steps should the Architect take to fix the test errors?
A)
B)
C)
- A. Option C
- B. Option A
- C. Option B
Answer: C
Explanation:
The test errors are caused by using the wrong customer ID and address ID in the request. The correct customer ID and address ID should be obtained from the response of the previous request to create a customer and an address. The test code should use $this->customer->getId() and $this->address->getId() instead of hard-coded values. Reference: https://devdocs.magento.com/guides/v2.4/get-started/web-api-functional-testing.html
NEW QUESTION # 27
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.
How should the Architect fix the code so that it complies with the coding standard rule?
- A. Modify the code of Myservice so the number of different classes, interfaces, and scalar types used as parameters in the constructor and other methods is less than 13
- B. Introduce a new class accepting those five scalars and use it in the constructor and the remaining logic of Myservice
- C. Modify the code of Myservice so that the number of different classes and interfaces referenced anywhere inside the class is less than 13
Answer: B
Explanation:
The best way to fix the code so that it complies with the coding standard rule is to introduce a new class accepting those five scalars and use it in the constructor and the remaining logic of Myservice. This will reduce the number of different classes, interfaces, and scalar types used as parameters in the constructor and other methods to less than 13, which is the limit set by the coding standard. Additionally, any extra code that is not necessary can be removed to reduce the general complexity of the class and improve readability.
The coding standard rule that is violated by the code is the Coupling Between Objects (CBO) metric. This metric measures the number of different classes and interfaces that a class depends on. A high CBO value indicates that the class is tightly coupled with other classes and interfaces, which makes it harder to maintain and test. The recommended CBO value for Adobe Commerce classes is less than 13. To reduce the CBO value of Myservice, the Architect should introduce a new class that encapsulates the five scalar parameters that configure the behavior of Myservice. This way, the constructor of Myservice will only depend on one additional class instead of five scalars, and the CBO value will be reduced by four. Reference: https://devdocs.magento.com/guides/v2.4/coding-standards/code-standard-php.html#coupling-between-objects
NEW QUESTION # 28
An Architect is configuring the preload.keys for Redis on an Adobe Commerce on-premise instance.
The Architect discovers that the following cache keys are loaded on each frontend request: eav_entity_types, GLOBAL_PLUGIN_LIST, DB_IS_UP_TO_DATE , SYSTEM_DEFAULT.
* The id_prefix of the frontend =>page_cache is set to 061_.
* The id_prefix of frontend => default: is not set.
* The Architect has enabled and configured Redis L2 caching.
How should the preload.keys be configured?
A)
B)
C)
D)
- A. Option C
- B. Option A
- C. Option B
- D. Option D
Answer: B
Explanation:
The preload.keys should be configured as shown in option A.
This will allow Redis to preload the cache keys that are loaded on every page request, such as eav_entity_types, GLOBAL_PLUGIN_LIST, DB_IS_UP_TO_DATE , SYSTEM_DEFAULT. The keys should include the database prefix (061_) and the :hash suffix for L2 caching. The :hash suffix tells Redis to load only the hashes from Redis and the data from local storage. This will reduce the pressure on Redis and improve the performance of Magento.
NEW QUESTION # 29
A representative of a small business needs an Adobe Commerce Architect to design a custom integration of a third-party payment solution. They want to reduce the list of controls identified in their Self-Assessment Questionnaire as much as possible to achieve PCI compliance for their existing Magento application.
Which approach meets the business needs?
- A. Utilize the Advanced Encryption standard (AES-256) algorithm to encrypt all customer-sensitive data from the payment module.
- B. Utilize the payment provider Iframe system to isolate content of the embedded frame from the parent web page.
- C. Utilize a trusted signed certificate issued by a Certification Authority (CA) to secure each connection made by the payment solution protocol via HTTPS.
Answer: C
Explanation:
Explanation
The best approach to meet the business needs is to utilize a trusted signed certificate issued by a Certification Authority (CA) to secure each connection made by the payment solution protocol via HTTPS. This will ensure that the data exchanged between the application, the payment provider, and the customer is all encrypted and secure. Additionally, this approach will help to reduce the list of controls identified in the Self-Assessment Questionnaire, as it is a secure and approved method of protecting customer data.
NEW QUESTION # 30
A merchant asks for a new category attribute to allow uploading an additional mobile image against categories. The merchant utilizes the content staging and preview feature in Adobe Commerce and wants to schedule and review changes to this new mobile image field.
A developer creates the attribute via a data patch and adds it to view/adminhtml/ui_component/category_form.xml. The attribute appears against the category in the main form, but does not appear in the additional form when scheduled updates are made.
To change this attribute when scheduling new category updates, which additional action should the Architect ask the developer to take?
- A. The attribute must also be added to view/adminhtml/ul_component/catalogstaging_category_update_form.xml.
- B. The attribute must have its apply_to field set to "staging" in the data patch file.
- C. The attribute must have<item name=''allow_staging'' xsi:type="boolean''>true<item> set in the =category_form.xml file under the attributes config" section.
Answer: A
Explanation:
This is because, in order to change the attribute when scheduling new category updates, the attribute must be added to the view/adminhtml/ulcomponent/catalogstagingcategoryupdateform.xml file in order to be displayed in the additional form when scheduling updates. This additional form is used to set the values for the category attributes when scheduling updates.
NEW QUESTION # 31
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. Create a new cron group for the reporting job. Specifying
<use_separate_process>1/use_separate_process> - B. Change the schedule of the sitemap_generate cron job to 30 o * * * so that it runsafter the aacher_reporcmg_datajob has completed.
- C. Break the data gathering job into a number of smaller jobs, so that each individual job runs for a maximum of 5 minutes.
Answer: A
Explanation:
Explanation
This will ensure that the reporting job runs in its own process, separate from other cron jobs, and will not interfere with the sitemapgenerate cron job. This will ensure that the sitemapgenerate cron job runs as soon as the reporting job is finished, ensuring that the sitemap.xml is always up to date.
NEW QUESTION # 32
An Adobe Commerce Architect needs to create a new customer segment condition to enable admins to specify an 'Average sales amount' condition for certain segments.
The Architect develops the custom condition under
vendor\Module\Model\Segment\condition\AverageSalesAmount with all of its requirements:
During testing, the following error appears:
Which two steps should the Architect complete to fix the problem? (Choose two.)
- A.

- B.

- C.

- D.

- E.

Answer: A,E
NEW QUESTION # 33
A representative of a small business needs an Adobe Commerce Architect to design a custom integration of a third-party payment solution. They want to reduce the list of controls identified in their Self-Assessment Questionnaire as much as possible to achieve PCI compliance for their existing Magento application.
Which approach meets the business needs?
- A. Utilize the Advanced Encryption standard (AES-256) algorithm to encrypt all customer-sensitive data from the payment module.
- B. Utilize a trusted signed certificate issued by a Certification Authority (CA) to secure each connection made by the payment solution protocol via HTTPS.
- C. Utilize the payment provider Iframe system to isolate content of the embedded frame from the parent web page.
Answer: C
Explanation:
The Architect should utilize the payment provider iframe system to isolate content of the embedded frame from the parent web page. This approach will reduce the list of controls identified in their Self-Assessment Questionnaire as much as possible to achieve PCI compliance for their existing Magento application. By using an iframe, the payment provider handles all customer-sensitive data and Magento does not store or process any cardholder data. This reduces the PCI scope and simplifies the compliance process. Option B is incorrect because utilizing the Advanced Encryption Standard (AES-256) algorithm to encrypt all customer-sensitive data from the payment module will not reduce the PCI scope, but rather increase it. Magento will still store and process cardholder data, which requires more controls and validation. Option C is incorrect because utilizing a trusted signed certificate issued by a Certification Authority (CA) to secure each connection made by the payment solution protocol via HTTPS will not reduce the PCI scope, but rather ensure the security of data transmission. Magento will still store and process cardholder data, which requires more controls and validation. Reference: https://devdocs.magento.com/guides/v2.4/payments-integrations/payment-gateway/integration.html
NEW QUESTION # 34
An Adobe Commerce Architect is creating a new GraphQL API mutation to alter the process of adding configurable products to the cart. The mutation accepts configurable product ID. If the given product has only one variant, then the mutation should add this variant to the cart and return not nullable cart type. If the configurable product has more variants, then the mutation should return not nullable conf igurableProduct type.
The mutation declaration looks as follows:
How should the Adobe Commerce Architect declare output of this mutation?
A)
B)
C)
- A. Option A
- B. Option B
- C. Option C
Answer: C
Explanation:
According to the Adobe Commerce Developer Guide2, a union type is a special kind of object that can be one of several types.
It is useful for returning disjoint data types from a single field.
In this case, the output of the mutation can be either Cart or ConfigurableProduct, depending on the number of variants of the given product.
Therefore, a union type should be declared for the output of this mutation, as shown in option C.
The other options are not valid syntax for union types.
NEW QUESTION # 35
An Adobe Commerce Architect is working on a scanner that will pull prices from multiple external product feeds. The Architect has a list of vendors and decides to create new config file marketplacejeeds.xml.
Which three steps can the Architect take to ensure validation of the configuration files with unique validation rules for the individual and merged files? (Choose three.)
- A. Implement validation rules in the Converter class for the Config Reader
- B. Provide schema to validate a merged file.
- C. Create validation rules in marketplace.schema.xsd.
- D. Provide schema to validate an individual file.
- E. Create a class that implements \Magento\Framework\Config\Datalnterface.
- F. Add the Uniform Resource Name to the XSD file in the config XML file.
Answer: B,E,F
Explanation:
To ensure validation of the configuration files with unique validation rules for the individual and merged files, the Architect can take the following steps: Add the Uniform Resource Name to the XSD file in the config XML file. This will allow the configuration file to reference the schema that defines its structure and validation rules. Provide schema to validate a merged file. This will allow the configuration object to validate the merged configuration data from all modules. Provide schema to validate an individual file. This will allow the configuration object to validate each module's configuration data before merging. Create a class that implements \Magento\Framework\Config\Datalnterface. This will allow the configuration object to read and process the configuration data from XML files. See Module configuration files in the Adobe Commerce Help Center1. Reference: https://experienceleague.adobe.com/docs/commerce-operations/configuration-guide/files/module-files.html?lang=en1
NEW QUESTION # 36
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 requirement? (Choose two.)
- A. Append the custom xml file name in "Magento\Config\Model\Config\Structure\Reader" in di.xml
- B. Inject a "reader" dependency for "Magento\Framework\Config\Data" in di.xml
- C. Make a Reader class that implements "\Magento\Framework\Config\Reader\Filesystem"
- D. Write a plugin for \Magento\Framework\Config\Data::get() and read the custom xml files
- E. Create a Data class that implements "\Magento\Framework\Config\Data'
Answer: C,E
Explanation:
Explanation
Based on web searches, it seems that Magento uses different classes and interfaces to interact with configuration files, such as Data, Reader, and Converter According to the documentation1, Data is a class that provides access to configuration data using a scope.
Reader is an interface that reads configuration data from XML files. Converter is an interface that converts XML data into an array representation.
Based on these definitions, I would say that two possible steps that the Architect should make to meet the requirement are:
* C. Create a Data class that implements "\Magento\Framework\Config\Data"
* E. Make a Reader class that implements "\Magento\Framework\Config\Reader\Filesystem" These steps would allow the custom module to read all the XML configuration files declared in the system, merge them together, and use their values in PHP class.
NEW QUESTION # 37
An Adobe Commerce Architect needs to ensure zero downtime during the deployment process of Adobe Commerce on-premises. Which two steps should the Architect follow? (Choose two.)
- A. Enable config flag under deployment/blue_ green/enabled
- B. Enable config flag under developer/zere _down_time/enabled
- C. Run bin/magento setup:upgrade -dry-run=true to upgrade database
- D. Run bin/magento setup:upgrade --keep-generated to Upgrade database
- E. Rim bin/magento setup:upgrade --convert-old-scripts=true to Upgrade database
Answer: A,C
Explanation:
1. Running bin/magento setup:upgrade -dry-run=true allows you to check the upgrade scripts without applying any changes to the database. This can help you identify any potential issues before the actual upgrade. E. Enabling config flag under deployment/blue_ green/enabled allows you to use the blue-green deployment strategy, which creates a copy of the production environment and switches traffic between the two environments after testing the new version. This can help you achieve zero downtime during the deployment process. Reference: https://devdocs.magento.com/guides/v2.4/comp-mgr/cli/cli-upgrade.html#upgrade-cli-dryrun https://devdocs.magento.com/cloud/live/stage-prod-migrate-prereq.html#blue-green-deployment
NEW QUESTION # 38
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?
- A. Use token-based authentication to obtain the Admin Token. The third-party system will utilize the REST endpoint using the admin username and password to get the Admin Token, which will be used as the Bearer Token to authorize.
- B. Use token-based authentication to obtain an Integration Token. Integration will be created and activated in the admin panel using default integration token settings to get access to the token, which will be used as the Bearer Token to authorize.
- C. Use OAuth-based authentication to provide access to system resources. Integration will be registered by the merchant in the panel an OAuth handshake during activation. The third-party system should follow OAuth protocol to authorize.
Answer: C
Explanation:
To create an application that will integrate the Adobe Commerce system to get orders data for reporting using the get /v1/orders endpoint, you should use OAuth-based authentication to provide access to system resources. OAuth is a token-passing mechanism that allows a system to control which third-party applications have access to internal data without revealing or storing any user IDs or passwords. The integration will be registered by the merchant in the admin panel and will perform an OAuth handshake during activation. The third-party system should follow OAuth protocol to authorize. The merchant will have the ability to restrict or extend access to resources as well as to revoke the access using Admin Panel. Reference: 1
1: https://devdocs.magento.com/guides/v2.3/get-started/authentication/gs-authentication-oauth.html
NEW QUESTION # 39
......
Free AD0-E718 Exam Dumps to Improve Exam Score: https://pdfvce.trainingdumps.com/AD0-E718-valid-vce-dumps.html

