Sitecore 10 Certification Questions

  1. A Content Author cannot add components to a page location you’ve identified as the main placeholder. What is the possible solution for this issue?
    You enable placeholders in Sitecore.config
    You create a Placeholder Settings item
    You dynamically bind the Placeholder to the Layout
    You add a placeholder to Allowed Placeholders folder
  1. When performing multisite implementation where should shared content be stored
    Shared content should be stored out any one site’s content tree structure
  1. When you are working with a multisite implementation, what is the recommended practice for creating each site’s tree structure.
    Create a specific site definition configuration, a folder for each site under the Content item, and a Home item for each site within the folder

4. Why is the user getting the error in this picture

Non-existent Solr path

  1. From what interfaces can you access the Publishing Wizard? (2 correct)
    Experience editor and content editor (and also Sitecore Desktop but there was not a choice)

  1. How would you publish after an item is changed in the code?
    code publish – manually copy cshtml files from solution to web root folder
    (not publish from sitecore because that just moves master->web)
  1. In what file would you map the home item to a corresponding host name
    Patch config file
  1. What is a template
    A Data Structure
  1. What does the Allowed CORS Origin do
    Tells ID server to authenticate requests from two files with different names
  1. How can administrator unlock someone who forgets their password
    UserManager -> unlock
    User Manager -> Select User -> Click Unlock
  1. What is the Extranet domain
    contains user accounts that correspond to visitors
    contains customized roles that gives visitors read access
  1. What rules apply to conflicting roles
    Access rights – Denied overrides Allowed.
    Security accounts – Access rights assigned to a user account override access rights assigned to a role.
    Item – Access rights assigned specifically on an item override access rights specified for the descendants on the parent item.
  1. Why is it recommended to assign rights to roles and not users
    It is safer and more efficient
  1. What is Sitecore Support Package used for
    It helps the Sitecore team replicate an issue without accessing the actual Sitecore environment
  1. Which two of the following statements are reasons for assigning security rights to roles instead of individual users
    Roles enable you to control security access for groups of users and roles simultaneously
    Assigning permissions to individual users can be confusing and create risk
  1. What are the Workflow elements
    states, commands, actions
  1. What is the purpose of Field Sections
    To group similar fields
  1. What is a standard value
    A default value for a field that is a fallback value when the field is NULL
  1. Should you edit on the Web Database
    No, If you edit on Web DB content changes will be overwritten on the next publish
  1. Diagram – which fields are candidates for template inheritance
    If the same field is in all three templates, it can be moved to the base template
  1. When is template inheritance not recommended for fields with the same name
    When the fields require different field sources
  1. For which fields do you have to set a source field
    multilist, droptree, treelist
  1. What is the difference between a droplist and a multilist
    Droplist – users select one item,
    Multilist – users select 0 or more
  1. What is a token
    Initial values that get replaced when an item is created ($name, $date, etc.)
  1. Why would you add a tag to an item
    To categorize items and make them easier to search for
  1. If two text fields with same name, but one has a bigger font, are they good candidates for inheritance
    Yes, because even though the fonts are different they still have the same source
  1. Where should you set up presentation details
    In standard values to standardize the creation process and keep content editors from adding their own presentation details
  1. What is required to create a layout
    A Layout definition item defined in Sitecore mapped to a layout .cshtml file
  1. What happens if you remove any of the layout details
    The rendering will not be visible because in order for a Layout to be visible it requires a Layout and Controls
  1. What is a dynamic placeholder
    same key – unique content
    can add the same placeholder name several times across one or multiple renderings
  1. What tag is used to order files in .config files
    <loadorder>
  1. What kind of layout would you use if you want to publish a temporary anniversary page
    Versioned layout
  1. How is a placeholder defined
    A placeholder is uniquely defined by a placeholder key
  1. Which of the following cannot be rendered using HTML.Sitecore.Field()
    Checkbox
  1. When adding a new component that shares the same data source as another, what is an alternative to creating it from scratch
    Using Compatible Renderings
  1. Why would you use static component binding
    Static binding means adding a rendering to a page in a raw way. Or
    When you want to stop content editors from removing a component
  1. Why would you specify a the Datasource location for a rendering
    To restrict content editors so they must select content from a specific part of the content tree
  1. What is the difference between Datasource location and Datasource template
    Datasource location filters by location in the content tree, but Datasource template filters based on a template
  1. When would you add insert options on an item in the content tree instead of the standard values for that item’s template
    When you want to add additional options from what is in the standard values
  1. Describe ASP.NET Core headless architecture
  • independent, render Sitecore content
  • De-coupled
  • light-weight
  • consumes Sitecore Layout Service
  • Preview code changes
  1. What is a Custom View
    reusable, complex logic, used for nav menus, login panels, search bar
  1. What is Startup.css file
    Map Sitecore rendering component name to an implementation
  2. What does sitecore.json do
    Specifies what CLI plugins were installed and specifies location of json files containing serialization info
    “modules”: [
    “src/path/to/.module.json”
    ]
  1. What does module.json do
    Must be added to all folders where serialization takes place
    Specifies what path must be serialized
    Without module.json file, or if it doesn’t contain the paths = no serialization
    Sitecore Content Serialization (SCS) comes with module.json based configurations
  1. Sitecore CLI vs Sitecore for VS
    both are compatible – within one team one person might use CLI while the other uses VS
  1. What is the Sitecore Container Registry
    It contains the base container images for production and development
  1. When would you use HOST_LICENSE_FOLDER instead of SITECORE_LICENSE
    When there is an error compressing the license file into a zip folder – SITECORE_LICENCE must contain the zipped version
  1. Which renderings are “in-line editable”
    Singleline, Image, Datetime
  1. What is the purpose of a .env file when deploying Sitecore to containers
    The .env file allows you to declare environment variables for your Docker containers
  1. What is the primary function of the Layout Service
    To provide structured data about Sitecore-based pages including components and their associated content
  1. When using Sitecore Content Serialization, what is the sitecore.json file in your development solution
    The configuration file for global development plugins and module locations
  1. Match Pair.
    Serialization using commands -> CLI
    Serialization using GUI -> Sitecore for VS
    Where Sitecore pipeline etc sits -> Platform project in starter template
    Where front end files sits -> RenderingHost project in starter template
  1. What is the relation between CD server and Rendering host
    Layout service in hosted in CD which provide data to rendering host via Layout Service client
  1. When you use the field helper, what do you do when you want to ensure that a field cannot be editable inline? or
    With Sitecore MVC, how do you ensure that a field cannot be editable inline
    a. Set the Editable parameters to False
    b. Choose a non-editable equivalent field type
    c. Marke the field as non-editable in the field definition item
    d. Use the DisableWebEdit option
  1. You have been hired to create a company’s website and as you prepare you must define the data structures in Sitecore to create items and content, what should you use to define data structure?
    a. Template
  1. Which statement characterizes the Sitecore extranet security domain
    It is a domain that contains user account as well as customize roles for managing read access to website.
  1. Log in to Sitecore CM shell from multiple host name
    Add allowedCorsOriginsGroup for each site
  1. Which of the following info is available in workbox
    Available workflow commands divided by associated workflow
  1. Sitecore approach to assign user permission
    Permissions are assigned to roles and users are placed in the roles
  1. Users have been assigned a new role and can no longer access the items in the content tree that were previously accessible.
    new use have role which is denied by other role and sitecore prioritize the deny rule
  1. Recommended practice for storing reusable content that is shared between different sites
    Store it outside of any one sites content tree structure
  1. What should you do to ensure that items created from a template have the title field populated with name of the item
    $name token to template standard values title field
  1. You are reviewing content items created from different templates within Sitecore and recognize that the individual items all have a section titled “General Information” with the same three fields Header, Title and Description. If the templates were designed following the best practices, what does this indicate about templates these items are created from?
    The data template for these items inherit from a base template containing the three fields within the “General Info” section
  1. You are working with another developer who has 2 templates with a rich text field name Description. You want content authors to be able to change the font size in the description field on items created from one template but not another. Should the developer define the description field in common parent template?
    No, because 2 fields use different sources
  1. Which of these is a complex field
    Checkbox
  1. You have 3 rendering options with a complex datasource query. In order to swap the existing rendering with a new one, you have to copy the datasource query, remove old rendering, insert new one, paste the datasource query. What should you do to reduce these steps?
    Add each rendering to compatible renderings option
  1. You modify a file in your visual studio project outside the webroot folder. How to see those changes within the Sitecore installation
    Copy files to wwwroot using Visual Studio’s Publish command
  1. In sitecore MVC which static class contains info about any current http request
    Sitecore.Context
  1. Relationship between rendering host and content delivery role in Sitecore headless SDK
    Content delivery hosts the headless service which is used by Rendering Host to fetch the content and layout
  1. How does content serialization support the development experience
    By allowing developers to easily move and share developer-owned items across different environments
  1. Which 2 statements about Sitecore serialization are true
    Sitecore CLI and Sitecore for visual studio provide the same serialization functionality but with different interfaces
    Regardless of personal choice, Developers on the same team can use either tool, Sitecore CLI and Sitecore for visual studio will full compatibility
  1. Tow docker files
    Docker-compose.yml and .env
  1. You want to set limitation of the navigation item that the item itself and the items one step below it should serialized. How to set this limitation?
    Scope
  1. ASP.NET Core Rendering SDK – which type of view should be used for structural data with multiple placeholders
    Partial View