Weekend Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Adobe AD0-E716 Adobe Commerce Developer Expert Exam Practice Test

Page: 1 / 7
Total 69 questions

Adobe Commerce Developer Expert Questions and Answers

Question 1

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

Option C1

Question 2

An Adobe Commerce Cloud project is using Enhanced Integration Environments with two install a new payment module.

The developer is using Cloud CLI for Commerce tool.

What would a developer do to test this new feature under the integration environment?

Options:

A.

1. Duplicate one of the integration environment branches.

2. Create a new active branch from integration and install the module.

3. Push the changes.

B.

1. Create a new branch from integration and install the module.

2. Push the changes.

3. Branch active status check is not necessary.

C.

1. Deactivate one of the active integration environment branches.

2. Create a new active branch from integration and install the module.

3. Push the changes.

Question 3

An Adobe Commerce developer is working on a Magento 2 instance which contains a B2C and a B2B website, each of which contains 3 different store views for English, Welsh, and French language users. The developer is tasked with adding a link between the B2C and B2B websites using a generic link template which is used throughout the sites, but wants these links to display in English regardless of the store view.

The developer creates a custom block for use with this template, before rendering sets the translate locale and begins environment emulation using the following code:

Question # 3

They find that the template text is still being translated into each stores language. Why does this occur?

Options:

A.

startEnvironmffntEmulation() SetS and locks the locale by Using the setLocale() Optional Second $lock parameter, i.e. setLocale($newLocaleCode,

true), to override and lock the locale of the emulated store. If this is set and locked initially then the environment emulation will not be able to override this.

B.

startEnvironmentEmuiation() resets the translation locale to the one of the emulated stores, which overrides the locale the developer has set when the order of setLocate and startEnvironmentEmulation is used as displayed above.

C.

setLocate() does not change translation locale after it has been initially set, the $this->_translate->emulate($newLocaiecode) method exists to temporarily modify this by pushing the new locale to the top of the current emuiatedLocales stack.

Question 4

An Adobe Commerce developer is creating a new module to extend the functionality of the cart. The module is installed in app/code/CompanyName/ModuleName/.

How would an Adobe Commerce developer extend the existing CartltemPrices GraphQL schema to include a custom base_price field?

Options:

A.

Create and Configure a for Hagento\QuoteGraphQl\Model\Resolver\CartItemPrices that adds the base_price field in the resolve() function.

B.

Add the following to the module's etc/schema.graphqis file:

Option B4

C)

Add the following to the module's etc/graphqi/di.xmi file:

Option B4

C.

Option A

D.

Option B

E.

Option C

Question 5

What is the command used to upgrade ECE-Tools on an Adobe Commerce Cloud platform?

Options:

A.

php ./vendor/bin/ece-tools upgrade

B.

composer update magento/ece-tools --with-all-dependencies

C.

magento-cloud ece-tools:upgrade

Question 6

A developer is working on an Adobe Commerce Cloud project and wants to get connection data for the environment's deployed services. The developer has all of the necessary permissions to do this.

Which two options would the developer take to get the connection credentials? (Choose Two.)

Options:

A.

Run the magento-cloud relationships CLI Command.

B.

Get the data from the Project Web Interface dedicated section.

C.

Execute ece-tools env:config:show services Command.

D.

Connect to server via SSH and read $_ENV['services'] variable.

Question 7

A new customer registered on the Integration environment of an Adobe Commerce Cloud project but did not receive a welcome email What would be blocking the email from being sent?

Options:

A.

SendGrid has not been configured for this environment.

B.

On all Integration environments, email is always disabled.

C.

The Outgoing Emails setting is disabled into Environment Settings in the Project Web Interface.

Question 8

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.

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.

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.

Add a schema patch that implements Magento\Framework\setup\Patch\PatchRevertabieinterface and drops the table in the revert function.

Question 9

An Adobe Commerce developer is tasked to add a file field to a custom form in the administration panel, the field must accept only .PDF files with size less or equal than 2 MB. So far the developer has added the following code within the form component xml file, inside the fieldset node:

Question # 9

How would the developer implement the validations?

A)

Add the Validations Within the HyVendor\MyModule\Controller\Adminhtml\CustomEntity\UploadPdf Controller

Question # 9

B)

Add a virtual type forMyvendor\MyModuie\Modei\customPdfupioader specifying the aiiowedExtensions and the maxFiiesize for the constructor, within the module's di.xmi:

Question # 9

C)

Add the following code inside the node:

Question # 9

Options:

A.

Option A

B.

Option B

C.

Option C

Question 10

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 11

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)

Question # 11

B)

Question # 11

C)

Question # 11

Options:

A.

Option A

B.

Option B

C.

Option C

Question 12

When attempting operations that require lengthy processing, a merchant on Adobe Commerce Cloud receives a timeout error after 180 seconds.

How would the developer deal with this issue?

Options:

A.

1. Modify admin timeout into .magento.app.yamifile.

2. Commit and push that code from the local environment.

3. Move code to Production environment.

B.

1. In the Fastly Configuration section > Advanced Configuration.

2. Set the Admin path timeout value in seconds.

3. Save config and Upload VCL to Fastly.

C.

1. Modify admin timeout into app/etc/config.php file.

2. Commit and push that code from the local environment.

3. Submit a support ticket to apply the changes.

Question 13

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:

Question # 13

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 14

An Adobe Commerce developer is trying to create a custom table using declarative schema, but is unable to do so.

Question # 14

What are two errors in the snippet above? (Choose two.)

Options:

A.

Column (roll_no) does not have index. It is needed since attribute identity is set to true.

B.

Column (entity_id) does not have index. It is needed since attribute identity is set to false.

C.

Column (student_name) does not have attribute length.

D.

null is not a valid value for column (roll_no).

Question 15

For security reasons, merchant requested to a developer to change default admin url to a unique url for every branch/environment of their Adobe Commerce Cloud project.

Which CLI command would the developer use update the admin url?

Options:

A.

ece-tools variable:update ADMIN_URL

B.

magento-cloud variable:set ADMIN_URL

C.

bin/magento adminuri:set

Question 16

When researching some issues with the indexer, an Adobe Commerce developer is seeing errors in the logs similar to Memory size allocated for the temporary table is more than 20% of innodb_buffer_pool_size. It is suggested that the client update innodb_buf f er_pool_size or decrease the batch size value.

Why does decreasing the batch size value improve performance?

Options:

A.

This decreases memory usage for the temporary table.

B.

This allows for a longer timeout per batch process.

C.

This allows for more PHP threads to be utilized during the process.

Question 17

An Adobe Commerce developer was asked to provide additional information on a quote. When getting several quotes, the extension attributes are returned, however, when getting a single quote it fails to be returned.

What is one reason the extension attributes are missing?

Options:

A.

The developer neglected to add coiiection="trueM to their attribute in etc/extension_attributes.xmi file.

ottribute code="my_attributesM type="MyVendor\MyModule\Api\Data\^AttributeInterface[]M collection="true" />

B.

The developer neglected to provide a plugin On Hagento\Quote\Api\CartRepositoryInterface: :get.

C.

The developer neglected to implement an observer on the coiiection_ioad_after event.

Question 18

An Adobe Commerce developer has created a new shipping carrier Everything has been implemented and the collectRates() and getAllowedMethodsQ functions can be seen below:

Question # 18

Question # 18

Given the above code, what would be the displayed cost of the shipping method and final amount charged to the customer?

Options:

A.

The shipping method would display SO but customers would pay a $10 handling fee for their order.

B.

The shipping method would display $0 and customers would pay $0 for using the new shipping method.

C.

The shipping method would display $10 and customers would pay $10 for using the new shipping method.

Question 19

An Adobe Commerce developer is about to deploy a critical feature to their Adobe Commerce Cloud (Pro Plan) production. They want to create a snapshot in order to be able to rollback if there is an issue with the feature.

How would they create the snapshot?

Options:

A.

Use the dedicated button on Project Web Interface.

B.

Use the Cloud CLI for Commerce dedicated command.

C.

Create a ticket to Adobe Commerce Cloud support.

Question 20

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)

Question # 20

B)

Question # 20

C)

Question # 20

Options:

A.

Option A

B.

Option B

C.

Option C

Page: 1 / 7
Total 69 questions