SharePoint Interview Questions and Answers (93) - Page 2

How WSS 3.0 differes from MOSS 2007?

1. Windows SharePoint Services (3.0) are free available with Windows Server. Microsoft Office sharePoint Server (MOSS) 2007 is licensed version. WSS 3.0 can be freely downloaded from Microsoft site.

2. MOSS 2007 is based on WSS3.0 with some additional features like Enterprise Search, Business Data Catalog(BDC), User Profile, Excel Services, Single-Sign on, additional Workflows, My site feature etc.
What is CAML?

CAML is the collaborative application markup language. This is the XML-based language used to customize and to develop the sharepoint based sites and features.
What is the difference between Site Definition and Site template?

1. To create or use site definition you need server admin access, but site template can install from web UI by site owners.
2. Site definition supports feature stapling, but for site template additional features must be activated in gallery.
3. Site definitions are stored in hard disk, but site templates are stored in content DB.
4. Site definition can provision multiple webs, but site templates for single web only.
5. Creating site definition is relatively complex then site template creation.
What is BDC and how it is differ from BCS?

BDC (Business Data Catalogue) is use to connect an external database and view it in share point.
BCS (Business connectivity Services) is new in SharePoint2010. Using BDC one can only read from external Database, but using BCS one can read and write into the external Database.
What is Web part life cycle?

Web Part Life Cycle starts with
OnInit- to configure the webpart.
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.
How to Create a custom feature?

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 <name> -url <url>
To Deactivate :-
Go to command prompt, navigate 12- hive bin folder & run the command.
Stsadm -0 deactivefeature –name <name> -url <url>
To uninstall :-
Go to command prompt, navigate 12- hive bin folder & run the command.
Stsadm -0 uninstallfeature –filename <filelocation+name>
Explain the Share Point Architecture.

Having 3 layers, like 3 tire architecture

1. WFE <Front End Web Server>
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 Lay er:-
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.
How to deploy wsp ?

In Command prompt, navigate to the 12-hive bin folder, then write the command to add the solution i.e.
Stsadm -o addsolution -filename filelocation

Then go to “central administration -> operations” under “global configuration” there is “solution management” click on that.

Then click on “wsp file name”, and then click on “deploy solution” for deploy it, for retrieve click on “retrieve solution”, for remove it click on “remove solution” after retrieve it.
How do you configure outgoing E-mail?

It is recommended that you set up a Local SMTP Virtual Server on your share point box and configure it to relay to your normal domain.

This will not only provide a natural queuing mechanism which would be highly preferred, but it will also provide you with what you need to set up incoming email as well as outgoing.

(DW)

More details on this ...

If you are looking to use your corporate email to read outbound email--you'll need to go to the SMTP Virtual server and set up a new domain in it. Click on domains and make a new remote domain. Type in the name of your corporate email (for me it would be Microsoft.com).

Once it's made, get the properties on it and configure the smart host to be the name of your actual mail server (exchange or whatever). This will cause the SMTP Virtual Server to relay mail addressed to your remote domain to your corporate email server.

If that server only accepts mail from authenticated sources, you'll have to configure the outbound security on the remote domain as well as the smart host.

(DW)

Note too the usual need to make sure that Port 25 is not blocked by an A-V software (McAfee being the typical culprit)
Client Object Model vs Server Object Model in SharePoint 2010 ?

using Client Object Model we can access the data from the system where sharepoint server is not installed on the machine via Web Services , API , JavaScript etc

Where as In Server Object Model is like a Production Server Environment to access the data where shapoint server installed on the machine .
How to Remove the Banner from InfoPath Form 2007 ?

Using Stsadm setformserviceproperty we can remove the banner from InfoPath form 2007 .

Ex: stsadm.exe -o setformserviceproperty -pn allowbranding -pv false
How to Synchronize the UserProfiles with Active Directory in MOSS 2007?

1. Log into the Shared Services Administration site
2. Click on User Profiles and Properties
3. Click on Configure Profile Import
4. Under "Source" select the domain you wish to import from
5. Under "Default Access Account" select either the default content access account or specify account details – this account must have permission to access the Active Directory users (default) OU container
6. Click OK
7. Now select either a Full or Incremental import, a Full import will ensure that users deleted from Active Directory are removed from the profile database
8. Once the import has finished you can select "View Import Log" to reveal details about the import
How to take IIS backup in SharePoint Server ?

Step1: Start --> Administrative Tools-->IIS Manager
Step2: Right Click on Computer Name --> All Tasks--> Backup/Restore
Step3: Click on Create Backup
Step4: Name the Backup File and make the backup file password protected
Step5: Done!!
Step6: Check the Backup file in C:\WINDOWS\system32\inetsrv\MetaBack it will be in 2 names .
Step7: to restore them Click on Restore option
Can InfoPath 2007 Support Master Page and CSS ?

NOTE: This is objective type question, Please click question title for correct answer.
What is Search Server and Search Server Express ?

SSX can only deploy on single server in the farm.you cannot add more than one server to make search high availability . Search server can be scaled in the same fashion as SharePoint Server providing high availability for search
What is SharePoint ?

Microsoft has given this SharePoint, which is a browser based document collaboration platform. It is an application framework, and 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.
When backing up a SharePoint 2010 environment, What are the tools that can be used ?

The tools that can be used while backing up a SharePoint 2010 environment are mentioned as 2 types as follows:

1) SharePoint farm backup and recovery
2) SQL Server
Explain about Content types in Sharepoint ?

A content type is a WSS type definition which is flexible and reusable. It is used to define the columns and behavior for an item in a list or a document in a document library.
For example, you can create a content type for a leave approval document with a unique set of columns, an event handler, and its own document template and attach it with document library/libraries.
Discuss the differences between a Site Definition and a Site Template ?

The differences between a Site Definition and a Site Template are discussed as follows:

Site Definitions are stored on the hard drive of the SharePoint front end servers, which are used by the SharePoint application to generate the sites users can create. Site Templates are created by users as a copy of a site they have configured and modified so that they do not have to recreate lists, libraries, views and columns every time they need a new instance of a site.
For a workflow, What are the types of input forms can be created ?

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