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. What Magento layout XML instructions instruct Magento to render HTML output? (choose 2)


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


3. Magento offers two commands that apparently clear the cache: bin/magento cache:clean and bin/magento cache:flush. Why is cache:clean the better command to run?


4. What is the maximum amount of time for which varnish serves a stale object?


5. A merchant wants to create a custom functionality where after a customer adds certain product to cart he’ll get a mail containing related products customer can buy. Now you need to create a new email template for this functionality where would you create the email template?


6. How would you enable dependency graph profiler?


7. Which of the following scenarios will purge the varnish cache automatically in a magento store? (choose 2)


8. 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?


9. Which Magento areas natively allow products to be added to the cart? (choose 3)


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


11. What is the significance of the instruction the layout xml?


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


13. What requirejs-config.js configuration node allows you to replace another RequireJS module?


14. When creating a form field with a Magento PHP block grid, what configuration key prevents editing of the field?


15. In which order the observers will get executed which are listening to the same event?


16. You need to create a variation of the 2columns-left page layout. This new layout is named text. How do you instruct Magento regarding the new layout type?


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


18. What class should you return from a controller’s execute method to redirect a visitor to another URL?


19. What interface is an event listener required to implement?


20. 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?


21. You are creating a new module and have specified this in the etc/module.xml:

However, after regenerating app/etc/config.php, the module load order is not changed. What is the solution?


22. Which of following is correct?


23. In a project, product prices are not reflecting on frontend after administrator made price changes in Magento admin panel. You decide to run indexing, how would you proceed?


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


25. Which are the Magento’s deployment configuration files?


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


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


28. Following is the block declaration in a layout xml. How would you access the block argument “customdata” in a template?



29. Which 3 are the static deployment strategies?


30. What must be done differently to properly generate a URL in the Magento backend?


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


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


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


34. Where are admin uiComponents located?


35. Correct way to declare a javascript mixin


36. What container contains the columns container?


37. What is static content signing?


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


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

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?


40. Image properties are configured in which file?


41. Where does sensitive setting are written?


42. What would you do to resolve Error 503 backend fetch failed?


43. 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?


44. You are evaluating a 3rd-party module and you see some custom functionality that is executed in an observer of the checkout_cart_add_product_complete. This functionality is expected to run every time a product is added to the cart. Is there a problem?


45. You have created a custom theme and need to customize the view/frontend/templates/product/list.phtml file in the Magento_Catalog module. Where do you place this file inside your theme?


46. How are Proxy classes created?


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


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


49. Which of the following are the limitations for the plugins? (choose 3)


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


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


52. 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