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.
A developer creates templates and adds standard values; items created from the templates should automatically have the Title field populated with the name of the item. What should they do to ensure this occurs?
Answer : A
In Sitecore XM Cloud, to automatically populate the Title field of items created from a template with the name of the item, the developer should set the $name token in the Title field of the template's standard values. This token is replaced with the actual item name when the item is created, ensuring that the Title field is automatically filled with the correct name.
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 updating the security access rights for a new role in the Security Editor. Which of the following permissions are they able to manage? Select all that apply.
Answer : A, D, E
Write -- grants or denies the right to edit the item and its fields.
Read -- grants or denies the right to view the item and its fields.
Inheritance -- grants or denies the right to inherit the access rights from the parent item.
Which of the following tasks are performed by the publishing pipeline to create an accurate snapshot of the content available for publishing from the Content Management instance? Select all that apply.
Answer : A, B, D
The publishing pipeline in Sitecore XM Cloud performs several tasks to ensure an accurate snapshot of content is available for publishing from the Content Management instance. These tasks include calculating additional entities to publish, calculating dependencies, and resolving dependencies. These steps are crucial for maintaining the integrity and consistency of the published content.
A build to XM Cloud fails. Which options are available for a developer to diagnose the error?
Answer : D
The other options are not as useful for diagnosing a build failure:
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.