Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

AD0-E716 Adobe Commerce Developer with Cloud Add-on Questions and Answers

Questions 4

An Adobe Commerce developer is asked to implement a 15% surcharge for all users from a 'Wholesale' customer group. Keeping best practices in mind, what is a correct to accomplish this?

Options:

A.

Declare a new total collector class to calculate the modified total if the current user is in the group, register it in the module's etc/sales .xml file, modify the checkout_cart_index.xml and checkout_index_index.xml layouts to include a new child in the totals block.

B.

Create a Cart Price Rule that applies only to the 'Wholesale' group. Specify no conditions for the rule, and in the Actions section, specify for the rule to apply a "Percent of product price discount", with the 'Discount Amount" field set to -15.

C.

Create an Observer to the cataiog_product_get_final_price event. Check if the current customer is in the 'Wholesale' group, and if so, retrieve the

product from the $observer->getEventC) data and Call $product->setData('final_price', $product->getData( 'final_price') * 1.15).

Buy Now
Questions 5

When attempting operations that require lengthy processing, a merchant on Adobe Commerce Cloud receives a timeout error after 180 seconds.

How would the developer deal with this issue?

Options:

A.

1. Modify admin timeout into .magento.app.yamifile.

2. Commit and push that code from the local environment.

3. Move code to Production environment.

B.

1. In the Fastly Configuration section > Advanced Configuration.

2. Set the Admin path timeout value in seconds.

3. Save config and Upload VCL to Fastly.

C.

1. Modify admin timeout into app/etc/config.php file.

2. Commit and push that code from the local environment.

3. Submit a support ticket to apply the changes.

Buy Now
Questions 6

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?

Options:

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.

Buy Now
Questions 7

What are two features with Adobe Commerce Cloud that come out of the box? (Choose Two.)

Options:

A.

Support ACL

B.

Continuous deployment provided with the platform

C.

A built in connector with all major blog platforms

D.

Fastly

Buy Now
Questions 8

An Adobe Commerce developer is tasked to add a file field to a custom form in the administration panel, the field must accept only .PDF files with size less or equal than 2 MB. So far the developer has added the following code within the form component xmlfile, inside the fieldset node:

How would the developer implement the validations?

A)

Add the Validations Within the HyVendor\MyModule\Controller\Adminhtml\CustomEntity\UploadPdf Controller

B)

Add a virtual type forMyvendor\MyModuie\Modei\customPdfupioader specifying the aiiowedExtensions and the maxFiiesize for the constructor, within the module's di.xmi:

C)

Add the following code inside the node:

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Questions 9

An Adobe Commerce Cloud project is using Enhanced Integration Environments with two install a new payment module.

The developer is using Cloud CLI for Commerce tool.

What would a developer do to test this new feature under the integration environment?

Options:

A.

1. Duplicate one of the integration environment branches.

2. Create a new active branch from integration and install the module.

3. Push the changes.

B.

1. Create a new branch from integration and install the module.

2. Push the changes.

3. Branch active status check is not necessary.

C.

1. Deactivate one of the active integration environment branches.

2. Create a new active branch from integration and install the module.

3. Push the changes.

Buy Now
Questions 10

An Adobe Commerce developer wants to generate a list of products using ProductRepositorylnterf ace and search for products using a supplier_id filter for data that is stored in a standalone table (i.e., not in an EAV attribute).

Keeping maintainability in mind, how can the developer add the supplier ID to the search?

Options:

A.

Write a before plugin on \Hagento\catalogVtodel\ProductRepository: :geti_ist() and register the search criteria passed. Write an event observer to 0 listen for the eventcataiog_product_coiiection_ioad_before. Iterate through the registered search criteria, and if found, apply the needed join and filter to the events scollection.

B.

Add a CUStOm filter tothe Virtual type "agento\Catalog\Model\Api\SearchCriteria\CollectionProcessor\ProductFilterProce5sor for supplier_id field. In

the custom filter, apply the needed join and filter to the passed$collection.

C.

Write a before plugin On \Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface: :process(). Iterate through the $searchCriteria

provided for supplier_id, and if found, apply the needed join and filter to the passed scollection.

Buy Now
Questions 11

On an Adobe Commerce Cloud platform, what type of environment will be provisioned when launching the CLI for Commerce command magento-cloud environment:branch ?

Options:

A.

An empty integration environment without any code or database.

B.

An integration environment with fresh Adobe Commerce Cloud installation.

C.

An integration environment with the code and database from the parent environment.

Buy Now
Questions 12

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?

Options:

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.

Buy Now
Questions 13

An Adobe Commerce developer has added a new configuration field to the admin area. The path for this option is general/store_information/out_of_hours_phone.

Keeping simplicity in mind, how would the developer ensure this option contains a valid US telephone number?

Options:

A.

Add phoneUS to the field in system.xml.

B.

Create a backend model to check the validity of the phone number entered.

C.

Add to the field in system.xml.

Buy Now
Questions 14

An Adobe Commerce Cloud developer wants to be sure that, even after transferring database from Production to Staging, the payment configurations are still valid on the Staging environment.

What does the developer need to add to be sure that the configurations are always properly set?

Options:

A.

Lines in the dedicated core_conf ig_data_stg table.

B.

Project level environment variables.

C.

Environment level environment variables.

Buy Now
Questions 15

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?

Options:

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.

Buy Now
Questions 16

An Adobe Commerce developer is asked to change the tracking level on a custom module for free downloading of pdf and images.

The module contains following models:

Vendor\FreeDownload\Model\Download

Vendor\FreeDownload\Model\DownloadPdf extends Vendor\FreeDownload\Model\Download

Vendor\FreeDownload\Model\DownloadImage extends Vendor\FreeDownload\Model\Download

Download class has a parameter for tracking_level.

How will the developer configure the tracking_level parameter, in di.xml.to have a value of 4 for Download class and all classes that extend Download?

A)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Questions 17

What are two ways to access the PHP error logs on Adobe Commerce Cloud? (Choose Two.)

Options:

A.

Use the dedicated command from Cloud CLI for Commerce.

B.

Navigate to the dedicated entry in the Project Web Interface.

C.

Connect to the the servers via SSH and localize the log files.

D.

Use the Adobe Admin Log application.

Buy Now
Questions 18

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:

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Questions 19

A logistics company with an Adobe Commerce extension sends a list of reviewed shipment fees to all its clients every month in a CSV file. The merchant then uploads this CSV file to a "file upload" field in admin configuration of Adobe Commerce.

What are the two requirements to display the "file upload" field and process the actual CSV import? (Choose two.)

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 20

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

Options:

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

Buy Now
Exam Code: AD0-E716
Exam Name: Adobe Commerce Developer with Cloud Add-on
Last Update: Apr 28, 2024
Questions: 69
AD0-E716 pdf

AD0-E716 PDF

$28  $80
AD0-E716 Engine

AD0-E716 Testing Engine

$33.25  $95
AD0-E716 PDF + Engine

AD0-E716 PDF + Testing Engine

$45.5  $130