Sitecore XM Cloud Developer Certification Sitecore-XM-Cloud-Developer Exam Questions

Page: 1 / 14
Total 50 questions
Question 1

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.


Question 2

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.


Question 3

What does the default scope for a serialization include if the scope parameter is not defined?



Answer : C

The default scope for a serialization in Sitecore Content Serialization (SCS) includes all the content items under the specified path and all their descendants1. You can configure what and how content items are included and excluded from serialization in a module file such as Project.module.json1. You can also use rules to configure the serialization of content item trees with different scopes1.


Sitecore Content Serialization structural overview

The default serialization format

Question 4

Which of the following are ways to create an XM Cloud environment?



Answer : C

According to the Sitecore XM Cloud Documentation for Developers1, there are three ways to create an XM Cloud environment:

Using the Sitecore CLI, which is a command-line tool that allows you to perform operations against local or remote XM Cloud instances. You can use the Sitecore CLI to create a project and an environment using the sitecore project create and sitecore environment create commands2.

Using the XM Cloud Deploy app, which is a web application that allows you to create and manage projects, environments, and deployments. You can use the XM Cloud Deploy app to create a project and an environment using the user interface3.

Using the XM Cloud Deploy API, which is a RESTful API that allows you to programmatically interact with the XM Cloud Deploy app. You can use the XM Cloud Deploy API to create a project and an environment using HTTP requests4.

2: Walkthrough: Creating an XM Cloud project using the Sitecore CLI 3: Create a project in the Deploy app 4: [XM Cloud Deploy API Reference] 1: XM Cloud Documentation for Developers - Sitecore


Question 5

Which of the following statements accurately describes the purpose of Headless variants in Sitecore XM Cloud?



Answer : A

According to the Sitecore XM Cloud Documentation for Developers1, headless variants are a way to create different versions of a rendering that can be used in different contexts or scenarios. A headless variant defines the layout, style, and content of a rendering using HTML, CSS, and JavaScript. You can create headless variants for your components in the Components builder and use them in your XM Cloud Pages. Headless variants allow you to reuse the same component with different appearances and contents without creating multiple renderings2.

2: Create a headless variant for a component | Sitecore Documentation 1: XM Cloud Documentation for Developers - Sitecore


Question 6

When a developer deploys to XM Cloud, which resources are included in the provisioning step?



Answer : A

During the provisioning step of a deployment to XM Cloud, the resources that are included are the Content Management instance, Editing Host, and Experience Edge. These components are essential for managing content, providing an editing interface, and delivering content to end-users, respectively.


Question 7

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.


Page:    1 / 14   
Total 50 questions