SITECORE-XM-CLOUD-DEVELOPER practice question 10 of 10
A multinational clothing company wants to create regional sites for its online presence. Each site would follow the same branding but have unique content per region. The content architecture requires a site per region. Of the options presented below, which is the most efficient approach to deploy the rendering host?
Full set: 49 questionsThe most efficient approach for this scenario is to use a single rendering host application. Since all regional sites share the same branding, they can reuse the same set of components and front-end code. The Sitecore JSS multisite feature is specifically designed for this purpose. It allows a single Next.js application (the rendering host) to serve multiple distinct sites by resolving the appropriate site context based on the incoming request's hostname. This strategy significantly reduces infrastructure costs, simplifies deployment pipelines, and streamlines maintenance by centralizing the codebase.
A. Using separate XM Cloud instances is excessively costly and complex, creating unnecessary management overhead for a multisite scenario.
B. Deploying a separate rendering host for each site is inefficient, duplicating infrastructure and complicating code maintenance and deployments.
D. This describes an inefficient content architecture, not a rendering host strategy, and contradicts the requirement of having a site per region.
1. Sitecore XM Cloud Documentation, JSS for Next.js, Multisite configuration: This document explicitly states, "The Sitecore JSS Next.js sample application demonstrates how to run multiple websites (brands) from a single Next.js application." It details the configuration required to achieve this efficient setup.
2. Sitecore XM Cloud Documentation, JSS for Next.js, The Next.js JSS application, Site resolution: This section explains the underlying mechanism: "In a multisite JSS Next.js application, site resolution is the process of determining which Sitecore site to use for a given host name." This confirms a single application handles multiple hostnames.
3. Sitecore XM Cloud Documentation, JSS for Next.js, The nextjs-multisite sample: The official nextjs-multisite sample application serves as a reference implementation, demonstrating the best practice of using one rendering host for multiple JSS sites within a single XM Cloud environment.
Keep practicing
Take the free SITECORE-XM-CLOUD-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SITECORE-XM-CLOUD-DEVELOPER practice questions
- Question 1Which of the following needs to happen for a developer to be able to log in into the XM C…
- Question 2A developer is tasked with creating an item using the Sitecore Authoring and Management G…
- Question 3What does the default scope for a serialization include if the scope parameter is not def…
- Question 4Which of the following must be done to delete or remove a user from an administrator role?
- Question 5A developer is working with Sitecore's Authoring and Management API to manage their Sitec…
- Question 6How can a developer differentiate between XM Cloud Components and Headless SXA Components?
