Question: How do you prevent Cross Site Scripting (CSS) attack in Magento 2? Sample Answer: By using/implementing Content Security Policy (CSP).
Tag: magento
Questions: Sample Answer: phpcbf means PHP Code Beautifier and Fixer. It is a tool that come along with phpcs (PHP Code Sniffer) tool. Once you
Question: Which is the file that is used to configure RabbitMq in Magento 2? Sample Answer: The RabbitMq is configured in the app/etc/env.php file and
Captcha in the admin panel is a highly recommended security feature and especially for the production sites it is most advised to have the Captcha
Questions: Sample Answer: The vendor path is specified in the vendor_path.php file located in app/etc/ folder
Question: What design pattern in Magento are you using each time you add something to di.xml? Sample Answer: Dependency Injection
Question: What is the purpose of Sequence Tag in Magento 2? Sample Answer: The sequence tag in the module.xml file is used to specify the
Question: What are the types of Components in Magento 2? Sample Answer: Following are the 3 main Component Types in Magento 2: Other Components Types
Question: What is Magento_Vault module used for? Answer: The Magento_Vault module integrates with the Vault payment gateway and makes the Vault Payment Gateway available as
Question: Can Plugins be used to modify all the methods/functions and variables? Sample Answer: No. Plugins can only modify public methods and variables of the