Why should a developer assign security to roles instead of users when setting up security on a site?
Answer : C
Where can a developer create and edit data templates?
Answer : C
A developer needs to clear the Experience Edge cache to resolve a publishing issue. How can that be done?
Answer : D
To clear the Experience Edge cache and resolve publishing issues, a developer can use the Experience Edge Admin API. This API provides a specific endpoint to clear the entire cache for a tenant, which is the recommended method for directly addressing cache-related problems without deleting content or restarting services.
When a developer designates a Sitecore template field multilist type, what should they do next?
Answer : C
After designating a Sitecore template field as a multilist type, the next step is to set the data source for the multilist. This involves specifying the location within the content tree from which the list items will be drawn. The data source defines the scope of items that can be selected and displayed in the multilist.
A developer wants to add a new language to a headless SXA site. Which steps are required to add a new language in XM Cloud?
Answer : C
When an item is published, the Experience Edge for XM Connector publishes a static snapshot of the Layout Service output of that item. If a change is made to a data source item that is referenced on the page, how is that content made visible on the website?
Answer : A
When a change is made to a data source item in Sitecore XM Cloud, the updated content becomes visible on the website after the data source item itself is published. This is because the Experience Edge for XM Connector publishes a static snapshot of the Layout Service output, and any changes to the data source items require republishing to reflect on the website.
A developer wants to create a webhook that sends an HTTP request to a specified endpoint when the workflow moves to the approved state. What type of webhook should they use?
Answer : C
In Sitecore XM Cloud, a webhook submit action is used to send an HTTP request to a specified endpoint when an item changes workflow state or a workflow command runs. Therefore, for a developer wanting to create a webhook that triggers when the workflow moves to the approved state, a webhook submit action would be the appropriate choice.