Try Before You Buy

Download a free sample of any of our exam questions and answers

  • 24/7 customer support, Secure shopping site
  • Free One year updates to match real exam scenarios
  • If you failed your exam after buying our products we will refund the full amount back to you.

[Aug 03, 2023] New 2023 Adobe AD0-E717 Exam Dumps with PDF from DumpTorrent (Updated 79 Questions) [Q39-Q64]

Share

New 2023 AD0-E717 exam questions Welcome to download the newest DumpTorrent AD0-E717 PDF dumps (79 Q&As)

P.S. Free 2023 Adobe Commerce AD0-E717 dumps are available on Google Drive shared by DumpTorrent

NEW QUESTION # 39
Which attribute option restricts Catalog EAV attributes to only certain product types?

  • A. show.in
  • B. apply_to
  • C. allowed_in

Answer: C

Explanation:
Explanation
Theallowed_inattribute restricts Catalog EAV attributes to only certain product types. This attribute can be used to prevent certain attributes from being displayed on certain product types.


NEW QUESTION # 40
The value of a product attribute in the Adobe Commerce system needs to have a different format before it is displayed. Which attribute model class is responsible for this?

  • A. Frontend
  • B. Source
  • C. Backend

Answer: A

Explanation:
Explanation
The frontend attribute model class is responsible for formatting the value of a product attribute before it is displayed on the storefront. This class can implement methods such as getValue, getLabel, getInputType, and getOptionText to modify the attribute value.
The backend attribute model class is responsible for saving and loading the attribute value to and from the database. The source attribute model class is responsible for providing the list of options for an attribute.
Verified References: [Adobe Commerce Developer Guide - Attribute models]


NEW QUESTION # 41
What is the correct way to inject CMS block in a layout?

  • A. <block class="Magento\Cms\Block\Block" name="blockjdentifier"> <arguments> q
    <argumentname="block_id"xsi:type="string">my_cms_block_identifier</argument> </arguments>
    </block>
  • B. <block class="Magento\Cms\Block\Block" name="block_identifier"> q
    <actionmethod="setBlock'>my_cms_block_identifier</action> </block>
  • C. <referenceBlock name="content"> <block class="Magento\Cms\Block\Block" name="block_identifier' identifier="my_cms_block_ldentrfier" /> </referenceBlock>

Answer: C

Explanation:
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 isblock_identifierand the identifier ismy_cms_block_identifier.


NEW QUESTION # 42
A developer is investigating a problem with the shopping cart. Some of the cart records in the database are being checked. Which table should the developer check?

  • A. sates.quote
  • B. sales.cart
  • C. quote

Answer: A


NEW QUESTION # 43
How can a developer prioritize a plugin's execution, if possible?

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

Answer: B

Explanation:
Explanation
To prioritize a plugin's execution, a developer can use thesortOrderproperty and specify a higher value than the target plugin. For example, if the developer wants to prioritize a plugin namedMyPluginover a plugin namedOtherPlugin, they would add the following code to theetc/config.phpfile:
'modules' => [
'Vendor_MyPlugin' => [
'sortOrder' => 100,
],
'Vendor_OtherPlugin' => [
'sortOrder' => 50,
],
],
This would ensure thatMyPluginis always executed beforeOtherPlugin.


NEW QUESTION # 44
Which action, if any, can be taken to change the URL key of the product?

  • A. Use URL rewrite to map product id with the custom URL key.
  • B. In the product admin form, under the Search Engine Optimization fieldset, the URL key can be set
  • C. The product URL key is generated automatically, so it cannot be changed.

Answer: B

Explanation:
Explanation
The URL key of a product is the text that is used to generate the product's URL. This text can be set by the merchant in the product admin form.


NEW QUESTION # 45
Which condition must be satisfied to ensure that a Discard Subsequent Rules option that is set to "Yes" actually prevents multiple discounts from being applied to the same product?

  • A. Each pricing rule must have the defined priority.
  • B. Each pricing rule must have From and To date.
  • C. Each pricing rule must be created with Coupon code

Answer: A

Explanation:
Explanation
The Discard Subsequent Rules option is only applied if the pricing rules have different priorities. If two pricing rules have the same priority, the discount from both rules will be applied.


NEW QUESTION # 46
What is one purpose of a customer data JS library?

  • A. It stores the customers credit card info for usage in the checkout.
  • B. It stores the customer's username and password for easier frontend login.
  • C. It stores private customer data in local storage

Answer: C

Explanation:
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.


NEW QUESTION # 47
How can a custom CMS Page be set as a store home page?

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

Answer: C

Explanation:
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.
Verified References: [Adobe Commerce User Guide - Set up your home page]


NEW QUESTION # 48
How are multiple EAV attributes belonging to the same entity grouped in the database?

  • A. Based on all numeric values being stored in one table while text values are stored in the other
  • B. Based on the sizes of values they contain
  • C. Based on the types of values they contain

Answer: C

Explanation:
Explanation
Multiple EAV attributes belonging to the same entity are grouped in the database based on their data types, such as datetime, decimal, int, text, or varchar. For example, allattributes with datetime values are stored in one table, while all attributes with text values are stored in another table.
The sizes or numeric/text values of attributes do not determine how they are grouped in the database.
Verified References: [Adobe Commerce Developer Guide - EAV data model]


NEW QUESTION # 49
Which file on an Adobe Commerce Cloud project allows a developer to upgrade the PHP version and enable/disable a PHP extension?

  • A. magento.app.yaal
  • B. php.ini
  • C. .magento. env. yaml

Answer: B

Explanation:
Explanation
The php.ini file is used to configure the PHP settings for an Adobe Commerce Cloud project. This file can be used to upgrade the PHP version and enable/disable PHP extensions.


NEW QUESTION # 50
Which theme directory contains the static files that can be loaded directly?

  • A. web
  • B. assets
  • C. preprocessed

Answer: A

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


NEW QUESTION # 51
Which CLI command should be used to determine that static content signing is enabled?

  • A. bin/magento config:show dev/static/sign/status
  • B. bin/magento config:show dev/static/sign
  • C. bin/magento config:show dev/static/status

Answer: A

Explanation:
Explanation
The bin/magento config:show dev/static/sign/status CLI command can be used to determine if static content signing is enabled in Magento. If static content signing is enabled, the output of the command will include the following message:
static content signing is enabled


NEW QUESTION # 52
Which Magento project directory is the recommended webroot for the web server?

  • A. bin/
  • B. Pub/
  • C. app/

Answer: B

Explanation:
Explanation
The Pub/ directory is the recommended webroot for the web server in Magento. This is because it contains all of the static content that is used by the Magento store, such as images, CSS, and JavaScript files.


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

  • A. etc/adminhtml/config.xml
  • B. etc/config xml
  • C. etc/adminhtml/system.xml

Answer: C

Explanation:
Explanation
To set the default value when creating configuration fields for admin, a developer should use theetc/adminhtml/system.xmlfile. 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>


NEW QUESTION # 54
Which Cloud CLI for Commerce command can be used to quickly view a specific log file for an Adobe Commerce Cloud project?

  • A. magento-cloud log
  • B. magento-cloud logs:show
  • C. magento-cloud logs:list

Answer: B

Explanation:
Explanation
The magento-cloud logs:show command can be used to quickly view a specific log file for an Adobe Commerce Cloud project. This command takes the name of the log file as an argument.


NEW QUESTION # 55
In a new release of a module, a developer decides to rename a table that was defined in the earlier versions.
Which action, if any, allows the developer to prevent data loss?

  • A. Define the table and columns mapping in the db.schema_whitelist.json
  • B. Define onCreate="migrateDataFromAnotherTable(old_table_name)" attribute in the table tag.
  • C. Declarative schema supports RENAME TABLE', so the data will be migrated to the new table automatically.

Answer: B

Explanation:
Explanation
To prevent data loss when renaming a table that was defined in the earlier versions of a module, the developer should define onCreate="migrateDataFromAnotherTable(old_table_name)" attribute in the table tag of the db_schema.xml file. This attribute will instruct Adobe Commerce to copy all data from the old table to the new table during installation or upgrade.
Declarative schema does not support RENAME TABLE statement, so the data will not be migrated to the new table automatically. The db.schema_whitelist.json file is used to whitelist changes that are allowed for backward compatibility, not for data migration.
Verified References: Adobe Commerce Developer Guide - Declare schema and data patches


NEW QUESTION # 56
Which two methods add sorting to collections inherited from the
\Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class? (Choose two.)

  • A. addSorting
  • B. setSorting
  • C. setOrder
  • D. addOrder

Answer: C,D

Explanation:
Explanation
The two methods that add sorting to collections inherited from the
\Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class are setOrder and addOrder. These methods allow adding one or more order clauses to a collection query.
The setSorting and addSorting methods do not exist in Adobe Commerce.
Verified References: [Adobe Commerce Developer Guide - Collections]


NEW QUESTION # 57
What is an advantage of the read-only core file system using Adobe Commerce Cloud?

  • A. Improves website performance.
  • B. Reduces the number of attackable surfaces significantly
  • C. Ensures that all changes to the production environment are tracked.

Answer: B

Explanation:
Explanation
The read-only core file system in Adobe Commerce Cloud means that the core files of the Magento application cannot be modified. This significantly reduces the number of attackable surfaces on the website, making it more secure.


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

  • A. vendor/
  • B. app/modules/
  • C. app/code/
  • D. app/packages/

Answer: A,C

Explanation:
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.


NEW QUESTION # 59
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?

  • A. view/{area}/web/css/source/_module.less
  • B. view/{area}/web/css/source/main less
  • C. view/{area}/web/css/style less

Answer: B

Explanation:
Explanation
Theview/{area}/web/css/source/main.lessfile is the default less file that is included by default. This file contains the main styles for the module.


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

  • A. data-mage-init
  • B. x-magento-init
  • C. data-ui

Answer: A

Explanation:
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.
Verified References: [Adobe Commerce Developer Guide - Initialize JavaScript components using the data-mage-init attribute]


NEW QUESTION # 61
How can a developer override a core class method in Adobe Commerce?

  • A. <typename="Magento\Catalog\Block\Product*> <arguments> q <argument name="rewrtte" xsi:type="object">Vendor\Module\Block\Product</argument> </arguments> </type>
  • B. <typename="Magento\Catalog\Block\Product"> q <rewrite class="Vendor\Module\Block\Producf />
    </type>
  • C. <preference for='Magento\Catalog\Block\Product" type="Vendor\Module\Block\Producf />

Answer: C

Explanation:
Explanation
The preference element in di.xml allows specifying a custom class that will be used instead of the original class when creating an object1. This can be used to override a core class method by extending the original class and overriding the method in the custom class1. The rewrite and argument elements are not valid for overriding core class methods in di.xml1.


NEW QUESTION # 62
Under which section should the soft dependency for a module be listed in app/code/<Vendor>/<Module>/composer.json file?

  • A. suggest*: {
  • B. }
    optional": {
  • C. }
  • D. }
    soft": {

Answer: D

Explanation:
Explanation
The soft dependency for a module should be listed in thesoftsection of
theapp/code/<Vendor>/<Module>/composer.jsonfile.
{
"name": "Vendor/Module",
"description": "This is a sample module",
"type": "magento2-module",
"version": "1.0.0",
"require": {
"php": "~7.3.0",
"magento/framework": "^2.4.0",
"soft": {
"magento/module-catalog": "^2.4.0"
}
}
}


NEW QUESTION # 63
What will happen if a developer fails to mention the start date in the "From" field when creating a price rule?

  • A. The price rule will not be saved.
  • B. The price rule will go into effect as soon as it is saved
  • C. The price rule will be saved, but it will not go into effect until the start date is added

Answer: C

Explanation:
Explanation
If a developer fails to mention the start date in the "From" field when creating a price rule, the price rule will be saved. However, the price rule will not go into effect until the start date is added.


NEW QUESTION # 64
......

AD0-E717 exam questions from DumpTorrent dumps: https://prepaway.dumptorrent.com/AD0-E717-braindumps-torrent.html (79 Q&As)