Sitecore Interview Questions and Answers

by Nithyanandham, on Sep 11, 2022 6:09:37 PM

 

.net_Interview_Questions

Q1. What is Sitecore?

Ans: Sitecore is a customer experience management company that offers web content management and multichannel marketing automation software. The company was founded in 2001.
Sitecore is built using Microsoft technologies and it is mainly used to build enterprise websites and intranet portals. It also supports deployment via Microsoft Azure.
Sitecore provides a complete, attached e-commerce WCM platform that puts the shopper at the heart of every interaction and engagement, irrespective of which e-commerce system ultimately handles their transaction. Delight your customers with a fully joined-up shopping experience.

Q2. What are the Sitecore Support hours?


Ans: 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 mails 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.

Q3. What are the benefits of using Sitecore?

Ans:

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

Q4. What are sticky and non-sticky sessions?

Ans:

Sticky session:
What: A method used with Application Load Balancing, to achieve server-affinity.
Why: If the load balancer is instructed to use sticky sessions, all of your interactions will happen with the same physical server, even though other servers are present. Thus, your session object will be the same throughout your entire interaction with this website.

  • All your requests will be directed to the same physical web server.
  • Only single session object will be there

Non Sticky session:

  • In case of a non-sticky load balancer may choose any webserver to serve your requests.
  • Session object for each server node

Q5. What’s the difference between these content material control systems: Sitecore, Umbraco, and Episerver?

Ans: Episerver has a mess of wonderful remarks. Sitecore has the venture degree and the cost is moreover at the business degree. Sitecore is engineer amicable, extensible and has a vast group is case we search for help, it has a substance shape as a tree of hubs, it’s miles recognized to direct the substance control commercial center and is somewhat evaluated by numerous organizations. Umbraco has numerous similitudes with Sitecore being developed on ASP.net however is somewhat economical. It moreover has a gigantic system. basically we can pick this sort of relying upon flavor, money and the design that we have when running.

Q6. What are the Different types of Sitecore Interfaces?

Ans: Sitecore has 3 main interfaces till the release of Sitecore 8.0 and here are those interfaces.

  • Desktop Mode
  • Content Editor Mode
  • Page Editor Mode

Q7. Why am I getting a pretty picture of a watchtower by the sea when I log into Sitecore?

Ans: It is because you are logged into the Desktop (the developer tool) instead of the Content Editor (the editor tool). Please click the button with the label “Sitecore” in the lower left corner of the screen and click “Log Off”. This will return you to the Sitecore login screen. Now you can login as usual: Click the “Content Editor” button, write your user name and password and click the “Login” button to login to the Content Editor.

Q8. What is Areas in Sitecore Mvc?

Ans:
What: MVC areas are choice for organizing and separating assets belonging to each tenant, or for breaking up a large single tenant project into multiple modules.
MVC Areas actually do far more than just organize your files into separate directories.  Runtime resolution of assets based on directory convention is also great, and support for this by Visual Studio IntelliSense is even better.
Why: Sitecore offers support for multiple tenants from a single running instance, but it does not provide process or file system isolation for assets developed for each tenant website
Where:  sitecore will by default registers all the areas in the initialize pipeline. You can register area in sitecore.mvc.config file

<mvc>

<areas>

<area type=”namespace.classname, assembly name”>

</area>

<excludeareas>

<area type=”namespace.classname, assembly name” />

</excludeareas>

</areas>

</mvc>

To determine the area for each rendering and layout view, Sitecore uses the ResolveArea processor early in the mvc.renderRendering pipeline

When invoking a rendering in code, for example: @Html.Sitecore().ViewRendering("Index", new { area = "MyArea" })

Q9. In what manner is using XSL better than C# in Sitecore?

Ans: XSLT has favorable circumstances over different dialects in the way that it offers you the likelihood to customize or reuse an immense kind of pages or different structures for source documents or another shape. For doing this an administer principally based handling variant might be utilized, a component never again preferred by utilizing a large portion of the general population because of the plain trouble this is has on first utilize. in spite of the way this seems intense at to start with, it might be seen like quite a while venture. XLST has no general execution inconveniences, if a web webpage seems to have execution issues, it ought to be from the various thought process.

Q10. What are the Different types of Databases available in Sitecore?

Ans:

  • Core
  • Master
  • Web

Q11. How can I stop Sitecore from turning the anchor in an anchorlink into a link?

Ans: You are not supposed to turn a line of text into an anchor in Sitecore. Instead you should make the anchor by placing your curser without highlighting any text on the line just above where you want the anchorlink to lead to. Then press the hyperlink button, create the anchor and proceed as usual. This way no text will turn into an unwanted link.

Q12.What is Asp.net Core?

Ans: 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.

  • ASP.Net Core apps does not need IIS for hosting
  • wwwroot is now place for static files.
  • Server side packages save space in core
  • New approach to Server side and client side dependency management of packages
  • Inbuilt Dependency injection (DI) foe Core
  • User secrets of ASP.NET Core

Q13. What’s the that methods for the sea watchtower photo that takes a gander at Sitecore sign in?

Ans: 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 then “Login

Q14. What are Items in Sitecore?

Ans: In Sitecore terms, an Item is basically a record in the Database. Everything we see in the Sitecore interface is an Item. An item represents a piece of information like rendering, layout, media file, etc.

Every Item consists of unique GUID, name and Path. An item has a template which defines the structure of an item.

Q15. I have edited a page on itu.dk and published it. Why don’t my changes appear on itu.dk?

Ans: 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 workning on.

Q16. What is shared layout and final layout in Sitecore8?

Ans: 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.

Q17. Is there compulsory to place the brand new photograph in a certain vicinity?

Ans: No there’s no outlined place for new pictures inside the media library, so we may likewise choose our own one of a kind envelope for this, yet we must be cognizant to apply a not strange area because of the reality the organizer numbers is very expansive. also we have to comprehend the reason for the organizer sooner than accomplishing something

Q18. What are Different types of Templates in Sitecore?

Ans:

  • Data templates
  • Parameter Templates
  • Datasource templates

Q19. 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?

Ans: You do not need to do anything about it. It is there because Sitecore Intranet Portal gives organisations the opportunity to standardise image size and placement, and the landscape image shows that a standardised image would be located there if we were using standardised images. However the university has decided that we do not want that kind of strict standardisation. 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.

Q20. What is Helix and Habitat?

Ans: 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.

Q21. What are the commonplace capabilities of CMS?

Ans: Website design enhancement neighborly URLs

joined and online help

Measured quality and extensibility

shopper and association usefulness

Templating guide for changing over outlines

establishment and enhance wizards

coordinated review logs

Compliancy with different availability systems and prerequisites, for example, WAI-ARIA

Q22. I have uploaded and inserted an image on a page in sitecore and it looked fine in the media library. But in the content editor the picture looks broken?

Ans: Try pressing SAVE. Sometimes Sitecore will show a broken picture in Content Editor if the picture has been inserted recently. When pressing save Sitecore discoveres that the picture has been uploaded and shows the correct picture.

Q23. How to Replace space and underscore with a dash (-) in the URL Sitecore?


 Ans:   Go to sitecore.config file and add the below settings


<encodeNameReplacements>
 <replace mode="on" find=" " replaceWith="-" /> 
 <replace mode="on" find="_" replaceWith="-"/>

</encodeNameReplacements>

Q24. Where should I place my new picture?

Ans: Currently there is no official policy on where in the media library to place images. Therefore you can place your picture in the folder of your choice in the media library. As we do have a lot of folders please use common sense when deciding where to put your image and check if there is a folder that might fit your purpose before you create a new folder.

Q25. What is Sitecore enjoy Platform?

Ans: 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.

A portion of the articles you find in encounter Platform are recorded underneath.

  • Appreciate Analytics
  • Expereince Profile
  • Content Editor
  • Delight in Editor
  • Control Panel
  • Media Library
  • Processing Device Mode
  • Application Middle
Topics:Interview Questions with Answers

Comments

Subscribe