Question 36
In layout files you can change al element's order on a page.
This can be done using one of the following:
* <move> instruction
* before and after element attributes?
How are two methods different?
This can be done using one of the following:
* <move> instruction
* before and after element attributes?
How are two methods different?
Question 37
A module you are working on needs to send a newsletter to all subscribed customers at predefined intervals.
Which two actions do you take to make sure the newsletter is sent? (Choose two.)
Which two actions do you take to make sure the newsletter is sent? (Choose two.)
Question 38
An Adobe Commerce developer has just finished creating a new custom entity, a block that extends
\Mangento\Framework\View|Element\abstractBlock that lists all of the existing entities and a controller with the appropriate handle to display the block.
The developer now wants to implement cache on the block so that when one of the custom entities is saved, the cache of the block is automatically invalidated.
According to best practices- what are the two steps to accomplish this? (Choose two.)
\Mangento\Framework\View|Element\abstractBlock that lists all of the existing entities and a controller with the appropriate handle to display the block.
The developer now wants to implement cache on the block so that when one of the custom entities is saved, the cache of the block is automatically invalidated.
According to best practices- what are the two steps to accomplish this? (Choose two.)
Question 39
You have created a module with a custom ACL resource and want to restrict access to resources of your module.
Which three items are restricted based on ACL role permissions? (Choose three.)
Which three items are restricted based on ACL role permissions? (Choose three.)
Question 40
An Adobe Commerce developer has added an iframe and included a JavaScript library from an external domain to the website. After that they found the following error in the console:
Refused to frame IURLJ because it violates the Content Security Policy directive.
In order to fix this error, what would be the correct policy ids to add to the csp_whitelist.xmi file?
Refused to frame IURLJ because it violates the Content Security Policy directive.
In order to fix this error, what would be the correct policy ids to add to the csp_whitelist.xmi file?