Adobe AD0-E711 Adobe Commerce Developer Professional Exam Practice Test

Page: 1 / 14
Total 60 questions
Question 1

Which command can be used to display a full list of enabled and disabled Magento modules?



Answer : A

To display a full list of enabled and disabled Magento modules, use the command 'bin/magento module:status'. Reference: https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html


Question 2

A new custom module is built for the existing Adobe Commerce store. A merchant has requested a few frontend updates. For this, a developer has to implement a custom style. What Is the location of the less file that will be included by default?



Answer : B

The location of the less file that will be included by default when implementing custom styles for a new custom module in an existing Adobe Commerce store is view/{area}/web/css/source/_module.less. This file is used to define custom styles for the module's frontend.


Question 3

A developer found a bug inside a private method of a third party module class. How can the developer override the method?



Answer : A

To override a private method of a third-party module class, we need to create our own custom class with correct logic (overridden method) having same name & signature of target method, creating Preference configuration through di.xml that references our new class instead of original one.


Question 4

A developer needs to add additional validation that would be triggered before order placement and decides to use checkout_index_index.xml to declare a custom validation is component. Which checkout step in checkout_index_index.xml is used to complete this task?



Answer : B

To add additional validation before order placement, the developer should use the 'review-step' in checkout_index_index.xml. This step is the last step before order placement, where the custom validation component can be declared and triggered.


Question 5

A developer needs to initialize the jQuery Ul widget for a specific HTML tag.

Which HTML attribute is used for this?



Answer : A

The 'data-mage-init' HTML attribute is used to initialize the jQuery UI widget for a specific HTML tag. This attribute allows developers to configure and initialize the widget by providing a JSON object containing the widget's options and properties.


Question 6

A merchant has noticed an error in the checkout. The accessed URL is /checkout. Where can the developer find the responsible controller in the Magento.Checkout module?



Answer : A

In Magento, the responsible controller for the /checkout URL can be found in the Magento_Checkout module under the path Controller/Index/Index.php. This is because Magento follows the pattern of Module/Controller/Action for its URL structure. Reference: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/routing.html


Question 7

Which two attribute input types can be used for a date? (Choose two.)



Answer : A, B

The two attribute input types that can be used for a date in Adobe Commerce are 'Date' and 'Date and Time'. 'Date' is used for storing only the date, while 'Date and Time' is used for storing both the date and time.


Page:    1 / 14   
Total 60 questions