Magento-2-Certified-Associate-Developer Exam Question 56

In layout files you can change an element's order on a page. This can be done using one of the following:
* <move> instruction
* before and after element attributes?
How are two methods different?
  • Magento-2-Certified-Associate-Developer Exam Question 57

    A third-party module uses a layout update that changes the template path for a core block from product/
    view/addto/compare.phtml of the Magento_Catalog module to custom/view/addto/
    compare.phtmlof your custom module. The merchant has a customized version of this template in their
    custom theme.
    What is a consequence of this setup?
  • Magento-2-Certified-Associate-Developer Exam Question 58

    You have loaded an instance of Magento\Catalog\Model\Product in the $product variable. You know that the loaded product has the type configurable with four variations. These variations have the prices: $10, $12, $12, $15.
    What will be the result of the $product->getFinalPrice() call?
  • Magento-2-Certified-Associate-Developer Exam Question 59

    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-Certified-Associate-Developer Exam Question 60

    You have been asked to display details from the customer's latest order on the customer's account dashboard (customer/account/). You create a new custom template to show the information.
    How do you obtain an order repository so you can fetch an order?