New 44 Sharepoint 2013 Interview Questions

1. Explain about Solutions in SharePoint ? (Sharepoint 2013 Interview Questions)_text]Answer:
Solutions are nothing but the container packages for Features. Solution is a cabinet (.cab) file with extension .wsp which contains various components needed to be deployed (features, web parts, custom forms etc.) along with files that describe some important metadata about those Components. (Sharepoint 2013 Interview Questions)
Once a Solution is installed on a server in the farm, you can deploy it to any web application from your Solution Management.

2. What is the use of a .ddf file ?_text]Answer:
A .ddf file is a data directive file which describes the files need to be deployed and their destination (in SharePoint). .ddf is used when building the SharePoint solution. This file is a parameter to makecab.exe which outputs the wsp file.3. What is the difference between BDC and BCS ?_text]Answer:
BCS is new in SharePoint2010 and stands for Business connectivity Services. Using BCS one can read and write into the external Database. In BDC, one can only perform the reading from external Database.4. Which is social features introduced in SharePoint 2010 ?_text]Answer:
Tags, Notes, and “I like it”: Now in SharePoint 2010, a user can add tags and notes with any page which can be either public or private. A user can also mark a page if he/she liked that page. SharePoint 2010 adds two icons “I like It” and “Tags & Notes” in all the pages to provide this functionality.
Ratings: SharePoint 2010 allows users to rate items within SharePoint site, such as ratings various items within Document libraries, custom lists, blog posts, discussions threads, etc.
Tag Cloud : SharePoint 2010 includes an out-of-the-box tag cloud which can be added to any page within the SharePoint site
Newsfeed : Newsfeed is another features included in the SharePoint 2010. You can set the types of updates you want to get in your newsfeed. You can set this using the out-of-the-box settings section available within the user profile page.5. How is SharePoint Portal Server different from the Site Server ?_text]Answer:
It becomes difficult to keep a track of the large amount of documents with the growth of companies. SharePoint lets these be stored centrally. So instead of having them shared via emails, Sharepoint allows an easy access to the members by storing the files at one place. SharePoint allows anyone to create sites for use within their company’s Intranet.6. What is MOSS ?_text]Answer:
Microsoft Office SharePoint Server (MOSS) is the full version of a portal-based platform for collaboratively creating, managing and sharing documents and Web services.
In MOSS additional feature add that cannot in WSS 3.0.7. What is new for end users in SharePoint 2013 ?_text]Answer:
In SharePoint 2013, one of them is a new way of assigning permissions. You can assign the permissions from the home page of the site and can use “Share” button on the top right corner.8. What are WebPart properties, and what are some of the attributes you see when declaring WebPart properties in code ?_text]Answer:
Web Part properties are just like ASP.NET control properties, they are used to interact with and specify attributes that should be applied to a Web Part by a user. Some of the attributes you see with ASP.NET 2.0 properties are Web Description, Web Display Name, Category, Personalizable, and Web Browsable. Although most of these properties come from the System. Web. UI. Web Controls. Web Parts class, ones like Category come out of System. Component Model namespace.

Sharepoint 2013 Interview Questions9. Why are properties important in WebPart development, and how have you exploited them in past development projects? What must each custom property have ?_text]Answer:
Properties are important because WebParts allow levels of personalization for each user. WebPart properties make it possible for a user to interact, adjust, and increase overall experience value with the programmatic assets that you develop without having the need to use an external editor or right any code. A very simple example of exploiting a property would be something like allowing the user to change the text on the WebPart design interface so that they can display whatever string of text they desire.
Each custom property that you have must have the appropriate get and set accessor methods.10. What base class do custom Field Controls inherit from ?_text]Answer:
This varies. Generally, custom field controls inherit from the Microsoft.SharePoint.WebControls.BaseFieldControl namespace, but you can inherit from the default field controls.

Top 46 Sharepoint Interview Questions And Answers11. Can multiple SharePoint installs point to the same DB ?_text]Answer:
Multiple SharePoint installs can use the same database server. Not literally the same database on that server. That server must be SQL Server 2000 or SQL Server 2005. It cannot be Oracle or another vendor.12. What are the zones in SharePoint ?_text]Answer:
1. Zones provides the separate logical paths of authentication for the same web application.
2. We can create 5 zones for each web application as follows:
a. Default
b. Intranet
c. Extranet
d. Internet and
e. Custom
3. Each zone represented by different web sites in IIS.13. What is Web Application in SharePoint ?_text]Answer:
1. In SharePoint Web Application is an IIS website.
2. From Central Admin we can create the web application. Each web application is associated with one IIS web site.
3. Once the web application is created, we can extend the web application in different zones.
4. For each web application, content database is created.14. What is the main purpose of Microsoft Sharepoint 2010 ?_text]Answer:
– Microsoft Sharepoint 2010 provides an application platform that allows building web content management systems.
– It allows the configuration to be done in an easy way and provide the solution areas for web applications and document management systems.
– It is a multi-purpose design that allows the use of design, management, scaling and provisioning to be done for business applications.
– It consists of layers that is managed and abstracted from the web server to enable the business users to take the advantage of the technical aspects of web development environment.
– Its purpose is to provide pre-defined applications with proper functionality like intranet portals, extranets, and websites and file management applications.
(Top 46 Sharepoint Interview Questions And Answers)15. What base class do event receivers inherit from ?_text]Answer:
Event receivers either inherit from the SPListEventReciever base class or the SPItemEventReciever base class, both which derive from the abstract base class SPEventReceiverBase.

Sharepoint 2013 Interview Questions16. What is the difference between an asynchronous and synchronous event receivers ?_text]Answer:
An asynchronous event occurs after an action has taken place, and a synchronous event occurs before an action has take place. For example, an asynchronous event is ItemAdded, and its sister synchronous event is ItemAdding.17. When do you use SP Site Data Query ?_text]Answer:
You can use SPSiteDataQuery when you need to extract data from more than onelist\library in your site colletcion. The data is extracted on the basis of the query you writeand isreturened as a Datatable. You can also specify the GUID for the lists\libraries you want toquery against.
.18. Explain about cmdlet’s ?_text]Answer:
The concept of cmdlet is introduced by the Windows PowerShell. These cmdlet’s are simple build in commands, written in a .net language like C# or VB.19. What tools can be used to back up a SharePoint 2010 environment ?_text]Answer:
– SharePoint farm backup and recovery
– SQL Server
Explain 1) BDC 2) BCS

1) BDC – Also called Business Data Catalogue is used to connect to an external database and read it in SharePoint.

2) BCS – Also called Business connectivity Services is new in SharePoint2010. BCS aids in reading and writing into the external Database.20. Why do you use Feature Receivers ?_text]Answer:
Feature Receivers are used to execute any code on Activation\Deactivation of aFeature. You can use it for various purposes.21. What are the various types of input forms that can be created for a workflow ?_text]Answer:

Four tyes of input forms can be created for a workflow:

1. Association form
2. Initiation form
3. Modification form
4. Task edit form22. For a workflow, what are the types of input forms can be created ?_text]Answer:

For a Workflow, you can create 4 different types of input forms which are given as follows:
1. an association form
2. An initiation form
3. A modification form
4. A task edit form.23. Mention different products in SharePoint 2010 ?_text]Answer:

There are 2 different products in SharePoint 2010.
They are
1) SharePoint Foundation 2010 which is a free version and
2) SharePoint Server 2010 which is a paid version.

Sharepoint 2013 Interview Questions24. Discuss the features of SharePoint 2010 ?_text]Answer:

Some of the features of SharePoint 2010 are discussed as follows:
1) Large lists
2) Document Collaboration
3) Enterprise Search FAST Search
4) Silver Light web part
5) New Enhance Web Part
6) Business Connectivity Services
7) Social Media Investments
8) Enhanced collaboration features
9) Usage reporting and logging
10) Visio Services
11) Better Network Differencing & SharePoint Offline in SharePoint Workspace
12) High Availability/ Disaster Recovery Innovation
13) SharePoint Designer Enhancements like portable workflows, and granular delegation
14) Sandbox Solutions
15) Service Applications25. Discuss the differences between Library vs List ?_text]Answer:

The major differences between both are:
Library is used to store the document whereas Lists are the container of similar items in the form of rows and columns.
In Library you can create core document like Word, Excel, and PowerPoint. But in List You cannot create document, instead of that you can attach document in a particular List.26. Explain about a Field Control ?_text]Answer:

Field controls are ASP.NET 2.0 server controls.
These controls will provide the basic field functionality of SharePoint. They also provide basic general functionality such as displaying or editing list data as it appears on SharePoint list pages.27. Discuss about the security levels which are assigned to users ?_text]Answer:

The administrator will assign the Security levels who is adding the user. There are four levels by default which are discussed as follows:

1) Reader – In this level, the user will have read-only access to the Web site.
2) Contributor – The user can add content to existing document libraries and lists.
3) Web Designer – The user can create lists and document libraries and customize pages in the Web site.28. Does a SharePoint Web site include search functionality ?_text]Answer:

Yes, the SharePoint Web site includes the search functionality.
SharePoint Team Services provides a powerful text-based search feature that helps you find documents and information fast.29. How to associate an Event Handler to a particular list ?_text]Answer:

If you are writing an event handler on list or library it will prompt for select the list type.
If you select announcements, tasks or any custom list. Generally it will run on the lists which have the same template id.
To avoid Event handlers to running on all the lists of similar template ids
Go to Elements.XML file of the event receiver
When you create Event Receivers in your solution in Visual studio you will have the following line added
Template id will be different type for different type of lists.
But our scenario is list template id is same but we need to run on particular list, so we need to replace that line with below line.

This directs the event receiver to respond only to events that occur in the Customlist. You can change the ListURL attribute to reference any list instance on the SharePoint server.

Sharepoint 2013 Interview Questions30. What is Web part life cycle ?_text]Answer:

Web Part Life Cycle starts with
OnInit- to configure the web part.
OnLoad- to load add controls.
CreateChildControls- It is use to create controls and set its property.
LoadViewState- The view state of the web part is populated over here.
OnPreRender- it is use to change the web part properties.
RenterContents- it generate the output in html.
OnUnLoad- to unload the web part.
Dispose- to free the memory.31. How to create a custom feature ?_text]Answer:

To create custom feature: –
Create xml file named feature.xml and its manifest file. Save it in a folder and save that folder in 12- hive \template\feature.
To install: –
Go to command prompt, navigate 12- hive bin folder & run the command.
Stsadm -0 installfeature –filename <filelocation+name>
To Activate: –
Go to command prompt, navigate 12- hive bin folder & run the command.
Stsadm -0 activefeature –name -URL
To Deactivate: –
Go to command prompt, navigate 12- hive bin folder & run the command.
Stsadm -0 deactivefeature –name -URL
to uninstall: –
Go to command prompt, navigate 12- hive bin folder & run the command.
Stsadm -0 uninstallfeature –filename <filelocation+name>32. Explain the Share Point Architecture ?_text]Answer:

Having 3 layers, like 3 tire architecture
1. WFE
2. Application Layer
3. Data base Layer
1. WFE: –
Here we have share point Installed.
We have 12-hive structure & virtual drives.
Here IIS web sites are hosted.
Here servers are clustered on & are in synch.
2. Application Layer: –
Share Point provides different services.
This layer provides those services, like my site hosting, user profile & searching etc.
one server can be dedicated to particular service depend upon the scalability.
3. Data Base Layer: –
Here we have SQL server installed.
Here content DB is hosted.
For moss 2007, it is SQL server 2005. For Share Point 2010, it is SQL server 2008.
Here servers are clustered on & are in synch.
* Every layer has load balancer for control the traffic.33. How can debugging share point application and timer jobs? With steps ?_text]Answer:

Steps 1: build application place .dll into gac and reset iis
steps 2: On the Debug menu, select Attach to Process
steps 3: select the Show processes from all users check box.
Steps 4: select W3W.exe and OSWTIMER.exe can attach
steps 5: refresh SharePoint site point break point34. What is the difference between Sandbox solution & farm solution ?_text]Answer:

We can create sandbox solution for particular site but not for the entire site collection or farm. It is not applicable for farm solution. There are some restriction while creating the sandbox solution.35. What is a SharePoint Solution File? How does it differ from WebPart .cab files in legacy development? What does it contain ?_text]Answer:

A SharePoint solution file is essentially a .cabinet file with all a developers ustom componets suffixed with a .wsp extension that aids in deployment. The big difference with SharePoint solution files is is that a solution:
allows deployment to all WFE’s in a farm
is highly manageable from the interface allowing deployment, retraction, and versioning
Can package all types of assets like site definitions, feature definitions (and associated components), Webparts, etc.
Can provide Code Access Security provisioning to avoid GAC deployments.36. What are the various zones in SharePoint ?_text]Answer:

– Zones provide the separate logical paths of authentication for the same web application.
– 5 zones can be created for each web application :
1. Default
2. Intranet
3. Extranet
4. Internet
5. Custom37. What is Web Application ?_text]Answer:

– WebApplication is a IIS website. Content database is created for each WebApplication.
– WebApplication can be created from central admin.
– Once a web application is created, it can be extended to different zones.

Sharepoint 2013 Interview Questions38. Why we use the properties.current.web instead of SP Context. Current.web in event receiver ?_text]Answer:

When we deploy project from Visual studio then we can use the SPContext.Current.web but when we use the PowerShell to activate or deactive the feature then we have to use properties.current.web because there is no access of browser here.39. Which are default master pages in SharePoint 2010 ?_text]Answer:

1. V4.master – This is default master page.
2. default.master – this is used to support the 2007 user interface
3. minimal.master
4. simple.master – it is used for accessdenied.aspx, confirmation.aspx, error.aspx, login.aspx, reqacc.aspx, signout.aspx & webdeleted.aspx pages.40. What is the difference between CustomMasterUrl & MasterUrl ?_text]Answer:

MasterUrl is used to change the layout of all use end pages but CustomMasterUrl is for changing the layout of admin side pages.41. developing a content type, and what is the purpose of each ?_text]Answer:

There is generally the main content type file that holds things like the content type ID, name, group, description, and version. There is also the ContentType.Fields file which contains the fields to include in the content type that has the ID, Type, Name, DisplayName, StaticName, Hidden, Required, and Sealed elements. They are related by the FieldRefs element in the main content type file.42. What is the difference between method activity and event activity in Work Flow ?_text]Answer:

A method activity is one that performs an action, such as creating or updating a task. An event activity is one that runs in response to an action occurring.43. Can you give a example where feature receivers are used ?_text]Answer:

You can use it to assign an event receiver feature to a specific type of list or can writea code in a feature receivers Deactivate method to remove a webpart from webpart gallery.44. How will you cancel a deployment from central admin -> solution managment,if its stuck at ³deploying´ or ³Error´ ?_text]Answer:

You can either try to force execute timer jobs using execadmsvcjobs command or cancancel the dpeloyment using stsadm command stsadm ±o cancaldeployment ±id {GUID}command. The Id here would be GUID of the timer or deployment job. You can get the Idfrom stsadm enumdeployment command. This will display all the deployments which areprocess or are stuck with Error.[vc_wp_posts number=”5″]