PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you create in the application definition file?

You have an external application defined in the BDC. The application definition contains an entity named Customers that comes from a table in a Microsoft SQL Server database. The table has a column that contains the customer name. You need to ensure that users can perform key word searches for data in the customer name field.

What should you create in the application definition file?

What should you conclude?

You create Microsoft Windows-based applications. You are creating an application that runs statistical sales models. The application will be used by 400 users on the local network. After the application is deployed, users report that the application stops responding. The application takes more than 10 minutes to resume to normal when a specific action is performed. The performance chart is shown in the Performance exhibit, and the task list of the application that is running on a sample computer is shown in the Processes exhibit. (Refer to the Exhibit.) You need to evaluate the problem by analyzing the monitored data. What should you conclude?

What should you recommend?

You create Web-based client applications. You are creating a Web site that displays product information for your company.

The application must meet the following requirements:
Support at least 20 concurrent users.
Consume less than 40 percent of the CPU time during peak usage. Process at least five requests per second during peak usage, which is estimated to be between 20 and 30 users.

A Web test is created to verify the requirements by recording how a regular user would interact with the site. Then, based on the Web test, a load test is created. The load test simulates 30 users who execute the Web test simultaneously. You need to decide whether the current strategy is enough to verify the requirements, and recommend changes. What should you recommend?

Which code segment should you insert at line 12?

You are creating a Virtual Earth 6.0 map. You use a page template that has a transparent header. You write the following HTML fragment to define the template.
01 <head>
02 <script type=”text/javascript”>
03 var map = null;
04 function GetMap(){
05 FormatMap();
06 map = new VEMap(‘Map’);
07 map.LoadMap();
08 }
09 function FormatMap(){
10 var mapEl = document.getElementById(‘Map’);
11 var headEl = document.getElementById(‘Header’);
12 …
13 }

14 </head>
15 <body onload=”GetMap();”>
16 <div id=’Header’ style=”position: relative; left: 5px; top:
5px; width:400px; height:100px; border: 2px solid black;”> 17 Header
18 </div>
19 <div id=’Map’></div>
20 </body>

You need to position the map so that the header is overlaid on the map and centered at the top.

Which code segment should you insert at line 12?

what should you do?

You have Microsoft Office SharePoint 2007 Server farm that has a Single Sign-On implementation. You plan to deploy a web part that will access data through a web service. The web service and the web part are in different web applications. The web service uses a custom authentication provider.

To ensure that users are not prompted to enter credentials when they access the web part, what should you do?

Which two actions should you perform?

You create Microsoft Windows-based applications. You are reviewing code for an application that is created for a bank. You find that a Microsoft Windows Form includes the following code segment.

public partial class ATMDeposit : Form {
private BankAccount account;
public ATMDeposit() {
InitializeComponent();
}
private void ATMDeposit_Load(object sender, EventArgs e) { account = new BankAccount();
}
private void cmdDeposit_Click(object sender, EventArgs e) { account.Deposit(decimal.Parse(txtAmount.Text));
}
}

You analyze the code segment and find that the form handles no other events. You need to suggest changes to improve reliability. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

What should you do?

You create Web-based client applications. You are designing a procedure to retrieve product data from a database. The product data will be displayed on several pages of your Web site. The data will be filtered and sorted by different parameters and will be displayed in grids with paging. Users will not be able to modify the data that is displayed on the Web site. The product data is stored in a database on an instance of Microsoft SQL Server that is located on a different server. The database is configured to support SQL cache invalidation. You need to ensure that the data is retrieved such that the pages of the Web site load as quickly as possible. What should you do?