Question 26

Your module adds a new controller class which will return a JSON response.
What will be the return type of the execute method?
  • Question 27

    The constructor function for \Magento\Catalog\Model\Category contains this excerpt:

    With the automatic dependency injection that Magento provides, how is the StoreManagerInterface resolved?
  • Question 28

    You are debugging a problem resulting from a recently deployed around plugin. The plugin is intercepting the doSomething method. The aroundDoSomething plugin method is called successfully, but the original doSomething method is no longer being executed as expected.
    What is causing this?
  • Question 29

    You are reviewing a theme in app/design/frontend/MyCompany/MyTheme and see the file etc/view.xml.
    What is the function of this file?
  • Question 30

    Which three scopes can be used to set different System Configuration values in Magento? (Choose three.)