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 questions
Answer options
A: Use separate instances of XM Cloud for each brand and country to maintain separation.
B: rendering host application deployed for each site.
C: A single rendering host application using the JSS multisite feature. Correct answer
D: Create a single site collection and site for all brands and countries and also manage their resources manually.
Correct Answer:
C. A single rendering host application using the JSS multisite feature.
Explanation

The 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.

Why Incorrect

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.

References

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.

Scroll to Top