Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SharePoint Interview Questions

Tags: sharepoint
What is the SharePoint?
SharePoint is a browser based document collaboration platform given by Microsoft. Actually SharePoint is an application framework as much as it is an application as its own. It is a platform where user can share Data, Collaborate and people can also take this platform and customized platform as per their requirements.
What is sharepoint crawl? 
Crawling has to do with making the contents of pages/uploaded documents available in SharePoint's search. the administrator can decide the content to be included in the search. Along with it, it also provides way to decide the order of results in search. Like according to the number of hits, the search order changes automatically.
SharePoint Console allows you to crawl and index items from a Microsoft Office SharePoint Server (MOSS) or Windows SharePoint Services (WSS) site or site collection. It also allows you to crawl a list of MOSS or WSS sites specified by an RSS feed. Crawling SharePoint items into your portal requires the configuration of a content source, a crawler, and a job. Depending on your needs, more than one content source and/or crawlers may need to be created.

A SharePoint content source is configured with authentication information and default click through behavior. The authentication information is the Windows credentials necessary to access the desired SharePoint site or site collection. If multiple sites are accessible with the same authentication credentials, only one SharePoint content source is required. If sites require different authenticating credentials, create a SharePoint content source for each set of credentials.

Each SharePoint content source can have one or more SharePoint crawlers associated with it. A SharePoint crawler describes which SharePoint site or site collection is to be crawled, what to crawl on that SharePoint site, and where the crawled items should be put. Note that the crawler does not import the SharePoint items themselves, but rather indexes them within the portal.
what is difference between equals() and == operator
Both are used for comparison and boll returns the boolean value (true/false)

but in case a and b both are different datatype then also a.Equals(b) can be used to compare 
but incase of == we cant event compaile the code if a and b are different data type 


Example : 
int a=0;
string b="o";

if(a.Equals(b))
{
//do some thing
}

//above code will compile successfully and internally the int b will convert to object type and compare 

if(a==b)
{
//do some thing
}
//above code will give you the compilation error

2. by using == we cant compare two object 
but Equals method will able to compare both the object internally
What is Content Editor Web part?
Content Editor Web part is a universal plug in adapter. It is used to connect SharePoint pages to the rest of the world. User can use content editor web part to add html/CSS/JavaScript, embed videos or widgets, formatted text, tables, hyperlinks, images, and display content from other SharePoint sites to a web part page.
 What is the use of Sharepoint 2010 delegate control?
Using the delegate control a developer can customize the SharePoint site controls without editing or even touching the master page.
Note: We are not customizing the existing (default) delegate control but we are creating our own control loading onto the SharePoint site.
What are the compliance, standards and integrations involved in Sharepoint 2010?
- Sharepoint 2010 comes with some pre-built tools that are integrated in it like MS Office and other office suite components.
- Sharepoint 2010 uses MS OpenXML document standard to standardize the format of the MS Office suite. The metadata of the document is being stored in this format.
- Sharepoint 2010 is in compliant with many application programming interfaces that deals in client-side or server-side. It also uses the REST/SOAP interfaces to develop the application and to deploy it.
- Sharepoint 2010 achieve compliance with document retention, record management and documents that are related to the sites made up with Sharepoint 2010.
- Sharepoint 2010 support the Content Management system and Interoperability standards to meet certain requirements of the accessibility for the designer's tool.
Why are pages useful in Sharepoint 2010?
- Sharepoint 2010 uses pages to display the information to the end-users and they have three primary content types for the pages.
- Wiki pages are the pages that consist of detailed information with the external links on the website.
- Web-part pages are made of sections that provide access to features like search and provide the user interface widgets.
- Publishing pages are the pages used to display the end result or the output on the website for the end users to see.
- These pages are useful as it provides free-form editing using a ribbon toolbar and it is possible to insert the web-parts into any page of any kind and publish it.
What are the roles defined of Lists and libraries in Sharepoint 2010?
- Sites use list and libraries to store some information that have some properties to be used during the customization.
-List is a collection of pieces of information that can be used to contain some properties like name, description and URL of an item and display it on the store front.
- List has many features like workflows, list-level permissions, versioning, and history tracking system.
- Library consists of the list that is stored in a file in Sharepoint 2010 and it has the same behavior or but extra features then list.
- Library is having the ability to be configured and customized by using a compatible WebDAV client that is used in Windows Explorer.
- The examples of list and libraries that is contained in Microsoft Sharepoint 2010 are: Discussions Boards, Document libraries, Blogs, Pages, Surveys, Tasks, etc.
What is the function of Web-parts used in Sharepoint 2010?
- Web-parts are the sections that are used in a page in Sharepoint 2010. These are in relation to the sites that are being executed in the end.
- The sections that are used in the web-parts are the user interface widgets and it is used to display the content defined in the settings.
- The sections also display the items after taking it from the list/libraries and ready to customize in the Sharepoint 2010 only.
- Web-parts provide the access to many features like search in Sharepoint 2010 platform.
- Web-parts are uploaded by the end user as a packaged and sandboxed feature. The vendors that provide web-parts for intranet sites are from 3rd party only.
What is the use of site in Sharepoint 2010?
- Sites: this is a collection of pages, lists and libraries and these are configures for the purpose of showing something on the web front.
- This can consists of sub-sites and they can be divided further in a hierarchical fashion.
- The site can be created according to pre-defined templates and the functionalities provided with it or it can be created from scratch.
- The site can be in the form of a blog or a team collaborative site or document workspace or any other groupwork sites.
- Sites have all the functionality that is given in a normal web page. It has navigation, themes, permission, workflows and ability to configure and customize.
How is it possible to integrate the service applications in Sharepoint 2010?
- Service application can be integrated directly to Sharepoint 2010 by using the SOA bus.
- REST/SOAP web service application programming interface (APIs) can be used too to integrate the service application.
- Client Object Model API can be used to integrate the service application that works with the JavaScript and Silverlight as well.
- Application-to-Application integration method can be used with the Sharepoint 2010 to show the extension's functionality.
- Web parts can be used as it allows to provide and show the new functionality when a page is added.
How is the custom add-ons integrated in Sharepoint 2010?
- Custom add-ons are the features and solutions in Sharepoint 2010 and provide customized code that can be installed on a farm level.
- Custom add-ons use Global Assembly Cache (GAC) on the server but it sometimes become difficult to deploy.
- These are also integrated as Sand-boxed solutions that are being uploaded by the end users.
- Sand-boxed solutions consists of permissions to upload the solutions through the easy to use the web-interface.
- The solutions are very secure and restricted to allow only few people that pass the authentication and it is governed by farm infrastructure.
What is the use of Extranet, Internet and Intranet sites in Sharepoint 2010?
- Intranet Site in Sharepoint 2010 provides the management of the documents and files within the same location and provides a centralized access to the applications.
- Extranet Sites in Sharepoint 2010 provides password protected access to the people and information and it also uses the web technology to make it easier for people to use it.
- It supplies business process and provide a shared collaboration to people and enterprises.
- Internet sites in Sharepoint 2010 use the publishing feature and provide a way to manage the larger public information and websites.
- It is used to manage the large database and provide the information to the larger public that is being attached to it.
Why is Sharepoint 2010 preferred over other platforms?
Sharepoint 2010 is preferred over other platform due to the fact that it provides:
- Sharepoint 2010 provides an Intranet portal that allows centralized access to, the enterprise information, and provide an, application friendly environment.
- It acts as a tool to help manage the database and applications that are built easily using only one platform.
- It deals in the management of the information and provides enterprise solutions.
- It stores and tracks the documents and files that is being created with different versions and does the management of the complete system.
- Sharepoint 2010 provides a centralized location for storing and collaborating on documents that reduces the work significantly.
Explain the architecture of Sharepoint 2010?
- Sharepoint 2010 is a very flexible platform having n-tier service oriented architecture (SOA).
- This architecture can be very dynamically operated according to the requirements and can be changed from one machine to another machine.
- The architecture is deployed across several machines and it is very effective when all the machines are in synchronization with each other.
- The architecture provides lots of features to be used in accordance with the management that is provided with the machine.
What are the use-cases involved in Microsoft Sharepoint 2010?
- Use-cases are the pre-defined applications that are used when a service is requested to provide the functionality.
- Sharepoint 2010 provides the use-case like process integration, and system integration to make it more useful for the users to use and program in it.
- Sharepoint 2010 have the processing power for workflow automation through which the load on particular services gets distributed.
- It provides core infrastructure for the third party solutions like ERP, CRM and other social media that helps user to integrate it easily and in very less time.
- It process more complex functionality by providing the enterprise package to build the web applications.
 
How can a user add content to the content editor web part?
There are three ways to add content to the content editor web part. Rich Text Editor: It allows user to add formatted text automatically without prior knowledge of HTML syntax. Source Editor: The source editor is a plain text editor and it is intended for users who are familiar with HTML syntax. It allows user to add scripts, HTML and styles to a web part page. Content link: It is used to link existing content by entering a hyperlink to a text file that contains HTML source code.

If multiple css files are used in the same master page then how can a developer order the files to be applied to the master page?
The ordering of the css files can be done with the help of the CssRegistration class. Suppose if there are four css files to be linked namely 1.css, 2.css, 3.css and 4.css then the "after" attribute of the CssRegistration class can be used. Firstly, apply 1.css and use after attribute with value Corev4.css and then link 2.css file and use after attribute with value 1.css and so on.

67. What is CAML?
CAML stands for Collaborative Application Markup Language and is an XML-based language that is used in Microsoft Windows SharePoint Services to define sites and lists, including, for example, fields, views, or forms, but CAML is used to define tables in the Windows SharePoint Services database during site provisioning.

68. Why would a developer use LINQ over CAML for data retrieval?
Unlike CAML, with LINQ to SharePoint provider, developers are working with strongly typed list item objects. For example, an item in the Announcements list is an object of type Announcement and an item on a Tasks list is an object of type Task. Developer can then enumerate the objects and get the properties for their use. In addition, developer can take benefit of LINQ syntax and the LINQ keywords built into C# and VB for LINQ queries.

69. What are the Disadvantages of Using LINQ in the Code?
LINQ translates the LINQ queries into Collaborative Application Markup Language (CAML) queries thus adding an extra step for retrieving the items. 
70. What does AllowUnsafeUpdates do?
If developer is trying to modify Windows SharePoint Services data using code, developer may need to allow unsafe updates on the Web site, without requiring a security validation. For this, developer needs to set AllowUnsafeUpdates property to true. 

What are the key differences between Site template and site definition?
Site Definitions Site Templates Site Definitions are the foundations on which all sites and user templates are built. Site Definition is collection ox XML and .aspx file. Site Definitions are predefined components needs to be included when a site was created in SharePoint server.Site Definition contains information of Web Part , Lists, Features and navigation bars to be included in the site Site template approach for SharePoint Site Creation is easier, and just requires the use of the Web interface and occasionally Microsoft FrontPage. Content can be saved with site template Files are on disk, better performance. Files are in content database, less efficient. Highly customizable and extensible (XML and .NET code is much more flexible than UI) Not easily extensible (users are limited by what UI offers) Can provision multiple webs Can only provision one web.
SharePoint Search Questions
24) What is a content source in relation to SharePoint search? What's the minimum amount of content sources?
A content source is a set of options that you can use to specify what type of content is crawled, what URLs to crawl, and how deep and when to crawl. You must create at least one content source before a crawl can occur.

25) What is a search scope?
A search scope defines a subset of information in the search index. Users can select a search scope when performing a search.

26) What is a federated location with SharePoint search?
Federated locations provide information that exists outside of your internal network to your end-users.

27) How does managed metadata affect search?
Enhances the end-user search experience by mapping crawled properties to managed properties. Managed properties show up in search results and help users perform more successful queries.

28)  What is query logging in SharePoint 2010?
Collects information about user search queries and search results that users select on their computers to improve the relevancy of search results and to improve query suggestions.



This post first appeared on Microsoft SharePoint, please read the originial post: here

Share the post

SharePoint Interview Questions

×

Subscribe to Microsoft Sharepoint

Get updates delivered right to your inbox!

Thank you for your subscription

×