Test Online Free Adobe AD0-E718 Exam Questions and Answers

The questions for AD0-E718 were last updated On May.25 2023

Get AD0-E718 Full Access
 / 1

Question No : 1
1.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?

Answer:

Question No : 2
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?

Answer:
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.

Question No : 3
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:
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-events/events-and-listeners/lifecycle-events.html

Question No : 4
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.)

Answer:
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.

Question No : 5
An Adobe Commerce Architect notices that queue consumers close TCP connections too often on Adobe Commerce Cloud server leading to delays in processing messages.
The Architect needs to make sure that consumers do not terminate after processing available messages in the queue when CRON job is running these consumers.
How should the Architect meet this requirement?

Answer:
Explanation:
The best way to meet this requirement is to set the CONSUMERWAITFORMAXMESSAGES variable to true in the deployment stage. This variable will ensure that the consumer will not terminate when there are no more messages in the queue and will instead wait until a new message is available, preventing it from closing the connection prematurely. Additionally, the multiple_processes limit can be increased to spawn more processes for each consumer, which will help ensure that messages can be processed faster.

Question No : 6
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.)

Answer:
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.

Question No : 7
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.)

Answer:

Question No : 8
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?

Answer:
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.

Question No : 9
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.)

Answer:
Explanation:
Based on web searches, it seems that Magento uses different classes and interfaces to interact with configuration files, such as Data, Reader, and Converter12. 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.

Question No : 10
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:

 / 1
  TOP 50 Exam Questions
Exam