PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You create Microsoft Windows-based applications. You design a composite user control that is used to enter e-mail addresses. The control is as shown in the following exhibit. (Refer to the Exhibit.) The control validates the user input by using a regular expression. The control validates e-mail addresses and prevents the user from submitting blocked e-mail addresses. The control must permit the user to correct the entry if the user enters a blocked e-mail address. You need to provide feedback if the user enters a blocked e-mail address in the txtEmailAddress text box. What should you do?

Which method should you use?

You are developing an Office Visio 2007 Shared Add-in. You create three objects named objMaster, objPage, and objWindow. The object objMaster references a local copy of the master. The object objPage references the current page. The object objWindow references the active window. You need to create several shape instances of the master on the current page at specific coordinates in the active window. Which method should you use?

What should you conclude?

You create Web-based client applications. You create an application that is used as a portal. The portal uses a set of custom controls that expose different functionalities.

The set of custom controls includes one control each for the following three tasks:

Track sales
Track inventory
Permit access to the corporate e-mail of the company

The portal must permit users to select the controls that they need to display on the basis of a predefined list.

The design team proposes the following steps to meet the requirement:

Create the custom controls as Web parts.
Create a Web part zone page that has two Web part controls and a catalog part control.
Add the sales Web part control to the Web part zone.

You need to evaluate whether the solution meets the requirements. What should you conclude?

Which code segment should you use?

You are creating a Web application by using the Virtual Earth 6.0 map control. A Web page of the application loads two map controls named Map1 and Map2. Map1 displays a navigable, primary map. Map2 is the secondary instance of Map1 and displays an overview of the primary map. You need to ensure that when the user navigates the primary map, the overview is automatically updated. Which code segment should you use?

Which code segment should you add at line 6?

You have a document library that contains .docx documents. You need to create a web part that allows users with the ability to convert documents to .aspx pages by using the default document converter. You write the following code segment:

01: Public Sub ConvertFileOpen(ByVal file as SPFile)
02: Dim pubWeb as PublishingWeb =
PublishingWeb.GetPublishingWeb(SPContext.Current.Web)
03: Dim pages as PublishingWebCollection = pubWeb.GetPublishingPages()
04: Dim title[String] = GUID.NewGUID().toString() & “.aspx”
05: Dim converterID as new GUID(“1234………7890”)
06:
07: End Sub

Which code segment should you add at line 6?

Which two actions should you perform?

You create a Microsoft Windows SharePoint Services site on a remote server. The site contains a records repository.

You create a Microsoft Windows Forms application that stores official documents in the records repository by using Records Repository Web Service.

You need to submit a document to the records repository.

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

What should you do?

You create Microsoft Windows-based applications. You are designing a user interface for a multi-page questionnaire.

You need to ensure that the user interface meets the following business requirements:

The user interface is reusable.
The user interface requires the user to select three out of five choices for each question. The user interface permits the user to check a box to select the correct answer or answers.

What should you do?

What should you recommend?

You create Web-based client applications. You are creating an online reporting application that must generate inventory restocking reports within 34 seconds. In the development
environment, during a unit test, generation of the month-end report took 42 seconds. You need to recommend what action must be taken to validate the test results. What should you recommend?

Which code fragment should you use?

You are creating a Web application by using the Virtual Earth 6.0 map control.

A Web page of the application provides links to a number of pre-defined locations. The application must meet the following requirements:

The links can be shared.
The links are encoded with map properties.
Users can copy the links to the Windows clipboard.

You need to write code to meet the requirements.

Which code fragment should you use?