Magento uses the HTTPOnly flag when setting cookies for security reasons. There is also a system configuration setting available in the Cookie Settings to turn it on and off. What is the purpose of this flag?
Answer(s): B
You are integrating an external system from which products and categories will be synchronized with Magento.To keep the category tree synchronized, an identifier attribute needs to be added to the catalog_category entity. The identifier value is generated by the external system as an unsigned 3 byte integer and is global in scope. Your code will run many concurrent queries to select categories based on this ID in order to synchronize changes.Keeping performance in mind, what attribute backend type do you choose when creating the EAV attribute?
Answer(s): A
You are reviewing a custom observer for the event sales_order_save_after which is fired when an order is placed on the storefront. The observer is sending a remote request to an analytics system with the order data.What issue may this observer cause?
A client uses an external PIM for managing product information. They want to run a cron job every minute to update and create products. The site is using the "Update by schedule" index mode and the full page cache is enabled.What is required to make these updates visible on the frontend?
Answer(s): D
You are working on a custom page where the content of a CMS block has to be rendered. You know the merchant is using Staging for CMS blocks. In your code you have access to the $repository object which is an instance of \Magento\Cms\Api\BlockRepositoryInterface. $blockld which is the original block ID, and $current Version which is the current Staging version. How do you load the CMS block with the right Staging version? A)B)C)D)
Post your Comments and Discuss Adobe AD0-E704 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AD0-E704 content, but please register or login to continue.