Adobe Commerce Developer Professional AD0-E717 Exam Questions

Page: 1 / 14
Total 77 questions
Question 1

Which price type should be used if the developer wants to provide a discount for a product based on quantity, for example, being able to buy two for X amount each?



Answer : A

Tier prices are used to provide discounts for products based on quantity. For example, you could set a tier price that allows customers to buy two products for X amount each.

The tier price is used when a developer wants to offer a discount based on the quantity purchased. For example, buying two or more units of a product at a reduced price per unit. Tier pricing allows setting different prices for different quantities, encouraging customers to buy more. Special price is a flat discounted price regardless of quantity, and group price is used to set special prices for specific customer groups, not for quantity-based discounts.


Question 2

The value of a product attribute in the Adobe Commerce system needs to have a different format before it is displayed. Which attribute model class is responsible for this?



Answer : A

The frontend attribute model class is responsible for formatting the value of a product attribute before it is displayed on the storefront. This class can implement methods such as getValue, getLabel, getInputType, and getOptionText to modify the attribute value.

The backend attribute model class is responsible for saving and loading the attribute value to and from the database. The source attribute model class is responsible for providing the list of options for an attribute.

Verified Reference: [Adobe Commerce Developer Guide - Attribute models]

In Adobe Commerce (Magento 2), the formatting of product attribute values before they are displayed is handled by the attribute's frontend model. The frontend model, typically extending \Magento\Eav\Model\Entity\Attribute\Frontend\AbstractFrontend, is responsible for preparing the attribute value for display in the frontend, including formatting dates, adding pricing structures, and more. The backend model deals with saving and loading attribute data, while the source model provides options for select attributes.


Question 3

Which Cloud CLI for Commerce command can be used to quickly view a specific log file for an Adobe Commerce Cloud project?



Answer : C

The Cloud CLI for Commerce command that can be used to quickly view a specific log file for an Adobe Commerce Cloud project is magento-cloud logs:show. This command allows developers to view log files directly from the command line, which is useful for debugging and monitoring the application's state without needing to access the file system directly.


Question 4

Which action, if any, can be taken to change the URL key of the product?



Answer : C

The URL key of a product is the text that is used to generate the product's URL. This text can be set by the merchant in the product admin form.

The URL key of a product in Adobe Commerce can be changed in the product admin form under the 'Search Engine Optimization' fieldset. Here, the URL key can be set or edited manually, allowing for customization beyond the automatically generated value. This field is typically used to ensure that the product URL is search-engine friendly and relevant to the product.


Question 5

How can a developer prioritize a plugin's execution, if possible?



Answer : A

A developer can prioritize the execution of a plugin by using the sortOrder property within the plugin's declaration in the di.xml file. Specifying a lower value for the sortOrder property gives the plugin higher priority, meaning it will be executed before other plugins with a higher sortOrder value. This allows developers to control the order of plugin execution, which can be critical for ensuring the desired outcome when multiple plugins are affecting the same method.


Question 6

What are the only writeable folders in the application root on a remote Adobe Commerce Cloud project?

A)

B)

C)



Answer : B

For an Adobe Commerce Cloud project, the only writeable folders in the application root on a remote environment are essential for the application to run correctly and store temporary and dynamic data. Among the options given, Option B lists directories that are typically writable: m2-hotfixes, var, pub/static, and app/etc. The m2-hotfixes directory is specifically for Magento Commerce Cloud and is used for applying hotfixes that are executed during the build phase. The var directory contains various logs, sessions, and reports. The pub/static directory holds the compiled static view files, and app/etc contains configuration files that can be modified by the application at runtime.


Question 7

A developer wants to deploy a new release to the Adobe Commerce Cloud Staging environment, but first they need the latest code from Production.

What would the developer do to update the Staging environment?



Answer : C

To update the Staging environment with the latest code from the Production environment on an Adobe Commerce Cloud project, the developer would log in to the Project Web Interface, choose the Staging environment, and then click Sync. This action synchronizes the environments, bringing the latest changes from Production into Staging.


Page:    1 / 14   
Total 77 questions