Sitecore XM Cloud Developer Online Practice Questions

Home / Sitecore / Sitecore XM Cloud Developer

Latest Sitecore XM Cloud Developer Exam Practice Questions

The practice questions for Sitecore XM Cloud Developer exam was last updated on 2025-06-03 .

Viewing page 1 out of 3 pages.

Viewing questions 1 out of 18 questions.

Question#1

How can a developer differentiate between XM Cloud Components and Headless SXA Components?

A. XM Cloud Components offer drag-and-drop construction of pages. Headless SXA Components require manual coding and can only be added to a page by a developer.
B. XM Cloud Components are a low/no code builder for creating components that can consume data from multiple data sources. Headless SXA components require code that consumes data from the same data sources.
C. In XM Cloud Components, the Styles library ensures visual consistency across components. Headless SXA Components emphasize dynamic content mapping.
D. XM Cloud Components provide responsive designs for different device types. Headless SXA Components are exclusively focused on static layouts.

Explanation:
XM Cloud Components provide a low-code or no-code solution for building components, allowing for the consumption of data from various sources without extensive coding. On the other hand, Headless SXA Components are designed for developers to code and consume data, typically from the same data sources, offering a more hands-on approach to component creation.
Reference: The distinction between XM Cloud Components and Headless SXA Components is outlined in the Sitecore XM Cloud documentation, which describes the capabilities and intended use cases for each type of component12.

Question#2

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?

A. createOrUpdateltem
B. create Templateltem
C. createltem
D. updateltem

Explanation:
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.
Reference: The usage of the createItem mutation is documented in the Sitecore XM Cloud Developer’s Guide, which provides examples and explanations for authoring operations, including item creation1. Additionally, the Sitecore Stack Exchange provides insights into the available mutations for item management, confirming the use of createItem for creating new items2.

Question#3

Which of the following is part of the out-of-the-box technology stack for XM Cloud?

A. jQuery
B. Python
C. Svelte Kit
D. React

Explanation:
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.
Reference: The Sitecore XM Cloud documentation mentions the use of modern frameworks and libraries, including React, as part of its technology stack1. This aligns with the industry’s move towards more flexible and modular front-end development practices.

Question#4

In the content tree, an administrator-level user cannot see the Layouts or Templates nodes.
Which of the following would explain the missing nodes?

A. A template has not been established for the Content Editor.
B. A layout has not been assigned for the content tree in the Content Editor.
C. The Layouts and Templates folders need to be created by a developer.
D. The "Hidden items" check box has been unselected on the View tab of the ribbon.

Explanation:
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.
Reference: This solution is consistent with common practices in Sitecore content management, as indicated by community discussions and troubleshooting guides that address similar issues with hidden items in the content tree1.

Question#5

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
}
}
}
}

A. To get an item by ID
B. To get the root item of a site
C. To get the item layout for a URL
D. To get information about a specific content site

Explanation:
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.
Reference: The Sitecore XM Cloud documentation describes the Experience Edge schema as a read-only GraphQL schema that supports common front-end use cases for headless Sitecore development, including querying an item’s layout by site and route path1.

Exam Code: Sitecore XM Cloud DeveloperQ & A: 54 Q&AsUpdated:  2025-06-03

 Get All Sitecore XM Cloud Developer Q&As