Do you know that you can access more real exam questions via Premium Access? ()
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.
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.
Which of these options best describes the purpose of the following query to the Experience Edge GraphQL schema?
query {
layout(site: "experienceedge", routePath: "/", language: "en") {
item {
homeltemPath: path
contentRoot: parent {
id
path
}
}
}
}
Answer : C
The query to the Experience Edge GraphQL schema is designed to retrieve the layout information for a specific URL, which in this case is the root path (''/'') of a site named ''experienceedge''. This allows developers to access the Layout Service JSON for the item, which is essential for rendering the page in a headless setup.
In the content tree, an administrator-level user cannot see the Layouts or Templates nodes. Which of the following would explain the missing nodes?
Answer : D
In Sitecore XM Cloud, if an administrator-level user cannot see the Layouts or Templates nodes in the content tree, it is likely because the ''Hidden items'' option is not selected in the Content Editor's View tab. These nodes are typically marked as hidden to streamline the interface for users.
A developer tried to exclude fields in a Sitecore Content Serialization package. Which file should they use to specify the excluded fields?