최신 MCSE 070-573 무료샘플문제:
1. You create a SharePoint site by using the Document Center site template.
You need to ensure that all documents added to the site have a document ID. The document ID must
include the date that the document was added to the site.
What should you do?
A) Register a class that derives from DocumentIdProvider.
B) Modify the Onet.xml file of the site.
C) Modify the DocIdRedir.aspx page.
D) Register a class that derives from DocumentId.
2. You need to create a Web Part that displays all of the permission levels of the current subsite. Which collection should you use?
A) SPContext.Current.Web.Permissions
B) SPContext.Current.Web.RoleAssignments
C) SPContext.Current.Web.RoleDefinitions
D) SPContext.Current.Web.Properties
3. You have a Web page named ShowMessage.aspx.
You create a new Web page.
You need to display the content from ShowMessage.aspx in an IFRAME on the new Web page. You must
achieve this goal by using the minimum amount of effort.
What should you do?
A) Use Response.Redirect to send users to the ShowMessage.aspx page.
B) Add a FormView Web Part that displays ShowMessage.aspx.
C) Use Response.Write to write text to the browser.
D) Use SP.UI.ModalDialog.showModalDialog() to display a dialog.
4. You create a Web Part that programmatically updates the description of the current SharePoint site.
The Web Part contains the following code segment. (Line numbers are included for reference only.)
01 SPSecurity.RunWithElevatedPrivileges(delegate()
02 {
03 SPSite currSite = SPContext.Current.Site;
04 SPWeb currWeb = SPContext.Current.Web;
05 using (SPSite eSite = new SPSite(currSite.ID))
06 {
07 using (SPWeb eWeb = eSite.OpenWeb(currWeb.ID))
08 {
09 eWeb.AllowUnsafeUpdates = true;
10 currWeb.Description = "Test";
11 currWeb.Update();
12 eWeb.AllowUnsafeUpdates = false;
13 }
14 }
15 });
Users report that they receive an Access Denied error message when they use the Web Part. You need to ensure that all users can use the Web Part to update the description of the current site.
What should you do?
A) Remove lines 09 and 12.
B) Change lines 09 and 12 to use the currWeb variable.
C) Remove lines 10 and 11.
D) Change lines 10 and 11 to use the eWeb variable.
5. You create an event receiver.
The ItemAdded method for the event receiver contains the following code segment. (Line numbers are included for reference only.)
01 SPWeb recWeb = properties.Web;
02 using (SPSite siteCollection = new SPSite("http://site1/hr"))
03 {
04 using (SPWeb web = siteCollection.OpenWeb())
05 {
06 PublishingWeb oWeb = PublishingWeb.GetPublishingWeb(web);
07 PublishingWebCollection pubWebs = oWeb.GetPublishingWebs();
08 foreach (PublishingWeb iWeb in pubWebs)
09 {
10 try
11 {
12 SPFile page = web.GetFile("/Pages/default.aspx");
13 SPLimitedWebPartManager wpManager = page.GetLimitedWebPartManager
(PersonalizationScope.Shared);
14 }
15 finally
16 {
17 if (iWeb != null)
18 {
19 iWeb.Close();
20 }
21 }
22 }
23 }
24 }
You need to prevent the event receiver from causing memory leaks.
Which object should you dispose of?
A) oWeb at line 06
B) wpManager at line 13
C) recWeb at line 01
D) wpManager.Web at line 13
질문과 대답:
| 질문 # 1 정답: A | 질문 # 2 정답: C | 질문 # 3 정답: D | 질문 # 4 정답: D | 질문 # 5 정답: D |














896 개 고객 리뷰
품질과 가치ITCertKR 의 높은 정확도를 보장하는 최고품질의 덤프는 IT인증시험에 대비하여 제작된것으로서 높은 적중율을 자랑하고 있습니다.
테스트 및 승인ITCertKR 의 덤프는 모두 엘리트한 전문가들이 실제시험문제를 분석하여 답을 작성한 만큼 시험문제의 적중률은 아주 높습니다.
쉽게 시험패스ITCertKR의 테스트 엔진을 사용하여 시험을 준비한다는것은 첫 번째 시도에서 인증시험 패스성공을 의미합니다.
주문하기전 체험ITCertKR의 각 제품은 무료 데모를 제공합니다. 구입하기로 결정하기 전에 덤프샘플문제로 덤프품질과 실용성을 검증할수 있습니다.
