Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

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

Last updated: · 15 practice questions with answers and explanations

Page: 1 / 9 Total 50 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: XM Cloud Architecture and Developer Workflow

Skill tested: Assessing environment separation and the XM Cloud developer-to-deployment workflow.

A team is building a headless site with a Next.js application and XM Cloud. Developers need to make frequent local presentation changes, while content authors must continue editing against a shared nonproduction content environment. The production site must not be affected by local development, and the organization wants to use the managed authoring and delivery capabilities rather than operate its own Sitecore content-management servers. Which workflow best fits these requirements?

Correct Answer: A. Develop the rendering application locally, connect it to the shared nonproduction XM Cloud environment, and promote application and configuration changes through controlled deployments.
Explanation:

Keeping the rendering application local while using a shared nonproduction XM Cloud environment separates presentation development from production content and authoring. Controlled deployment promotes application and configuration changes without requiring the team to operate its own Sitecore content-management servers. A introduces a locally operated authoring instance and an unsafe direct production publishing path. C reverses the safe promotion direction and exposes production to experimentation. D misplaces the content-management role; Next.js is the rendering application, not the Sitecore authoring environment.

Question 2

New Single answer

Topic: Deployment of XM Cloud Projects

Skill tested: Selecting deployment pipeline stages for repeatable XM Cloud environment promotion.

A company has a development and a production XM Cloud environment. A release includes both a rendering-host update and Sitecore-managed changes that must be deployed consistently. Production deployment requires approval, and the team wants a repeatable process with traceable artifacts instead of manual changes made in the production environment. Which approach is most appropriate?

Correct Answer: C. Use a CI/CD workflow to build and validate changes, deploy them to development, then promote the approved release to production.
Explanation:

A controlled CI/CD flow supports repeatable builds, validation, approvals, and promotion from development to production. It also reduces drift by using the same reviewed release rather than reimplementing changes manually. A reverses the promotion direction and makes production the source of truth. B increases configuration drift and undermines traceability. D omits the managed changes from the release and introduces manual recreation, creating a risk of inconsistent production content or configuration.

Question 3

New Multiple answers

Topic: Deployment of XM Cloud Projects

Skill tested: Using Reference Manager concepts to associate projects with the intended XM Cloud resources.

A delivery team is onboarding an existing rendering project to a newly provisioned XM Cloud environment. The repository contains environment-specific connection settings, and deployment must target the correct project and environment without copying credentials into source control. The team has access to Sitecore XM Cloud Reference Manager and wants to avoid accidentally binding the rendering project to another team's environment. Which two actions best support this goal? Select TWO.

Correct Answer: A. Use Reference Manager to identify and associate the rendering project with the intended XM Cloud project and environment.; C. Verify the selected project and environment association before deploying, and keep sensitive values in the approved secure configuration mechanism.
Explanation:

Reference Manager helps teams work with the appropriate XM Cloud project and environment references; confirming that association before deployment prevents targeting the wrong resources. Sensitive credentials should remain outside source control and be supplied through the organization's secure configuration mechanism. B exposes credentials to repository readers and history. D assumes repository naming automatically resolves the target, which is not a safe deployment decision. E removes the environment distinction the scenario specifically requires.

Question 4

New Single answer

Topic: Renderings and Layout

Skill tested: Configuring a rendering and its data source for reusable page content.

A content team wants to place a "Featured story" component on many pages. Authors must choose a different story for each placement, while the component's rendering implementation remains shared and its content is managed as Sitecore items. The current component reads a fixed item path in code, so changing the story requires a developer release. Which change best supports author-controlled reuse?

Correct Answer: D. Configure the rendering to use a suitable content item as its data source, and allow authors to select that source for each placement.
Explanation:

A rendering with an author-selectable data source separates reusable presentation from the content instance. Authors can select a different story for each placement without requiring a code change, while the content remains managed in Sitecore. A duplicates implementation and increases maintenance. C moves editorial selection into browser state, which is not a reliable content-management mechanism. D couples content to code and gives authors an inappropriate editing path.

Question 5

New Multiple answers

Topic: Renderings and Layout

Skill tested: Diagnosing component rendering failures by separating layout, component, and data-source concerns.

After a deployment, one page displays an empty campaign component, but other components on the page render normally. The page's layout data contains the campaign rendering, and the rendering component is present in the deployed application. The affected placement is configured to use a data source, while the component expects campaign fields from that source. The team must identify the likely cause before making broad changes. Which TWO checks are most relevant? Select TWO.

Correct Answer: B. Check that the rendering's data-source template and configured source location allow the intended campaign item.; E. Confirm that the configured data-source item exists, is available in the relevant content context, and contains the expected fields.
Explanation:

Because the rendering is present and other components work, the focused investigation is its data dependency. The selected source must exist in the applicable context and expose the fields the component expects; its template and allowed source location must also be compatible. B is an unnecessarily broad isolation step and does not explain a missing or invalid source. D is false: renderings can consume Sitecore-managed data. E is a costly escalation without evidence of an environment-wide failure.

Question 6

New Single answer

Topic: Sitecore Content Serialization

Skill tested: Choosing serialization formats and contracts for Sitecore content integrations.

An integration team must expose selected content fields to an external application. The consumer requires a predictable, machine-readable response and should not receive unrelated fields or editing metadata. The team is evaluating the serialization approaches named in its Sitecore integration requirements and wants a narrowly scoped contract that can be versioned independently of the authoring interface. Which design is most appropriate?

Correct Answer: A. Return a deliberately defined JSON representation containing only the fields the consumer needs.
Explanation:

A deliberately shaped JSON response gives the consumer a clear, machine-readable contract and limits exposure to required fields. This keeps the integration independent of internal authoring metadata and avoids coupling data consumption to presentation markup. B returns substantially more information than required and creates an unnecessarily broad contract. C leaves the response contract dependent on broad query access and field inference. D confuses presentation with structured content and makes parsing fragile.

Question 7

New Multiple answers

Topic: Sitecore Content Serialization

Skill tested: Managing serialized item changes and avoiding unintended content overwrite during deployment.

A developer is preparing a Sitecore Content Serialization change for a shared project. The change adds a template and updates a serialized item. Another team manages unrelated content in the same environment, and the deployment must not overwrite their work. The repository is the reviewed source for the project's managed definitions. Which TWO practices best reduce deployment risk? Select TWO.

Correct Answer: A. Review the serialized diff and ensure it includes only the intended definitions and item changes.; B. Include the required template and relevant item changes in the reviewed source-controlled serialization scope.
Explanation:

A scoped serialization change should include the definitions and items the project actually owns, and its diff should be reviewed before deployment. This makes the intended changes auditable and limits the chance of overwriting unrelated team content. B expands ownership to the entire database and risks replacing others' work. D delegates change safety to a tool without a review of scope. E creates drift between deployed serialized definitions and the environment.

Question 8

New Single answer

Topic: Sitecore APIs & Webhooks

Skill tested: Choosing event-driven webhook integration behavior for downstream processing.

A publishing workflow must notify an external indexing service when relevant content changes. The service may be temporarily unavailable, and the integration should avoid blocking routine authoring work while keeping the external index eventually consistent. The team is considering a webhook-based integration and wants to minimize unnecessary notifications. Which design is the best fit?

Correct Answer: B. Configure a webhook for the relevant content event, send only the identifiers needed for processing, and make the receiver resilient to retries or repeated notifications.
Explanation:

A webhook is suitable for event-driven notification: a relevant event can trigger downstream processing without making ordinary page rendering depend on the external service. Sending identifiers keeps the notification focused, while receiver-side resilience is important because integrations should tolerate repeated delivery or temporary failures. A creates unnecessary polling and derives changes indirectly. C couples visitor requests to indexing availability and latency. D transfers excessive data and creates needless load after each action.

Question 9

New Single answer

Topic: Sitecore APIs & Webhooks

Skill tested: Selecting a supported content-delivery API pattern for headless rendering.

A headless application needs to retrieve published page layout and associated content for a requested route. It must render the page using the layout structure configured by authors, rather than reconstructing a page from arbitrary item-field queries. The application is a presentation consumer, and the team wants to use Sitecore's headless delivery capabilities instead of building a custom content crawler. Which approach is most appropriate?

Correct Answer: B. Use the Sitecore Layout Service through the supported headless integration to obtain route layout data for rendering.
Explanation:

The Layout Service is designed to provide layout data for headless rendering, allowing the application to consume the page structure and associated component data configured by authors. B bypasses the delivery boundary and exposes an unsuitable access pattern. C is event notification, not a request-time page-layout API. D confuses deployment serialization artifacts with a live content-delivery interface and would not provide the requested published route behavior.

Question 10

New Single answer

Topic: XM Cloud Pages

Skill tested: Troubleshooting Pages preview by validating rendering and editing configuration.

Editors can open a page in XM Cloud Pages, but a newly added component does not appear in the editing canvas. The component renders correctly when the site is viewed outside Pages, and the page's layout includes the component. The team recently changed the rendering's implementation and editing configuration. Authors need to keep using Pages for visual editing; replacing the workflow with code-only publishing is not acceptable. What should the developer investigate first?

Correct Answer: C. Whether the component's Pages editing integration and relevant rendering metadata/configuration are correctly registered for the editing experience.
Explanation:

The component's successful site rendering and presence in layout narrow the problem to its editing experience. The developer should verify that the rendering and its Pages-specific integration or metadata are configured so the canvas can recognize and display it for editing. B conflicts with the observed site rendering and is not the first focused check. C is incorrect because Pages supports visual page composition. D changes security exposure without addressing the editing issue.

Question 11

New Multiple answers

Topic: XM Cloud Pages

Skill tested: Configuring reusable page structure and author-controlled component placement in Pages.

A marketing group wants to create campaign pages in XM Cloud Pages using approved page structures. Authors must be able to add and reorder a limited set of components, but they must not introduce unapproved renderings. A common header and footer should remain consistent across campaign pages. Which TWO design choices best meet these requirements? Select TWO.

Correct Answer: A. Provide an approved page template or starter structure and configure the available component choices to the allowed set.; C. Use shared presentation structure for the common header and footer, while allowing approved page-level components to be managed in the campaign page layout.
Explanation:

An approved starter structure and constrained component availability support consistency while preserving author-controlled composition. Shared presentation for common elements such as headers and footers avoids duplicating those structures on every campaign page; page-specific approved components can remain editable in the page layout. B defeats the restriction on unapproved renderings. D removes the requested author flexibility. E confuses content editing with software development and is not an appropriate author workflow.

Question 12

New Single answer

Topic: Security for Developers

Skill tested: Protecting server-side Sitecore credentials from browser exposure in headless applications.

A headless site needs a Sitecore service credential to retrieve data for server-side rendering. A developer proposes placing the credential in a public application configuration value so both browser code and server code can use one setting. The site serves anonymous visitors, and the credential must not be recoverable from delivered client assets. Which implementation is the most secure?

Correct Answer: A. Keep the credential in server-side secret configuration and make Sitecore requests from trusted server code rather than exposing it to the browser.
Explanation:

Credentials used for privileged Sitecore requests must remain on the trusted server side and be supplied through protected configuration. Browser-delivered bundles, URLs, and HTML are accessible to users and cannot safely conceal secrets. Minification is not a security boundary, so B fails. Query parameters can be exposed in logs and browser history, making C unsafe. A hidden field is still delivered to the client, so D also exposes the credential.

Question 13

New Multiple answers

Topic: Security for Developers

Skill tested: Applying least privilege and environment-specific secret handling to XM Cloud integrations.

An integration service needs to read published content in a nonproduction environment. It does not need authoring, publishing, or administrative operations. The organization uses separate environments and requires credentials to be protected from source-control exposure. Which TWO practices best satisfy least privilege and environment separation? Select TWO.

Correct Answer: A. Use environment-specific protected secret configuration and rotate credentials according to organizational policy.; C. Grant the integration only the minimum access required for its read-only delivery task.
Explanation:

A read-only consumer should receive only the access needed to retrieve its required content, not administrative or publishing privileges. Separate protected credentials per environment limit the impact of compromise and help avoid cross-environment access; secure storage and rotation support ongoing secret hygiene. B increases privilege and couples environments. D still exposes the secret through repository history and access paths. E grants an unrelated capability that the integration does not require.

Question 14

New Single answer

Topic: Data Modeling

Skill tested: Modeling reusable structured content with templates and appropriate item relationships.

A publisher manages articles that can be categorized under several editorial topics. Authors need consistent article fields, and each article may appear in multiple topic listings without duplicating the article's content. The site uses a hierarchical content tree, but the team wants the category relationship to be explicit and manageable rather than relying on copied article items. Which model is most appropriate?

Correct Answer: B. Define a structured article template and represent topic membership through an appropriate relationship field or taxonomy reference.
Explanation:

A template provides a consistent schema for article content, while an explicit relationship or taxonomy reference can associate one article with multiple topics without duplicating its data. B creates copies that can drift and complicates maintenance. C sacrifices structured fields and pushes parsing complexity into renderings. D uses hierarchy as the sole relationship and cannot represent the stated many-to-many membership requirement.

Question 15

New Multiple answers

Topic: Data Modeling

Skill tested: Choosing a content model that supports shared entities and maintainable references.

A regional website contains product pages, product specifications, and reusable legal notices. Multiple product pages must reference the same specification record, and the same legal notice may be used on many pages. Authors must be able to update a shared record once without tracking down duplicated copies. The solution should preserve clear content ownership and avoid embedding repeated text in presentation code. Which TWO modeling decisions best fit? Select TWO.

Correct Answer: A. Model reusable specifications and legal notices as managed content items and reference them from the pages that use them.; E. Use suitable structured templates for the distinct content types, with references that express the intended reuse.
Explanation:

Separate managed items support a single maintained source for specifications and legal notices, while references connect those shared records to pages. Distinct structured templates clarify the fields and purpose of each content type. B duplicates content and creates synchronization problems. D moves editable content into code and forces releases for copy changes. E relies on naming conventions rather than explicit relationships, making references fragile and difficult to validate.