Sitecore Certification Questions and Answers
Sitecore Certification Questions and Answers
Some examples of field types are... Single-Line Text, Rich Text, Image, Date
What happens if the same field section - The field sections will merge
name is used in multiple templates in a
data template's inheritance tree? - Fields will be listed under this single section
What type of settings can be applied to Default field values, default insert Options, def
standard values? presentation, default Workflow
Where Insert Options should be On the data template's standard values which
configured? overridden at item level.
Why is it a good idea to configure Insert All items using that data template will have the
Options on standard values? Options.
What are presentation details? Configuration that determines what an item loo
requested by the browser.
How is a Layout definition item connected The Path field on the Layout definition item po
to a Layout file? location of the .aspx file.
How does a component definition item By a Path field on the definition item
where to find the associated file?
- New page types can be assembled from exis
components
- Supports Site
cores personalization and testing features
Describe the process by which a Open presentation details -> Add Rendering ->
component is bound to a placeholder? rendering -> Edit Placeholder Key property
Field
Name the one mandatory property that
must be specified on the Sitecore web
controls
(note: on , the equivalent is FieldName)
Sitecore Namespaces
Sitecore.Context Information about curren
Sitecore.DateUtil
Sitecore.IO.FileUtil
Sitecore.UIUtil
Sitecore.MainUtil
Why is it a bad idea to output a fields Not editable in Experience Editor and complex
value straight to the screen? contain custom XML
Why is it a bad idea to output raw values to Not editable in Experience Editor, complex fiel
the screen? not make sense images, for example
What do parameters allow you to do? Allow properties to be set per instance of a co
Why would you set the component and the When you want all items based on a particular
Datasource on the standard values have that component with that particular Datas
presentation details? default
How does the XML of a layout delta differ Layout deltas only contain differences betwee
standard value presentation and any changes
author on the item.
from the XML specified on a templates
standard values?
The standard value XML contains all presenta
What kind of content can you display using Promotions, announcements anything that co
a General Widget? used across the site
How do visitors to your site change the You have to build language switching for the fr
sites language? yourself using a query string, for example
What kind of error checking should you do when Check that each item has a version in
rendering items to the screen? language
What are some important considerations with a Large codebase, sites affect each oth
multi-site implementation? performance - see Multi-site slide for
What does the presence of the __Final Renderings To define individual presentation deta
field allows an author to do? version of an item
What would you use the Field Image: Set the folder in the Media Library it will open w
source for in the following field selecting an image for the field.
types: Image, Rich Text Field, Drop
link? Rich Text: Configuration of the toolbar and functionalit
Text Editor.
What happens if you don't set any Only admins and privileged users will be able to creat
insert options? (using the Insert from template option).
Where should you set insert In the Standard Values, so they are applied as a defau
options as a best practice? created items.
Should a user work directly in the A user should never work directly in the Web database
Web database if they need they should not even be able to access the Web datab
something to go live immediately? authoring tools.
Why would I want to use the data The data source allows you to build more flexible and
source in a component? components because the data source is determined b
not hardcoded by developers.
Which fields are editable inline Text fields (Single-Line, Multi-Line, Rich Text), Date/da
using the Experience Editor? Image, General Link.
What are some of the features of Integration with Visual Studio. Creating and editing ite
Sitecore Rocks? management tools, viewing website file system
Why is storing media in the It makes publishing easier because the item and the m
Sitecore database an advantage? both published so you do not have to keep files in syn
What is the difference between the The Rendering field is shared between all item version
Renderings and Final Renderings used for global changes; The Final Renderings field is
fields? and stores language and version-specific changes.
What are Compatible Renderings? Components that can be exchanged or replaced with
How would an author cause a The URL is usually made using the item names. If the
broken link when renaming an bookmarked in the browser, it will no longer work. You
item? implement 301 redirect logic.
What is the danger of using a It retrieves recursively all the children of all the childre
method like If invoked in an item near the root, it would load the en
Axes.GetDescendants()? memory, with the corresponding performance penalty.
How would configure the buttons By creating some definition items in the Core databas
shown in an Edit Frame? the Buttons property to the Field Editor
What is the biggest challenge
Having multiple controllers invoked in the same page
when you post forms with Sitecore
one of them should handle the post.
MVC?
Name
UserSwitcher
How can you run part of your code
with a set of privileges different
from those of the context user? SecurityDisabler
EntityService
- Experience CMS
Name 2 key components of Sitecore XP
-Marketing Platform
- Desktop
Name 3 Sitecore interfaces - Content Editor
- Experience Editor
- Master
Name three databases that are installed by default - Web
- core
- Content versioning
Name some foundation features that Sitecore
provides out of the box - multi-language support
- Devices (adaptive design) support
What is the name of the digital marketing - xDB (or Experience Database)
management part of the experience Platform that
collects and aggregates contact information
- Field name
What do you need to specify when creating a new
field?
- Type
- Single-Line
- Rich Text
Some examples of field types are...
- Image
- Date
In which scenario would you use data template When fields are repeated in multiple d
inheritance? templates.
- $name
- $date
- $id
Name three tokens: - $parentid
- $parentname
- $time
- $now
Why is it a good idea to configure Insert Options on All items using that data template will
standard values? same Insert Options
How is a Layout definition item connected to a The Path field on the Layout definition
Layout file? to the location of the .aspx file
How many Layouts can you assign to single item? One- per device
- Sublayouts
- Wen control
- <sc:Text \>
- <sc:Image />
How can Sitecore help you resize images Set MaxWidth and/or MaxHeight on t
dynamically? tag
Field
Name the one mandatory property that must be
specified on the Sitecore web controls
(note* on <sc:FieldRenderer />, the e
FieldName)
In which .dll can you find the majority of the API? Sitecore.Kernel
Name four properties that you might get from -Context user
Sitecore.Context
- Language
- Database
- Item
How should you compare two items in code? Using their IDs
Why is it a bad idea to output a field's value straight Not editable in Experience Editor and
to the screen? fields contain custom XML
Why is it a bad idea to output raw values to the Not editable in Experience Editor, com
screen? types will not make sense images, fo
Setting a component Datasource allows that Output content from a content item el
component to _____. the tree
What do parameters allow you to do? Allow parameters to be set per instan
component
How are parameters encoded when sent your As a URL query string, that is
component? key=val1&key2=val2
Why would you set the Datasource for a When the Datasource should only be
component on the presentation details of an item? particular page
Why would you set the component and the When you want all items based on a
Datasource on the standard values presentation template to have that component with
details? particular Datasource as default
What can't you preview items under Global They do not have presentation details
When will Sitecore use the language attribute of the If there is no explicit language in the U
site definition in the web.config? language cookie.
How do visitors to your site change the sites You have to build language switching
language? end yourself using a query string, fo
What kind of error checking should you do when Check that each item has a version in
rendering items to the screen? language
What are some important considerations with a Large codebase, sites affect each oth
multi-site implementation? performance -see Multi-site slide for m
What does the presence of the __Final Renderings To define individual presentation deta
field allows an author to do? version of an item
How do you access the Layout In Content Editor or Experience Editor click the Det
Details window for each item? command. In Sitecore Rocks choose Tasks -> Desi
What is the difference between the The Shared Layout tab is for defining presentation d
Shared Layout tabs versus the Final versions of an item while the Final Layout tab focus
Layout tab of the Layout Details presentation detail of that specific version of the item
window?
- ancestor-or-self::
Name two axes available in
Sitecorequery:
- parent::
Reduces error
What are Compatible Renderings Components that can be used in place of another c
In order to store an item in a bucket, Make that item or the data templates standard value
you must on bucket able
Why should you tune your index Large, unwieldy index as your solution grows
configuration and not index
everything by default?
- Item
What are the three layers that the
- Data
item cache mechanism have?
- Prefetch
- Definition item
Name three places where component
HTML caching options can be - Standard Values
defined
- per|instance of the component
- Incremental
Name the 3 publishing modes - Smart
- Republish
List some benefits of using Sitecore Checks prerequisites, correct DLLs, logs, remove a
Installer
installation
Name two development models Inside and outside the web root
What are the options to source You can serialize your items for source control with
control your items? Rocks or use a product like TDS to do it.
What is the recommended way of Patch web.config with include files, located under
patching in changes to web.config? /App_Config/Include
What are workflows used for? Content approval, versioning and tracking
When is a new numbered version When an items version is in a final workflow state a
created? subsequently is edited by a non-Administrator.
How does componentization and use As a visitor navigates around the site, components
of data sources support / hidden or their data changed to match a particular
personalization? or profile key score
Best Practice: Why use Project If there are many data templates, it is best to group
Folders? subfolders for organization
Best Practice: Nesting Sub layouts An example, a two-column sub layout will have 2 pl
divs with styling.
Best Practices: Edit Field Values in Catch: Editing.CancelEdit() should go in the catch
a Try/Catch Block:
Also, without the EndEdit, the new field values are n
the database.