Question 1
How do you pass an array ['one', 'two] as a parameter to you block using the layout XML arguments directive?


Question 2
What are two functions of a resource model? (Choose two.)
Question 3
You are updating a module to add extra functionality to the Magento application, Where would Magento look for modules?
Question 4
You are implementing a custom module MyModule, which provides an implementation of \Psr\Log\LoggerInterface called \MyCompany\MyModule\Logger.
The LoggerInterface has the default preference declared in app/etc/di.xml.
Keeping upgradability in mind, how do you make \MyCompany\MyModule\Logger the default implementation of the LoggerInterface globally?
The LoggerInterface has the default preference declared in app/etc/di.xml.
Keeping upgradability in mind, how do you make \MyCompany\MyModule\Logger the default implementation of the LoggerInterface globally?
Question 5
Your module adds a new controller class which will return a JSON response.
What will be the return type of the execute method?
What will be the return type of the execute method?