Black Friday Biggest Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

Adobe AD0-E716 Dumps

Page: 1 / 7
Total 69 questions

Adobe Commerce Developer Expert Questions and Answers

Question 1

There is an integration developed using a cron service that runs twice a day, sending the Order ID to the integrated ERP system if there are orders that are able to create an invoice. The order is already loaded with the following code:

$order = $this->orderRepository->get($orderId);

In order to verify if the store has invoices to be created, what implementation would the Adobe Commerce developer use?

A)

as

B)

as

C)

as

Options:

A.

Option A

B.

Option B

C.

Option C

Question 2

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.

Question 3

An Adobe Commerce developer has created a new shipping carrier Everything has been implemented and the collectRates() and getAllowedMethodsQ functions can be seen below:

as

as

Given the above code, what would be the displayed cost of the shipping method and final amount charged to the customer?

Options:

A.

The shipping method would display SO but customers would pay a $10 handling fee for their order.

B.

The shipping method would display $0 and customers would pay $0 for using the new shipping method.

C.

The shipping method would display $10 and customers would pay $10 for using the new shipping method.

Question 4

A developer is working on an Adobe Commerce Cloud project and wants to get connection data for the environment's deployed services. The developer has all of the necessary permissions to do this.

Which two options would the developer take to get the connection credentials? (Choose Two.)

Options:

A.

Run the magento-cloud relationships CLI Command.

B.

Get the data from the Project Web Interface dedicated section.

C.

Execute ece-tools env:config:show services Command.

D.

Connect to server via SSH and read $_ENV['services'] variable.

Question 5

An Adobe Commerce developer added a new API method to search and retrieve a list of Posts for a custom Blog functionality. This is the content of the module's etc/webapi.xml file:

as

The new code has been deployed to production and the merchant is using https: //merchant. domain. com/swagger to review the new endpoint, but it is not visible in swagger.

What would be a reason for this?

Options:

A.

The webapi.xml file should be moved into the etc/webapi_rest/webapi.xml file.

B.

Since the new endpoint is not anonymous, the merchant needs to enter a valid integration token in swagger in order to see the new method.

C.

The greturn annotation is missing in the MyVendor\Blog\Api\PostRepositoryInterf ace class.

Question 6

A new customer registered on the Integration environment of an Adobe Commerce Cloud project but did not receive a welcome email What would be blocking the email from being sent?

Options:

A.

SendGrid has not been configured for this environment.

B.

On all Integration environments, email is always disabled.

C.

The Outgoing Emails setting is disabled into Environment Settings in the Project Web Interface.

Question 7

An Adobe Commerce developer creates a new website using a data patch. Each website will have unique pricing by website. The developer does not have visibility into the production and staging environments so they do not know what the configuration currently is.

How would they ensure the configuration is deployed and consistent across all environments?

A)

as

B) as

C)

as

Options:

A.

Option A

B.

Option B

C.

Option C

Question 8

Which hashing algorithm will Adobe Commerce choose to hash customer passwords?

Options:

A.

If the Sodium extension is installed, SHA256 will be chosen, otherwise MD5 will be used as the Magento default hashing algorithm.

B.

If the Sodium extension is installed, Argon 2ID13 will be chosen, otherwise SHA256 will be used as the Magento default hashing algorithm.

C.

It does not matter if the Sodium extension is installed or not, the Magento hashing default algorithm will be SHA256.

Question 9

An Adobe Commerce developer was asked to provide additional information on a quote. When getting several quotes, the extension attributes are returned, however, when getting a single quote it fails to be returned.

What is one reason the extension attributes are missing?

Options:

A.

The developer neglected to add coiiection="trueM to their attribute in etc/extension_attributes.xmi file. O

ottribute code="my_attributesM type="MyVendor\MyModule\Api\Data\^AttributeInterface[]M collection="true" />

B.

The developer neglected to provide a plugin On Hagento\Quote\Api\CartRepositoryInterface: :get.

C.

The developer neglected to implement an observer on the coiiection_ioad_after event.

Question 10

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)

as

B)

as

C)

as

Options:

A.

Option A

B.

Option B

C.

Option C

Question 11

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

Question 12

An Adobe Commerce developer is creating a new module to extend the functionality of the cart. The module is installed in app/code/CompanyName/ModuleName/.

How would an Adobe Commerce developer extend the existing CartltemPrices GraphQL schema to include a custom base_price field?

Options:

A.

Create and Configure a for Hagento\QuoteGraphQl\Model\Resolver\CartItemPrices that adds the base_price field in the resolve() function.

B.

Add the following to the module's etc/schema.graphqis file:

C)

Add the following to the module's etc/graphqi/di.xmi file:

C.

Option A

D.

Option B

E.

Option C

Question 13

An Adobe Commerce developer is tasked with adding custom data to orders fetched from the API. While keeping best practices in mind, how would the developer achieve this?

Options:

A.

Create an extension attribute on Nagento\sales\Api\E)ata\orderinterface and an after plugin on

Magento\Sales\Model\Order: :getExtensionAttributes() to add the custom data.

B.

Create an extension attribute On Magento\Sales\Api\Data\OrderInterface and an after plugin On Magento\Sales\Api\OrderRepositoryInterface On geto and getListo to add the custom data.

C.

Create a before plugin on Magento\sales\model\ResourceModel\order\collection: :load and alter the query to fetch the additional data. Data will then be automatically added to the items fetched from the API.

Question 14

An Adobe Commerce developer has been asked to modify the PageBuilder slider content type to allow a new custom content type (other than slide) to be assigned as a child. The developer has already created the new content type called improved_slide in their module. They now need to create a new view/adminhtml/pagebuilder/content_type/slider. xml file in their module to allow the new content type to be a child of slider content types.

What is the correct xml to accomplish this?

A)

as

B)

as

C)

as

Options:

A.

Option A

B.

Option B

C.

Option C

Question 15

The di. xml file of a module attaches two plugins for the class Action.

The PluginA has the methods: beforeDispatch, aroundDispatch, afterDispatch. The PluginB has the methods: beforeDispatch, afterDispatch.

as

The around plugin code is:

as

What would be the plugin execution order?

A)

as

B)

as

C)

as

Options:

A.

Option A

B.

Option B

C.

Option C

Question 16

The developer is required to convert a modules database scripts from old install/upgrade setup files to a data patches format and does not want to apply database changes that were already done by install/upgrade scripts.

The current module version is 1.5.4.

What would be the recommended solution to skip changes that were already applied via old format (install/upgrade scripts)?

Options:

A.

Implement Patchversioninterface and return 1.5.4 on the getversion() method.

B.

Inside apply() method, check for module version and run the code if version is less than 1.5.4.

C.

This is not possible. A module cannot implement both data patch and install scripts.

Question 17

An Adobe Commerce Cloud merchant has been experiencing significant downtime during production deployment. They have already checked that the application is in ideal state.

In addition to the configuration of the SCD.MATRIX variable to reduce amount of unnecessary theme files, what would be the next steps to reduce the downtime?

Options:

A.

1. Check SCD is configured under the build phase.

2. Increase the SCD.THREADS to speed up the build process.

B.

1. Check SCD is configured under deploy phase.

2. Decrease the SCD.THREADS to speed up the build process

C.

1. Check SCD is configured under the build phase.

2. Check if Adobe Commerce Cloud automatically adjusts SCD.THREADS.

Question 18

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?

Options:

A.

ece-tools variable:update ADMIN_URL

B.

magento-cloud variable:set ADMIN_URL

C.

bin/magento adminuri:set

Question 19

An Adobe Commerce developer is developing a custom module. As part of their implementation they have decided that all instances of their Custom\Module\Model\Example class should receive a new instance of Magento\Filesystem\Adapter\Local.

How would the developer achieve this using di. xml?

A)

as

B)

as

C)

as

Options:

A.

Option A

B.

Option B

C.

Option C

Question 20

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?

Options:

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.

Page: 1 / 7
Total 69 questions