Adobe Commerce Developer Expert AD0-E709 Exam Questions

Page: 1 / 14
Total 50 questions
Question 1

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?



Answer : A


Question 2

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\variable::save() function.

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



Answer : A


Question 3

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/tagento "/.module:order:process --oruer_id- is required.

Example: php bin/magento ny_module:order:proeess --order_id=1245.

What is the correct way to configure the command?

A)

B)

C)



Answer : B


Question 4

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

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

Add a custom filter to the virtual type



Answer : B


Question 5

An Adobe Commerce developer is being tasked with storing additional data for products added to the cart in the quote. A new column should be added to the Quote_item table to store the value-Following best practices, how would the developer extend the database to accomplish this?

A)

B)



Answer : A


Question 6

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?



Answer : A


Question 7

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?



Answer : A


Page:    1 / 14   
Total 50 questions