programing

SharePoint 인터뷰 질문

luckcodes 2021. 1. 16. 20:29

SharePoint 인터뷰 질문


SharePoint 개발자를위한 몇 가지 좋은 인터뷰 질문 목록을 만들어 보겠습니다. 항목 당 하나의 질문을 제공하고 가능한 경우 답변을 제공하십시오.

또한 제공된 답변이 잘못된 경우 언제든지 수정을 제안하십시오.

먼저 가겠습니다.

Q : SharePoint는 페이지를 어떻게 저장합니까?

A : 서버에서 공유 포인트 문서 라이브러리 소스 페이지를 찾는 방법은 무엇입니까?


Q. SPSecurity.RunWithElevatedPrivileges (웹 컨텍스트)로 실행할 때 어떤 자격 증명이 사용됩니까?

A. SharePoint를 실행하는 웹 응용 프로그램에 대한 앱 풀 ID.


Q. 목록 항목을 수정할 때 SPListItem.Update () 사용과 SPListItem.SystemUpdate () 사용의 "주된"차이점은 무엇입니까?

A. SystemUpdate ()를 사용하면 새 버전이 생성되지 않으며 타임 스탬프도 유지됩니다.


Q : SPWeb 및 SPSite 개체는 언제 폐기해야합니까? 그리고 더 중요하지 않을 때?

A : 직접 만든 경우에는 항상 폐기해야합니다. SPContext.Current.Web / Site를 삭제해서는 안되며 IsRootWeb이 true 인 경우 일반적으로 SPWeb을 삭제해서는 안됩니다. 더 까다로운 구조는 SPList.ParentWeb 라인을 따르는 것입니다.

후보자가 Roger Lambs 블로그 게시물을 아는 경우 보너스 포인트 .


Q : System.Web.UI.WebControls.WebParts.WebPart과 (와 )의 차이점은 무엇입니까 Microsoft.SharePoint.WebPartPages.WebPart?

A : Microsoft.SharePoint.WebPartPages.WebPartMOSS 2003 웹 파트와의 역 호환성을 제공하기 위해 MOSS 2007에서 제공됩니다. MOSS 2007에서는 System.Web.UI.WebControls.WebParts.WebPart대신 사용 하는 것이 좋습니다 .


때때로 나는 잠재 고객이 이야기하도록 더 개방형 질문을하는 것을 좋아합니다.

기술적 깊이를 알고 싶다면

Q : SharePoint에서 어떤 버그를 발견 했습니까? Q : 그 문제를 해결하기 위해 무엇을 했습니까?


Q. ItemUpdated 또는 ItemUpdating 이벤트 수신기가 있고 이로 인해 항목이 업데이트되는 경우 업데이트 중에 다른 ItemUpdated 및 ItemUpdating 이벤트가 발생하지 않도록 어떻게 방지합니까?

A. 업데이트를 수행하기 전에 DisableEventFiring ()을 호출하십시오. 업데이트 후 EnableEventFiring ()을 호출합니다.


Q. 사이트 모음이란 무엇입니까? 사이트가 아닌 새 사이트 모음을 만드는 이유는 무엇입니까?

A. 다소 긴 답변이지만 사이트 모음 관리, 할당량, 자산 분리, 보안 모델 등에 대해 알아야합니다.

Dave Wollerman은 몇 가지 이유와 이유에 대한 좋은 기사가지고 있습니다.


Q : 성능에 미치는 영향은 RunWithElevatedPrivileges무엇입니까?

A : RunWithElevatedPrivileges앱 풀의 자격 증명으로 새 스레드를 생성하여 완료 될 때까지 현재 스레드를 차단합니다.

[ rexm을 통해 ]


Q : 목록과 라이브러리의 차이점을 설명하십시오.

A : 목록은 문서를 첨부 할 수있는 메타 데이터 또는 열의 모음입니다. 라이브러리는 문서 (Excel, InfoPath, Word 등)와 선택적 메타 데이터의 모음입니다.

ktrauberman의 피드백에 따라 편집되었습니다.


Q : (i) 콘텐츠 유형의 목적을 설명하고; (ii) 그들이 사용될 수있는 곳의 예를 제공하십시오.

A : (i) 콘텐츠 유형은 여러 사이트에서 동일한 방식으로 재사용 할 수 있도록 목록 열 집합을 함께 그룹화합니다. (ii) 사이트 모음의 모든 문서에 적용해야하는 메타 데이터 열 집합으로 사용할 수 있습니다.


Q : SharePoint에서 콘텐츠를 렌더링하는 방법을 설명하십시오. A : 여기에서 범위를 벗어나지 만 여기에서 좋은 정보를 찾을 수 있습니다. http://gmac.blogspot.com/2008/04/how-sharepoint-2007-renders-its-content.html

신청자는 최소한 SharePoint의 템플릿 렌더링 메커니즘, 12 / TEMPLATE / CONTROLTEMPLATES /의 내용 및 DefaultTemplates.ascx에 중점을두고 사용되는 내용을 파악해야합니다. 모든 종류의 SharePoint 사용자 지정을 수행하려는 경우 이것은 절대적으로 필수적인 지식입니다.


Q : MOSS 2007에서 사용할 수있는 공유 서비스를 두 개 이상 지정하십시오.

A : MOSS 2007의 공유 서비스 공급자는 다음과 같은 공유 서비스를 제공 할 수 있습니다.

  • 사용자 프로필
  • 청중
  • 개인 사이트
  • 검색
  • Excel 서비스
  • Forms 서비스
  • 비즈니스 데이터 카탈로그 (Enterprise Edition 필요)

Q. MOSS와 WSS의 차이점은 무엇입니까?

A. MOSS는 검색, 프로필 가져 오기 등을 위해 공유 서비스 공급자를 사용합니다. ( 전체 목록 은 Lars Fastrup이 게시 한 답변 참조 )


Q : 프로그램 방식으로 목록 항목을 검색하는 방법은 무엇입니까?

A : SPQuery 및 SPSiteDataQuery. CrossListQueryCache, PortalSiteMapProvider에 대한 지식에 대한 보너스 포인트. foreach 사용에 대한 부정적인 점.


좋은 것들. 여기 정말 유용한 몇 가지가 있습니다. http://megasolutions.net/qs/Sharepoint_Portal_Interview_Questions.aspx


Q : 사용자 지정 열을 사용하는 이유는 무엇입니까?

A : 여러 라이브러리에서 열을 재사용 할 수 있습니다. 선택 유형을 사용하여 사용자 입력을 미리 정의 된 답변 집합으로 제한하고 해당 답변 목록이 변경 될 가능성이있는 경우 특히 유용합니다.


Q. 이벤트 수신기가 상속하는 기본 클래스는 무엇입니까?

ㅏ:

  1. SPListEventReceiver, SPItemEventReciever, and SPWebEventReceiver inherit from the abstract base class SPEventReceiverBase.
  2. SPWorkflowLibraryEventReceiver inherits from SPItemEventReceiver.
  3. SPEmailEventReceiver inherits directly from System.Object.

Also see a collection of SharePoint Questions on: http://qmoss.blogspot.com/


Q: What are the built in ways to backup a SharePoint install?

A: Through the central administration and the stsadm command

Q: (more advanced) You've created and deployed a Web Part, when you deploy to the server you get a page saying your Web Part couldn't be loaded, click here to go to the Web Part maintenance page, etc. to disable the web part. What step(s) should you take to get a stack dump from your web part instead of that error page?

A: Go to the web.config file for your website and find the CallStack Attribute in the SafeControls element and set the value to true.


Describe your experiences in applying custom branding to SharePoint 2007. What are some pitfalls to avoid? How do you deploy your custom branding to the farm?


When/why should you/shouldn't you make direct changes or additions to the files in the 12 hive?


Q. How would you create a Master/Detail page?

A. Creating a Content type inheriting from Folder Content Type for the master, and another Content type inheriting from Item and using them both on a List


Describe the Business Data Catalog (BDC), and provide at least one of a tangible application for it.


Q: What is a way of elevating SharePoint privileges without using RunWithElevatedPrivileges?

A: Pass the System Account User Token from the SPContext to the SPSite constructor.

A majority of times a developer can accomplish what they need using this method without needlessly elevating network credentials.


I would rather ask some open ended questions like Tell me something which you consider as an error that Microsoft has made in SharePoint? Possible answers are... For lookup columns you need to know the lookup field GUID in advance and you can’t easily provision a lookup field as a feature. MOSS does not have site level events such as an event for creating of lists. SharePoint designer is a crap and add unwanted stuff which increases the page size.
Lack of user group based trimming control as only permission based trimming is available by deafult (of cause you can create a custom security trimmer that does this)


Q. What are the data types which are supported as Lookup column in SharePoint.

A. Only Single Line of Text and Calculated columns are supported as lookup columns.

Also I have consolidated some more questions on: http://qmoss.blogspot.com/

ReferenceURL : https://stackoverflow.com/questions/205893/sharepoint-interview-questions