Learning for the Sitecore 9 exam Flashcards

1
Q

Where is the home item for your site is defined?

A

Sitecore.config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you retrieve your site’s start item location?

A

Sitecore.Context.Site.StartPath;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you install a Sitecore package from within Sitecore?

A

Control Panel>Administration>Install a Package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What’s the default base template for all templates?

A

Standard Template

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can you extend the Sitecore Framework?

A
  • Packages
  • Modules
  • Update Packages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which tasks can Sitecore Rocks plugin for visual studio be used to perform?

A
  • Manage Packages
  • Create Anti-Packages
  • Create Items
  • Create Templates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an Anti-Package?

A

Helps you create a package with an option to roll back the changes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The Sitecore Package Designer helps you to…?

A
  • Add Items statically or dynamically
  • Set installation options
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can you install a package in Sitecore?

A
  • Installation Wizard
  • Sitecore Rocks
  • Control Panel
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Where is the default site configuration located?

A

/app_config/Sitecore.config under site

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What static class contains the information about the current HTTP request and your site installation?

A

Sitecore.Context

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where is the Home page or start item for your site defined in the Sitecore.config?

A

Rootpath and Startitem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How can you retrieve your site’s start item location programmatically?

A

String startPath = Sitecore.Context.Site.StartPath
Item Homepage = Sitecore.Context.Database.GetItem(startPath)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What’s the path of the Single website and Home Item?

A

/Sitecore/Content/Home

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the recommended practices for a multisite implementation?

A
  • Creating a folder for each site
  • Ensuring that each site folder has its own Home item
  • Storing shared content outside of each site folder
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Visual Studio is the main tool to…?

A
  • Configure and manage Sitecore project
  • Code Layouts and renderings
  • Manage configuration files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

True or false; Everything in site is an item

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

An item consists of…?

A
  • Fields
  • Field Sections
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

True or false; the item is an addressable unit of data?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

True or false; templates are the foundation of all content in Sitecore?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What do templates define?

A
  • Type of item
  • Field sections
  • Field names
  • Field types
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What does the field type determine for the field in the Content Editor and the Experience Editor?

A

The Editor Control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

True or false; modifying the base template of the template affects all items immediately?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

True or false; all templates inherit from the standard template?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Name the available Tokens in the standard values?

A

$name
$date
$now

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What option overrides the Field Name in Sitecore interface?

A

Title

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Sitecore publishes items from… to…?

A

Master to Web database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

True or false; sitecore groups the files in layers and maps each layer to a folder in the App_Config folder?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Sitecore groups files in layers and maps each layer to a folder. Where is this folder located?

A

App_Config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

What are the two types of rendering most commonly used in Sitecore?

A
  • View Rendering
  • Controller Rendering
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

Which rendering is only used occasionally?

A

Item Rendering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

What renderings are supported only for legacy reasons?

A
  • Method Rendering
  • XSLT Rendering
  • Url Rendering
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Where do you create a model in Sitecore for structured data to be consumed by MVC view?

A

Layout>Model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

What steps are required for a custom route in Sitecore?

A
  • Define a custom route
  • Register the custom route
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

True or false; areas enable you to group collections of controllers and views together to help subdivide and organize complex projects?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

What’s the recommended practice to add Sitecore libraries to your project?

A

Using Nuget

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

What are the advantages of creating a project outside of the web root folder?

A
  • Separation of Concern: between solution files and Sitecore files
  • Use the same visual studio project when you upgrade Sitecore or create a new instance.
  • Easy to backup, restore, and move project.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

What server roles are supported in the attribute of the Web.config file?

A
  • Content Delivery
  • Content Management
  • Processing
  • Reporting
  • Standalone
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

What are three major components of the Sitecore 9 product?

A
  • Sitecore Experience Manager (XM)
  • Sitecore Experience Platform (XP)
  • Sitecore Experience Commerce
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

What component-based architecture guidelines are used by Sitecore?

A

Helix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

What are the main topics important to Helix and Modular architecture?

A
  • Dependencies
  • Layers
  • Modules
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

True or false; low coupling relies on keeping the number of dependencies between different parts down to the absolute minimum?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

True or false; high cohesion does not rely on breaking the solution down into the right parts with logic that belong together?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

How can you control the dependencies between modules in Sitecore?

A

Using Explicit dependencies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

The layer concept in Helix provides a structure that is extremely suitable for…?

A
  • Creating and maintaining solutions of any size
  • Producing maintenance-friendly and clean code
  • Making the dependency flow clear everywhere in the solution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

What layers are defined by the Sitecore Architecture Conventions?

A
  • Project
  • Feature
  • Foundation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

What’s the most unstable layer in your Sitecore structure?

A

Project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

What layer of the Sitecore Architecture Conventions stitch the features of the solution together into a cohesive solution?

A

Project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

What layer of the Sitecore Architecture Conventions can contain page types, layout and graphical design?

A

Project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

What layer of the Sitecore Architecture Conventions contains the concrete features of the solution?

A

Feature

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

Which layer is the lowest level and most stable layer in Helix?

A

Foundation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

Which layer contains the framework such as Sitecore, .Net, Bootstrap, Jquery etc. ?

A

Foundation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

The concept of modules is derived from…?

A

Component-based Architecture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
54
Q

Which service is responsible for processing and storing data?

A

xDB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
55
Q

How can the xDB core be accessed?

A

xConnect Client API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
56
Q

True or false; the client has direct access to the collection database or the search index.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
57
Q

What single end point named is used by the collection and Search in the development environment?

A

xdb.collection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
58
Q

Where do you configure the xConnect end points?

A

\App_Config\ConnectionStrings.config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
59
Q

Which tool can help you connect to Sitecore using a Console application?

A

xConnect Client API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
60
Q

Which model defines the CLR types, facets, and events?

A

xConnect Collection model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
61
Q

True or false; the xConnect service must have a JSON representation of any model that a client application wishes to use.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
62
Q

How does the developer extend the xConnect?

A
  • Adding Contact and Interaction facets
  • Adding Custom events
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
63
Q

How can you control the types of items that users can insert beneath an existing item?

A

Using the Insert Options

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
64
Q

What’s the second pillar of Experience Manager?

A

Content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
65
Q

What do you call a content instance of a template?

A

Item

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
66
Q

Where are items stored in Sitecore?

A

Database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
67
Q

Which database stores the edited item when you edit an item in Sitecore?

A

Master

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
68
Q

True or false; all content is publishable when no restrictions are applied.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
69
Q

How are items identified in Sitecore?

A
  • ID
  • Path
  • URL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
70
Q

True or false; items in Sitecore do not store website content?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
71
Q

True or false; editors do not need to lock the item before modifying it?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
72
Q

What does the user need to specify when inserting an item from a template in Sitecore?

A
  • Template Location
  • Item Name
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
73
Q

Which user can create content anywhere in the tree?

A

Administrator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
74
Q

How can developers create content directly from Sitecore Explorer?

A

Right-click an item > Add New Item

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
75
Q

How can developers add multiple items at once?

A

Sitecore Explorer > Right-click an item> Add New Item > Click Add on the Add new dialog box

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
76
Q

What are the recommended practices for creating content in Sitecore?

A
  • Place pages under the Site’s Home or Start item
  • Set insert options
  • Limit the number of children
  • Limit the number of versions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
77
Q

True or false; the number of children that an item has and the number of versions can affect performance?

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
78
Q

A regular user calls stating that he is unable to create content under the Home item. What is a possible cause of this issue?

A

Insert options are not defined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
79
Q

How does the language store in the content tree?

A

In the Item

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
80
Q

Where do you manage languages in Sitecore?

A

Control Panel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
81
Q

True or false; each language version can have it’s own list of numbered versions.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
82
Q

Where can you set a friendly name for an item that can be translated?

A

Display Name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
83
Q

How does the Sitecore handles an item without a Display Name?

A

Name is used as a fallback

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
84
Q

True or false; Name and Display appear on the content item for all users.

A

False
(it displays only for administrators)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
85
Q

In regards to version control, the fields in Sitecore can be…?

A
  • Versioned
  • Shared
  • Unversioned
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
86
Q

What version is created by default when you create a field in Sitecore?

A

Versioned

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
87
Q

Which version control option will allow users to create single version of field value for all languages?

A

Shared

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
88
Q

Which version control option will allow users to create unique version of the field value per language?

A

Unversioned

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
89
Q

True or false; all fields must be versioned in Sitecore?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
90
Q

True or false; Sitecore automatically translate the labels, button text, etc. in other languages that you specify?

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
91
Q

Where does Sitecore look for the language when a user clicks the URL or a link on the web page?

A
  • The sc_lang query string parameter
  • The language prefix in the path in the requested URL
  • The language cookie associated with the context site
  • The default language associated with the context logical site
  • The DefaultLanguage setting specified in Sitecore.org
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
92
Q

Why is setting the icons and creating user friendly names important when working with templates in Sitecore?

A

It’s easier for the user to identify the template for creating items.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
93
Q

What’s the best way to define default values and setting for items?

A

Use Template’s standard values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
94
Q

What are recommended practices for data Architecture?

A
  • Making good use of Template Inheritance
  • Using Icons and user-friendly names for templates
  • Using a template’s Standard Values to define default values and settings for items
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
95
Q

What are recommended practices for Content Structure?

A
  • Controlling the user experience and content tree by configuring Insert Options
  • Ensuring the tree structure mirrors the site structure
  • Limiting the child items and item versions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
96
Q

What layer(s) does the Sitecore.Services.Client framework provides on both the Server and the Client side of the Sitecore applications for the developers to use to develop data-driven applications?

A

Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
97
Q

Which Web API is used by Sitecore.Services.Client as a foundation?

A

ASP.NET Web API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
98
Q

What attribute needs to be set on the controller to enable the features of Sitecore.Services.Client framework?

A

[ServicesController]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
99
Q

What services are provided by the Stecore.Services.Client framework?

A

ItemService
EntityService

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
100
Q

What service of Sitecore.Services.Client can be used by the developer to gain access to regular Sitecore Items?

A

ItemService

101
Q

What service of Sitecore.Services.Client can be used to gain access to business objects that you define?

A

EntityService

102
Q

What server-side classes can the client side of Sitecore applications use when using Sitecore.Services.Client?

A
  • SPEAK components
  • Client-side JavaScript
  • Restful API directly
103
Q

What are the two type of items in a Sitecore database?

A
  • Definition Items
  • Content Items
104
Q

Which item defines the configuration or structure of the implementation?

A

Definition Item

105
Q

In which environment is the Definition item created and managed?

A

Development

106
Q

True or false; the Definition items are managed and created in Production environment and moved as part of versioned deployments from development to test to production?

A

False

107
Q

Name all Definition item types?

A
  • Layout and Rendering items
  • Template and Field Items
  • Placeholder and setting items
  • Custom Field Types
  • Lookup items for settings
  • All items in the Core database
108
Q

What items are managed by the editors on the website?

A

Content Items

109
Q

What items are owned by the Administrators and Editors in the production environment?

A

Content Items

110
Q

Which content item is owned by production and should never by overwritten by an item coming from the development or test environment?

A

Site home page item

111
Q

True or false; the Definition items and some content items in Sitecore are created and managed in the development environment?

A

True

112
Q

What allows items stored in the Master or Core database to be written to disk in a text-based format and subsequently restored into a database?

A

Serialization

113
Q

True or false; it is highly recommended to deploy business logic and items together in your deployment process?

A

True

114
Q

What are the tools that you can use to create and edit the content on your website?

A

Content Editor
Experience Editor

115
Q

Which tool can editors use to edit and write content directly on the page?

A

Experience Editor

116
Q

Which tool is best for more experienced content authors who are familiar with Sitecore and functionality that it contains?

A

Content Editor

117
Q

True or false; you can edit all the items on the page using Experience Editor even if they do not belong to the selected item

A

True

118
Q

What is a shared layout?

A

Contains the content of all versions of the page, in all languages

119
Q

What is a final layout?

A

Contains a combination of the specific for the current version of the page and the content that is specified in the shared layout.

120
Q

What functionality lets you preview all your items on your website without publishing them first?

A

Preview

121
Q

What’s the default publishing target in Sitecore?

A

Web database

122
Q

A certain Item can only be published if all it’s ancestors have been published. Which option(s) should be checked when publishing an item in Sitecore?

A
  • Publish subitems
  • Publish related items
123
Q

What option will publish everything in Sitecore?

A

Republish

124
Q

Which option will publish all items that have changed since the last publication?

A

Smart Publish

125
Q

Which option will publish only items that are in the publishing queue?

A

Incremental Publish

126
Q

Which versiontypes exist in Sitecore?

A
  • Numbered Versions
  • Language Versions
127
Q

Which versiontype creates a versions of an item in the same language?

A

Numbered Versions

128
Q

Which versioned type creates a version of an item in a different language?

A

Language Versions

129
Q

What option will create an item that is not just a copy of the original item, but one that inherits the field values from the original item?
a. Copy
b. Duplicate
c. Clone
d. All of the above

A

Clone

130
Q

How do you identify the template that an item is based on?

A

Content area>Content tab>Quick Info>Template

131
Q

What options can be used to run a few checks on the item to make sure that it is ready to be published.

A
  • Markup
  • Field Validation
132
Q

What advanced search option can be used to locate exactly the item you are looking for in the Content tree?

A
  • Facets
  • Filters
133
Q

In a Multilanguage solution, which functionality will help you to control the items or fields to reuse content from another language?

A

Language Fallback

134
Q

The fallback language can be enabled on…?

A
  • Items
  • Fields
135
Q

True or false; Item and Field fallback on the same items should not be used at the same time?

A

True

136
Q

Which language fallback is enabled by default on the templates that dictionary entries are based on?

A

Item-level fallback

137
Q

How can you improve the time it takes to load the Experience Editor ribbon?

A

Change WebEdit.ShowNumberofLockedItemsOnButton value in Siteore.ExperienceEditor.config to false

138
Q

Sitecore 9: What two frameworks are supported in Sitecore?

A
  • MVC
  • Web Forms
139
Q

What is the recommended practice to reference Sitecore binaries to your project?

A

Nuget

140
Q

True or false; the best practice is to set presentation details on the standard values?

A

True

141
Q

If the Sitecore page is displaying an error “no layout”, what can be a possible cause of this error?

A

Presentation details are not set

142
Q

True or false; Helix guidelines and conventions focuses on architecture and mapping dependencies correctly?

A

True

143
Q

Presentation in Sitecore is carried out by…?

A
  • Layout
  • Component
144
Q

Layout in Sitecore is the…?

A

Scaffold of the page

145
Q

Which property of an item stores the information that Sitecore requires to build a page response?

A

Presentation Details

146
Q

Which objects form a layout in Sitecore?

A
  • .cshtml file
  • Definition Item
147
Q

Which field of the definition item links with the layout .cshtml file?

A

Path field

148
Q

What Sitecore helper you will use to render field values to a page?

A

Field

149
Q

What rendering should only contain display logic?

A

View Rendering

150
Q

What is the default model used by the components in Sitecore?

A

RenderingModel

151
Q

Which arguments will the field helper accept?

A

Field Name, Item, Set of parameters

152
Q

If you do not specify an item in the field helper, what will be used by default to output the content?

A

Context Page Item

153
Q

What action will the field helper will take if the data source item is not found?

A

Fall back to the context item

154
Q

True or false; you must use the RenderingModel in your view rendering to access a Sitecore item?

A

False (a custom model can be used as long as it gives you the access to Sitecore item)

155
Q

True or false; the Sitecore field helper can be used to render content from items and the content can also be edited in the experience editor?

A

True

156
Q

What parameter value can be set in the Sitecore Field helper to make the content read only?

A

new {DisableWebEdit=true}

157
Q

What parameter value can be set in the Sitecore Field Helper to set the width and Height of an image?

A

mw,mh

158
Q

The source fields in Sitecore are used to…?

A

Limit the set of item that can be used

159
Q

What templates define data types in Sitecore?

A

Data Templates

160
Q

What template defines the base template for most data templates?

A

Standard Template

161
Q

What field values are defined by the standard template?

A

None

162
Q

True or false; Standard template inherits from a number of base templates defined under the /sitecore/templates/System/Templates/Sections item. Each of these base templates defines a single section of the standard template?

A

True

163
Q

The names of fields in the standard template begins with…

A

Two underscores

164
Q

What field types can be rendered directly in Sitecore?

A
  • Text: Single-line, Multi-line, Rich text, Number, Integer
  • Date: Date, DateTime
  • Link: General Link, General Link with Search
  • Image: Image
165
Q

What field types cannot be rendered directly in Sitecore?

A
  • Reference another item: Droplink, Grouped Droplink, Droptree
  • Multiple References: Treelist, TreelistEx, Multilist, Checklist, Multilist with Search
  • Boolean: Check box
166
Q

What class types can be used for fields that cannot be rendered directly?

A
  • ReferenceField
  • MultilistField
  • CheckboxField
167
Q

What’s the namespace for field class types: ReferenceField, MultiListField, CheckboxField?

A

Sitecore.data.Fields

168
Q

What are the parameters of EditFrame()?

A
  • DataSource
  • Buttons
  • Title
  • Tooltip
  • CssClass
  • Parameters
169
Q

How can developers allow content authors to edit complex fields such as Mutilist, Checkbox, and Treelist fields editable using the Experience Editor?

A

Field Editor

170
Q

What is an Edit Frame?

A

A region of the page that reacts to clicking by showing a toolbar

171
Q

How can a developer add a button to any toolbar to display a field editor?

A

Edit Frame button

172
Q

What is the most significant feature of the Sitecore system when designing the user experience in Sitecore?

A

dynamic layout engine

173
Q

How should a partial view be prefixed in Sitecore?

A

Underscore

174
Q

How do you register a View Rendering with Sitecore?

A
  • Create a View Rendering definition item
  • Point to the path of the .cshtml file
175
Q

How do you register a Controller Rendering with Sitecore?

A
  • Create a Controller rendering definition item
  • Reference the Controller and Controller Action view by name
176
Q

The recommended practice when creating a controller rendering is…?

A
  • Requesting the model or view model from the business layer
  • Passing on the model to the required view
177
Q

John has created several complex components. He rendered the components using the path in the layout. What binding did john use to render the components?

A

Static

178
Q

John has created several complex components. He used place holders in the layout for those components. What binding did john use to render the components?

A

Dynamic

179
Q

True or false; Placeholders are added to the markup in code and are identified with a unique placeholder key?

A

True

180
Q

What are the advantages of using dynamic binding in Sitecore?

A
  • New page types can be assembled from existing components
  • Changes to a page structure do not require a developer
  • Supports content reuse
  • Supports Sitecore’s personalization and testing features
181
Q

What binding should be used when adding Header and Footer to the layout?

A

Static and Dynamic

182
Q

When should you use static binding in Sitecore?

A

The component always needs to be present on a layout or component

183
Q

What binding should a developer use if a user wants to edit the component using the Experience editor?

A

Dynamic

184
Q

Where do authors add, remove, move, and configure components?

A

Experience Editor

185
Q

If the Allowed Controls are not defined in the Placeholder settings then the content users will be able to…?

A

Add all controls to the placeholder

186
Q

The placeholder settings can…?

A
  • Make placeholders selectable in the Experience Editor
  • Restrict components
187
Q

The items in the placeholder are called…?

A

Definition Items

188
Q

True or false; Presentation details are set on a template’s standard values but can be overridden on the item?

A

True

189
Q

What does Sitecore create when you override a presentation details on the item?

A

Layout Delta

190
Q

What happens when you create a regular placeholder multiple times on the page?

A

Same content appears on both placeholder definitions with the same key

191
Q

How can you make sure that each placeholder on the page has a unique key?

A

Create dynamic placeholders using @Html.Sitecore().DynamicPlaceholder(“Key”)

192
Q

What can you do to create more flexible components on the page?

A

Create dynamic placeholders

193
Q

Which standard field is a shared field where you specify the common layout for all languages and versions of the item?

A

_Renderings

194
Q

Which standard field is a shared field where you specify Individual layouts for languages and versions of items?

A

_Final Renderings

195
Q

How are layouts stored in fields?

A

XML

196
Q

How does the final presentation get created in Sitecore?

A

The contents of _Renderings and _Final Rendering fields are merged (“Patched”)

197
Q

What reference map the item to the current URL?

A

RenderingContext.Current.ContextItem

198
Q

What reference will help you to easily display contents from a different item?

A

RenderingContext.Current.Rendering.item

199
Q

How can we prevent authors selecting the wrong type of data source for the component?

A

Set the Datasource Location

200
Q

Where do you setup the Data Source location for a component?

A

Component Tool bar> More>Edit Experience Editor Option

201
Q

How can we restrict authors to use a specific item type?

A

Set the Datasource Template

202
Q

What are the advantages of using the Datasource template?

A
  • Restricts users to a specific item type
  • Allows content creation of that item type
203
Q

True or false; the Datastore Template cannot be configured with or without a Datasource location?

A

False

204
Q

True or false; when the Datasource Template is set without the Datasource location, the authors can see the entire content tree but are only allowed to select the specific item type for that component?

A

True

205
Q

How are the component parameters stored?

A

As Key-value pairs

206
Q

How can developers access the parameters of the component programmatically?

A
  • @Model.Rendering.Parameters[“CssClass”]
  • @RenderingContext.Current.Rendering.Parameters[“ButtonText”]
207
Q

How can the developers help authors choose the correct component parameter values?

A

Using fields

208
Q

What are advantages of using Rendering Parameter templates?

A
  • No free-form text input
  • Prevent errors
  • Control Input
  • Improve the user experience
209
Q

How many parameter template are allowed on a component?

A

One

210
Q

True or false; Compatible Rendering is a component definition item that enables users to replace the one component with another?

A

True

211
Q

Where else do you specify the components so they can be swapped in the experience editor?

A

Placeholder’s Allowed Controls field

212
Q

How can a developer choose to handle Redirects with Sitecore?

A
  • Third-party modules
  • Custom code overriding the LinksManager and ItemSolver
  • IIS redirects
213
Q

What’s the benefit of using Wildcard items in Sitecore?

A
  • Allows you to work with dynamic URLs
  • It matches to any request
  • It ensures the URL is dynamic
214
Q

What methods can be used to navigate the tree?

A
  • .Parent()
  • .GetChildren()
  • .Axes.GetAncestors()
  • .Axes.GetDescendants()
215
Q

True or false; developers should use ContentSearch for the best performance in Sitecore?

A

True

216
Q

True or false; developers should use Var in a foreach loop with the ChidlList?

A

False

217
Q

What should developers use instead of var in a foreach loop with the childlist?

A

Sitecore.Data.Items.Item

218
Q

LINQ is useful in Sitecore for…?

A

Filtering small collection of items

219
Q

True or false; Sitecore sorts subitems alphabetically by default?

A

True

220
Q

When you use LINQ to sort items, what needs to be done to improve performance?

A

Instruct the GetChildren method not to sort items

221
Q

What happens if you edit directly on the Web database?

A

Changes are lost after a publish

222
Q

When you editing an item, how do you ensure that your changes are made on the Master database only?

A

Point to the Master data using the following statement Var masterDB = Sitecore.Configuration.Factory.GetDatabase(“master”)

223
Q

True or false; anonymous visitors have permissons to create items in Sitecore?

A

True

224
Q

How do you run code as another user in Sitecore?

A
  • Sitecore.SecurityModel.SecurityDisabler()
  • Sitecore.Security.Accounts.UserSwitcher(“usersID”)
225
Q

What are the steps to edit content programmatically?

A
  • Ensure you have the required permissions
  • Retrieve the item
  • Invoke the Editing.BeginEdit() method
  • Change the field values
  • Invoke the Editing.EndEdit() method
226
Q

What tool can a developer use when they need an endpoint to access and manipulate data remotely?

A

Sitecore.Services.Client

227
Q

Where can adeveloper find the used JavaScript libraries?

A

\Sitecore\shell\client\Services\Assets\lib

228
Q

True or false; Search Facets are calculated after a search?

A

True

229
Q

True or false; Administrators can add facets for other fields/properties?

A

True

230
Q

The search interface operations allows you to…?

A

Run bulk operations over all the search results

231
Q

True or false; all fields are index by default in Sitecore?

A

False

232
Q

What are benefits of using Item buckets in Sitecore?

A

Reduce the number of children per item
Hide folder structure and content from Editor’s view
Allow editors to search the content by bringing the search interface to the forefront

233
Q

Where do you adjust the item bucket settings in Sitecore?

A

/Sitecore/System/Settings/Buckets/Item Buckets Settings

234
Q

What API is used by the Search UI and Sitecore Buckets?

A

ContentSearch API

235
Q

What libraries does a developer need to use to construct a search in Sitecore?

A

None

236
Q

What LINQ IQueryable methods are not supported in Sitecore?

A
  • GroupBy
  • Aggregate
  • Sum
237
Q

Which LINQ IQueryable methods are supported in Sitecore?

A
  • Where
  • Contains
  • Any
  • All
  • OrderBy
238
Q

Why is it not recommended to use Axes.GetDescendants to retrieve a large number of items?

A

Performance Issues

239
Q

Name the official Sitecore documentations?

A
  • Dev.sitecore.net
  • Doc.sitecore.net
  • Sdn.sitecore.net
  • Kb.sitecore.net
  • Youtube.com/user/mastersitecore
  • Helix.sitecore.net
240
Q

Name the community-driven sources?

A
  • Community.sitecore.net
  • Feeds.sitecore.net
  • Marketplace.sitecore.net
  • Sitecore.community.github.io
241
Q

Which type of release adds significant functionality to a product?

A

Feature Release

242
Q

True or false; Sitecore will not provide individual customers with a hotfix or patch to resolve a single issue or a small number of issues in a Sitecore?

A

False

243
Q

How long Sitecore will support the Mainstream Support Phase?

A

3 years

244
Q

What tool can be used to analyze log files?

A

Log Analyzer

245
Q

The self-test diagnostics can be run using…?

A

Sitecore Diagnostics Toolset

246
Q

True or false; you must supply the license ID when you open a ticket with Sitecore?

A

True

247
Q

What needs to be attached before submitting the ticket to Sitecore Support?

A
  • Relevant Configuration Files
  • Recent Log files, Screenshots of UI, errors, and related files
  • Exceptions as plan text documents
248
Q

What tool can be used to generate a support package for Sitecore support?

A

Support Package Generator