SharePoint Interview Questions and Answers (93) - Page 5

What are Site Columns ?

Site columns are pre-defined data columns which are re-used in various content types. A Content type is usually a collection of site columns.
For e.g. you can create a site column "Category" with a choice datatype along with the pre-defined values "It","Hr". This column then can be added to any content type in your list or library.
What is meant by a Site definition ?

A Site definition is a collection of Files. The files are such as ONET.XML which defines the Site template.
For e.g. Team Sites used to create a Site in SharePoit. All the out-of-box site Templates like Blog,Wiki,Team Site etc can be found in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\
What is the command to take backup and restore for sharepoint site ?

The commands to take backup and restore for sharepoint site are given as follows:
Backup command:
stsadm -o backup -url http://moss:4002/ -filename c:\bkupsite.bak
To restore :
stsadm -o restore -url http://moss:4004/ -filename c:\bkupsite.bak
Mention the ways to initiate the workflow in Sharepoint ?

Below are the ways to initiate the workflow in Sharepoint:

1) Automatic (on item added or item deleted)
2) Manual (standard WSS UI interface)
3) Manual (Custom UI Interface)
4) Programatically through custom code
What is the difference between BDC and BCS?

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
Which is social features introduced in SharePoint 2010?

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.
Which processes implemented sandbox solution?

NOTE: This is objective type question, Please click question title for correct answer.
How to associate an Event Handler to a particular list?

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

<Receivers ListTemplateId="101">


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.

<Receivers ListUrl="Lists/Customlist">


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.
To Debug a Timer Job which process we need to Attach?

NOTE: This is objective type question, Please click question title for correct answer.
What is the use of Content Query Web Part in SharePoint?

Content Query Web Part could be used to create custom views of data that is queried from many sources, and present that data all in one place. After you add the Content By Query Web Part to a Web page, you can customize the Web Part's querying behaviors and also the look and feel to display data appropriately.


It can also be used in many scenarios, some examples below:

1.If you have a site collection with a root site and you want to bring in and display the most recent blog posts from all blog sites within its own site collection&#8230;. Yes you can use CQWP for this.

2.If you want to bring in and show all the events in a group calendar on the root site from the sub-sites created below.

3.You can also bring in data views from a document library or lists and filter it and show it dynamically.

4.If you have a site collection with a root site and you want to bring in and display the Announcements from all sites within its own site collection. Yes you can use CQWP for this.

But the Main point to remember while using CQWP we can display only two columns Title and Description .

If you want to display more custom columns then we need to edit the XSLT then we will display how many columns we want.
What are the Databases will be created while configuring User Profile Service in SharePoint?

NOTE: This is objective type question, Please click question title for correct answer.
Which of the following statement is correct?

NOTE: This is objective type question, Please click question title for correct answer.
What is SharePoint?

A SharePoint site is a Web site that provides a central storage and collaboration space for documents, information, and ideas. A SharePoint site is a tool for collaboration, just like a telephone is a tool for communication, or a meeting is a tool for decision making. A SharePoint site helps groups of people (whether work teams or social groups) share information and work together
Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Interview Questions and Answers Categories