Free AD0-E703 Exam Braindumps (page: 4)

Page 3 of 34

Assume that $collection is a new instance of a class that extends Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection, and $ids is an array of ids.
How do you select a list of records from the database where the record ids are in the $ids list?

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): A



While reviewing a layout file named sales_order_view.xml you notice the element

<update handle="customer_account"/>
What is the purpose of this element?

  1. Replaces the customer_account handle with sales_order_view
  2. Nothing, this element has been deprecated
  3. Adds the customer_account handle to the page's handles list
  4. Updates the current page handle to customer_account

Answer(s): C


Reference:

https://devdocs.magento.com/guides/v2.2/frontend-dev-guide/layouts/xml- instructions.html#fedg_layout_xml-instruc_ex_upd



You have to install a new module on the production environment. All the module is adding a new product attribute. You enabled maintenance mode, copied the module code, run bin/magento setup:upgrade and disabled maintenance mode.
What two risks does this process pose? (Choose two.)

  1. It will clean all caches which will cause a performance degradation
  2. The new attribute will be invisible on the storefront until the cache is cleaned manually
  3. It will void all active sessions
  4. It will clean static assets from the pub/static folder

Answer(s): B,C



Magento 2's architecture uses code to bootstrap a custom module that resides in app/code.
What two files are required to make a module usable? (Choose two.)

  1. Helper/Data.php
  2. etc/config.xml
  3. etc/module.xml
  4. registration.php

Answer(s): C,D






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

AD0-E703 Discussions & Posts