Free AD0-E703 Exam Braindumps (page: 11)

Page 10 of 34

You added a plugin declaration to MyCompany/MyModule/etc/di.xml:



What will be the effect of this declaration?

  1. An exception because plugins must not be applied to the interfaces
  2. An exception because of the syntax error in the declaration
  3. The plugin will be ignored because ActionInterface will never be instantiated directly
  4. The plugin will be applied to all implementors of the ActionInterface

Answer(s): D


Reference:

https://stackoverflow.com/questions/62734221/magento2-writing-plugins-for-interface



You have created a custom module which must perform an action immediately after an order is placed, but only on the store front of the merchant site. You have selected the checkout_submit_all_after as the target event which the module will observe.
In which file will the event observer be declared?

  1. etc/frontend.xml
  2. etc/events.xml
  3. etc/config.xml
  4. etc/frontend/events.xml

Answer(s): D



You are working on a jewelry store that sells rings. Each ring allows an adjustment in size. The customer specifies finger size in inches and the merchant physically adjusts the stocked ring to the required size.
How is this represented in Magento?

  1. Using custom options, with rings as simple products
  2. Using categories, with each ring size as a separate product
  3. Using configurable products, with ring size as an attributive value
  4. Using custom options, with rings as bundle products

Answer(s): A



You have created a module with a custom ACL resource and want to restrict access to resources of your module.
Which three items are restricted based on ACL role permissions? (Choose three.)

  1. CLI Commands
  2. Webapi resources
  3. Storefront login
  4. System configuration sections
  5. Adminhtml controllers

Answer(s): B,D,E






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

AD0-E703 Discussions & Posts