Adobe Commerce Developer Professional AD0-E711 Exam Practice Test

Page: 1 / 14
Total 60 questions
Question 1

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 2

What is the correct way to inject CMS block in a layout?

A)

B)

C)



Answer : C


Question 3

A seller would like to offer an electronic version of an album by selling each song individually. Which layout can be used to customize a product page layout for this item?



Answer : A

The layout to customize a product page for selling each song individually (electronic version of an album) is 'catalog_product_view_type_downloadable'. This layout is specifically designed for downloadable products in Magento. Reference: https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/product-layouts.html


Question 4

Which Adobe Commerce table stores all cron data?



Answer : B

In Adobe Commerce (Magento), the table that stores all cron data is named 'cron_schedule'. This table contains information about each cron job's status, schedule, and execution time. Reference: https://devdocs.magento.com/guides/v2.4/config-guide/cron/custom-cron-ref.html


Question 5

How are multiple EAV attributes belonging to the same entity grouped in the database?



Answer : A

Multiple EAV attributes belonging to the same entity are grouped in the database based on the types of values they contain. This means that attributes with similar data types (e.g., text, integer, decimal, etc.) are stored in the same table.


Question 6

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.


Question 7

How should a developer display a custom attribute on the category edit page in the admin panel when a new module Vendor.Category is created?



Answer : B

To display a custom attribute on the category edit page in the admin panel, you need to create a view/adminhtml/ui_component/category_form.xml file in the module and define the field for the attribute in it.


Page:    1 / 14   
Total 60 questions