Friday, July 30, 2010

SharePoint Interview Questions

I thought of sharing some of interview questions for upcoming SharePoint geeks. I will keep updating this as and when some important questions come to my mind. Stay tuned.
  1. What is the difference between Site Pages Vs Application Pages?
    1. Site Pages
      1. Site Pages are available for each site in a site collection
      2. Site Pages allow customization
      3. Site Pages do not allow in-line code
    2. Application Pages
      1. Application Pages are primarily used for administrative purposes
      2. Application Pages are located in _layouts folder under 12 hive (FileSystem)
      3. Application Pages support in-line code
      4. Application Pages do not support customization. 
  2. Difference between Site Definition Vs Site Templates
    1. Site Definition
      1. Site Definitions are stored on the File System in 12 hive.
      2. Site Definitions are much faster to load from file system
      3. Site Definitions changes get reflected immediately across all sites.
      4. Site Definitions are changed using ONET.XML.
    2. Site Templates
      1. Site Templates are stored in the configuration database.
      2. Site Templates are slower as they get compiled before rendering.
      3. Site Templates are copied every time a site is created. So changing site templates after site is created does not affect.
      4. Site Templates are usually modified using UI.
  3. What is SPSecurity.RunWithElevatedPrivileges() method used for?
  4. What are the ways to dispose of SharePoint objects effectively?
    1. "using" method
    2. With "Dispose()" method
    3. Setting "null" in try...catch...finally block.
  5. What is Feature Stapling?
  6. How can we have some code run when a site is created?
  7. What is "GhostableInLibrary" used for?
  8. Can we include features as part of Site Definition?
  9. What is Feature Activation dependency?
  10. Why is Web Part Maintenance Mode page required?
    1. ?Contents=1. Refer to this
  11. How to debug SharePoint application?
  12. SharePoint Web Parts Vs ASP.NET Web Parts – Discuss differences.
    1. Refer to this
  13. How can we change contents of a control based on the security of a user?
    1. Use SPSecurityTrimmedControl. More information here
  14. How can you export a sub site from one site collection to another site collection on a different server.
    1. Remember Backup and Restore on Central Administration is only to backup and restore at a site collection level. In order to achieve backup and restore at a sub site level we need to use import and export options on STSADM. More Information on STSADM here on MSDN.
  15. How can we enable SharePoint environment to support AJAX?
    1. Install ASP.NET AJAX Extensions on all server in the farm
    2. Update SharePoint Web.Config to extend with ASP.NET AJAX by creating new sections under <system.web.extensions> and register some tags for handlers
    3. Add <controls> section under <pages> to register System.Web.Extensions for controls
    4. Add <assemblies> to register System.Web.Extensions namespace
    5. Add required handlers <httpHandlers>
    6. Add necessary <httpModules>
    7. Add <System.Web.Extensions as part of <safeControls> sections to make sure controls load up properly.
    8. Add ScriptManager to the master page. For more information refer to this article.
  16. SharePoint Content Types – What and Why do we need them?
  17. How can we backup only a given site collection or a site?
  18. What are the different Backup and Restore possibilities in SharePoint?
  19. What is a Delegate Controls used for in SharePoint? Give an example.
  20. Can we create a personal site for a user using SharePoint Object Model without user clicking MySite link manually?
  21. What is the difference between SPWeb.Groups and SPWeb.SiteGroups?
  22. What is the difference between "Ghostable" and "GhostableInLibrary" attributes?
  23. What is a WSP?
  24. What is a Feature? Can a Feature be invisible?

SharePoint 2010
  1. What is the difference between a Visual Webpart and Server WebPart?
  2. What is the difference between Load() and LoadQuery() methods in Client Object Model?
  3. What is BCS (Business Connectivity Services)? How does SharePoint 2010 differ from MOSS 2007 when accessing external content in SharePoint?
  4. How can we modify list forms using InfoPath 2010? Can we have a code-behind for such forms when modifying list forms?
  5. What are new features in SharePoint 2010
  6. How do we modify ribbon interface
  7. What is a service application? What are the advantages of Service Applications in SharePoint 2010 when compared to Shared Service Providers (SSPs) in MOSS 2007?
  8. What is DocumentID services used for?
  9. What is a meta data service?
  10. What is a difference between a custom list and external list in SharePoint 2010?
  11. What is the data type of the column we choose to create to have meta data populated from Meta Data Service?
  12. What are the different types of workflows offered in SharePoint 2010?
  13. What is the difference between Server Object Model and Client Object Model?
  14. What are the various event receivers we can write when activating features?
  15. What is a ListViewWebPart in SharePoint 2010?
  16. What is a Sandboxed Solution?
  17. What are various authentication techniques in SharePoint 2010?
  18. Explain Nintext workflows?
  19. What is item level security in SharePoint 2010?
  20. Why do we need to use WSP solution package?
  21. How can we make sure we have 99.99% of up time for a SharePoint farm?
  22. Why do we use ContentTypes?
  23. Do we need to use Site Definitions in SharePoint 2010?
  24. What is a sandbox solution and how to implement it?
  25. Where is a sandbox solution executed?
  26. What is the difference between a sandbox solution and a farm solution?
  27. Why do we use Client Object Model?
  28. Why do we use SPDisposeCheck()?
  29. How to debug a web part which performs really slow on Production environment?
  30. Why do we use custom logs like Log4Net Vs SharePoint logs?





Technorati Tags: ,,,

No comments:

Post a Comment