PrepAway - Latest Free Exam Questions & Answers

Category: 70-541

Exam 70-541: TS: Microsoft Windows SharePoint Services 3.0 – Application Development

Which two actions should you perform?

You have a Microsoft Windows SharePoint Services development server. You create a Web Part for a Windows SharePoint Services site. The Web Part must call a Web service.

You deploy the Web Part on the development server. When you test the Web Part, the Web Part throws an exception.

You need to prevent the occurrence of the exception when you test the Web Part.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Which two actions should you perform?

You create a custom administration page for a Microsoft Windows SharePoint Services application.

The page is throwing a security exception. You verify that you have administrator rights on the Microsoft Windows SharePoint Services server.

You need to ensure that the page can be used to perform administrative functions.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Which method should you use?

You are creating a Microsoft Windows SharePoint Services application.

You create a Windows SharePoint Services feature named MyFeature. You implement the feature within a Microsoft .NET namespace named MyFeature. You create a class named SiteMonitor that inherits from the SPWebEventReceiver class. The SiteMonitor class overrides two methods, named SiteDeleting and WebDeleting. Both methods cancel the deletion process.

You need to prevent all users, including site administrators, from deleting the MySite Web site.

Which method should you use?

Which code segment should you use?

You create a Web Part and deploy the Web Part to a Windows SharePoint Services site named Site1. You create a feature named MyFeature.

You write the following code segment.

Private site As SPSite = New SPSite(“http://server/site1”) _
Private web As SPWeb = site.OpenWeb()

You need to activate the feature only on Site1 when the Web Part is loaded.

Which code segment should you use?

Which code segment should you use?

You are creating an administrative Web Part for a Microsoft Windows SharePoint Services application.

You write the following code segment.

Dim mySPFarm As SPFarm = SPWebService.ContentService.Farm
Dim mySPServerCollection As SPServerCollection = mySPFarm.Servers
Dim contentDatabases As ArrayList = New ArrayList ()

You need to add the names of the content databases for non-administrative sites that are available within the server farm to the ArrayList object.

Which code segment should you use?


Page 3 of 812345...Last »