Join the discussion
Question 1/32
After enable the content security policy in a magento site, you see below warnings/errors in the browser console. "[Report Only] Refused to load the script 'https://cdn.jquery.com/jquery.js' because it violates the following Content Security Policy directive: "script-src assets.adobedtm.com".What could be the standard fix of this problem?
Correct Answer: B
Add Comments
- Other Question (32q)
- Q1. After enable the content security policy in a magento site, you see below warnings/errors ...
- Q2. Consider below example of etc/di.xml: Magento\Filesystem\Adapter\Local Please select corre...
- Q3. Consider below code in a UiComponent xml file: Magedeal\Employee\Ui\DataProvider\Employee\...
- Q4. After the installation of several 3rd-party extensions to the merchant's store, it was not...
- Q5. Suppose, you need to create custom configuration file called search.xml, in the a custommo...
- Q6. You need to create a Magento CLI command to return information from the system. What two s...
- Q7. You are working on a project which uses Staging for different entities. You are considerin...
- Q8. You are working on a customization that requires a list of shipping rates available to a u...
- Q9. A Magento site is experiencing an issue where a fatal out of memory error occurs during a ...
- Q10. A merchant is planning to create a single scheduled update for one million products. They ...
- Q11. Suppose there are 3 classes: Class A, B and C. Class C have dependecy of Class A You need ...
- Q12. You are reviewing a custom observer for the event sales_order_save_after which is fired wh...
- Q13. To prevent Cross Site Scripting (XSS) attacks, Magento templates use different methods to ...
- Q14. You are working on a Magento module for a merchant that does business in the UK. This modu...
- Q15. Suppose you are working on a specific uicomponet form where front-end customers can update...
- Q16. You want to add an additional validation rule, allowed_symbols, to the telephone field on ...
- Q17. You are working on a new feature to allow multiple vendors for various products. To displa...
- Q18. You are developing an in-house solution for catalog management which is implemented as a M...
- Q19. You are integrating an external system from which products and categories will be synchron...
- Q20. Magento uses the HTTPOnly flag when setting cookies for security reasons. There is also a ...
- Q21. A merchant complains about the related accessory products, which they assigned to the virt...
- Q22. Suppose in a store there are 500 categories and it's increasing as per the need. Let's say...
- Q23. You are troubleshooting an issue where a related product rule is not showing the product e...
- Q24. Suppose you are building an inquiry form using uicomponent. It has a feature that customer...
- Q25. In homepage, you need to add inline css in the body tag. What should be the correct way of...
- Q26. A merchant is asking you to organize a catalog of 9000 rings which come in six sizes, each...
- Q27. You need to create a list of warehouses with a set of details in the configuration values:...
- Q28. A client running Elasticsearch would like products only matching ALL search terms to show ...
- Q29. You created a custom page on the storefront and you have to render the price for a given p...
- Q30. You are working on a custom page where the content of a CMS block has to be rendered. You ...
- Q31. You are working on a project where a custom option of type text for a certain product has ...
- Q32. You are writing a new method for retrieving the level of the category in a category tree b...
