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

Page: 1 / 14
Total 50 questions
Question 1

A developer creates a new data template for a page. How do they ensure that the new template is available through Experience Edge?



Answer : A

To ensure that a new data template is available through Experience Edge, it must be created in the configured locations that are recognized by the Experience Edge schem

a. These locations are typically structured under Feature, Foundation, Project, and User Defined paths within the Sitecore templates directory.


Question 2

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?



Answer : C

In Sitecore XM Cloud, a webhook submit action is used to send an HTTP request to a specified endpoint when an item changes workflow state or a workflow command runs. Therefore, for a developer wanting to create a webhook that triggers when the workflow moves to the approved state, a webhook submit action would be the appropriate choice.


Question 3

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



Question 4

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



Answer : A, B, C

To configure a rendering for the use of dynamic placeholders in Sitecore XM Cloud, the following steps are required:

Include the IDynamicPlaceholder base template in the Rendering Parameters template to enable dynamic assignment of IDs to the placeholder key.

Link the placeholder settings item to the rendering item to ensure that the dynamic placeholders are correctly associated with the rendering.

Define the placeholder key using a wildcard in the placeholder settings item, which allows for the generation of unique placeholder keys for every component on the page.


Question 5

A developer wants to invite a team member to their organization in the Sitecore Cloud Portal and give them access to only three specific apps. What role should they assign to this new team member?



Answer : A

According to the Sitecore XM Cloud Documentation for Developers1, an Organization User is a team member who only has access to the apps that an Organization Admin or an Organization Owner assigns to them. They can be assigned up to 25 apps. This role allows you to control the access of your team members to specific apps and limit their permissions within those apps. To invite a team member as an Organization User, you need to follow these steps2:

Log in to the Sitecore Cloud Portal using your administrator account.

On the homepage, on the menu bar, click Admin, then on the Team members page, click Invite.

In the Invite team members dialog box, enter the email address of the team member that you want to invite and select User as the Organization access level.

To give the team member access to an app, click Add app and select the app and the access level you want them to have in that app. You can repeat this step for up to 25 apps.

Click Send to send the invitation email to the team member.

2: Invite team members to your Sitecore Cloud Portal organization 1: XM Cloud Documentation for Developers - Sitecore


Question 6

A content author is unable to edit a company webpage in Sitecore. Where is the best place to check if the user has Write access to this content item?



Question 7

A developer can reference an external code base that includes components so they can be used in the Components builder interface. Which of the following are possible results of adding React components to the Components builder? Select all that apply.



Answer : B, C, D

According to the Sitecore XM Cloud Documentation for Developers1, the Components builder is a tool that allows you to create and manage components for your XM Cloud Pages. You can use the Components builder to register React components from an external code base, such as a GitHub repository or a local folder. When you add a React component to the Components builder, the following results are possible:

B) A content author can enter values for the defined input parameters. When you register a React component, you can define input parameters that allow the content author to customize the component's appearance and behavior. For example, you can define a text parameter that lets the content author enter the title of the component. The input parameters are displayed in the Properties panel of the XM Cloud Pages editor2.

C) The registered component is part of the Components library. When you register a React component, it becomes available in the Components library, which is a collection of components that you can use in your XM Cloud Pages. You can access the Components library from the Components builder or the XM Cloud Pages editor. You can also organize your components into categories and subcategories in the Components library3.

D) The registered component can be previewed in the Component builder. When you register a React component, you can preview how it looks and behaves in the Component builder. You can also edit the component's code, input parameters, and metadata in the Component builder4.

The following result is not possible:

A) The registered component is scoped to only one environment. When you register a React component, it is available in all the environments of your XM Cloud project. You cannot limit the component's availability to a specific environment. However, you can control the component's visibility and accessibility by using the Publish and Archive actions in the Component builder4.

2: Register a React component | Sitecore Documentation 3: Manage the Components library | Sitecore Documentation 4: Manage a component in the Component builder | Sitecore Documentation 1: XM Cloud Documentation for Developers - Sitecore


Page:    1 / 14   
Total 50 questions