Free Adobe AD0-E718 Exam Actual Questions

The questions for AD0-E718 were last updated On Nov 5, 2024

Question No. 1

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?

Show Answer Hide Answer
Correct Answer: B

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.

To change the new category attribute when scheduling new category updates, you need to add the attribute to view/adminhtml/ui_component/catalogstaging_category_update_form.xml. This file defines the form fields that appear in the Schedule New Update form for categories.By adding the attribute to this file, you will be able to schedule and review changes to the new mobile image field using the content staging and preview feature in Adobe Commerce. Reference:1

1: https://docs.magento.com/user-guide/v2.3/cms/content-staging-category.html


Question No. 2

A client is migrating to Adobe Commerce Cloud and has approximately 800 existing redirects that must be implemented. The number of redirects cannot be reduced because all redirects are specific, and do not match any pattern.

How should the redirects be configured to ensure performance?

Show Answer Hide Answer
Correct Answer: A

The best option for configuring the redirects is to use VCL snippets to offload the redirects to Fastly. This is a Content Delivery Network (CDN) that can handle large numbers of requests quickly and efficiently, ensuring that your redirects will be processed quickly and reliably. Furthermore, VCL snippets are easy to set up and can be reused for other redirects, making them an efficient and cost-effective solution for managing large numbers of redirects.

For Adobe Commerce on cloud infrastructure projects, configuring numerous non-regex redirects and rewrites in the routes.yaml file can cause performance issues. If your routes.yaml file is 32 KB or larger, offload your non-regex redirects and rewrites to Fastly.See Offload non-regex redirects to Fastly instead of Nginx (routes) in the Adobe Commerce Help Center1. Reference: https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/configure/routes/redirects.html?lang=en21


Question No. 3

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)

Show Answer Hide Answer
Question No. 4

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.)

Show Answer Hide Answer
Correct Answer: C, E, F

To troubleshoot this issue, the Architect should check three requirements:

The composer.json file is present and defines the module as a composer package. This is necessary for the module:uninstall command to work properly, as it only applies to modules installed via composer.

The --remove-data option is specified as an argument for the CLI command. This will trigger the uninstallData() method in the Uninstall class and remove any database data related to the module.

The uninstall() method is implemented in the Uninstall class. This will trigger the uninstallSchema() method and remove any database schema related to the module. Alternatively, the uninstallSchema() method can be invoked directly in the Uninstall class.


Question No. 5

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)

Show Answer Hide Answer