SharePoint Interview Questions

Definition: (.WSP) is a SharePoint Solution Package file, which contains features, site definitions, assemblies and other deployable resources. You can use Visual Studio to create Solution Package file (.WSP).

SharePoint solutions are deployed to SharePoint server by using Solution package – (WSP) file. This file contains all the resources that need to be deployed on the SharePoint server. The place of each file on the server is decided by the properties in Visual Studio.

Definition: Feature stapling is the process by which you can add new functionalities to the existing site definition. So after feature stapling, when you create a new site using that site definition, the functionalities in the feature will be automatically available in the new site.

- You will need to create a farm solution for this implementation.

- Remember, you don’t need to change definition files (onet.xml) for this. You are just deploying one solution which will work according to the feature-scope selected.

- The feature will be activated by default only on the new sites, so you will have to manually activate the feature on old sites.

- As part of solution, you will need two features.

(1) The feature which will be activated by default or the feature with the new functionalities

(2) The feature which will be used to staple the first feature to the site definition.

You can go through step-by-step process for implementing Feature stapling in SharePoint

Definition: Zones are just different Logical Path (URL) to the same web application with different authentication methods.

If you want to present the same web application to different type of users using different URL and different authentication mechanism then you create a Zone or Extend an existing Web Application.

  • Each web application can have maximum 5 zones
    • Default
    • Intranet
    • Internet
    • Extranet
    • Custom
  • Each zone has its own IIS website
  • Each zone has a different URL configured
  • Blob and distributed cache can be configured differently for each zone
  • Each zone has its own port number and protocol (http/https)
  • As mentioned earlier, different authentication method can be applied to different zone. i.e. Forms Based Authentication in Internet and Windows authentication in default zone.
  • You cannot use the same zone again for the same web application. Like if you have created an Intranet zone for a web application, you cannot create an Intranet zone again for the same web application.
  • Each zone uses the same web application and same content, stored in the content database.

Full Crawl

Incremental Crawl

Continuous Crawl

Crawl all the content irrespective of previous crawls.

Crawls the content that was modified from last crawl

Crawls the content that was modified from last crawl but more periodically than incremental crawl

Parallel Full Crawl Not possible

Parallel Incremental Crawl Not possible

Multiple continuous crawls can perform simultaneously

Full Crawl works with content source - SharePoint Sites, Web sites, File Shares, Exchange Public Folders, Line of Business data, Custom Repository.

Incremental Crawl works with content source - SharePoint Sites, Web sites, File Shares, Exchange Public Folders, Line of Business data, Custom Repository.

Continuous crawl works only with content source type: SharePoint Sites

Full Crawl can be stopped or Paused in between the crawl process is running

Incremental Crawl can be stopped or Paused in between the crawl process is running

Once the continuous crawl is enabled, you cannot stop or pause it, you can only disable the crawl.

Definition: Continuous crawl is a content crawling mechanism in SharePoint that provides the most recent content in search results compared to Full or incremental crawl.  

Some Points:

  • By default, continuous crawl runs every 15 mins
  • Continuous crawl works only with content source type: SharePoint Sites
  • Multiple continuous crawls can perform simultaneously. So Even if the existing crawl is scanning a large update, another continuous crawl can start at a defined time and perform scan on rest of the updates.
  • Once the continuous crawl is enabled, you cannot stop or pause it, you can only disable the crawl.
  • You can change the continuous crawl interval only using Microsoft Power Shell.

Definition: User Information list is a hidden list in SharePoint which is available in all the site collections but is accessible to Site Collection Administrator only.

User Information List stores information like User Id, User Name, Email, Location, Designation, etc...

Whenever a user is granted access on Site Collection, an entry is created for that Active Directory user in User Information List (if the entry of the user is not already there.)

User Information list can be accessed by going to below path in Site Collection.

https://ServerName/SiteURL/ _catalogs/users/simple.aspx

 Claim based Authentication is the default type in SharePoint 2013.

SharePoint 2013 supports Claims Based Authentication as well as Classic Mode Authentication.

In SharePoint 2013, Classic Mode Authentication is deprecated and can be managed only by PowerShell.

Claim based Authentication is the default type in SharePoint 2013.

Following Claim Based Authentication methods are supported as part of user authentication in SharePoint 2013.

  • Windows Authentication
  • Forms-based Authentication
  • SAML token based Authentication

If we want to cancel event, we can do it only using synchronous event receivers like Item Adding, Item Deleting.

Initially in SharePoint 2010, we could cancel event using properties.cancel = true; in event receiver. But in SharePoint 2013, it is obsolete. 

In SharePoint 2013, we can write any of the below statements in Synchronous event receiver code of the event, to cancel the in-progress event.

properties.Status = SPEventReceiverStatus.CancelNoError

properties.Status = SPEventReceiverStatus.CancelWithError

properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl

SPWeb.EnsureUser method checks whether user is a valid user of the site or not. It checks user login name in Active Directory. If the user is valid, it adds the user to the site.

We value your feedback:

Page URL:

Name:

 

Email:

 
 

Feedback:

 

© 2019 Code SharePoint