ExamGecko
Home Home / Adobe / AD0-E711

Adobe AD0-E711 Practice Test - Questions Answers

Question list
Search
Search

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

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

Explanation:

This is done by using the Storefront API to create the custom role, and then assigning that role to the admin user. Please refer to the Adobe Commerce Developer Professional Study Manual from adobe.com for more information on creating custom roles and assigning them to users.

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

A.
ref erenceContainer name=’’content' > q <uiComponentname-'Vendor_Module::ui_component/example_listing.xml''/></referenceContainer>
A.
ref erenceContainer name=’’content' > q <uiComponentname-'Vendor_Module::ui_component/example_listing.xml''/></referenceContainer>
Answers
B.
< ref erenceContainer name="content" > q <uiComponent name='example_listing.xml7></referenceContainer>
B.
< ref erenceContainer name="content" > q <uiComponent name='example_listing.xml7></referenceContainer>
Answers
C.
<referenceContainername='content"><uiComponent name='exam ple_listing''/></referenceContainer>
C.
<referenceContainername='content"><uiComponent name='exam ple_listing''/></referenceContainer>
Answers
Suggested answer: C

Explanation:

This is the correct syntax for including a grid or form in an admin page layout using the UI Component. The examplelisting.xml file is an XML file which contains the configurations and settings for the grid or form. Please refer to the Magento 2 Developer Documentation for more information on how to use UI Components in your admin page layouts.

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 vlew/adminhtml/layout/catalog_category_edit.xmI in the module, and then define a block that would display the field for the attribute.
A.
Create vlew/adminhtml/layout/catalog_category_edit.xmI in the module, and then define a block that would display the field for the attribute.
Answers
B.
Create vlew/adminhtml/ui_component/category_form.xml file in the module, and then define the field for the attribute.
B.
Create vlew/adminhtml/ui_component/category_form.xml file in the module, and then define the field for the attribute.
Answers
C.
The field for the attribute will appear automatically.
C.
The field for the attribute will appear automatically.
Answers
Suggested answer: B

Explanation:

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.

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

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

Explanation:

When creating configuration fields for admin, the default value should be set in the etc/config.xml file.

Which command should be used to deploy static content?

A.
set up:static-content :deploy
A.
set up:static-content :deploy
Answers
B.
start:static-resources:deploy
B.
start:static-resources:deploy
Answers
C.
startstatic-content:deploy
C.
startstatic-content:deploy
Answers
Suggested answer: A

Explanation:

To deploy static content, the command "setup:static-content:deploy" should be used.

What is the purpose of a URL Rewrite?

A.
It is used to save URLs in the database for cache cleaning.
A.
It is used to save URLs in the database for cache cleaning.
Answers
B.
It helps URLs Become more friendly for customers and search engines.
B.
It helps URLs Become more friendly for customers and search engines.
Answers
C.
It disables URLs that authenticate the user automatically.
C.
It disables URLs that authenticate the user automatically.
Answers
Suggested answer: B

Explanation:

URL rewrite is a technique used to make URLs more user-friendly and easier to understand for both customers and search engines. This helps improve the website's search engine optimization (SEO) and overall user experience. Reference: https://www.searchenginejournal.com/seo-friendly-urlstructure- 2/202790/

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?

A.
Controller/lndex/lndex.php
A.
Controller/lndex/lndex.php
Answers
B.
Contiollef/Checkout/lndex.php
B.
Contiollef/Checkout/lndex.php
Answers
C.
Controller/lndex/Checkout.php
C.
Controller/lndex/Checkout.php
Answers
Suggested answer: A

Explanation:

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

What is the default store ID for the admin panel?

A.
1
A.
1
Answers
B.
-1
B.
-1
Answers
C.
0
C.
0
Answers
Suggested answer: C

Explanation:

The default store ID for the admin panel in Magento is 0. This is because Magento uses a hierarchical system for store management, where store ID 0 represents the admin panel, and other store IDs represent different store views. Reference:

https://magento.stackexchange.com/questions/1049/what-is-the-purpose-of-store-id-0

Which Adobe Commerce table stores all cron data?

A.
schedule
A.
schedule
Answers
B.
cron.schedule
B.
cron.schedule
Answers
C.
cronjob
C.
cronjob
Answers
Suggested answer: B

Explanation:

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

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

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

Explanation:

In Magento, third-party modules are located by default in two directories: app/code/ and vendor/.

The app/code/ directory is used for custom modules, while the vendor/ directory is used for modules installed via Composer. Reference: https://devdocs.magento.com/guides/v2.4/extension-devguide/ build/module-file-structure.html

Total 60 questions
Go to page: of 6