New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Sitecore Sitecore-XM-Cloud-Developer Sitecore XM Cloud Developer Certification Exam Exam Practice Test

Sitecore XM Cloud Developer Certification Exam Questions and Answers

Question 1

Which of these options best describes the purpose of the following query to the Experience EdgeGraphQL schema?

query {

layout(site: "experienceedge", routePath: "/", language: "en") {

item {

homeltemPath: path

contentRoot: parent {

id

path

}

}

}

}

Options:

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

Question 2

A build to XM Cloud fails. Which options are available for a developer to diagnose the error?

Options:

A.

The Deploy app system status page

B.

The Content Management instance logs for the environment

C.

The project details page in the Deploy app

D.

The deployment log files for the environment

Question 3

A developer needs to create a site for a company and must define the data structures in Sitecore to create items and content. What should the developer use to define the data structures?

Options:

A.

Templates

B.

Rendering parameters

C.

Renderings

D.

Components data sources

Question 4

When a developer selects the base templates for a new data template, what happens if those base templates contain a field with the same name?

Options:

A.

The field will not be displayed on the data item.

B.

Duplicate field names will appear on the data item.

C.

XM Cloud will add a suffix to the field names to identify them.

D.

The fields will be merged on the data item.

Question 5

A developer needs to configure a rendering in order to use dynamic placeholders. Which of the following steps is required? Select all that apply.

Options:

A.

Include the IDynamicPlaceholder base template in the Rendering Parameters template.

B.

Link the placeholder settings item to the rendering item.

C.

Define the placeholder key using a question mark (?) in the placeholder settings item.

D.

In the component TSX file, set a unique placeholder key value that has not yet been defined.

Question 6

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

Options:

A.

Headless variants define how a rendering appears and what content it displays.

B.

Headless variants determine the order in which renderings are displayed on a webpage.

C.

Headless variants enable the creation of custom rendering items for components from scratch.

D.

Headless variants allow renderings to be edited and customized in the Content Editor.

Question 7

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

Options:

A.

jQuery

B.

Python

C.

Svelte Kit

D.

React

Question 8

A developer wants to add a new language to a headless SXA site. Which steps are required to add a new language in XM Cloud?

Options:

A.

Install a language pack on the Content Management instance and then add the language in /sitecore/system/languages.

B.

Add language in /sitecore/system/languages. Then, on the content item, change the language dropdown to the new language and add a new version.

C.

Add language in /sitecore/system/languages, right click the site root, and go to scripts -> Add Site language.

D.

They must enter the country code in the Language field. Then, on the content item, change the language dropdown to the new language and add a new version.

Question 9

Which of the following needs to happen for a developer to be able to log in into the XM Cloud Deploy app?

Options:

A.

An Organization Admin or Organization Owner must update their role in the Sitecore Cloud Portal.

B.

Only the Organization Owner can update their role in the Sitecore Cloud Portal.

C.

Only the Organization Owner can update their role using the XM Cloud Deploy app.

D.

An Organization Admin or Organization Owner must update their role using the XM Cloud Deploy app.

Question 10

To connect Sitecore Pages to your local XM Cloud instance, which steps are involved?

Options:

A.

Open the local Content Management instance and set the predefined rendering host field value in Sitecore to https://pages.sitecorecloud.io

B.

Open Pages and create an entry in Local Storage for the key "Sitecore.Pages.LocaIXmCloudUrl" with the following value: https://xmcloudcm. localhost

C.

Open Pages and create an entry in Local Storage for the key "Sitecore.Pages.LocaIXmCloudUrl" with the following value: https://pages.sitecorecloud.io

D.

Open the local Content Management instance and set the predefined rendering host field value in Sitecore tohttps://xmcloudcm.localhost

Question 11

A multinational clothing company wants to create a structured online presence for its various brands and countries. They want to ensure that the different brands and countries have their own dedicated content within the same Sitecore instance. Which approach should they take to achieve this using XM Cloud's content architecture?

Options:

A.

Use separate instances of XM Cloud for each brand and country to maintain separation.

B.

Create a single site collection and site for all brands and countries and also manage their resources manually.

C.

Create individual site collections for each brand and a site for each country.

D.

Create a separate site for each brand and use a language per country.

Question 12

A developer needs to remove a site collection folder. Which script should they run from the Content Editor?

Options:

A.

Remove Site Collection

B.

Remove Folder

C.

Remove Site Folder

D.

Remove Site Collection Folder

Question 13

A developer tried to exclude fields in a Sitecore Content Serialization package. Which file should they use to specify the excluded fields?

Options:

A.

user.json

B.

sitecore.config

C.

sitecore.json

D.

xmcloud.build.json

Question 14

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?

Options:

A.

Submit handler

B.

Event handler

C.

Submit action

D.

Validation action

Question 15

A developer has set up a local XM Cloud development environment and would like to connect Sitecore Pages to their locally running XM Cloud instance. However, after following the necessary steps, they're facing issues with the connection. Of the options below, what is the most likely potential reason for this issue?

Options:

A.

The value of the local storage entry '‘Sitecore.Pages.LocaIXmCloudUrl" should be set to https://pages.sitecorecloud.io.

B.

The browser developer tools console does not support the local storage functionality required for this connection.

C.

The value of the local storage entry "Sitecore.PagesXmCloud" should be setto enabled.

D.

The environment variable "SITECORE_Pages_CORS_Allowed_Origins" is not correctly configured to include pages.sitecorecloud.io.