Get all the Information About Adobe AD0-E718 Exam 2023 Practice Test Questions
Check Real Adobe AD0-E718 Exam Question for Free (2023)
Adobe AD0-E718 exam is divided into different sections, each of which covers a specific topic related to Adobe Commerce. The first section covers the fundamentals of Adobe Commerce, including understanding the platform's architecture, data models, and business logic. The second section covers the design and development of Adobe Commerce solutions, including creating custom modules, themes, and extensions. The third section covers the deployment and maintenance of Adobe Commerce solutions, including configuring servers, managing data, and troubleshooting issues.
To pass the Adobe AD0-E718 certification exam, candidates must demonstrate their ability to design and develop Adobe Commerce Cloud solutions that meet the needs of the business. They must also have a deep understanding of Adobe Commerce Cloud features and functionalities and be able to apply them to solve complex business problems. AD0-E718 exam covers topics such as Adobe Commerce Cloud architecture, integration with third-party systems, customization and development, and performance optimization.
NEW QUESTION # 17
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?
- A. system property should be added with a value of true
- B. scope property should be added with a value of global
- C. group property should be added with a value of 1
Answer: C
Explanation:
The group property specifies the attribute group ID that the customer attribute belongs to. By setting the group property to 1, the reward_card_number attribute will be added to the default attribute group and will be available in the My account/My rewards page template. Reference: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/attributes.html#customer-eav-attribute
NEW QUESTION # 18
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 a trusted signed certificate issued by a Certification Authority (CA) to secure each connection made by the payment solution protocol via HTTPS.
- B. Utilize the Advanced Encryption standard (AES-256) algorithm to encrypt all customer-sensitive data from the payment module.
- C. Utilize the payment provider Iframe system to isolate content of the embedded frame from the parent web page.
Answer: A
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 # 19
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 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.
- C. 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.
Answer: B
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 # 20
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?
- A. Declare a new plugin with the sortOrder value higher than the highest declared plugin sortOrder and implement aroundGetData method
- B. Declare a new plugin with the sortOrder value lower than the lowest declared plugin sortOrder and implement aroundGetData method
- C. Declare a new plugin with the sortOrder value higher than the highest declared plugin sortOrder and implement afterGetData method.
Answer: A
Explanation:
Explanation
The aroundGetData method is the best option for this requirement because it provides the flexibility to log the result of the ServiceClass::getData method execution after all plugins have executed. This is because the aroundGetData method is executed before and after the method execution, allowing the Adobe Commerce Architect to log the result of the method execution after all plugins have executed.
Reference: https://docs.adobe.com/content/help/en/experience-manager-65/developing/extending/plugins-and-ev
NEW QUESTION # 21
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
- A. The logging observers being copied from etc\events.xml to etc\adminhtml\events.xml with the attribute disabled=''true"
- B. The list of logging observers in bannedObservers parameter of
\Magento\staging\Model\Event\Managertype in di.xml - C. The plugin for the public method isAllowedObserver() from \Magento\Staging\Model\Event\Manager that alters the return value
Answer: B
Explanation:
Explanation
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.
NEW QUESTION # 22
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.

Answer: A
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 # 23
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 a trusted signed certificate issued by a Certification Authority (CA) to secure each connection made by the payment solution protocol via HTTPS.
- B. Utilize the payment provider Iframe system to isolate content of the embedded frame from the parent web page.
- C. Utilize the Advanced Encryption standard (AES-256) algorithm to encrypt all customer-sensitive data from the payment module.
Answer: B
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 # 24
Since the last production deployment, customers can not complete checkout. The error logs show the following message multiple times:
The Architect finds a deployed feature that should limit delivery for some specific postcodes.
The Architect sees the following code deployed in/webapi_rest \di .xml and etc\frontend\di xml
Which step should the Architect perform to solve the issue?
- A. Replace the injected dependency
\Magento\Checkout\Model\Session\With\Magento\Framework\Session\SessionManagerInterface - B. Change 'after' plugin with 'around' plugin. The issue is being caused by calling the result provider code after the code of the original method.
- C. Inject an instance of \Magentro\Quote\API\CartRepostoryInterface and receive cart instance via$this->cartRepository->get($this-session->getQucteId())
Answer: B
NEW QUESTION # 25
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 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.)
- A. Create a custom router that runs before the standard router and matches the news portion of the URL.then looks for and loads a news article by matching the date and URL key parts of the URL.
- B. Create an observer that listens to the controllers_front_send_response_before event, looks for the mm portion of the URL, and If it matches, loads the relevant news article by matching the URL date and URL key parts.
- C. Create a standard controller route and an Index/Index index controller class that loads the relevant news article by matching the URL date and URL key parts.
- D. Create a plugin that intercepts lu^jentoXFraBeworkUppXActien::executed, looks for the news portion of the URL and if it matches, loads the relevant news article by matching the URL date and URL key parts.
- E. Create a standard controller route and mapping the internal URLs (such as news/article/view/id/1) to rewrites that are generated on save and then stored in the URL rewrites table.
Answer: A,C
Explanation:
Explanation
creating a custom router involves several steps, such as:
* Creating a routes.xml file to declare a custom route ID and front name
* Creating a Router.php file to define the custom router class that extends Magento\Framework\App\Router\Base
* Creating an etc/di.xml file to register the custom router class with a specific sortOrder
* Creating controller classes and action methods to handle the requests Based on these steps, I would say that two possible options that the Architect should consider to meet these requirements are:
* A. Create a standard controller route and an Index/Index index controller class that loads the relevant news article by matching the URL date and URL key parts.
* E. Create a custom router that runs before the standard router and matches the news portion of the URL, then looks for and loads a news article by matching the date and URL key parts of the URL.
NEW QUESTION # 26
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 C
- B. Option A
- C. Option B
Answer: A
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 # 27
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: B,E
NEW QUESTION # 28
An Adobe Commerce Architect needs to customize the workflow of a monthly installments payment extension. The extension is from a partner that is contracted with the default website PSR which has its own legacy extension (a module using deprecated payment method).
The installment payment partner manages only initializing a payment, and then hands the capture to be executed by the PSP. Once the amount is successfully captured, the PSP notifies the website through an IPN. The goal of the IPN is only to create an "invoice" and save the 'capture information' to be used later for refund requests through the PSP itself.
The Architect needs the most simple solution to capture the requested behavior without side effects.
Which solution should the Architect implement?
- A. Declare a capture command with type Magento\payment\Gateway\Command\NullCommand for the payment method CommandPool in di.zm1
- B. Add a plugin before the $invoice-> () and changes its input to prevent the call of the $payment-> capture()
- C. Change the can_ capture attribute for the payment method under config.xml to be <can_capture>0</can_capture>
Answer: A
Explanation:
The best solution for the Adobe Commerce Architect to implement in order to capture the requested behavior without side effects is to declare a capture command with type Magento\payment\Gateway\Command\NullCommand for the payment method CommandPool in di.xml. This will allow the partner to initialize the payment and then hand the capture over to the PSP, while also preventing the website from calling the $payment->capture() method. It will also allow the PSP to notify the website through an IPN, which will create an "invoice" and save the 'capture information' to be used later for refund requests through the PSP itself.
The Architect should implement the solution of declaring a capture command with type Magento\Payment\Gateway\Command\NullCommand for the payment method CommandPool in di.xml. This command will do nothing when the capture method is called on the payment method, which is the desired behavior since the capture is handled by the PSP. The NullCommand class implements \Magento\Payment\Gateway\CommandInterface and overrides the execute() method to return null. Option A is incorrect because adding a plugin before the $invoice->capture() method and changing its input will not prevent the call of the $payment->capture() method, but rather change the invoice object that is passed to it. Option B is incorrect because changing the can_capture attribute for the payment method under config.xml to be <can_capture>0</can_capture> will not prevent the capture method from being called, but rather disable the capture option in the Admin panel. Reference: https://devdocs.magento.com/guides/v2.4/payments-integrations/base-integration/facade-configuration.html
NEW QUESTION # 29
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.)
- A. Custom type model extended from the abstract Product Type model
- B. Hydrator for attributes belonging to the new product type
- C. Content of the etc/product_types.xml file
- D. A new class with custom pricing logic, extending the abstract Product model class
- E. Data patch to register the new product type
- F. New price model extending \Magento\Catalog\Model\Product\Type\Price
Answer: A,C,F
Explanation:
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.
Reference:
1: https://meetanshi.com/blog/create-custom-product-type-in-magento-2/
NEW QUESTION # 30
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. Provide schema to validate an individual file.
- B. Create validation rules in marketplace.schema.xsd.
- C. Provide schema to validate a merged file.
- D. Implement validation rules in the Converter class for the Config Reader
- 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: A,B,E
Explanation:
Explanation
The three steps that the Architect can take to ensure validation of the configuration files with unique validation rules for the individual and merged files are: D. Provide schema to validate an individual file, F. Create validation rules in marketplace.schema.xsd, and E. Create a class that implements
\Magento\Framework\Config\DataInterface. By providing schema to validate individual files, creating validation rules in marketplace.schema.xsd, and creating a class that implements
\Magento\Framework\Config\DataInterface, the Architect can ensure that the configuration files are validated with unique validation rules for the individual and merged files.
NEW QUESTION # 31
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. invoked uninstall () method is implemented in the Uninstall class
- B. composer.json file is present and defines the module as a composer package
- C. --remove-data option is specified as an argument for the CLI command
- D. bin/magento maintenance: enable command should be run in CLI before
- 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: A,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 # 32
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. Run bin/magento setup:upgrade --keep-generated to Upgrade database
- B. Run bin/magento setup:upgrade -dry-run=true to upgrade database
- C. Enable config flag under deployment/blue_ green/enabled
- D. Rim bin/magento setup:upgrade --convert-old-scripts=true to Upgrade database
- E. Enable config flag under developer/zere _down_time/enabled
Answer: B,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 # 33
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 indexes were last updated 1 minute ago
A developer verifies that updating and saving product prices adds the relevant product IDs into the catalog_product_price_cl changelog table.
Which two steps should the Architect recommend to the developer to resolve this issue? (Choose two.)
- A. Manually reindex the catalog_product_price index from the Command line:bin\magentor indexer:reindex catalog_product_price.
- B. Reduce the frequency of the cron job to 5 minutes so the items have more time to process.
- C. Invalidate the catalog_product_price indexer in the Adobe Commerce Admin Panel so that it is fully reindexed next time the cron runs.
- D. Make sure that no custom or third-party modules modify the changelog and indexing process.
- E. Make sure that the version_id for the price indexer in the mview_state table is not higher than the last entry for the same column in the changelog table and re-synchronize.
Answer: D,E
Explanation:
To resolve the issue of product price changes not updating on the storefront, you need to take the following steps:
Make sure that no custom or third-party modules modify the changelog and indexing process. Some modules might interfere with the normal functioning of the indexing mechanism and cause data inconsistency or corruption. You can disable any custom or third-party modules that are related to indexing and check if the issue persists.
Make sure that the version_id for the price indexer in the mview_state table is not higher than the last entry for the same column in the changelog table and re-synchronize. The version_id column in the mview_state table indicates the current state of each indexer. If this value is higher than the last entry in the changelog table, it means that the indexer has skipped some records and needs to be re-synchronized. You can use the bin/magento indexer:reset command to reset the state of the price indexer and then run bin/magento indexer:reindex to reindex it.
Reference:
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/indexing.html
https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-index.html
NEW QUESTION # 34
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?
- A. * Create Fixed Bundle Product for gathering simple products;
* Manage price for every selected option;
* Add extension attribute original_simple_price for
\Magento\Sales\Api\Data\OrderItemExtensionInterface and populate value with price of simple product; - B. * Create Dynamic Bundle Product for gathering simple products;
* Utilize Content Staging to manage special prices for bundle products on time for the campaign;
* Expose required data via Adobe Commerce Order API; - C. * Create Grouped Product and Create after plugin on
\Magento\GroupedProduct\Model\Product\Type\Grouped:preparedForCarrAdvanced for bunch products ordering;
* Utilize Content Staging to manage special prices on time for the campaign for simple products;
* Expose required data via Adobe Commerce Order API;
Answer: B
Explanation:
Explanation
A bundle product is a customizable product that consists of several options, each based on a simple or virtual product. A grouped product is a collection of simple products that are presented as a group.
According to some tutorials , creating a bundle product in Adobe Commerce involves several steps, such as:
* Choosing the bundle product template and attribute set
* Completing the required settings, such as name, SKU, price, and weight
* Configuring the basic settings, such as status, visibility, and categories
* Adding the bundle options and associated products
* Adding optional product information, such as images and meta data
* Posting the product
Content staging is a feature that allows creating, previewing, and scheduling content updates for your store directly from the Admin . You can use content staging to create campaigns that include changes to products, categories, pages, blocks, widgets, price rules, and more.
Based on these steps and features, I would say that one possible solution that the Architect should use to meet these requirements is:
* B. Create Dynamic Bundle Product for gathering simple products; Utilize Content Staging to manage special prices for bundle products on time for the campaign; Expose required data via Adobe Commerce Order API; This solution would allow creating a new product that allows the purchase of a pre-defined set of products with a discount. Each product in the set would have a separate stock and tax class. The special prices for bundle products could be managed using content staging. The required data could be exposed via Adobe Commerce Order API.
NEW QUESTION # 35
An Adobe Commerce Architect is asked by a merchant using B2B features to help with a configuration issue.
The Architect creates a test Company Account and wants to create Approval Rules for orders. The Approval Rules tab does not appear in the Company section in the Customer Account Menu when the Architect logs in using the Company Administrator account.
Which two steps must be taken to fix this issue? (Choose two.)
- A. Set Enable Purchase Orders' on the Company Record to TRUE
- B. Merchant needs to log out of frontend and then log back in to load new permissions
- C. Make sure that the 'Purchase Order' payment method is active
- D. Set 'Enable B2B Quote" in the B2B Admin to TRUE
- E. Set 'Enable Purchase Orders' in the B2B Admin to TRUE
Answer: A,E
Explanation:
Enabling Purchase Orders at both the B2B Admin and the Company Record levels is necessary for Approval Rules to appear in the Company section of the Customer Account Menu. When 'Enable Purchase Orders' is set to TRUE, the system assumes that the company will be making purchases using purchase orders, and the Approval Rules tab becomes visible.
To create Approval Rules for orders, the Architect needs to enable Purchase Orders both in the B2B Admin and on the Company Record. This will allow the Company Administrator to access the Approval Rules tab in the Customer Account Menu and create rules based on various criteria. The Purchase Order payment method and the B2B Quote feature are not required for this functionality. Reference: https://docs.magento.com/user-guide/customers/account-dashboard-approval-rules.html
NEW QUESTION # 36
An Adobe Commerce Architect is asked by a merchant using B2B features to help with a configuration issue.
The Architect creates a test Company Account and wants to create Approval Rules for orders. The Approval Rules tab does not appear in the Company section in the Customer Account Menu when the Architect logs in using the Company Administrator account.
Which two steps must be taken to fix this issue? (Choose two.)
- A. Set Enable Purchase Orders' on the Company Record to TRUE
- B. Merchant needs to log out of frontend and then log back in to load new permissions
- C. Make sure that the 'Purchase Order' payment method is active
- D. Set 'Enable B2B Quote" in the B2B Admin to TRUE
- E. Set 'Enable Purchase Orders' in the B2B Admin to TRUE
Answer: A,E
Explanation:
Explanation
Enabling Purchase Orders at both the B2B Admin and the Company Record levels is necessary for Approval Rules to appear in the Company section of the Customer Account Menu. When 'Enable Purchase Orders' is set to TRUE, the system assumes that the company will be making purchases using purchase orders, and the Approval Rules tab becomes visible.
NEW QUESTION # 37
An Architect needs to review a custom product feed export module that a developer created for a merchant.
During final testing before the solution is deployed, the product feed output is verified as correct. All unit and integration tests for code pass.
However, once the solution is deployed to production, the product price values in the feed are incorrect for several products. The products with incorrect data are all currently part of a content staging campaign where their prices have been reduced.
What did the developer do incorrectly that caused the feed output to be incorrect for products in the content staging campaign?
- A. The developer did not check for an active content staging campaign and emulates the campaign state when retrieving product data.
- B. The developer retrieved product data directly from the database using the entity_id column rather than a collection or repository.
- C. The developer forgot to use the getContentStagingValue() method to retrieve the active campaign value of the product data
Answer: C
Explanation:
Explanation
According to the Adobe Commerce documentation, when retrieving product data, developers must use the getContentStagingValue() method to ensure that the active campaign value for theproduct is retrieved. This method takes into account any content staging campaigns that might be active, and returns the appropriate value from the content staging campaign rather than the default value from the database. Failing to use this method can result in incorrect data being returned in the product feed.
NEW QUESTION # 38
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. Create a Data Patch and update 'my.attribute' type from "text" to "inf
- B. Migrate data from table "catalog_product_entity_text" to "catalog.producLentityjnt" for the attribute.id
- C. Write a plugin for \Magento\Eav\Model\Entity\Attrlbute\Backend\AbstractBackend::afterLoad() and load data from "catalog_product_entity_int"
- D. Run the Command bin/magentc indexer: reset catalog_product_attribute
- E. Go to Admin > Stores > Attributes > Product, edit "my.attribute" and update type from "text' to "inf
Answer: A,B
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 type14. 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.
To change the type of "my.attribute" from text to int, the Architect should take two steps: A) Migrate data from table "catalog_product_entity_text" to "catalog_product_entity_int" for the attribute_id. This step will move the existing values of the attribute from the text table to the int table, which corresponds to the new type. D) Create a Data Patch and update 'my.attribute' type from "text" to "int". This step will update the attribute metadata in the database and reflect the new type. Option B is incorrect because the Admin panel does not allow changing the type of an existing attribute. Option C is incorrect because writing a plugin for \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend::afterLoad() will not change the type of the attribute, but only load data from a different table. Option E is incorrect because running the command bin/magento indexer:reset catalog_product_attribute will not change the type of the attribute, but only reset the indexer status. Reference: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/attributes.html
NEW QUESTION # 39
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:

Which two steps should the Architect complete to fix the problem? (Choose two.) A)
B)
C)
D)
E)
- A. Option A
- B. Option D
- C. Option B
- D. Option E
- E. Option C
Answer: C,D
Explanation:
According to the Adobe Commerce Developer Guide1, to create a new customer segment condition, the custom condition class must implement the Magento\CustomerSegment\Model\Segment\Condition\Combine\Interface interface. The class must also have a constructor that accepts an array of data and a context object that contains the required dependencies. Therefore, option B is correct because the constructor is missing the context object parameter. Option E is also correct because the class does not implement the required interface. The other options are not relevant for this problem.
NEW QUESTION # 40
......
Use Free AD0-E718 Exam Questions that Stimulates Actual EXAM : https://www.testsimulate.com/AD0-E718-study-materials.html