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

AD0-E716 Exam Dumps - Adobe Commerce Developer Expert

Question # 4

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

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

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.

Full Access
Question # 5

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

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

A.

Write a before plugin on \Hagento\catalogVtodel\ProductRepository: :geti_ist() and register the search criteria passed. Write an event observer to 0 listen for the event cataiog_product_coiiection_ioad_before. Iterate through the registered search criteria, and if found, apply the needed join and filter to the events scollection.

B.

Add a CUStOm filter to the Virtual type "agento\Catalog\Model\Api\SearchCriteria\CollectionProcessor\ProductFilterProce5sor for supplier_id field. In

the custom filter, apply the needed join and filter to the passed $collection.

C.

Write a before plugin On \Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface: :process(). Iterate through the $searchCriteria

provided for supplier_id, and if found, apply the needed join and filter to the passed scollection.

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

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.

Full Access
Question # 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.)

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 8

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?

A.

Create an extension attribute on Nagento\sales\Api\E)ata\orderinterface and an after plugin on

Magento\Sales\Model\Order: :getExtensionAttributes() to add the custom data.

B.

Create an extension attribute On Magento\Sales\Api\Data\OrderInterface and an after plugin On Magento\Sales\Api\OrderRepositoryInterface On geto and getListo to add the custom data.

C.

Create a before plugin on Magento\sales\model\ResourceModel\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.

Full Access
Question # 9

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?

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.

Full Access
Question # 10

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?

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.

Full Access
Question # 11

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?

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.

Full Access
Question # 12

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)

A.

Option A

B.

Option B

C.

Option C

Full Access
Question # 13

An Adobe Commerce developer successfully added a new column to the customers grid. This column needs the data to be formatted before showing its content in the grid.

According to best practices, how would the developer add the custom logic to render the column?

A.

1. Create an after pluginforMagento\Ui\Component\Listing\Columns\Column::prepareColumn().

2. Add the custom logic within the afterPreparecoiumn method.

B.

1. Create a custom class extending flagento\Ui\Component\Listing\Columns\Colunm.

2. Add the custom logic within the prepareDataSource method.

3. Add an attribute class to the column node within the module's customer_listing.xml.

C.

1. Override the Magento\Customer\Ui\Component\DataProvider Class using a preference.

2. Override the getData() method and add the custom logic per row.

Full Access
Question # 14

A merchant is experiencing performance issues on integration environments of their Adobe Commerce Cloud Pro plan and wants to upgrade to Enhanced Integration Environments.

What are the steps necessary prior to redeploying in order to upgrade to Enhanced Integration Environments?

A.

1. Limit the number of Integration branches to two

2. Submit a support ticket requesting the upgrade

B.

1. Limit the number of Integration branches to three

2. Set the ENV.ENVIRONMENT in .magento.env.yaml to ENHANCEDJNTEGRATION

C.

1. Limit the number of Integration branches to four

2. Configure integration environments in the cloud GUI and set the Enhanced switch to On

Full Access
Question # 15

A merchant of an Adobe Commerce Cloud project wants to setup one of their websites using a subdomain. The merchant is considering the domain to be set as secondstore.example.com.

In addition to editing the magento-vars.php file, and apply a domain check and set $_SERVER["MAGE_RUN_CODE"] and $_SERVER["MAGE_RUN_TYPE"].

What file is required to perform this action?

A.

Configure secondstore.example.com subdomain route in NGINX virtual-host configuration file.

B.

Configure secondstore.example.com subdomain route in .magento/services.yaml.

C.

Configure secondstore.example.com subdomain route in .magento/routes.yaml.

Full Access
Question # 16

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

A.

php ./vendor/bin/ece-tools upgrade

B.

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

C.

magento-cloud ece-tools:upgrade

Full Access
Question # 17

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?

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.

Full Access
Question # 18

An Adobe Commerce developer wants to create a product EAV attribute programmatically which should appear as WYSIWYG in the admin panel. They have made sure that wysiwyg_enabled has been set to true, however, the attribute is not appearing as WYSIWYG in the admin panel.

What would be a possible reason?

A.

The is_html_allowed_on_front Option iS Set tO false.

B.

The input type is not set to text.

C.

The input type is not set to textarea.

Full Access
Question # 19

An Adobe Commerce developer is tasked with adding an new export option for the order grid, they have added the following code for the export button within sales_order_grid.xml:

Upon testing, they are getting redirected, what would be a cause for this error?

A.

The option's uri attribute is not valid.

B.

The layout cache needs to be refreshed.

C.

The developer has to add a formkey for the new export option.

Full Access