XM Cloud Exam Flashcards
Set of questions from XM Cloud exam for practice
The default value for the scope property in CLI
ItemAndDescendants
Out-of-box technology is offered in xm cloud.
React
What parameter value is required for serializing the current item and its next level items.
Scope
How to delete or remove admin access of a user in sitecore cloud portal
Organization owner or admin can delete or remove access in cloud portal (options are similar like organisation owner or admin from xm cloud deploy, owner or admin from sitecore cloud portal.
Where do the templates need to be created to be identified by experience edge
Under feature/foundation/project/user defined
Question on getting the item name as a field value
Use $name token
what access to give for the user who wants to have access to only specific apps
Organization user (options mentioned are organisation user in xm cloud deploy app or organisation user in cloud portal)
What is the immediate step to do after creating a mulitlist type field in the template
Provide source for selection of items for that field
What is required to connect remote xm cloud instance to local xm cloud
Add the Sitecore.Pages.LocalXmCloudUrl with the value localhost in the local storage
What could be the issue if local xm cloud URL is not working
SITECORE_Pages_CORS_Allowed_Origins is not configured with the value pages.sitecore.cloudio
What is the webhook can use when item using the workflow moves from one state to another
Webhook submit action (options mentioned are submit handler, ssubmit action) remember exact terminology to avoid confusion
What to do to in experience edge to reflect the content when a datasource item content changed
publish the data source item (there is option to publish the related items as well but in XM cloud publishing context might publish all related items when we choose the datasource items)
Question on clearing cache of content in Experience edge
Use clearcahe for tenant endpoint
Which mutation will be used to create an item
createItem
If source code is not in GIT repository, how to deploy to XM cloud
use sitecore CLI
How does SCS publishes the items during the deployment to XM cloud
IAR - Item as a Resource
What is the role required for developer to use graphql IDE
sitecore client user role
Question like What is the use of rendering variants
Display the data in different ways
If a component needs to display content in different ways (image right and text, image left and text, image center and text)
Create a single component with three different variants
Configure renderings to use rendering parameter
inherit IDynamicPlaceholder and define place holder setting in layout service.
What happens when the current template and the inherited template has the fields with the same name
Those fields will be duplicated in the data item
What happens when the grid changes after site development(something like this)
It breaks the site
What are the must do things to configure device in XM cloud pages
Device width, visibility and icon (options mention as Device height, visiblilty, icon - have to choose carefully)
Question on how to view access
Access viewer
Script to use remove site collection folder
Remove site collection folder
What are the things get configured during provisioning step of deployment
CM instance and exp edge (one more option has editing host as well but I dont think editing host is applicable in provision step)
Question on serializing items when items has any changes
Using watch command
query { layout(site: “experienceedge”, routePath: “/”, language: “en”) { item { homeItemPath: path contentRoot: parent { id path } } }}
Get the root item of a site
What is the difference between SXA components and headless components
[Not official answer from the exam, but based on studying]
SXA Components : Customizable components where developers can implement logic via React JS
Headless Components : Low Code/No Code Components that can be created by content authors, therefore reducing the need of developers for less complex things.
How to configure a headless page when developer wants to assign specific component at specific location.
for a placeholder like headless-footer restrictions are applied on layout level (sitecore/layout/–) then how will the placeholder restrictions apply on the pages (will restrictions be applied on all sites or specific site or specific page)
A multinational company have different brands in different countries. How to setup site for each region (rendering host related question)
different rendering host deployed for each site
A multination company have different brands in different regions and different countries in multiple languages. How to setup Site structure
select option which have different site folders for each brand and each site folder containing different sites for different regions (choose whatever option suits best)
what is sitecore.json file
???
How to configure dynamic placeholder
Link placeholder setting to rendering item, include IDynamicplaceholder base template in parameter template
Why to assign security to roles instead of users.
[Not based on the exam, but in studies]
Assigning security roles streamline the access control to content and parts of Sitecore, whenever a user needs to be added/removed access to some part of the application it is just a matter of adding/removing the user of that role.
Access we see in sitecore security editor (like read, write, inheritance)
???
Where can we exclude the items in sitecore serialization
Sitecore.json file
Where can we create data templates
Content editor (not pages)
Default scope in content serialization
Item & Descendants
How can a developer verify the error during the deployment
Deployment log
Question related to publising pipeline, steps it will follow
Add the missing items, calculate dependencies, resolve dependencies (multiple options have to be selected), It will NOT ARCHIEVE anything so dont select that option.
In content tree if a developer is not able to see template and layout what could be the reason?
hidden items checkbox is not unchecked