Free AD0-E720 Exam Braindumps (page: 3)

Page 2 of 13

In which folder can a custom theme favicon be added?

  1. <your_theme_dir>/web/
  2. <your_theme_dir>/Magento_Theme/web/
  3. <your_theme_dir>/assets/images

Answer(s): B

Explanation:

The favicon can be added to the <your_theme_dir>/Magento_Theme/web/ directory of a custom theme. The favicon should have the name favicon.ico and replace the default one from the Magento_Theme module. The <your_theme_dir>/web/ directory is used for storing web assets that are not specific to any module. The <your_theme_dir>/assets/images directory does not exist by default and is not used for storing favicons.


Reference:

[Add a favicon], [Theme structure]



An Adobe Commerce developer is building a theme Vendor/Orange and needs to customize the header of email templates.
Where in the theme does the developer need to place the new template for this customization?

  1. /Magento_Email/templates/override/html/header.html
  2. /Magento_Email/email/header.html
  3. /Magento_Theme/html/header.html

Answer(s): B

Explanation:

To customize the header of email templates, the developer needs to place the new template in the /Magento_Email/email/header.html path of the theme. This will override the default header template from the Magento_Email module. The
/Magento_Email/templates/override/html/header.html path is not valid and will not work. The /Magento_Theme/html/header.html path is used for customizing the header of web pages, not emails.


Reference:

[Customize email templates], [Email templates overview]



Which two steps are required to delete a manually installed theme? (Choose two.)

  1. Remove the theme using the theme:uninstall CLI command
  2. Remove the directory app/design/frontend/<VendorNAME/<ThemeName>
  3. Disable the theme from the backend admin configuration
  4. Remove the theme record from the theme database table

Answer(s): B,D

Explanation:

To delete a manually installed theme, the developer needs to remove the theme directory from the app/design/frontend directory and also delete the corresponding record from the theme table in the database. The theme:uninstall CLI command is only used for deleting themes that are installed as Composer packages. Disabling the theme from the backend admin configuration does not delete the theme files or records, but only makes it unavailable for use.


Reference:

[Delete a theme], [theme:uninstall]



An Adobe Commerce developer needs to modify the width and height of all product images inside the theme Vendor/theme.
What file inside the theme is responsible for these changes?

  1. Vendor/theme/etc/images.xml
  2. Vendor/theme/etc/view.xml
  3. Vendor/theme/etc/theme.xml

Answer(s): B

Explanation:

To modify the width and height of all product images inside a theme, the developer needs to edit the view.xml file inside the etc directory of the theme. The view.xml file contains the configuration for the theme's images, fonts, and layout. The images.xml file does not exist by default and is not used for configuring images. The theme.xml file is used for specifying the parent theme and other metadata of the theme.


Reference:

[view.xml], [theme.xml]






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

AD0-E720 Exam Discussions & Posts