A developer tried to exclude fields in a Sitecore Content Serialization package. Which file should they use to specify the excluded fields?
A multinational clothing company wants to create a structured online presence for its various brands and countries. They want to ensure that the different brands and countries have their own dedicated content within the same Sitecore instance. Which approach should they take to achieve this using XM Cloud's content architecture?
Answer : C
Which of the following is part of the out-of-the-box technology stack for XM Cloud?
Answer : D
XM Cloud includes a modern technology stack that supports various frameworks and libraries for development. React is part of this stack, as it is commonly used in conjunction with Sitecore's headless services and JSS (JavaScript Services) for building dynamic user interfaces.
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.
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.
A developer is tasked with creating an item using the Sitecore Authoring and Management GraphQL API. Which of the following GraphQL mutations is the correct way to create a new item?
Answer : C
The correct GraphQL mutation to create a new item in Sitecore XM Cloud is createItem. This mutation allows developers to specify the necessary details such as the item's name, template ID, parent ID, language, and fields to create a new content item within the Sitecore content tree.
A developer is working with Sitecore's Authoring and Management API to manage their Sitecore content using GraphQL. They want to explore and interact with the API using the GraphQL integrated development environment (IDE). Which of the following statements is correct about using the GraphQL IDE?
Answer : B
Access to the GraphQL IDE for exploring and managing Sitecore content via the Authoring and Management API requires a developer to have the sitecore\Sitecore Client Users role. This role grants the necessary permissions to use the IDE for various operations, not just read-only access.