PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you recommend?

You create Web-based client applications. You are evaluating the configuration architecture of an application in a suite of tools that is managed from a common management console. You must get user-specific information, which is gathered during the user sessions, for the marketing department so that they can analyze trends in usage. Eventually, the marketing department might decide to store the data on their Microsoft SQL Server database in the next version of their customer management tool suite.

The configuration architecture has the following features:

The data is stored in files on a shared file server.
Permissions for the server permit the Web server to write and the marketing department to read the data.
The data is formatted in XML.
You need to evaluate whether the configuration architecture meets the requirements. What should you recommend?

Which code segment should you use?

You are writing a code segment for a Virtual Earth 6.0 application. The code segment returns data for multiple locations to a client-side JavaScript function that makes the initial request.

The returned data contains the following properties for each location:

ID
Latitude
Longitude
Address

You need to format all locations and their properties in JavaScript Object Notation (JSON) format.

Which code segment should you use?

What should you do?

You are creating a Microsoft Windows SharePoint Services application.

Your organization plans to create a custom version of the site definition of the Team site and make the custom version available to all site owners.

You need to ensure that the customizations are retained when the Windows SharePoint Services updates are applied.

What should you do?

What should you conclude?

You create Microsoft Windows-based applications. You are creating a component that will encapsulate a data source. Dozens of applications will use the component.

The component must meet the following design requirements:
1.The component must be able to be modified within a Rapid Application Development environment.
2.The component must be without a user interface.

You propose to derive the component from the System.Windows.Forms.Control class and to implement the IComponent interface. You need to decide whether the component will meet the requirements. What should you conclude?

What should you do?

You create Web-based client applications. You create an application that has 20 pages.

The pages include tables of data. The tables of data must meet the following requirements:

Each table of data must display the data from one database table. When a user clicks on a column heading, the column must sort the data in the table.
A style sheet must be used to format the tables.

You need to meet the requirements for the tables in the most efficient way possible. What should you do?

Which code segment should you insert at line 05?

You are integrating third-party data into a Virtual Earth 6.0 application. The data that is retrieved from the third party is stored in an array named Results. The Results array is stored inside a Web handler. The data is stored in the following format.
R esults[0][“name”] = “A. Datum Corporation”;
Results[0][“address”] = ” 123 Main St. , New York , NY “; Results[0][“latitude”] = “40.123”;
Results[0][“longitude”] = “-70.456”;
Results[0][“thumbnail”] = “http://www.adatum.com/st3465.jpg”; …
Results[x]

The Web handler uses the GeoRSSFeed class to accept items of type GeoRSSItem. The class contains the
ToString() method that writes the GeoRSS feed to a string.

The Web handler GeoRSS integration is defined by the following code segment. (Line numbers are included for reference only.)

01 GeoRSSFeed feed = new GeoRSSFeed();
02 GeoRSSItem curItem;
03 for (int i = 0; i < Results.length; i++){
04 curItem = new GeoRSSItem();
05 …
06 feed.Add(curItem);
07 }
08 // Write feed to HTTP Response
09 context.Write(feed.ToString());

The Web handler uses the GeoRSSItem class that contains the following code segment. (Line numbers are included for reference only.)

10 public class GeoRSSItem {
11 public Dictionary < string, string > elements;
12 publ ic GeoRSSItem(){

13 elements = Dictionary < string, string > ();
14 }
15 public void Add(string pName, string pValue){
16 elements.Add(pName, pValue);
17 }
18 }
You need to encode the data inside the Results array into the GeoRSS format.

Which code segment should you insert at line 05?