Sitecore Interview Questions and Answers

Question 1 : What is a Template in Sitecore?
Answer : Sitecore uses data templates to define the structures of items. Templates contain fields to represent individual elements. Each data template field has a type, such as Text, Image, Checkbox, and various other field types.

Learn Sitecore to Unleash a Modern Career

Join Sitecore Training

Question 2 : What is Sitecore?
Answer : Sitecore is a software platform that is good for making and updating full-featured and dynamic websites of every possible type (Implemented in various industry domains and vertical). It has the advantages of scaling, flexibility, and can very well integrate into third-party systems, marketing platforms, overall giving the visitors a very dynamic user experience.

Question 3 : What is the page in Sitecore?
Answer : There is no physical page on Sitecore or ASPX Web Form page. In Sitecore, all are items from a business user’s perspective result, or a particular URL may be called Page. To edit this page using WYSIWYG editor Sitecore gives interface called Page Editor.

Question 4 : What are the phases of Sitecore implementation?
Answer : Implementing Sitecore is an Investment and Strategic move towards being digital. It involves the following phases:

  • Pre-implementation / Analysis
    Before we choose Sitecore or any CMS we have to consider our processes and workflows. We must see where we will put our content and how will we publish it, what strategy and what architecture do we have for our business entities, what needs to be changed, what is down the line marketing policy online, do we need personalization, what kind of engagement you need for your visitors, etc. After we get answers to these questions (which were not easy). You need to figure out the broad objective you want to accomplish from Sitecore.
    Time spent on Analysis should be enough and sometimes more than build.
  • Implementation
    After pre-implementation, we have to implement our Sitecore CMS platform. The first phase is gathering our appropriate staff and make some training to get certified them. Being more than a simple paper, the certification helps our team to be more in the know of the Sitecore terminology. If this phase is skipped, we will have to do it anyway later at a higher cost so it’s better to save money now. Of course, implementation consists build and deploy too.

Sitecore Implementation is not a one-step implementation rather it is the journey of your corporate towards the Digital platform.

Question 5 : What is the best place for your Word and PDF documents?
Answer : Word, PDF, Excel, PowerPoint documents will have their place where the images are which is in the media library, so they don’t have a particular folder provided by Sitecore, they must be placed wherever we place the pictures. Though standard practice suggest that we should create an appropriate directory structure within the media library before storing any media there.

Question 6 : How can we access pages in the way that they behave like folders?
Answer : First, we must make sure that add AspxExtension is set to false in LinkManager and then we have to map the wildcard extension into IIS. According to what version of IIS we do have there are many ways of doing this.

Question 7 : What is the way to get access to settings values of Sitecore programmatically?
Answer : There is a good way by accessing the code for example we can find the setting using which we can know the location of the data folder.
//DataFolder:
string dataFloder=Sitecore.Configuration.Settings.DataFloder;

Question 8 : In the case of a fast query, is it possible to have a relative path beginning with the item that the query is running from?
Answer : There isn’t any way of operating a fast query from the item context.

Question 9 : What are Aliases and how can they be useful?
Answer : It is useful when you are required to point to an item nested deeply within the content tree, i.e. point “/sitename/News/2013/In Brief/Man on the moon” to www.sitename.com/manonmoon. The newly set up alias acts as a proxy to the real item.
Very experienced Sitecore developers would touch base on how you can extend the functionality for multiple sites.
What are Field Types?
When we create/add fields in the Data Template then we need to select the field type which defines the type of value going to store in that particular field. In the case of Sitecore we don’t primitive data types like var char, int, float, etc., But here we have field type like ‘Single Line TextBox’, ‘Rich Text Box’, ‘Image’, ‘DropDownList’ etc.,
As you notice these field types not only define what kind of data is allowed in the field but how that field is going to render on the content editor.

Question 10 : What are Fields?
Answer : Fields are equivalent to the ColumnsTuples we create in SQL tables in the traditional programming world. So the collection of Fields are called Data Templates. The field is the smallest entity that defines the type of single value stored within the data template.

Learn Sitecore to Unleash a Modern Career

Join Sitecore Training

Question 11 : What are the Sitecore Support hours?
Answer : The Sitecore Support hours are: Tuesdays (Morten), Wednesdays (Tina) and Fridays (Tina) at 9-12 in 2B09.
During support hours Morten or Tina will answer emails sent to sitecore@itu.dk since last support session and answer questions posed during support hours face-to-face if people show up in 2B09 or on the phone.

Question 12 : What is meant by Item in Sitecore?
Answer : 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 a piece of content is a single language.
An item can be retrieved from a database using Items.

Question 13 : What is Sitecore enjoy Platform?
Answer : Whilst you login to Sitecore the primary display you see is Sitecore enjoy Platform. it is a launchpad display screen which includes the whole thing you require.
Some of the objects you discover in experience Platform are listed here:

  • Enjoy Analytics
  • Expereince Profile
  • Content Editor
  • Revel in Editor
  • Manipulate Panel
  • Media Library
  • Computing device Mode
  • App middle

Question 14 : What are the benefits of using Sitecore?
Answer : The benefits if using Sitecore are as follows:

  • Powerful Framework
  • Intuitive end user Interface.
  • Built on cutting edge technology (Microsoft .NET Platform)
  • Provides a flexibility to scale the application
  • Ease of Customization
  • Built in Search Engine Optimization
  • Flexible workflows to manage content.
  • Multi-Lingual support.
  • Multi-Language sites can be created with little effort.
  • Highly scalable.
  • Role based security
  • Provides separate E-Commerce services.
  • DMS capabilities for Marketing.
  • Good collection of Sitecore modules from Sitecore Market place
  • Consistently updated with new features and technologies.
  • Good support and service.
  • Growing community.

Question 15 : What are standard values in Sitecore?
Answer : Standard values were first acquainted in Sitecore 5.3 to overcome some of the issues experienced with the predecessors of standard values – “Masters”. In Sitecore 6 masters was totally evacuated and the idea of standard values assumed control.
Standard value is a method of having a default or fallback values for fields in Sitecore, implying that when items are created, you can specify a field value that should be used by default. This does represent custom fields you work, as well as 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.

Question 16 : What are Different types of Templates in Sitecore?
Answer :

  • Data templates
  • Parameter Templates
  • Datasource templates

Question 17 : What are the exclusive forms of Databases to be had in Sitecore?
Answer :

  • Core
  • Master
  • Web

Question 18 : What is Publishing in Sitecore?
Answer : Publishing is a technique so that you can help you to replicate up to date objects from master database to net database.
content material Authors will add/edit the content in page editor or thru Sitecore content editor inside the CM server which is known as content material control server. We store all of the contents in the grasp Database.
so one can pass those edited contents to live we use post interface and post the contents to live.

Question 19 : What is Versioning in Sitecore?
Answer : Content authors can add a new version of content for every item in the Sitecore through Content editor or experience editor. We can add as many versions as we need in Sitecore.
The content author can rollback to any previous versions easily by selecting it and making it as an active version by publishing it to live.

Question 20 : What are Helix and Habitat?
Answer : Helix is a set of overall design principles and conventions for Sitecore development.
Habitat is a real Sitecore project implemented on the Sitecore Experience Platform using   Helix. It is an example that allows developers to see how Helix is applied and lets developers experience a project based on these principles.http://helix.sitecore.net/introduction/what-is-helix.html

Learn Sitecore to Unleash a Modern Career

Join Sitecore Training

Question 21 : What are tokens in Sitecore?
Answer : Whilst a person creates an item primarily based on a facts template if the same old fee for any subject in that facts template can contain the tokens which Sitecore replaces token with the corresponding fee of that item.
for example: if we’ve a specific $name token at “identify” discipline in popular price, then Sitecore will update “identify” area with item call which you supplied while growing the object.

Question 22 : What is the Core Database?
Answer : As the name indicates the Core Database is the backbone of the Sitecore application and it is used for multiple purposes.
Core database contains all Sitecore settings. It contains the definition of Desktop Mode, Content Editor, Page Editor etc. The core database contains data needed by the Content Manager.
All the menu items in the Ribbon is stored in the Core Database. In case if you need to create a new menu item in the ribbon you need to add the context and definition in the Core Database. It Contains the membership related tables which drive Sitecore Authentication, Authorization, and Security.

Question 23 : What is shared layout and final layout in Sitecore8?
Answer : In Sitecore, you can specify shared presentation details for all versions of an item, in all languages, and you can specify different presentation details for each individual version of an item and for each language.

  • Shared Layout
    Shared layout is like a shared field. All the controls added in this layout are shared among all the language ad numbered versions.
  • Final Layout
    All the changes made to this layout are specific to that language and numbered version. Initially, all the controls from shared layout are imported to the final layout. Once you start making any changes in the final layout, these changes will remain here and become specific to that particular language version and numbered version.

Question 24 : What’s Master Database?
Answer : Master Database in Sitecore is also called as content material Authoring Database. whenever you create a brand new piece of content material it will likely be stored within the grasp Database.
Master Database is used for content Authoring
Master Database continues the versioning of the contents.
The Default Database loaded through the content material Editor is master for content material authoring reason.
you could add, Edit or Delete new items within the grasp Database and it’s miles used for development of recent pages and components.

Question 25 : What’re the methods for the sea watchtower photo that takes a gander at Sitecore sign in?
Answer : This photo appears to be because of the reality you aren’t signed in to the substance Editor, however to the designer instrument to the PC. The catch from the most minimal left corner of the show must be driven(it has the “Sitecore” name on it), at that point we should hot the “log out” catch for coming back to the login part. From here the login procedure may be regular: we have to hit “content material Editor”, embed the individual and secret word than “Login”.

Learn Sitecore to Unleash a Modern Career

Join Sitecore Training

Question 26 : In what manner is using XSLT better than C# in Sitecore?
Answer : XSLT has advantages over other languages in the manner that it offers you the possibility to personalize or reuse a huge sort of pages or various structures for source files or another shape. For doing this a rule-primarily based processing version may be used, an element no longer liked by using most of the people due to the plain difficulty this is having on first use. despite the fact that this appears tough at first, it may be viewed as a long time investment. XLST has no overall performance troubles, if an internet site appears to have performance issues, it should be from a different motive.

Question 27 : What’s the difference among these content material control systems: Sitecore, Umbraco, and Episerver?
Answer : Episerver has a whole lot of superb comments. Sitecore has an enterprise degree and the price is likewise at the employer degree. Sitecore is developer friendly, extensible and has a large community in case we look for aid, it has a content shape as a tree of nodes, it’s miles acknowledged to steer the content control marketplace and is rather rated by many agencies. Umbraco has many similarities with Sitecore being constructed on ASP.net, however, is a bit inexpensive. It additionally has a tremendous network. virtually we are able to pick this kind of depending on flavor, cash and the fashion that we’ve got when running.

Question 28 : What is Asp.net Core?
Answer : It has been renamed from ASP.NET 5 to ASP.Net Core 1.0
ASP.NET Core on .NET Core is cross-platform ASP.NET. You can run an application written for .NET Core on Windows, Linux, and Mac. The server doesn’t need .NET Core installed – it can be bundled with the application.

ASP.NET Core on .NET Framework (CLR) is ASP.NET on the “full” or “desktop” .NET Framework (e.g. .NET Framework 4.6.2). You can run an application written for the full .NET Framework on Windows. The server will need the full .NET Framework installed.

The goal of .NET Core is having a single code base that can be used to build and support all the platforms, including Windows, Linux, and Mac OSX.

  1. ASP.Net Core apps do not need IIS for hosting
  2. wwwroot is now placed for static files.
  3. Server-side packages save space in core
  4. New approach to Server side and client side dependency management of packages
  5. Inbuilt Dependency injection (DI) for Core
  6. User secrets of ASP.NET Core

Question 29 : When I test my page on the intranet using Page Editor button there is an image that I did not insert. It is only there when I am testing. Why?
Answer : You do not need to do anything about it. It is there because Sitecore Intranet Portal gives organizations the opportunity to standardize image size and placement, and the landscape image shows that a standardized image would be located there if we were using standardized images. However, the university has decided that we do not want that kind of strict standardization. Therefore we have disabled that function in Sitecore. Unfortunately, the Page Editor button insists on showing the landscape image anyway. It will not be there on the live intranet when you unlock your version of the page.

Question 30 : I have edited a page on itu.dk and published it. Why don’t my changes appear on itu.dk?
Answer : This is probably because you forgot to unlock your version of the page before you published.
Sitecore will always publish the latest UNLOCKED version of a page when someone clicks publish and the publishing dialogue will say that everything went well even though it did not publish the version that you had just been working on.