Free AD0-E717 Exam Braindumps (page: 10)

Page 10 of 20

A developer would like to initialize a theme in Adobe Commerce.
Which two files are required to complete this task? (Choose two.)

  1. theme.less
  2. registration.php
  3. composerjson
  4. themexml

Answer(s): B,D

Explanation:

The two files that are required to initialize a theme in Adobe Commerce are registration.php and theme.xml. The registration.php file registers the theme in the system and assigns a unique name to it. The theme.xml file declares the theme's title, parent theme, media directory, and preview image.

The theme.less file is not required to initialize a theme, but it can be used to define global styles for the theme. The composer.json file is not required to initialize a theme, but it can be used to manage dependencies and packages for the theme.


Reference:

[Adobe Commerce Developer Guide - Create a theme]



A developer needs to initialize the jQuery Ul widget for a specific HTML tag.
Which HTML attribute is used for this?

  1. x-magento-init
  2. data-mage-init
  3. data-ui

Answer(s): B

Explanation:

The data-mage-init HTML attribute is used to initialize the jQuery UI widget for a specific HTML tag. This attribute specifies the name of the widget and its configuration options as a JSON object.

The x-magento-init HTML attribute is used to initialize RequireJS modules for a specific HTML tag. The data-ui HTML attribute does not exist in Adobe Commerce.


Reference:

[Adobe Commerce Developer Guide - Initialize JavaScript components using the data-mage-init attribute]



How can a custom CMS Page be set as a store home page?

  1. In the CMS Page admin grid, select the checkbox for the page under the "Home Page' column.
  2. In the CMS Page admin form, set the 'Default Home Page" value to "yes"
  3. In the store configuration, set a custom CMS Page to be a CMS home page

Answer(s): C

Explanation:

To set a custom CMS Page as a store home page, the developer or merchant should follow these steps:

In the Admin panel, go to Content > Pages and create or edit a CMS Page that will be used as a home page.

In the Admin panel, go to Stores > Configuration > General > Web > Default Pages.

In the CMS Home Page field, select the CMS Page that was created or edited in step 1.

Save the configuration.

There is no "Home Page" column in the CMS Page admin grid or "Default Home Page" value in the CMS Page admin form.


Reference:

[Adobe Commerce User Guide - Set up your home page]



Which theme directory contains the static files that can be loaded directly?

  1. web
  2. preprocessed
  3. assets

Answer(s): A

Explanation:

The web directory contains the static files that can be loaded directly. This directory includes files such as CSS, JavaScript, and images.



Page 10 of 20



Post your Comments and Discuss Adobe AD0-E717 exam with other Community members:

Christine commented on November 06, 2024
Good for practice
Anonymous
upvote

Xiching commented on August 20, 2024
Thank you for publishing these questions. I assisted me to pass my exam.
China
upvote