PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

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 three data handling mechanisms should you select?

You create Microsoft Windows-based applications. You are designing an inventory management solution for a warehouse. The solution must address the following requirements:

Access inventory data in a Microsoft SQL Server 2005 database. Generate XML documents representing purchase orders based on an XML schema provided by a trading partner.
Use the minimum amount of C# code possible.
Use the minimum amount of I/O operations possible.

You need to develop the data handling capabilities of the solution to meet the requirements. Which three data handling mechanisms should you select? (Each correct answer presents part of the solution. Choose three.)

Which configuration setting should you choose?

You create Web-based client applications. You are creating a page for a Web-based application.
You must ensure that the page meets the following requirements:

Uses forms authentication to validate users.
Deploys on a single Web server.
Is highly secure.
Gives higher priority to security than speed.

You need to recommend a configuration setting for your page. Which configuration setting should you choose?

Which code segment should you add?

User Profiles in your SharePoint farm contain the job title property. The job title property contains the user job title. You have an audience defined for the Sales department. The audience contains a rule. You create a custom application that contains the following code segment:

01: Using site as New SPSite.Open(“http://intranet”)
02: Dim context as ServerContext = ServerContext.GetContext(site)
03: Dim audienceMgr as New AudienceManager(context)
04: Dim audienceColl as AudienceCollection = audienceMgr.Audiences
05: Dim salesDepartmentAudience as Audience =
audienceColl.Open(“SalesDepartment”)
06: Dim salesDepartmentRules as ArrayList = salesDepartmentAudience.AudienceRules
07:
08:
09:
10:
11: salesDepartmentAudience.AudienceRules = salesDepartmentRules
12: salesDepartmentAudience.Commit()
13: End Using

You need to change the audience to include only the users that have the job title set to Manager.

Which code segment should you add?

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 three CAS permissions should you choose?

You create Microsoft Windows-based applications. You create an application that is used by the marketing department.
The application permits users to browse through a list of products obtained from a local XML file. The XML file is generated by a business layer process. The business layer process performs the following tasks:

accesses a Microsoft SQL Server 2005 database
accesses a Microsoft Office Access database
combines data from both databases

The application must meet the following requirements:

Enable users to print reports based on data contained in the XML file.
Enable users to save the reports.

You need to define the appropriate Code Access Security (CAS) permissions that must be applied to this
application. You want to follow the concept of least privilege to achieve this goal. Which three CAS permissions should you choose? (Each correct answer presents part of the solution. Choose three.)