In layout files you can change al element's order on a page. This can be done using one of the following:
before and after element attributes?
How are two methods different?
Answer : D
Your module adds a new controller class which will return a JSON response.
What will be the return type of the execute method?
Answer : C
You are adding a new menu item to the admin backend which will link to a custom backend page.
The declaration of the route:
What do you specify as the menu item action attribute value so it links to /admin/mycompany/mymodule/?
Answer : D
You have been given the task of importing products from an external source. You decide to create a custom module to do this. The class handling the import creates a product for each record, sets the data on it and saves it to the database.
What do you inject into a constructor to represent each product you create?
Answer : B
How do you add a foreign key to an existing table created by another module?
Answer : B
While developing a module you need to modify an existing Data Patch.
How can you force Magento to execute an existing Data Patch file again?
Answer : B
How do you pass an array ['one', 'two] as a parameter to you block using the layout XML arguments directive?
Answer : A