PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which two components should you choose?

You create Web-based client applications. You are designing an Employee class for an application. Your company Web site will use the application. You need to analyze the architecture diagram. You also need to decide which components will use the Employee class. The architecture diagram is shown in the following exhibit. (Refer to the Exhibit.) Which two components should you choose? (Each correct answer presents part of the solution. Choose two.)

Which code segment should you use?

You are creating a Web Part for a Microsoft Windows SharePoint Services site named Site1. You install a feature named TimeFeature on Site1.

You write the following code segment.

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

You need to display the current time to the user only if the TimeFeature feature is activated on Site1.

Which code segment should you use?

Which technology should you use?

You create Microsoft Windows-based applications. You are creating an application to be used by the employees of a multinational company.

The application must meet the following requirements:

Employees from any location can retrieve the latest price quotes from the companys Microsoft SQL Server database.
Employees can submit orders online.
The companys business partners can submit orders by using the software that they design themselves. The company cannot restrict the business partners choice of platform.

You need to ensure that the application and the server communicate as effectively as possible. Which technology should you use?

Which code segment should you use?

You create a Microsoft Windows SharePoint Services application. Your company creates two SharePoint sites named Site1 and Site2 in the same Web application.

You write the following code segment.

Private site1 As SPWeb = _
(New SPSite(“http: //localhost/Site1”)).OpenWeb()
Private site2 As SPWeb = _
(New SPSite(“http: //localhost/Site2”)).OpenWeb()

You need to copy a custom cross-site group named CrossSite from Site1 to Site2.

Which code segment should you use?