ExamGecko
Home Home / Adobe / AD0-E717

Adobe AD0-E717 Practice Test - Questions Answers

Question list
Search
Search

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?

A.
Create view/adminhtml/layout/catalog_category_edit xml in the module, and then define a block that would display the field for the attribute.
A.
Create view/adminhtml/layout/catalog_category_edit xml in the module, and then define a block that would display the field for the attribute.
Answers
B.
The field for the attribute will appear automatically.
B.
The field for the attribute will appear automatically.
Answers
C.
Create view/adminhtml/ui_component/category_form.xml file in the module, and then define the field for the attribute.
C.
Create view/adminhtml/ui_component/category_form.xml file in the module, and then define the field for the attribute.
Answers
Suggested answer: A

Explanation:

To display a custom attribute on the category edit page in the admin panel, a developer should create a view/adminhtml/layout/catalog_category_edit.xml file in the module and define a block that would display the field for the attribute.

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

A.
<referenceContainername='content'> q <uiComponentname='example_listing.xml7> </referenceContainer>
A.
<referenceContainername='content'> q <uiComponentname='example_listing.xml7> </referenceContainer>
Answers
B.
<referenceContainername='contenf> q <uiComponent name='example_listing7> </referenceContainer>
B.
<referenceContainername='contenf> q <uiComponent name='example_listing7> </referenceContainer>
Answers
C.
<referenceContainername='content'> <uiComponentname='Vendor_Module::ul_component/example_listing.xml7> </referenceContainer>
C.
<referenceContainername='content'> <uiComponentname='Vendor_Module::ul_component/example_listing.xml7> </referenceContainer>
Answers
Suggested answer: C

Explanation:

To include a grid or form in an admin page layout using the UI Component, a developer should use the following code:

<referenceContainer name='content'>

<uiComponent name='Vendor_Module::ul_component/example_listing.xml' />

</referenceContainer>

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

A.
Create a new user role with custom-defined resources, and assign it to the admin user
A.
Create a new user role with custom-defined resources, and assign it to the admin user
Answers
B.
This action cannot be taken since all admin users must have full access.
B.
This action cannot be taken since all admin users must have full access.
Answers
C.
Enable custom roles in the store configuration, and assign admin user ID(s).
C.
Enable custom roles in the store configuration, and assign admin user ID(s).
Answers
Suggested answer: A

Explanation:

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.

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

A.
etc/adminhtml/config.xml
A.
etc/adminhtml/config.xml
Answers
B.
etc/config xml
B.
etc/config xml
Answers
C.
etc/adminhtml/system.xml
C.
etc/adminhtml/system.xml
Answers
Suggested answer: C

Explanation:

To set the default value when creating configuration fields for admin, a developer should use the etc/adminhtml/system.xml file. This file contains the configuration for the admin panel, and the developer can add a new configuration field with a default value by using the following code:

<config>

<default>

<my_custom_config_field>10</my_custom_config_field>

</default>

</config>

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

A.
The developer can use sortOrder property by specifying a lower value than the target plugin.
A.
The developer can use sortOrder property by specifying a lower value than the target plugin.
Answers
B.
The developer can use sortOrder property by specifying a higher value than the target plugin.
B.
The developer can use sortOrder property by specifying a higher value than the target plugin.
Answers
C.
This cannot be achieved as the plugins are always executed by their module's load order in app/etc/config.php file.
C.
This cannot be achieved as the plugins are always executed by their module's load order in app/etc/config.php file.
Answers
Suggested answer: B

Explanation:

To prioritize a plugin's execution, a developer can use the sortOrder property and specify a higher value than the target plugin. For example, if the developer wants to prioritize a plugin named MyPlugin over a plugin named OtherPlugin, they would add the following code to the etc/config.php file:

'modules' => [

'Vendor_MyPlugin' => [

'sortOrder' => 100,

],

'Vendor_OtherPlugin' => [

'sortOrder' => 50,

],

],

This would ensure that MyPlugin is always executed before OtherPlugin.

In which two directories are third-party modules located by default? (Choose two.)

A.
vendor/
A.
vendor/
Answers
B.
app/packages/
B.
app/packages/
Answers
C.
app/modules/
C.
app/modules/
Answers
D.
app/code/
D.
app/code/
Answers
Suggested answer: A, D

Explanation:

By default, third-party modules are located in vendor/ or app/code/ directories. The vendor/ directory contains modules that are installed using Composer, while the app/code/ directory contains modules that are manually copied or cloned from a repository.

What does a URL Rewrite do?

A.
It updates the URL that is stored on the server.
A.
It updates the URL that is stored on the server.
Answers
B.
It changes the way a URL appears in the browser
B.
It changes the way a URL appears in the browser
Answers
C.
It updates the URL to a domain that is not being Indexed.
C.
It updates the URL to a domain that is not being Indexed.
Answers
Suggested answer: B

Explanation:

A URL rewrite changes the way a URL appears in the browser. For example, a URL rewrite could be used to change the URL for a product from /product/1234 to /product/my-product.

Which file is used to add a custom router class to the list of routers?

A.
routes.xml
A.
routes.xml
Answers
B.
di.xml
B.
di.xml
Answers
C.
config.xml
C.
config.xml
Answers
Suggested answer: A

Explanation:

The routes.xml file is used to define the list of routers for Adobe Commerce. A custom router class can be added to the list of routers by adding a new entry to the routes.xml file.

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

A.
Create a custom class with corrected logic, and define the class as preference in the preferences.xml.
A.
Create a custom class with corrected logic, and define the class as preference in the preferences.xml.
Answers
B.
Create a custom class with the corrected logic, and define the class as a preference for original one in the di xml.
B.
Create a custom class with the corrected logic, and define the class as a preference for original one in the di xml.
Answers
C.
Create a plugin, implement correct logic in the after' method, and then define the plugin in the di.xml.
C.
Create a plugin, implement correct logic in the after' method, and then define the plugin in the di.xml.
Answers
Suggested answer: C

Explanation:

To override a private method in a third party module class, a developer can create a plugin. The plugin should implement the after method, and the correct logic should be placed in the after method. The plugin should then be defined in the di.xml file.

Which property allows multiple cron jobs to share the same configuration?

A.
name
A.
name
Answers
B.
group
B.
group
Answers
C.
schedule
C.
schedule
Answers
Suggested answer: B

Explanation:

The group property allows multiple cron jobs to share the same configuration. The group property defines the name of the cron group that the cron job belongs to. A cron group can have common settings such as schedule, status, and error email recipients.

Configure a custom cron job and cron group (tutorial) | Adobe Commerce

Total 77 questions
Go to page: of 8