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

Adobe AD0-E709 Actual Questions

Page: 2 / 2
Total 50 questions

Adobe Commerce Developer Expert Questions and Answers

Question 5

A Data Patch in a module being investigated implements \Magento\Framework\Setup\Patch\Patchversionlnterface and contains a getversion method which returns the string '2.4.2'.

What is the implication of this when php bin/magento setup:upgrade is run?

Options:

A.

The patch will only apply if the version specified in the data_version column of the setbpjnodule table for our module is lower than '2.4.2'.

B.

The patch will only apply if the version specified in the data_version column of the setup_module table for our module is higher than '2.4.2'.

C.

The patch will only apply if the current version of the Magento Framework is '2.4.2', and likely contains code that is incompatible with later versions.

Question 6

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 Magento\Seles\Api\Data\OrderInterface and an after plugin on Magento\Sales\Model\Order: :getExtensionAttributes() to add the custom data.

B.

Create a before plugin on Magento\Sales\Model\ResourceMode\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.

C.

Create an extension attribute on Magento\Sales\ApI\Data\Orderinterface and an after plugin on Magento\sales\Api\orderRespositoryinterface on get() and getlist () to add the custom data.

Question 7

An Adobe Commerce developer has a requirement to add some settings which are unique to a specific system and it will be dumped to app/etc/env.php when theCLI command php bin/magento app:config:dump is used.

How would the developer achieve this?

A)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Page: 2 / 2
Total 50 questions