Question 11

You are implementing a before plugin in MyCompany_Magic. It will intercept the same method that MyCompany_Admission is already intercepting using a before plugin: Topmenu::getBlockHtml
Which two actions are required to ensure the new plugin will execute last? (Choose two.)
  • Question 12

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

    An Adobe Commerce developer has created a before plugin for the save() function within the magento\Framework\App\Cache\Proxy class. The purpose of this plugin is to add a prefix on all cache identifiers that fulfill certain criteria.
    Why is the plugin not executing as expected?
  • Question 14

    You are building a report using complex SQL aggregations to locate the required data.
    In what type of class do you put these SQL statements?
  • Question 15

    What is a valid use case for an around plugin?