Special Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Adobe AD0-E716 Adobe Commerce Developer Expert Exam Practice Test

Demo: 19 questions
Total 69 questions

Adobe Commerce Developer Expert Questions and Answers

Question 1

A Project Architect needs to add a new developer who needs to be able to push code in an Adobe Commerce Cloud project. No integration with a third-party repository provider is setup.

What two actions would be required to ensure the developer has access? (Choose Two.)

Options:

A.

The developer's SSH public key must be added into a file named ~/.ssh/authorized_keys

B.

The developer needs to add SSH public key in the Cloud Account dashboard settings

C.

The developer's email must be added under Users in the Cloud Project Web Ul

D.

The Adobe Commerce admin user must be created and the developer's SSH public key must be added on their local system

Question 2

An Adobe Commerce developer is tasked with creating a custom block that will be displayed on every page in the footer of the site.

After completing and optimizing the development, the developer notices that the block takes too much time to be generated on each page and decides to store it in the system cache after enabling it for all cache groups.

What would be the minimum requirement to achieve this?

Options:

A.

Set a value for the cache_Lifetime data property of the block.

B.

Set a value for cache_key data property of the block.

C.

Set values for both cache_lifetime and cache_key data properties of the block.

Question 3

An Adobe Commerce developer has added a new configuration field to the admin area. The path for this option is general/store_information/out_of_hours_phone.

Keeping simplicity in mind, how would the developer ensure this option contains a valid US telephone number?

Options:

A.

Add phoneUS to the field in system.xml.

B.

Create a backend model to check the validity of the phone number entered.

C.

Add to the field in system.xml.

Question 4

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)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Question 5

An Adobe Commerce developer is writing an integration test. They checked some Integration Tests for Magento core modules for reference and noticed that they use data fixtures initialized by adding annotations to test classes. For example:

The developer wants to add their own fixture to test a MyVendor_MyModule they created. Which steps will make this possible?

Options:

A.

1. Create a PHP file with the fixture data inside their own module in [module dir]/Test/integration/_fiies/my_fixture.php.

2. Add the following annotation to the test method:

B.

1. Create a PHP file With the fixture data in [magento root dir]/dev/tests/integration/testsuite/MyVendor/MyModule/_files/my_fixture.php.

2. Add the following annotation to the test method:

C.

1. Create a PHP file with the fixture data inside their own module in [module dir]/Test/integration/_f iies/my_f ixture.php.

2. Add the following annotation to the test method:

D.

Option A

E.

Option B

F.

Option C

Question 6

How would a developer enable the magnification of CSS files on an Adobe Commerce Cloud Staging environment?

Options:

A.

Locally from the command line

bin/magento config:set --lock-config dev/css/minify_files 1

Commit the app/etc/config.php file and redeploy.

B.

Update the stores > setting > configuration > Advanced > Developer > css configuration in the Admin Panel.

C.

SSH to the Adobe Commerce Staging environment. From the command line

Question 7

An Adobe Commerce developer has created a module that adds a product attribute to all product types via a Data Patch-According to best practices, how would the developer ensure this product attribute is removed in the event that the module is uninstalled at a later date?

Options:

A.

Add an Uninstall.php file extending \l1agento\Framework\Setup\UninstallInterface tO the module's Setup directory and implement the uninstall

method.

B.

Add instructions to the module's README.md file instructing merchants and developers that they must manually remove this attribute if they want to uninstall the module.

C.

Make the Data Patch implement \Magento\Framework\setup\Patch\PatchRevertabieinterface and implement the revert method to remove the® product attribute.

Question 8

On an Adobe Commerce Cloud platform, at what level is the variable env: composer_auth located in the Project Web Interface?

Options:

A.

In the Environment-specific variables.

B.

In the Integration variables.

C.

In the Project variables.

Question 9

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)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Question 10

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

A)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Question 11

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.

Question 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/magento my_module:order: process --order_id= is required.

Example: php bin/magento my_module:order:process --order_id=1245.

What is the correct way to configure the command?

A)

B)

C)

D)

Options:

A.

Option B

B.

Option C

C.

Option C

D.

Option D

Question 13

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)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Question 14

An Adobe Commerce developer has been tasked with applying a pricing adjustment to products on the website. The adjustments come from a database table. In this case, catalog price rules do not work. They created a plugin for getPrice on the price model, but the layered navigation is still displaying the old price.

How can this be resolved?

Options:

A.

Create an implementation for \Magento\Catalog\Hodel\Product\PriceModifierlnterf ace.

B.

Create an after plugin On \Magento\Catalog\Api\Data\BasePriceInterface:: getPrice.

C.

Create a plugin for\Magento\Catalog\Model\Indexer\Product\Price::executeRow.

Question 15

An Adobe Commerce developer is creating a new console command to perform a complex task with a lot of potential terminal output. If an error occurs, they want to provide a message that has higher visibility than some of the other content that may be appearing, so they want to ensure it is highlighted in red (as seen in the screenshot):

How can they customize the appearance of this message?

Options:

A.

Call the setDecorationType(Stype) method On the Symfony\Console\Output\OutputInterface Object before Calling writeln().

B.

Wrap the output content in tags like , , or .

C.

Throw a new commandException with the desired message passed as an argument.

Question 16

On an Adobe Commerce Cloud platform, in which order does the ECE-Tools package apply patches?

Options:

A.

1. All required Magento patches included in the Cloud Patches for Commerce package.

2. Custom patches in the /m2-hotfixes directory in alphabetical order by patch name.

3. Selected optional Magento patches included in the Quality Patches Tool.

B.

1. All required Magento patches included in the Cloud Patches for Commerce package.

2. Selected optional Magento patches included in the Quality Patches Tool.

3. Custom patches in the /m2-hotfixes directory in alphabetical order by patch name.

C.

1. Custom patches in the /m2-hotfixes directory in alphabetical order by patch name.

2. All required Magento patches included in the Cloud Patches for Commerce package.

3. Selected optional Magento patches included in the Quality Patches Tool.

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

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.

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 19

An Adobe Commerce developer is working on a custom gallery extension.

The module uses the Magento\catalog\Model\iinageUploader class for image uploading. The admin controller for custom image uploads is Vendor\CustomGallery\Controller\Adminhtml\Image\Upload.

The images need to be stored in different basePath and baseTmpPath than the default ones.

How can the default imageuploader class be extended and used without affecting the other modules that are already using it?

A)

B)

C)

Options:

A.

Option A

B.

Option B

C.

Option C

Demo: 19 questions
Total 69 questions