Adobe AD0-E717 Practice Test - Questions Answers, Page 5
List of questions
Question 41

A new custom module is built for the existing Adobe Commerce store. A merchant has requested a few frontend updates. For this, a developer has to implement a custom style.
What is the location of the less file that will be included by default?
Explanation:
The view/{area}/web/css/source/main.less file is the default less file that is included by default. This file contains the main styles for the module.
Question 42

What is the correct way to inject CMS block in a layout?
Explanation:
To inject a CMS block in a layout, you can use the <referenceBlock> tag. The <referenceBlock> tag takes two attributes: the name of the block to inject and the identifier of the block. In this case, the block name is block_identifier and the identifier is my_cms_block_identifier.
Question 43

What is one purpose of a customer data JS library?
Explanation:
The customer data JS library is used to store private customer data in local storage. This data can be used to improve the customer's experience on the store, such as by remembering their shipping address or their preferred payment method.
Question 44

A custom theme Is being developed in the Adobe Commerce store, and the developer needs to override the current parent theme styles.
Which less file should the developer use to achieve this goal?
Explanation:
To override the current parent theme styles, you can use the _theme.override.less file. This file is located in the view/{area}/web/css/source directory.
Question 45

Which is a correct CMS content element in Adobe Commerce?
Explanation:
A widget is a CMS content element that can be used to display dynamic content on a page. Widgets can be used to display things like product reviews, social media feeds, or even custom content.
Question 46

A developer needs to extend the existing jQuery widget. Which jQuery function is used for this purpose?
Explanation:
The'.widget()` function is used to extend the existing jQuery widget. This function takes two arguments: the name of the widget to extend and the definition of the new widget.
Question 47

A seller would like to offer an electronic version of an album by selling each song individually. Which layout can be used to customize a product page layout for this item?
Explanation:
The catalog_product_view_type_downloadable layout can be used to customize a product page layout for a downloadable product. This layout includes the product details, the product reviews, and the download links for the product's files.
Question 48

A developer is making customizations in the checkout, and access to the quotes shipping address is needed. Which file provides the shipping address of the current quote?
Explanation:
The Magento_Checkout/js/model/quote-shipping-address file provides the shipping address of the current quote. This file can be accessed by developers to get the shipping address of the quote.
Question 49

A merchant wants to include taxes In an Adobe Commerce store. Which option can have a tax class assigned to it?
Explanation:
According to the Adobe Commerce User Guide, a tax class can be assigned to either a product or a customer group in Adobe Commerce. A product tax class determines how a product is taxed, while a customer tax class determines how a customer is taxed based on their location and group membership. Shipping is considered as a product tax class in Adobe Commerce, and it can be assigned to different shipping methods or rates. The other options are not valid for assigning a tax class.
Question 50

A client would like to add an image icon in front of the telephone field to the shipping address form on a checkout page. What is the correct way to modify the Ul component to set a custom template file for the field?
A)
B)
C)
D)
Question