Magento-2-Associate-Developer Exam Question 46

You want to declare a block of the type \Magento\Framework\View\Element\Template with a template named view.phtml in the layout XML.
What is the correct layout declaration for this?
  • Magento-2-Associate-Developer Exam Question 47

    You need to find all orders in the processing state. You have written the code:

    When you run the code, you get the following exception:

    How do you resolve the exception?
  • Magento-2-Associate-Developer Exam Question 48

    There are two different configurable products which both share one variation. The shared variation is represented by the same simple product.
    A customer added both configurables to the cart with the same selected variation?
    How will they be displayed?
  • Magento-2-Associate-Developer Exam Question 49

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

    What will be the effect of this declaration?
  • Magento-2-Associate-Developer Exam Question 50

    You are setting up a brand new Magento installation for a merchant who is migrating from Magento 1 to Magento 2.
    Keeping in mind upgradability and the need to customize, which one do you choose?