Showing posts with label Sitecore. Show all posts
Showing posts with label Sitecore. Show all posts

Saturday, 9 January 2021

Sitecore Interview Questions and Answers Part 2

 

1.      What is standard values in Sitecore?

Standard values were first introduced in Sitecore 5.3 to overcome some of the issues experienced with the predecessors of standard values – “Masters”. In Sitecore 6 masters was completely removed and the concept of standard values took over.

Standard values are a way of having default or fallback values for fields in Sitecore, meaning that when items are created, you can specify a field value that should be used by default. This does not only account for custom fields you build, but also standard fields in Sitecore such as presentations and insert options. This means that you can specify a value on the standard values, and when you create a new item which inherits from this template, it will by default use the values specified on the standard values.

2.      What is standard fields?

Sitecore provides few common fields for all items, these fields are called standard fields.

These fields can help you to:

·         Set icon of your Sitecore item

·         Check last item update status

·         Check the current status of item’s workflow

·         And many more…

3.      What is raw values?

Sitecore always stores field values as plain text in the appropriate Sitecore database (in the Value column of the Fields table).

In Sitecore, there are two ways of getting data out of a field – the raw value or the rendered value.

A field’s raw value is how the data is stored in the underlying database – for simple fields such as Single Line Text, there is no difference between the rendered and raw values; it’s just plain text.

This is not the case for more complex field types, such as General Link, Image, or Rich Text.

Take the raw value of a General Link field, for instance – if you enable raw values in the Content Editor (by clicking the View tab and ticking Raw values) and look at an item with a General Link field, you will see that the value stored in the database is custom XML:

<link linktype="internal" url="/Home/History/Old activities" target="" id="{CB2BC023-C9CF-4086-811E-0952ADFA5AF9}" />

4.      Which field contains item sort value?

Sortorder field under Appearance section contains item sort value. Decrease sort value to move up and increase sort value to move down item in tree.







5.      What is Layout in Sitecore?

Whenever user sends any request to Sitecore through a URL, Sitecore resolves that item by generating visual representation of that item. Layout provide the basic structure of this visual representation. Layout is container which contains different component of the page.

6.      What is difference between droplist and droplink field type?

By the time you reach to this question, you must be knowing that Sitecore always stores field values as plain text in the appropriate Sitecore database (in the Value column of the Fields table).

Sitecore has two different types of drop-down lookup fields that are available: Droplist and Droplink. Both of them function essentially the same way: they point to a Sitecore data item and list its children in a drop-down list for a content editor. This is a great tool because it allows you (as a data designer) to build a nice set of lookup values and not worry that editors will fat-finger these values.

But why are there the two, and what’s the difference between them?

Droplist data type only stores the string value of the item that was chosen by the content editor, while Droplink stores the GUID of the item that was chosen by content editor.





So you may be wondering – so what?

This will cause a problem when you want to read selected item’s field value. If you use droplist, you are not going to get selected item and will get only selected item’s string value. But if you use droplink, you can easily get selected item and then can read any field value of that selected item.

7.      What is pipeline?

A lot of things happens when you request a page in Sitecore which is handled by pipelines. Pipelines define a sequence of processor that implement different functions such as handling page requests, to uploading files and saving items through the UI. If you have a series of tasks, which need to be performed to accomplish a task, then a pipeline may be the way to go.

Each processor in a pipeline contains a method named Process() that accepts a single argument and returns void. This method should return immediately if the processing context is not relevant to the processor. A processor can abort the pipeline, preventing Sitecore from invoking subsequent processors.

Sitecore separates the pipelines into two groups: those defined within the /configuration/sitecore/pipelines and /configuration/sitecore/processors elements in the web.config file. In general, those defined within the /configuration/sitecore/processors define pipelines that operate for UI requests and can interact with the user. Those defined with the /configuration/sitecore/pipelines tend to define system processes.

8.      What is processor?

Each step in pipeline is called a ‘processor’. The sequence of processors within a pipeline is defined in web.config file. Each Processor contains a unique operation and all these steps together create a pipeline.

<pipelines /> define system process such as initialize Sitecore application, load content editor warning. <processors /> define UI process such as copy item, delete item, drag item and so on.

9.      Under which pipeline Sitecore context gets defined?

<httpRequestBegin> under configuration/sitecore/pipelines in web.config pipeline defines Sitecore context.

10.  How many processors are there under <httpRequestBegin> pipeline?

By default there are 19 processors under <httpRequestBegin> pipeline but it may vary based on different modules you have installed in Sitecore.

For example: If you have installed Sitecore DMS then you will find 21 processors under <httpRequestBegin> pipeline.

Sitecore Interview Questions and Answers Part 1

 

1.      What is Sitecore?

Sitecore is very flexible Content Management System (CMS). It is one of the leading enterprise-level content management systems (CMS) using which you can create enterprise website and intranet portal website.

Sitecore was found in 2001 and it is built on Microsoft .NET platform. Sitecore also allows deployment via Microsoft Azure.

2.      Why should you use Sitecore?

Here are the top features of Sitecore CMS that separates it from other CMS:

·         It provides out-of-the-box flexibility and is highly customizable

With Sitecore you can create multi-language site with little effort

·         Provide personalized user experience and content variation features

·         E-commerce Services

·         It has out-of-the-box engagement automation and engagement analytics

·         Email Campaign Manager

·         Integration with Cutting Edge Technology

·         Highly Scalable

·         Improved Search Engine Optimization

·         User based and Role based Security

·         Over 350 free Sitecore Module available to use

·         Growing community

3.      What is core database?

This core database has two purposes:

·         The core database contains all Sitecore settings. It contains definitions for the Sitecore user interface (Content Editor, Page Editor, etc.). This is where you can add context menu option to the Content Editor or a new ribbon button to the Page Editor.

·         It contains the ASP.NET membership tables that drive authentication and security.

4.      What is master database?

The master database is the authoring database - it contains all versions of content. Whenever a new piece of content is created, edited or deleted it is stored here. This is the database that content authors interact with, and is the default database used by the Sitecore Content Editor.

5.      What is web database?

The web database contains the live content of the website. When a content editor publishes some content then it is copied from the master database to the web database. It is subset of the master database and optimized for size and speed.

6.      What is Item in Sitecore?

An item is a record in database. Items are basic building block of a Sitecore Site. An item may represent any kind of information, e.g. a piece of content, a media file, a layout etc. Items always have a name and ID that uniquely identifies the item within the database. Items have a template that defines which fields the item contains. An item represent a single version of piece of content is a single language.

An item can be retrieved from a database using Items.

7.      What is Template in Sitecore?

Sitecore uses data templates to define structures of item. Templates contain fields to represent individual elements. Each data template field has a type, such as Text, Image, Checkbox and various other field types.

8.      What is publishing?

By this time you are now aware with the fact that whenever you add, edit and delete any item in Sitecore, it will be stored in master database. Now in order to move this change to live website, you need to use publishing. Publishing is a process which will help you to copy updated items from master database to web database.

9.      Which are different types of publishing?

·         Republish

As name implies, it will publish every item no matter whether it is changed or not. It is intended to be used when you are publishing a new site first time. This is most time consuming publishing method as it blindly publish all items.

·         Smart Publish

This method works smartly by comparing each item in the master database with the item in web database. Sitecore maintains revision number for each item which gets changed whenever the item gets updated. By comparing this revision number with web database, it will create a list of updated items changes and will publish only those items changes. Even though this method is comparing each item, it is much faster than republish method.

·         Incremental Publish

Every time an item is changed, it is added to the publishing queue. This applies both to changes made through the Sitecore user interface and changes made programmatically. Doing an incremental publish will only publish the items in the publishing queue. Therefore only items that has been changed will be published and Sitecore does not have to do any comparisons to figure out which items has been changed. This way of publishing is therefore by far the fastest. Republish and smart publish do not use the publishing queue.

10.  What is versioning in Sitecore?

In Sitecore content authors have the ability to make a piece of content version able. Each version of an item begins as a replica of the original or of another version and are all stored in Sitecore. Previous versions operate individually and can be published as the active version of a content item instead of the most recent version. At any time an active version can be rolled-back to a previous version and vice versa.

Saturday, 5 September 2020

Sitecore Certification, Interview Sample Questions - Part 13

  1.  Name two key components that make up Sitecore XP
    •  Experience CMS, and marketing platform
  2. Name some of the sites that you can refer to for more information and module downloads
    • SDN, Knowledge Base, Marketplace, Sitecore XP 8, Sitecore XP 8 Documents
  3. What should you do before contacting support?
    • Refer to Help Desk best practices
  4. What are your responsibilities as a developer?
    • Build according to recommended practices
  5. Name three Sitecore interfaces
    • Desktop, Content Editor, Experience Editor
  6. Everything in Sitecore is an...
    • Item
  7. An item is not a...
    • File
  8. An item's URL is determined by...
    • Its position in the Content tree
  9. Name the process by which items are synchronized between the master and web database
    • Publishing
  10. Which Experience Editor mode would you use to add a new component

  • Designing mode

       


Sitecore Certification, Interview Sample Questions - Part 13





1. Which one of the release adds significant functionality to a product?

a. Service Pack

b. Update

c. Feature Release

d. All of the above



Answer: c



2. 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 product.

a. True

b. False



Answer: b



3. How long Sitecore will support the Mainstream Support Phase?

a. 1 year

b. 2 years

c. 3 years

d. Forever



Answer: c



4. Which one of the tool you will use to analyze the log files?

a. Event Viewer

b. Sitecore Log Viewer

c. Log Analyzer

d. Microsoft Word





Answer: c



5. The self-test diagnostics can be run using:

a. Sitecore Diagnostics Toolset

b. Sitecore Control Panel

c. Wndows System settings

d. Sitecore Log Settings



Answer: a



6. You must supply the license ID when you open a ticket with Sitecore.

a. True

b. False



Answer: a

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

a. Support Package Generator

b. Zip application

c. Sitecore Tool Generator

d. All of the above



Answer: a

Sitecore Certification, Interview Sample Questions - Part 13





1. The Search Facets are calculated after the search

a. True

b. False

Answer a

2. The search interface operations allows you to:

a. Remove search results

b. Run bulk operations over all the search results

c. Format search results

d. None of the above



Answer: b

3. What are benefits of using Item buckets in Sitecore?

a. Reduce the number of children per item

b. Hide folder structure and content from Editor's view

c. Allow editors to search the content by bringing the search interface to the forefront

d. All of the above

Answer: d

4. Where do you adjust the item bucket settings in Sitecore?

a. /Content/System/Settings/Buckets/Item Buckets Settings

b. /Home/System/Settings/Buckets/Item Buckets Settings

c. /Sitecore/System/Settings/Buckets/Item Buckets Settings

d. /Dashboard/Control Panel/Settings/Buckets/Item Buckets Settings



Answer: c

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

a. ItemSearch Web API

b. ContentSearch Web API

c. Search Web API

d. ContentSearch API



Answer: d



6. List two libraries that developer needs to construct a search in Sitecore?

a. Sitecore.ContentSearch

b. Sitecore.ContentSearch.Linq

c. Sitecore.context.Item

d. Both a and b

e. None of the above



Answer: d



7. What LINQ IQueryable methods are not supported in Sitecore?

a. GroupBy

b. Aggregate

c. Sum

d. All of the above



Answer: d



8. Which on the following LINQ IQueryable methods are supported in Sitecore?

a. GroupBy

b. Where

c. Contains

d. Any

e. All

f. OrderBy

g. All of the above except a



Answer : g

9. Which one of the following are the official Sitecore documentations?

a. Dev.sitecore.net

b. Doc.sitecore.net

c. Sdn.sitecore.net

d. Kb.sitecore.net

e. Youtube.com/user/mastersitecore

f. Helix.sitecore.net

g. All of the above



Answer: g



10. Which one of the following are the community-driven sources?

a. Community.sitecore.net

b. Feeds.sitecore.net

c. Marketplace.sitecore.net

d. Sitecore.community.github.io

e. All of the above



Answer: e

Sitecore Certification, Interview Sample Questions - Part 12





1. Which one of the following maps the item to the current URL?

a. RenderingContext.Current.ContextItem

b. RenderingContext.Current.Rendering.item

c. RenderingContext.Current.URL

d. None of the above



Answer: a



2. Which on the following will help you to easily display contents from an item other than the context item?

a. RenderingContext.Current.ContextItem

b. RenderingContext.Current.Rendering.item

c. RenderingContext.Current.URL

d. None of the above



Answer: b

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

a. Component Tool bar> More>Edit Experience Editor Option

b. View> Advanced>Edit Experience Editor Option

c. Home> Advanced>Edit Experience Editor Option

d. Component Tool bar> More>Advanced>Edit Experience Editor Option



Answer: a

4. Which one of the following will allow developer to access the parameters of the component programmatically?

a. @Model.Rendering.Parameters["CssClass"]

b. @RenderingContext.Current.Rendering.Parameters["ButtonText"]

c. Both a and b

d. None of the above



Answer c

5. What's the benefit of using Wildcard items in Sitecore?

a. Allows you to work with dynamic URLs

b. It matches to any request

c. It ensures the URL is dynamic

d. All of the above



Answer: d

6. What methods can be used to navigate the tree?



a. .Parent()



b. .GetChildren()



c. .Axes.GetAncestors()



d. .Axes.GetDescendants()



e. All of the above



Answer: e

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

a. Instruct the GetChildren method not to sort items

b. Execute query right away

c. Instruct Sitecore.Context not to execute the query

d. None of the above



Answer: a

8. 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")

b. Change the database from the Sitecore Desktop view

c. Change the database from the Sitecore Rocks plugin

d. All of the above



Answer: a

9. How do you run code as another user in Sitecore?

a. Sitecore.SecurityModel.SecurityDisabler()

b. Sitecore.Security.Accounts.UserSwitcher("usersID")

c. Sitecore.Context.Account.Switch("userid");

d. None of the above



Answer: a,b

10. Where developer can find JavaScript libraries?

a. \Sitecore\shell\client\Services\Assets\lib

b. \Sitecore\shell\configure\Assets

c. \Sitecore\shell\Configure\lib

d. None of the above



Answer: a

Sitecore Certification Sample Questions - Part 11



1. What are the parameters of EditFrame()

a. DataSource

b. Buttons

c. Title

d. Tooltip

e. CssClass

f. Parameters

g. All of the above



Answer: g

2. What is most significant features of the Sitecore system when designing the user experience in Sitecore?

a. dynamic layout engine

b. Static layout engine

c. Data Templates

d. All of the above



Answer: a

3. The recommended practice to when creating a controller rendering is:

a. Requesting the model or view model from the business layer

b. Passing on the model to the required view

c. Both a and b

d. None of the above



Answer: c

4. The placeholder settings can:

a. Make placeholders selectable in the Experience Editor

b. Are used to restrict components

c. Both a and b

d. None of the above



Answer: c

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

a. Same content appears on both placeholder definitions with the same key

b. It creates different content in each placeholder

c. It creates a unique key for each placeholder

d. All of the above



Answer: a

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

a. Create dynamic placeholders using @Html.Sitecore().DynamicPlaceholder("Key")

b. Create static placeholders using @Html.Sitecore().Placeholder("Key")

c. Change the Unique item in placeholder settings

d. None of the above



Answer: a

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

a. _Renderings

b. _Final Renderings

c. _Item Renderings

d. _Shared_Renderings



Answer: a



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

a. _Renderings

b. _Final Renderings

c. _Item Renderings

d. _Shared_Renderings



Answer: b



9. How the layouts are stored in the fields?

a. HTML

b. XML

c. JSON

d. Javascript



Answer: b



10. How does the final presentation gets created in Sitecore?

a. The contents of _Renderings and _Final Rendering fields are merged ("Patched")

b. xml in _rendering field finalized

c. When xml in the _Final Renderings finanlzied

d. None of the above



Answer: a

Sunday, 30 August 2020

Sitecore Certification Sample Questions - Part 10



1. 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

b. Toggle down the ribbon

c. Change WebEdit.ShowNumberofLockedItemsOnButton value in Sitecore.config to false

d. Change WebEdit.ShowNumberofLockedItemsOnButton value in Web.config to false

Answer: a

2. Which one of the following is the default model used by the components in Sitecore?

a. ViewRendering

b. RenderingModel

c. FieldRendering

d. ModelRendering



Answer: b

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

a. Fall back to the context item

b. Generate an exception

c. Remove the item from the view

d. None of the above



Answer: a

4. You must use the RendringModel in your view rendering to access a Sitecore item

a. True

b. False



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

5. What field values are defined by the standard template?

a. Standard values

b. Default values

c. None

d. Items



Answer: c

6. 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

b. False



Answer: a



7. The names of fields in the standard template begins with:

a. One underscore

b. string

c. Two underscores

d. Three underscores



Answer: c

8. What field types cannot be rendered directly in Sitecore?

a. Reference another item: Droplink, Grouped Droplink, Droptree

b. Multiple References: Treelist, TreelistEx, Multilist, Checklist, Multilist with Search

c. Boolean: Check box

d. All of the above



Answer: d



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

a. ReferenceField

b. MultilistField

c. CheckboxField

d. All of the above



Answer: d



10. What's the namespace for field class types: ReferenceField, MultiListField, CheckboxField

a. Sitecore.data

b. Sitecore.data.items

c. Sitecore.data.Fields

d. None of the above



Answer: c

Sitecore Certification Sample Questions - Part 9



1. Which Web API the Sitecore.Services.Client uses as a foundation?

a. ASP.NET Web API

b. Content Search API

c. xConnect Client API

d. xDB API



Answer: a

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

a. SPEAK components

b. Client-side JavaScript

c. Restful API directly

d. All of the above



Answer: d

3. What are the two type of items in Sitecore database?

a. Items

b. Definition Items

c. Content Items

d. Web Items

e. Templates



Answer: b,c

4. What tools are recommended to be used for item Sterilization in Sitecore?

a. TDS

b. Unicron

c. Github

d. Sitecore Rocks



Answer: a,b

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

a. Content area>Content tab>Quick Info>Template

b. Content area>Advanced>Quick Info>Template

c. Content area>Option>Quick Info>Template

d. None of the above



Answer: a

6. 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

b. Field Validation

c. Check an item

d. Run workflow



Answer: a,b

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

a. Search Field

b. Search results

c. Facets

d. Filters

e. All of the above



Answer: c,d

8. The fallback language can be enabled on:

a. Items

b. Fields

c. Data Types

d. Home

e. Content Tree



Answer: a,b



9. Item and Field fallback on the same items should not be used at the same time.

a. True

b. False



Answer: a



10. Which one of the following language fallback is enabled by default on the templates that dictionary entries are based on?

a. Item-level fallback

b. Field-level fallback

c. Both a and b

d. None of the above



Answer: a

Sitecore Certification Sample Questions - Part 8



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

a. xDB model

b. Sitecore

c. xConnect Collection model

d. xConnect search



Answer: c

2. What's the second pillar of Experience Manager?

a. Field

b. Item

c. Template

d. Content



Answer: d

3. Which one the following user needs to specify when inserting an item from a template in Sitecore?

a. Template Location

b. Item Name

c. Data Source

d. Title Name



Answer: a,b

4. How developers can add multiple items at once?

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

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

c. Content Editor> Right-click an item> Add New Item > Click Add on the Add new dialog box

d. None of the above



Answer: a

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

a. Generate an exception

b. Name is used as a fallback

c. Hides the item

d. None of the above

Answer: b

6. Name and Display appear on the content item for all users.

a. True

b. False



Answer: b (it displays only for administrators)

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

a. Versioned

b. Shared

c. Unversioned

d. Single Versioned



Answer : b



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

a. Versioned

b. Shared

c. Unversioned

d. Single Versioned



Answer : c

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

a. The sc_lang query string parameter

b. The language prefix in the path in the requested URL

c. The language cookie associated with the context site

d. The default language associated with the context logical site

e. The DefaultLanguage setting specified in Sitecore.org

f. All of the above



Answer: f

10. 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

b. Project

c. Foundation

d. Data



Answer: a


Sitecore Certification Sample Questions - Part 7



1. What server roles are supported in the <AppSettings> attribute of the Web.config file?

a. Content Delivery

b. Content Management

c. Processing

d. Reporting

e. Standalone

f. All of the above



Answer: f

2. What are three major components of the Sitecore 9 product?

a. Sitecore Experience Manager (XM)

b. Sitecore Experience Platform (XP)

c. Sitecore Experience Commerce

d. All of the above



Answer: d

3. Low coupling relies on keeping the number of dependencies between different parts down to the absolute minimum?

a. True

b. False



Answer: True

4. High cohesion does not relies on breaking the solution down into the right parts with logic that belong together?

a. True

b. False



Answer: b

5. How can you control the dependencies between modules in Sitecore?

a. Use Explicit dependencies

b. Use Implicit dependencies

c. Use Sitecore Rocks

d. Use Content Editor



Answer: a

6. Which service is responsible for processing and storing data?

a. xConnect

b. xDB

c. Reference Data Service

d. xDB Processing



Answer b

7. Which of the following you can use to access the xDB core?

a. Content Search API

b. xConnect Client API

c. xDB API

d. xDB Processing



Answer: b

8. The client has direct access to the collection database or the search index.

a. True

b. False



Answer: b

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

a. xdb.collection

b. xdb.search

c. xdb.collection search

d. None of the above



Answer: a

Sitecore Certification Sample Questions - Part 6


1. How do you retrieve your site's start item location?

a. Sitecore.Context.Site.StartPath;

b. Sitecore.Context.Site.root

c. Sitecore.Context.Site.PathStart

d. Sitecore.Context.Site.rootPath



Answer: a

2. How do you install a Sitecore package?

a. Control Panel>Administration>Install a Package

b. Marketing Panel>Administration>Install a Package

c. Dashboard>Administration>Install a Package

d. Administration>Install a Package

Answer: a

3. How can you extend the Sitecore Framework?

a. Packages

b. Module

c. Update Package

d. Using SDK



Answer: a,b,c

4. Sitecore Rocks plugin for visual studio can be used to perform which tasks

a. Manage Packages

b. Create Anti-Package for undo functionality

c. Create Items

d. Create Templates

e. All of the above

Answer: e

5. The Sitecore Package Designer helps you to

a. Add Items statically or dynamically

b. Sets installation options

c. Remove packages

d. None of the above



Answer: a,b

6. Sitecore Rocks allows you to:

a. Create and manage site content from the Visual Studio

b. Create Presentation component items and code files

c. Integrate with your visual studio project

d. Use site management tools

e. Create and Install Sitecore packages

f. All of the above



Answer: f

7. What does the field type determines for the field in the Content Editor and the Experience Editor?

a. Editor Control

b. Options

c. Value

d. Security



Answer: a

8. What option overrides the Field Name in Sitecore interface?

a. Title

b. Field Name

c. Type

d. Property



Answer: a

9. Which rendering is used occasionally?

a. View Rendering

b. Controller Rendering

c. Item Rendering

d. Method Rendering

e. URL Rendering



Answer: c


10. What steps are required for a custom route in Sitecore?

a. Define a custom route

b. Register the custom route

c. Create a custom route

d. Execute the route



Answer: a,b

Sitecore Certification Sample Questions - Part 5



1. How can you retrieve the datasource in a view rendering with default model?

Model.item

2. When you are working with the Sitecore.Data.Items.Item object, how do you get a reference to its parent item?

.parent()

3. Why would you define a Sitecore Package?

You need to copy certain items/files from one Sitecore installation to another

4. What is the raw value of a field?

The value of the field as stored in the database

5. When would you render the raw value of a field to the website?

Never render a raw value to the website

6. Why would you make an item in a bucket?

If it will have a large number of descendants

7. Why would an item show in the content tree even through it is a child of a bucketed item?

It is not bucketable

8. What is the advantage of setting StorageType=Yes in an index field?

There is no need to access Sitecore database to query its value.

9. For performance reasons it is best to:

Add only what is required to the index

10. Where does the home item for your site is defined

a. Web.Config

b. Sitecore.config

c. Layers.config

d. App.config



Answer: b

Sitecore Certification Sample Questions - Part 4


1. Give an example of when you would use the disablewebEdit parameter when rendering a field

Rendering a field inside the <title> tag in the <head> of the HTML



2. All products and modules for sitecore experience platform can be downloaded form;

The sitecore developer portal

3. You can contribute to the learning community by adding to the:

The sitecore marketplace

4. All product documentation prior to the sitecore experience platform 8.0 can be downloaded from:

The sitecore developer network

5. What is the purpose of standard template?

To define fields that sitecore defines internally but are not shown to the user.

6. The purpose of the field source in sitecore

The field source allows the configuration of extra properties in a template field definition.

7. How can you define renderings as compatible?

Modifying a field in their component definition item

8. Where does sitecore stores the rendering parameters?

Any sitecore field

9. In a view what you need to so the field() extension method retrieves the content from the datasourse?

Nothing, that is the default behavior.

10. How can you retrieve the datasource in a view rendering with default model?

Model.item

Sitecore Certification Sample Questions - Part 3


1. What is the difference between Master and Web databases?

In terms of schema, there is no differences. The difference is more conceptual, in that, content for the live websites is read from the web database and content that is work-in progress should be edited in the master database.

2. Should a user work directly in the web database if they need something to go live immediately?

A user should never work directly in the web database. In fact, they should not even be able to access the web database in the authoring tools.


3. Why would you need to use the data source in a component?

The data source allows you to build more flexible and re-usable components because the data source is determined by users and not hardcoded by developers

4. Can you use placeholders inside of placeholders?

Not directly. However, you can have components inside a placeholder that in turn define other placeholders. This is referred to as nested placeholders.

5. Why is it a good idea to avoid using Rich text fields as much as possible?

One of the benefits of using Sitecore is the separation of the content and presentation. The rich text field is the only exception to this, as it stores HTML content directly. If abused and not configured properly, it may give users the ability to break the design of the site.

6. What you need to do to allow users to add and remove components from a placeholder using the Experience Editor?

Create a placeholder settings item for that placeholder.

7. What happens when you request page that has no layout defined in the presentation details?

Sitecore shows a layout not found error page

8. Why do you define presentation detail on standard values if the standard values item is never going to be mapped to the requested URl?

You want to define those presentation details as a default for all items based on that template. This will allow items to have valid presentation details already set when they are created.

9. Can you edit an item in the experience editor when the item has no presentation details set?

No, since it cannot be presented.

10. Which fields are editable inline using the Experience Editor?

Text fields(single-line, multi-line, rich text), Date/Date time, image, General link.

Sitecore Certification Sample Questions - Part 2



1. What should you define in a template?
   
     Fields, Fields Sections, Icon and base Templates 

2. What field type would you use to store formatted HTML?

    Rich text field

3. What happens if you use the same field name in a template that is already used in a parent template?

    You will get two fields with same name, which leads to confusion both to users and developers. It         should be avoided.

4. What is the name of the template all templates should inherit from?

    Standard template

5. Why should you avoid defining the same field multiple times in more than one template?

    It makes it much harder to manage later on

6. What would you use the field source for the following field types: Image, rich text field, drop link?

    Image: set the folder in the media Library it will open when selecting an Image for the field

    Rich text: configuration of the toolbar and functionality of the rich text editor Droplink: Set the items     to be displayed as option

7. happens when you set a field as shared? And unversioned?

    A shared field contains a single version of the data for all version in all languages. An unversioned         field contains one version of the data per language

8. When do token get replaced?

    Only when items are created


9. why would you need to run a full republish

    theoretically, you should not need to do this as a user

10. If you setup some publishing restrictions, will sitecore automatically publish that content at the exact time?

    No. The publishing restrictions only dictates when an item or its versions are publishable or not.

Sitecore Certification Sample Questions - Part 1



1. How does sitecore support each of the CMS pillars: data definition, Content, and Presentation?

    a. Data definition: templates

    b. Content: Items

    c. Presentation: layouts and components

2. Describe some xWeb Content Management System features that separate sitecore from other systems

    Analytics, Insights, Decisions, and Automation

3. What is Sitecore easy to use authoring tool and what functionality does it provide?

    The experience editor provides editing and designing functionality

4. Which interface would an author use to see and edit items in a tree structure?

    The content Editor


5. What should you define in a template?

    Fields, Fields Sections, Icon and base Templates

6. What field type would you use to store formatted HTML?

    Rich text field

7. What happens if you use the same field name in a template that is already used in a parent template?

You will get two fields with same name, which leads to confusion both to users and developers. It should be avoided. 

8. What is the name of the template all templates should inherit from?

Standard template

9. Why should you avoid defining the same field multiple times in more than one template?

    It makes it much harder to manage later on

10. What would you use the field source for the following field types: Image, rich text field, drop link?

    Image: set the folder in the media Library it will open when selecting an Image for the field

    Rich text: configuration of the toolbar and functionality of the rich text editor

    Droplink: Set the items to be displayed as option