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. Which of the following are the limitations for the plugins? (choose 3)

 
 
 
 
 

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

 
 
 
 

3. Relationship between blocks and templates (block instances and block) (choose 2)

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 
 

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

 
 
 
 

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

 
 
 
 

9. Where are admin uiComponents located?

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

15. You are asked to override product/image.phtml in Magento_Catalog with a custom template in your theme, MyCompany_MyTheme. Where do you place this file?

 
 
 
 

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

 
 
 
 

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

 
 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 
 

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

 
 
 
 

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

 
 
 
 
 

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

 
 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

34. How would you enable dependency graph profiler?

 
 
 
 

35. Which of following is correct?

 
 
 
 

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

 
 
 
 

37. Image properties are configured in which file?

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 
 

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

 
 
 
 
 

42. Which 3 are the static deployment strategies?

 
 
 
 
 

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

 
 
 
 

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

 
 
 
 

45. How are Proxy classes created?

 
 
 
 

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

 
 
 
 

47. What is static content signing?

 
 
 
 

48. You need to implement a fallback for VAT ID validation to prevent downtime should the validator service be unavailable. How do you add the fallback?

 
 
 
 

49. What only happens in the Production deploy mode?

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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