Winter Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: suredis

Adobe AD0-E709 Adobe Commerce Developer Expert Exam Practice Test

Demo: 7 questions
Total 50 questions

Adobe Commerce Developer Expert Questions and Answers

Question 1

An Adobe Commerce Developer is tasked with creating a custom module which implements a new product type. Upon completion, they find that any quantity information they enter against the product does not get saved, and reverts back to 0.

How would they go about correcting this?

Options:

A.

In the modules ete/product_types.xml file, set the isQty-"true" property on their product type declaration node.

B.

Add a node inside their product type declaration in the etc/product_types.xml file, with an instance attribute pointing a class extending\Magento\Catalog\Model\Product\type\Stock .

C.

Implement \Magento\InventoryCatalogApi\Api\DefaultStockProviderlnterface on their product type class and implement the required methods.

Question 2

An Adobe Commerce developer is working on a module to manage custom brand entities and wants to replicate the following SQL query using SearchCriteria:

Which snippet of code would produce the desired SQL query?

A)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Question 3

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:

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.

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.

B.

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

C.

The @return annotation is missing in the MyVendor\Blog\Api\Post Repositoryinterfacec

Question 4

A client wants to change the look and behavior of the products thumbnails in the products grid on the admin panel. Which code would be added to the module's view/adminhtml/ui_component/product_listing.xmlfile?

A)

B)

C)

Options:

A.

option A

B.

option B

C.

option C

Question 5

An Adobe Commerce developer adds a new extension attribute to add an array of values to the invoices that are fetched through the APIs.

After a while, their technical manager reviews their work and notices something wrong with the extension_attributes.xml file that the developer created in their module: extension_attributes for="Magento\Sales\Hotel\Order\InvoiceRepository"> attribute code"my_code" type=string]’’> What is the problem with this xml snippet?

Options:

A.

The extension attribute references the repository instead of the interface it implements

(Magento\Sales\Api\invoiceRepositoryinteface

B.

The type is wrong, string[] should be replaced with array.

C.

The extension attribute references the wrong interface it should have referenced the Magento\Sales\APi\Invoiceinterface.

Question 6

An Adobe Commerce Developer wishes to add an action to a pre-existing route, but does not wish to interfere with the functionality of the actions from the original route.

What must the developer do to ensure that their action works without any side effects in the original module?

Options:

A.

In the route declaration, use the before or after parameters to load their module in before or after the original module.

B.

Inject the new action into the standard router constructor's Sactionlist parameter.

C.

Add the action into to the Controllers/front.name/ in My_Module. Magento will automatically detect and use it.

Question 7

When building a custom page we need to get a collection of data. To determine how many items are in this collection, the Adobe Commerce developer uses $collection->count() . This sometimes is slow and causes some delay.

What is the reason?

Options:

A.

The collection is loaded first and then the number of items in the collection are returned.

B.

Before the collection is loaded, the framework performs left joins for all related attributes are added to the query.

C.

The framework internally uses SELECT count(-) and that is slower than loading the collection.

Demo: 7 questions
Total 50 questions