ExamGecko
Home / Adobe / AD0-E716 / List of questions
Ask Question

Adobe AD0-E716 Practice Test - Questions Answers, Page 3

Add to Whishlist

List of questions

Question 21

Report Export Collapse

An Adobe Commerce Developer wishes to add an action to a pre-existing route, but does not wish to interfere with the functionality of the actions from the original route.

What must the developer do to ensure that their action works without any side effects in the original module?

Become a Premium Member for full access
  Unlock Premium Member

Question 22

Report Export Collapse

An Adobe Commerce developer is asked to change the tracking level on a custom module for free downloading of pdf and images.

The module contains following models:

Download class has a parameter for tracking_level.

How will the developer configure the tracking_level parameter, in di.xml.to have a value of 4 for Download class and all classes that extend Download?

A)

Adobe AD0-E716 image Question 22 92089 10022024174755000000

B)

Adobe AD0-E716 image Question 22 92089 10022024174755000000

C)

Adobe AD0-E716 image Question 22 92089 10022024174755000000

Become a Premium Member for full access
  Unlock Premium Member

Question 23

Report Export Collapse

An Adobe Commerce developer is working on a custom gallery extension.

The module uses the Magento\catalog\Model\iinageUploader class for image uploading. The admin controller for custom image uploads is Vendor\CustomGallery\Controller\Adminhtml\Image\Upload.

The images need to be stored in different basePath and baseTmpPath than the default ones.

How can the default imageuploader class be extended and used without affecting the other modules that are already using it?

A)

Adobe AD0-E716 image Question 23 92090 10022024174755000000

B)

Adobe AD0-E716 image Question 23 92090 10022024174755000000

C)

Adobe AD0-E716 image Question 23 92090 10022024174755000000

Become a Premium Member for full access
  Unlock Premium Member

Question 24

Report Export Collapse

An Adobe Commerce developer has added a new configuration field to the admin are

Become a Premium Member for full access
  Unlock Premium Member

Question 25

Report Export Collapse

An Adobe Commerce developer is tasked with creating a custom block that will be displayed on every page in the footer of the site.

After completing and optimizing the development, the developer notices that the block takes too much time to be generated on each page and decides to store it in the system cache after enabling it for all cache groups.

What would be the minimum requirement to achieve this?

Become a Premium Member for full access
  Unlock Premium Member

Question 26

Report Export Collapse

There is the task to create a custom product attribute that controls the display of a message below the product title on the cart page, in order to identify products that might be delivered late.

The new EAV attribute is_delayed has been created as a boolean and is working correctly in the admin panel and product page.

What would be the next implementation to allow the is_delayed EAV attribute to be used in the .phtml cart page such as $block->getProduct()->getIsDelayed()?

A)

Create a new file etc/catalog_attributes.xmi:

Adobe AD0-E716 image Question 26 92093 10022024174755000000

B)

Create a new file etc/extension attributes.xmi:

Adobe AD0-E716 image Question 26 92093 10022024174755000000

C)

Create a new file etc/eav attributes.xmi:

Adobe AD0-E716 image Question 26 92093 10022024174755000000

Become a Premium Member for full access
  Unlock Premium Member

Question 27

Report Export Collapse

An Adobe Commerce developer is creating a module (Vendor.ModuleName) to be sold on the Marketplace. The new module creates a database table using declarative schema and now the developer needs to make sure the table is removed when the module is disabled.

What must the developer do to accomplish this?

Become a Premium Member for full access
  Unlock Premium Member

Question 28

Report Export Collapse

An Adobe Commerce developer is trying to create a custom table using declarative schema, but is unable to do so.

Adobe AD0-E716 image Question 28 92095 10022024174755000000

What are two errors in the snippet above? (Choose two.)

Become a Premium Member for full access
  Unlock Premium Member

Question 29

Report Export Collapse

An Adobe Commerce developer wants to create a product EAV attribute programmatically which should appear as WYSIWYG in the admin panel. They have made sure that wysiwyg_enabled has been set to true, however, the attribute is not appearing as WYSIWYG in the admin panel.

What would be a possible reason?

Become a Premium Member for full access
  Unlock Premium Member

Question 30

Report Export Collapse

An Adobe Commerce Developer has written an importer and exporter for a custom entity. The client is using this to modify the exported data and then re-importing the file to batch update the entities.

There is a text attribute, which contains information related to imagery in JSON form, media_gallery. This is not a field that the client wants to change, but the software they are using to edit the exported data seems to be modifying it and not allowing it to import correctly.

How would the developer prevent this?

A) Specify a serializer class for the attribute using the $_transformAttrs class property array for both the exporter and importer so it gets converted:

Adobe AD0-E716 image Question 30 92097 10022024174755000000

B) Strip the attribute from the imported file by adding it to the s_strippedAttrs class property array:

Adobe AD0-E716 image Question 30 92097 10022024174755000000

C) Prevent it from being exported by adding it to the $_disat>iedAttrs class property array:

Adobe AD0-E716 image Question 30 92097 10022024174755000000

Become a Premium Member for full access
  Unlock Premium Member
Total 69 questions
Go to page: of 7
Search

Related questions