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?
Correct 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 organization1:XM Cloud Documentation for Developers - Sitecore
Sitecore-XM-Cloud-Developer Exam Question 2
What is the sitecore.json file in a development solution?
Correct Answer: C
Thesitecore.jsonfile is located in theroot folder of the solutionand it comes with theXM Cloud Foundation Head starter kit1.In here we can configure what *.module.json filesshould be considered for serialization configuration, the plugins with it's particular versions and some general settings for the serialization1. References: Setup Sitecore Content Serialization Sitecore Content Serialization structural overview
Sitecore-XM-Cloud-Developer Exam Question 3
A developer creates templates and adds standard values; items created from the templates should automatically have the Title field populated with the name of the item. What should they do to ensure this occurs?
Correct Answer: A
In Sitecore XM Cloud, to automatically populate the Title field of items created from a template with the name of the item, the developer should set the$nametoken in the Title field of the template's standard values. This token is replaced with the actual item name when the item is created, ensuring that the Title field is automatically filled with the correct name. References:The use of the$nametoken in standard values is supported by Sitecore and is documented in their developer resources.It is specifically mentioned that Sitecore replaces the$nametoken with the item's name during creation1.
Sitecore-XM-Cloud-Developer Exam Question 4
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?
Correct Answer: A
According to the Sitecore XM Cloud Documentation for Developers1, templates are the fundamental concept in Sitecore that determine the structure and behavior of content items. Templates define the fields, sections, and parameters that make up each item. Templates also enable inheritance, which allows items to share common fields and properties from their base templates.There are different types of templates in Sitecore, such as data templates, branch templates, and command templates2. To create the data structures for a site, the developer should use data templates, which define the fields used to control how data is entered. Data templates form the framework around which items are built. Sitecore associates a data template with every item in the content tree.The field types determine the editing controls shown to the user and they contain the raw values that are stored in the database2. The other options are not correct: Rendering parameters are custom properties for a component that can be changed by the content author in the XM Cloud Pages editor.Rendering parameters allow the content author to customize the appearance and behavior of the component, but they do not define the data structure of the content item3. Renderings are items that define the metadata and parameters for a component. Renderings link a component to a data template, a headless variant, and a rendering parameter template.Renderings are used to create and manage components in the Components builder, but they do not define the data structure of the content item4. Component data sources are content items that provide the content for a component. Component data sources can have fields, such as text, image, or link, that can be edited by the content author in the XM Cloud Pages editor.Component data sources are based on data templates, but they are not templates themselves4. 2:Data definition and template overview | Sitecore Documentation3:Create a component with rendering parameters | Sitecore Documentation4:Create a component that uses a data source item | Sitecore Documentation1:XM Cloud Documentation for Developers - Sitecore
Sitecore-XM-Cloud-Developer Exam Question 5
A developer wants to create a new component to display content from a datasource. Of the options listed below, what are the optimal steps to do this?
Correct Answer: C
According to the Sitecore XM Cloud Documentation for Developers1, a data source item is a content item that provides the content for a component. A data source item can have fields, such as text, image, or link, that can be edited by the content author in the XM Cloud Pages editor.To create a new component that displays content from a data source item, you need to follow these steps2: Create or reuse a SXA Module, which is a folder that contains the renderings, data templates, and media items for your components. Insert a new rendering item in the SXA Module, which defines the metadata and parameters for your component. You can also clone an existing rendering item that uses a data source item and modify it as needed. Use the JSS CLI to scaffold out a new React component in your Next.js application, which defines the layout, style, and logic for your component. You can also copy and paste an existing React component that uses a data source item and modify it as needed. Register the React component in the Components builder and add it to the Components library. In the XM Cloud Pages editor, drag and drop the component to the page and select or create a data source item for the component. You can also edit the data source item's fields in the Properties panel. 2:Create a component that uses a data source item | Sitecore Documentation1:XM Cloud Documentation for Developers - Sitecore