Free Adobe AD0-E717 Exam Actual Questions

The questions for AD0-E717 were last updated On Apr 24, 2024

Question No. 1

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?

Show Answer Hide Answer
Correct Answer: C

To display a custom attribute on the category edit page in the Magento admin panel, a developer should use the UI component approach. This involves creating a category_form.xml file within the view/adminhtml/ui_component directory of the module. This XML file defines the form fields (including any custom attributes) that should appear on the category edit page. The UI component system in Magento provides a flexible way to manage form elements and their interactions on the admin side, ensuring a consistent user interface and experience.


Question No. 2

How should a grid or form be included in an admin page layout using the Ul Component?

Show Answer Hide Answer
Correct Answer: B

To include a grid or form in an admin page layout using the UI Component, the correct approach is to use the <uiComponent name='example_listing'/> within a <referenceContainer name='content'> block of the layout XML file. This method directly references the UI component's configuration file (e.g., example_listing.xml) which defines the structure and functionality of the UI component, such as grids or forms. This configuration file is located under the view/adminhtml/ui_component directory of the corresponding module.


Question No. 3

Which action, if any, should be taken to forbid Adobe Commerce Admin from performing specific actions?

Show Answer Hide Answer
Correct Answer: A

To forbid Adobe Commerce Admin from performing specific actions, a developer should create a new user role with custom-defined resources, and assign it to the admin user. This can be done by going to System > Permissions > Roles and creating a new role. In the Resources section, the developer can select the specific resources that they want to restrict the admin user from accessing.

To restrict specific actions within the Adobe Commerce Admin, the recommended approach is to utilize Magento's Access Control List (ACL). This can be done by creating a new user role with custom-defined resources and assigning this role to the admin user. This approach allows for granular control over what actions an admin user can perform by specifying allowed resources within the role. Magento's ACL system is designed to manage permissions effectively, ensuring that users only have access to the necessary functionalities required for their role.


Question No. 4

Which file should a developer use to set the default value when creating configuration fields for admin?

Show Answer Hide Answer
Correct Answer: A

When creating configuration fields for the admin panel and setting their default values, a developer should use the etc/config.xml file within their module. This file is used to declare default values for the module's configuration options. When Magento is installed or the module is enabled, these values are automatically loaded into the database, under the core_config_data table, setting the initial configuration for the module. This approach ensures that the module has sensible defaults and operates correctly upon installation


Question No. 5

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

Show Answer Hide Answer
Correct 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.