PrepAway - Latest Free Exam Questions & Answers

Category: 70-548

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

Which two aspects should you consider modifying?

You create Microsoft Windows-based applications. You are creating a sales management application for your company. The application will be used by 250 users on the companys
network. In the future, the company will be expanding the user base to include at least 1,000 more users. The application will be stored locally on every computer. The application uses a set of assemblies that are installed in the global assembly cache for business rules. The application retrieves data from a Microsoft SQL Server 2005 database by using a set of methods from a Web service. The SQL Server 2005 database is hosted on a local server. The Web service is maintained at a local IIS 6.0 Server. You need to evaluate which aspects of the physical design can be modified to accommodate more users. Which two aspects should you consider modifying? (Each answer presents part of the solution. Choose two.)

Which four requirements does the proposed solution meet?

You create Microsoft Windows-based applications. You are creating an application to manage projects. Your company network consists of a single Microsoft Windows Server 2003 Active Directory domain. All servers in the domain run Microsoft Windows Server 2003. All workstations run Microsoft Windows XP Professional.

You are provided with the following requirements:

1. Identify the user for workflow functionality.
2. Store data in a central location to help users access the data from anywhere on the network.
3. Permit data to be stored locally for offline access.
4. Permit access to the central data storage so that future applications can reuse the data.
5. Store application settings locally.
6. Make network communication as secure as possible.

You create an application that relies on Windows domain-based authentication and authorization to identify the user without logging on to the application. You also decide to use Microsoft SQL Server 2005 as the database engine and save the data locally as XML for offline access. You need to validate that the proposed solution meets the requirements. Which four requirements does the proposed solution meet? (Each answer presents part of the solution. Choose four.)

What should you conclude?

You create Microsoft Windows-based applications. You are creating an application that is used to run statistical sales models. Users run this application from 09:00 to 17:00 hours every day to run their analysis. The application requirements state that the application must not consume more than 20 percent of the processor time. The network administrator in your company sends you a graph displaying the processor usage for the application on a specific machine. The graph shows the processor usage for an entire day. The graph referenced by the network administrator is shown in the exhibit. (Refer to the Exhibit.) You need to evaluate the design to find whether the application performance is within the requirements. What should you conclude?

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?

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 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?

What should you recommend?

You create Microsoft Windows-based applications. You need to evaluate the design concept of an application.

The application must meet the following requirements:

The application relies on the operating system for authentication. The application minimizes the amount of data sent over the network when connecting to the database. The application exposes data access code so that the future Web-based and mobile applications can reuse them.
The application permits users to view and edit data contained in tables from a Microsoft SQL Server 2005 database.
The application controls access to the SQL Server 2005 database at the table level.

The design contains the following elements:

The SQL Server 2005 database uses the Windows Authentication mode. A database schema that grants rights to the users at the table level. A stored procedure in Transact-SQL that accesses the necessary data required by the application. A Web service that uses a pre-defined credential to access the database and run the stored procedures. A Microsoft Windows-based application that impersonates the logged-on user and calls the Web service to retrieve and update the data.

You need to evaluate the design and recommend appropriately. What should you recommend?

What should you conclude?

You create Microsoft Windows-based applications. You are creating a sales management application. The application will consume Web services to retrieve and save data to a database server. These Web services will be exposed to a partner extranet so that partners can write applications that will access the same data. The deployment diagram for the entire solution is as shown in the following exhibit. (Refer to the Exhibit.) After deploying the solution, local users and partners report that they are not able to retrieve any data. You find that the client computers are able to access Web applications and Web services hosted by the Web server. You also find that the local applications are able to access other databases on the database server. You need to troubleshoot the issue. What should you conclude?

Which two actions should you perform?

You create Microsoft Windows-based applications. You are creating a sales management application. The application does not use message queuing technology. The logical datacenter diagram for the current solution is displayed in the exhibit. (Refer to the Exhibit.) Before deploying the application, you verify the list of operational requirements. You decide to meet the following operational requirements: Access to the data must be available even if a database server or a Web server is offline.Access to the database must resume automatically. You need to decide how to implement the solution. 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 developing a component that will be used by multiple Windows-based applications in a bank.

Your specification states the following requirements for the BankAccount class:

Store the balance value.
Implement a public property to contain the value of balance. Implement a Deposit method that receives the amount to be deposited. This method does not return anything.
Implement a Withdraw method that receives the amount to be withdrawn. This method does not return anything.
The withdraw and deposit methods must throw exceptions in the following cases:
o Negative values are used as amounts for withdrawal or deposit. o Amounts larger than the current balance are used for withdrawal. You need to create a unit test for the component. What should you do?


Page 1 of 912345...Last »