PrepAway - Latest Free Exam Questions & Answers

Category: 70-547

Exam 70-547: PRO: Designing and Developing Web-Based Applications by Using the Microsoft .NET Framework.

What should you do?

You create Web-based client applications. You create an ASP.NET Web form that lists detailed company information. The company information is stored in a Microsoft SQL Server 2005 database. The Web form displays a drop-down list box that prompts the user to select a company type. On selection of the company type, the name of each company in the selected company type is displayed along with a button next to it. The button permits detailed contact information to be displayed for the company. Each button that is displayed along with a company name has a Text property value that is named View Details. The button is dynamically created based on the company type selected by the user. Each click event of the button is programmed to call a method named ShowDetails. The ShowDetails method displays the company details. The prototype of the Web form is as shown in the following exhibit. (Refer to the Exhibit.) You test the Web form and find that the code seems to function properly. When you display the Web form and click the View Details button, nothing happens. You need to ensure that the Web form responds properly within the minimum amount of time. You also need to minimize coding effort. What should you do?

What should you conclude?

You create Web-based applications. You create a loan application form. The loan application form is used to calculate the monthly payment of loans. The monthly payment is based on the loan amount, rate, and number of months. The form contains four text boxes and a button. There are no other controls in the form. The application event handler has the following lines of code. (Line numbers are included for reference only.)

01 protected void GetPayment(object sender, EventArgs e) { 02 try {
03 decimal rate = decimal.Parse(txtRate.Text);
04 decimal loanAmount = decimal.Parse(txtLoan.Text);
05 int period = int.Parse(txtPeriod.Text);
06 decimal payment = CalcPayment(rate, loanAmount, period); 07 txtPayment.Text = payment.ToString(“C”);
08 }
09 catch (OverflowException ex) {
10 …
11 }
12 catch (InvalidCastException ex) {
13 …
14 }
15 catch (Exception ex) {
16 …
17 }
18 }

You must prevent exceptions whenever possible to meet the application requirements. You need to evaluate the current exception handling mechanism. What should you conclude?

Which mechanism should you choose?

You create Web-based client applications. You create an ASP.NET Web application that creates and manages online advertising campaigns. The ASP.NET Web application uses a Microsoft SQL Server 2005 database.

You require the ASP.NET Web application to track the efficiency of the upcoming campaigns by comparing advertising results with campaign parameters. This requires adding a Web form that performs the following tasks:

Uses a target URL for all online advertising.
Logs the referrer URLs.
Provides live reporting of referral data.

You need to identify the most effective storage mechanism to log the referral data. Which mechanism should you choose?

What should you do?

You create Web-based client applications. You identify a reusable software component that you need to use in your application. The component contains functionality to retrieve data from a database. However, the component does not include the functionality to change the color of a table cell when the user moves the mouse cursor into the cell. You need to add the effect of mouse cursor movement to the component in the most efficient way possible. What should you do?

which to store the configuration attributes. What should you recommend?

You create Web-based client applications. You are evaluating the configuration architecture of an application that connects to a database by using a connection string. This connection string contains a user name and a password. You place the connection string in the <connectionStrings> section of the Web.config file. You want to ensure that the connection string is protected. You need to decide the format in which to store the configuration attributes. What should you recommend?

What should you recommend?

You create Web-based client applications. You are designing a client application that will offer real-time multimedia services.

The application must meet the following requirements:

Enable playback of large video files.
Perform consistently across connection speeds that vary.
Control the amount of bandwidth that is consumed by each connection.

You need to recommend an appropriate solution. What should you recommend?

What should you do?

You create Web-based client applications. You are creating a Web page that permits a user to enter information to apply for a loan. The amount that the user is permitted to request depends upon the type of the loan and the term of the loan.

The Web page must perform the following tasks:

Ensure that the user enters a valid loan amount.
Prevent unnecessary trips to the server.

You need to implement an appropriate validation strategy for the application. What should you do?

Which method should you use?

You create Web-based client applications. You are creating a Web-based discussion forum. The discussion forum will permit users to post and reply to discussion threads after logging on. You create the authentication mechanisms of your Web site. Microsoft SQL Server 2005 and the Active Directory directory service will continue to be used interchangeably for authentication. You need to provide a method for the users of the discussion forum to register. You also need to maintain the capability to use multiple authentication methods when the users register. Which method should you use?

Which two technologies should you choose?

You create Web-based client applications. You create an application that will be used by customers to browse the product catalog of an Internet-based store and buy products.

The application must meet the following requirements:

Permit registered customers of the store to change display settings and personal information. Store the updated information and associate the information with the logged-on customer.

You need to choose appropriate technologies to meet these requirements. Which two technologies should you choose? (Each correct answer presents part of the solution. Choose two.)

How should you create the component?

You create Web-based client applications. You are creating a component. The component implements a document explorer for navigating the document tree and selecting documents for editing. The component will be used as a user interface element in your application as well as in other developers applications. You need to include the component easily on any page of your application or in any other developers application. You also need to permit other developers to use your component in the visual designer. How should you create the component?


Page 6 of 12« First...45678...Last »