Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

AD0-E716 Exam Dumps - Adobe Commerce Developer with Cloud Add-on

Question # 4

An Adobe Commerce developer has created a process that exports a given order to some external accounting system. Launching this process using the Magento CLI with the command php bin/magento my_module:order: process --order_id= is required.

Example: php bin/magento my_module:order:process --order_id=1245.

What is the correct way to configure the command?

A)

B)

C)

D)

A.

Option B

B.

Option C

C.

Option C

D.

Option D

Full Access
Question # 5

An Adobe Commerce developer is asked to create a new payment method for their project. This project has administrators who use the backend to manage customer information and occasionally place orders. When testing the new payment method on the frontend everything worked as expected, however, the payment method is missing in the admin.

What is a possible reason for this?

A.

In the module di.xml, there were no default 3DS verification types configured as a VirtualType.

B.

In the module config.xmi, the boolean value for can_capture was set to false.

C.

In the module config.xmi, the node can_use_internal was not set to true.

Full Access
Question # 6

There is the task to create a custom product attribute that controls the display of a message below the product title on the cart page, in order to identify products that might be delivered late.

The new EAV attribute is_delayed has been created as a boolean and is working correctly in the admin panel and product page.

What would be the next implementation to allow the is_delayed EAV attribute to be used in the .phtml cart page such as $block->getProduct()->getIsDelayed()?

A)

Create a new file etc/catalog_attributes.xmi:

B)

Create a new file etc/extension attributes.xmi:

C)

Create a new file etc/eav attributes.xmi:

A.

Option A

B.

Option B

C.

Option C

Full Access
Question # 7

An Adobe Commerce developer has created a before plugin for the save() function within the

Magento\Framework\App\cache\Proxy class. The purpose of this plugin is to add a prefix on all cache identifiers that fulfill certain criteria.

Why is the plugin not executing as expected?

A.

Another around plugin defined for the same function does not call the callable.

B.

Cache identifiers are immutable and cannot be changed.

C.

The target ClaSS implements Magento\Framework\ObjectManager\NoninterceptableInterface.

Full Access
Question # 8

An Adobe Commerce developer is about to deploy a critical feature to their Adobe Commerce Cloud (Pro Plan) production. They want to create a snapshot in order to be able to rollback if there is an issue with the feature.

How would they create the snapshot?

A.

Use the dedicated button on Project Web Interface.

B.

Use the Cloud CLI for Commerce dedicated command.

C.

Create a ticket to Adobe Commerce Cloud support.

Full Access
Question # 9

ECE-Tools provides a set of tools that can be used to manage and maintain your Adobe Commerce Cloud environment. What are some of the features provided by ECE-Tools?

A.

Builds application, Applies custom patches and Dump configuration for static content deployment.

B.

Fastly configuration, Applies custom patches and Dump configuration for static content deployment.

C.

Builds application, Applies custom patches, and Shows the list of S3 backup tar.gz files.

Full Access
Question # 10

A message queue currently has queue/consumer-wait-for-messages set to true, which allows the consumer process to run until a message is inserted into the queue. A piece of functionality is driven by data stored in the model

\Magento\variable\Model\variable and this value is only loaded once during the consumer run. If the variable is updated we want the consumer to restart so that the new value is loaded into memory without having to reload the variable on each message consumed.

The Adobe Commerce developer has created an after plugin on the \Magento\Variable\Model\variable:: save() function.

How would the developer use the plugin to trigger the consumer restart?

A.

Call the function \Magento\Framework\MessageQueue\PoisonPill\Poi5onPillPutInterface::put().

B.

Call the function \Magento\Framework\MessageQueue\Consumers\TriggerRe5tartInterface:trigger().

C.

Set the global Cache key trigger_consumer_restart t0 1.

Full Access
Question # 11

An Adobe Commerce developer has been tasked with applying a pricing adjustment to products on the website. The adjustments come from a database table. In this case, catalog price rules do not work. They created a plugin for getPrice on the price model, but the layered navigation is still displaying the old price.

How can this be resolved?

A.

Create an implementation for \Magento\Catalog\Hodel\Product\PriceModifierlnterf ace.

B.

Create an after plugin On \Magento\Catalog\Api\Data\BasePriceInterface:: getPrice.

C.

Create a plugin for\Magento\Catalog\Model\Indexer\Product\Price::executeRow.

Full Access
Question # 12

For security reasons, merchant requested to a developer to change default admin url to a unique url for every branch/environment of their Adobe Commerce Cloud project.

Which CLI command would the developer use update the admin url?

A.

ece-tools variable:update ADMIN_URL

B.

magento-cloud variable:set ADMIN_URL

C.

bin/magento adminuri:set

Full Access
Question # 13

An Adobe Commerce developer successfully added a new column to the customers grid. This column needs the data to be formatted before showing its content in the grid.

According to best practices, how would the developer add the custom logic to render the column?

A.

1. Create an after pluginforMagento\Ui\Component\Listing\Columns\Column::prepareColumn().

2. Add the custom logic within the afterPreparecoiumn method.

B.

1. Create a customclassextending flagento\Ui\Component\Listing\Columns\Colunm.

2. Add the custom logic within the prepareDataSource method.

3. Add an attribute class to the column node within the module's customer_listing.xml.

C.

1. Override the Magento\Customer\Ui\Component\DataProvider Class using a preference.

2. Override the getData() method and add the custom logic per row.

Full Access
Question # 14

An Adobe Commerce developer is working on a custom gallery extension.

The module uses the Magento\catalog\Model\iinageUploader class for image uploading. The admin controller for custom image uploads is Vendor\CustomGallery\Controller\Adminhtml\Image\Upload.

The images need to be stored in different basePath and baseTmpPath than the default ones.

How can the default imageuploader class be extended and used without affecting the other modules that are already using it?

A)

B)

C)

A.

Option A

B.

Option B

C.

Option C

Full Access
Question # 15

An Adobe Commerce developer has created a module that adds a product attribute to all product types via a Data Patch-According to best practices, how would the developer ensure this product attribute is removed in the event that the module is uninstalled at a later date?

A.

Add an Uninstall.php file extending \l1agento\Framework\Setup\UninstallInterface tO the module's Setup directory and implement the uninstall

method.

B.

Add instructions to the module's README.md file instructing merchants and developers that they must manually remove this attribute if they want to uninstall the module.

C.

Make the Data Patch implement \Magento\Framework\setup\Patch\PatchRevertabieinterface and implement therevert method to remove the®product attribute.

Full Access
Question # 16

During database migration in the Adobe Commerce Cloud integration environment, a developer experienced a disk space error causing the database import to fail.

How would the developer fix this issue?

A.

Increase the disk space of the database service.

B.

Add a new database node and enable split database.

C.

Change the database engine to PostgreSQL that has no disk space limit.

Full Access
Question # 17

An Adobe Commerce developer is trying to create a custom table using declarative schema, but is unable to do so.

What are two errors in the snippet above? (Choose two.)

A.

Column (roll_no) does not have index. It is needed since attribute identity is set to true.

B.

Column (entity_id) does not have index. It is needed since attribute identity is set to false.

C.

Column (student_name) does not have attribute length.

D.

null is not a valid value for column (roll_no).

Full Access
Question # 18

An Adobe Commerce developer is tasked with adding an new export option for the order grid, they have added the following code for the export button within sales_order_grid.xml:

Upon testing, they are getting redirected, what would be a cause for this error?

A.

The option's uri attribute is not valid.

B.

The layout cache needs to be refreshed.

C.

The developer has to add a formkey for the new export option.

Full Access
Question # 19

An Adobe Commerce Developer is tasked with creating a custom form which submits its data to a frontend controller They have decided to create an action and have implemented the \Magento\Framework\App\Action\HttpPostActioninterface class, but are not seeing the data being persisted in the database, and an error message is being shown on the frontend after submission.

After debugging and ensuring that the data persistence logic is correct, what may be cause and solution to this?

A.

Magento does not allow POST requests to a frontend controller, therefore, the submission functionality will need to be rewritten as an API endpoint.

B.

The developer forgot to implement a validatePostDataQ method in their action. They should implement this method: all non-validated POST data

gets stripped out of the request and an error is thrown.

C.

Form key validation runs on all non-AJAX POST requests, the developer needs to add the for_key to their requests.

Full Access