Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

AD0-E709 Adobe Commerce Developer Expert Questions and Answers

Questions 4

An Adobe Commerce developer has just finished creating a new custom entity, a block that extends \Mangento\Framework\View|Element\abstractBlock that lists all of the existing entities and a controller with the appropriate handle to display the block.

The developer now wants to implement cache on the block so that when one of the custom entities is saved, the cache of the block is automatically invalidated.

According to best practices- what are the two steps to accomplish this? (Choose two.)

Options:

A.

1. Override AbstractBlock: :getCecheKeyInfo and return an array containing the ids of all displayed entities.

2. Override AbstractBlock: :getCacheTags and return an array containing, for all displayed entities, the value returned by the getcachetag method of the model

B.

1. Create an around plugin on the save( ) method of the model of the entity.

2. Use the cleanCacheByTags( ) method Of \MagentoVFramework\App\Cache\FlushCaehebyTae with a single argument containing the concatenation of a chosen key and the td of the entity.

C.

1. Implement \Magento\framework\DataObject\identityInterface on the block that lists the entities.

2. Implement the getidentitiesO method on the block to return an array containing, for all displayed entities, the value returned by the getidentities() method of the model.

D)

1. Implement \magento\Frame\DataObject\identityInterface on the model of the entity.

2. Implement the getidentities() method to return

Buy Now
Questions 5

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.5A

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

Options:

A.

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

B.

Inside apply() method, check for module version and run the code it version is less than 134,

C.

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

Buy Now
Questions 6

An Adobe Commerce developer is creating a module (Vendor_ModuleName) to be sold on the Marketplace. The new module creates a database table using declarative schema and now the developer needs to make sure the table is removed when the module is disabled.

What must the developer do to accomplish this?

Options:

A.

Add a schema patch that implements

Mogento\Framework\Setup\Patch\PatchRevertableInterface and drops the table in the revert function.

B.

There is nothing further the developer needs to do. The table will be removed when the when bin/magento module:uninstall Vendor_ModuleName is run.

C.

There is nothing further the developer needs to do. The table will be removed when the module is disabled and bin/Magento setup :upgrade is run.

Buy Now
Questions 7

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

Options:

A.

Create an observer that listens to the adminhtml_config_system_save_after

AD0-E709 Question 7 Option 1

B.

Add a new field in etc.adminhtml/system.xml in my_Module with the file type:

7

C.

Add a custom backend model which extends /Magento\Framework\App\Config\Value and call afterSave:

7

7

D.

Add a new field in etc/adminhtml\system.xml in My_Module with a new custom type:

7

Buy Now
Questions 8

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)

AD0-E709 Question 8

B)

AD0-E709 Question 8

C)

AD0-E709 Question 8

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Questions 9

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 the CLI command php bin/magento app:config:dump is used.

How would the developer achieve this?

A)

AD0-E709 Question 9

B)

AD0-E709 Question 9

C)

AD0-E709 Question 9

Options:

A.

Option A

B.

Option B

C.

Option C

Buy Now
Questions 10

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?

Options:

A.

Create a custom module and override the value in config.xml:

AD0-E709 Question 10 Option 1

B.

Run the CLI command below and commit the changes to the repository;

10

C.

Run the CLI command below and commit the changes to the repository:

10

Buy Now
Questions 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 way to accomplish this?

Options:

A.

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 .

B.

Create an Observer to the catalog_product_get_final_price event. Check if the current customer is in the 'Wholesale' group, and if so. retrieve the product from the $product- > setEvent() data and call

4product- > set0ata('final_price', $product- > getData('final_price") ‘’ 1.15) .

C.

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.

Buy Now
Questions 12

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- < order_id > is required.

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

What is the correct way to configure the command?

A)

AD0-E709 Question 12

B)

AD0-E709 Question 12

C)

AD0-E709 Question 12

Options:

A.

Option

B.

Option

C.

Option

Buy Now
Questions 13

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.

Buy Now
Questions 14

An Adobe Commerce Developer has created a new custom block extending \Magento\Framework\view\Element\AbstractBlock and has set the cache_lifetime data property for the block so that the output gets cached.

The block is inserted into the sidebar, and displays differing content depending on which currency is being used. The developer finds that the block is displaying the same content for all currencies, depending on which currency is viewed first after the cache has been flushed.

How would the developer resolve this?

Options:

A.

Implement the \Magento\Framework\DataObject\ldentityinterface class, as well as a getldentities() method, returning the current currency code.

B.

Override the getCacheKeyinfo() function adding the current currency code to the returned array.

C.

In the constructor, add the current currency code as a cache tag using $thismetaDataCcache_tags’’, CURRENCY_CODE ]) .

Buy Now
Questions 15

An Adobe Commerce developer has been tasked to create a new rest API endpoint to get a list of items for a CustomEntity . When testing the endpoint, it throws an exception.

This is the code the developer has written for MyVendor\Module\Api\CustomEntityRepositoryInterface:

AD0-E709 Question 15

And this is the implement method within MyVendor\MyModulemodel\CustomEntityRepository:

AD0-E709 Question 15

What is wrong with the code?

Options:

A.

The @return annotation is missing in the MyVendor\MyModule\Api\CustomEntityRepositoryInterface::getList function.

B.

The implemented getlist function is returning an array, it should return an instance of MyVendor\MyModule\Api\Data\CustomerEntitySearcResultslnterface .

C.

Magento\Framework\Api\SerchCriteriaInterface $searchCriteria is not a valid parameter for the getList function.

Buy Now
Exam Code: AD0-E709
Exam Name: Adobe Commerce Developer Expert
Last Update: May 17, 2026
Questions: 50

PDF + Testing Engine

$64.99   $185.69

Testing Engine

$49.99   $142.83

PDF (Q&A)

$54.99   $157.11