Free AD0-E703 Exam Braindumps (page: 3)

Page 2 of 34

A module you are working on needs to send a newsletter to all subscribed customers at predefined intervals.
Which two actions do you take to make sure the newsletter is sent? (Choose two.)

  1. Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/di.xml
  2. Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/.xml
  3. Make sure bin/magento cron:run is added to the system crontab
  4. Register the plugin for \Magento\Customer\Model\Customer::authenticate in etc/crontab.xml

Answer(s): B,C



What is the connection between product attribute sets and categories?

  1. Categories have no connection to product attribute sets, and any product can be assigned to any category
  2. Each category is linked to a single product attribute set, and only products from that attribute set are allowed in the category
  3. Each category is linked to a single product attribute set, and only products from that category's set or any of its parent categories'
  4. Categories can be connected to multiple product attribute sets, and only products from one of those sets are allowed in the category

Answer(s): A



How can you access the select query of a collection?

  1. You can only access the select query after the collection has been loaded by calling the public method query()
  2. It is stored in a protected variable $query and can only be accessed from the inside of a collection class
  3. You can get it by using public method getSelect() which returns an instance of Magento\Framework\DB\Select
  4. The select query is not available in the collection class, it will be generated by the MySQL adapter right before executing a query

Answer(s): C



You are developing a module MyCompany_StoreInfo to display information about brick and mortar stores on a frontend page. The displayed information varies based on the country of a given store.
What two elements automatically render their children? (Choose two.)

  1. <block class="\Magento\Framework\View\Element\AbstractBlock" name="shop.info.details"/>
  2. <block class="\Magento\Framework\View\Element\Template" name="shop.info.details"/>
  3. <container name="shop.info.details"/>
  4. <block class="\Magento\Framework\View\Element\Text\ListText" name="shop.info.details"/>

Answer(s): C,D






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

AD0-E703 Discussions & Posts