Magento2 Cert questions dump package 2.

Magento2 Cert questions dump package 2. Try this package to pre-exam cert. It will have you a lot of…

Example dump questions for magento2 cert package 2.

Please enter your email:

1. Image properties are configured in which file?

 
 
 
 

2. While overriding a theme layout in your custom theme, at which location would you put the layout xml file?

 
 
 
 

3. You need to remove static resource linked from a custom page. Which layout instruction would you use?

 
 
 
 

4. Where is the base template file for all Magento HTML requests located?

 
 
 
 

5. You have overridden a core Magento template in your theme. Your updates require logic from \MyClass\Path to render properly. Keeping upgradeability in mind, how do you make this logic available?

 
 
 
 

6. Which command would you run to create the database schema for the newly created module?

 
 
 
 

7. What layout handle contains the layout instructions for rendering a product’s price?

 
 
 
 

8. Where are admin uiComponents located?

 
 
 
 

9. What container contains the columns container?

 
 
 
 

10. You need to add a fee (additional to tax and shipping) to every order placed. In what file do you specify the new total?

 
 
 
 

11. What is the significance of the “resource” attribute while defining the menus in the admin area?

 
 
 
 

12. How would you go about creating an admin theme?

 
 
 
 

13. Which of the following are auto generated in Magento 2? (choose 3)

 
 
 
 
 

14. You have added a system configuration field Store Owner Name in module MyModule_MyStoreData. Now you need to add the default value for this field programmatically. In which file would you add this value?

 
 
 
 

15. Which command is used to write system-specific settings to the system-specific configuration file app/etc/env.php

 
 
 
 

16. What are the 3 plugin types in a magento 2 installation? (choose 3)

 
 
 
 
 

17. What Magento layout XML instructions instruct Magento to render HTML output? (choose 2)

 
 
 
 

18. In a Magento block, what is the protected method that is called in the setLayout method, but before _toHtml?

 
 
 
 

19. To add a custom router to the list of routers for the front controller in which xml file would you need to add/change?

 
 
 
 
 

20. What ways are possible to wrap a block with an HTML tag? (choose 2)

 
 
 
 

21. Keeping maintainability in mind, how do you add a new link to the customer account sidebar?

 
 
 
 

22. How will you configure varnish hosts for cache purging?

 
 
 
 

23. You have written the following code for a router:
public function match (\Magento\Framework\App\RequestInterface $request)
{
if (strpos($request->getPathInfo(), ‘test’) === false) return;
$request->setModuleName(‘MyCompany_MyModule’)
->setControllerName(‘test’)->setActionName(‘test’);

return $this->actionFactory->create(
\Magento\Framework\App\Action\Forward::class, [‘request’ => $request]
);
}
What is the result of this code being executed when navigating to /test?

 
 
 
 

24. Magento uses the concept of service contracts to create a blueprint for modules to communicate with each other. Where are these service contracts stored in a module?

 
 
 
 

25. How would you go about creating an admin theme?

 
 
 
 

26. What are the required files for creating a new theme in a Magento 2 project? (choose 2)

 
 
 
 
 

27. Merchant want to add to every page same block instance to top and bottom of page content. But for styling purpose, we need to add different class names. What should we do?

 
 
 

Leave a Reply