PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application contains an ASP.NET Web page that will be accessible through the Internet.
The page contains a Web form that captures data that will be stored in a Microsoft SQL Server 2008 database.
The form currently uses a POST method. The page also contains JavaScript validation routines.
The validation routines will be used to ensure that the input to the form meets the business requirements and does not contain any code that is harmful.
There is currently no server-side validation being performed. You need to review the application and resolve security flaws in the page.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5. An existing application uses functionality provided by an unmanaged dynamic-link library (DLL) to validate user inputs. The application contains a wrapper class that uses Platform Invoke to access the required DLL functions. The application has the following deployment and security requirements:

* ClickOnce deployment is used to publish the application to an Internet Web site.
* The application is available online only.
* The application does not require protected storage.
* Users can access the application without requiring the elevated permission.

You need to ensure that the deployment and security requirements are met without affecting the application validation performance. What should you do?

What should you do?

You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003.
The implementation of asynchronous calls and remoting events form part of your responsibilities at Domain.com. You have created a Microsoft.NET Remoting component that will import data into a database. The Microsot.NET Remoting component seems to work but you had complaints regarding sluggish client-side performance. To this end you need to apply the OneWay attribute to methods in the component so as to improve the client-side performance.

What should you do?

What should you do?

You create a Windows Forms application by using the .NET Framework 3.5.
The application has a data entry form that includes the following controls:
A Label control docked to the bottom of the form to provide status details
A TextBox control docked to the top of the form to provide search functionality
You plan to design 10 additional Windows forms that have the same search functionality and status label.
The background color and the font size of the Label control for different forms will be different.
You need to ensure that the functionality is shared between forms by using minimum development effort.
What should you do?

What should you do?

You create an application by using Microsoft Visual Studio 2008 and the .NET Framework 3.5.
The application is hosted on a Web server that runs Microsoft Windows Server 2003. It connects to a third-party system by using Web service calls.
The third-party system experiences occasional unplanned outages. When a system outage occurs, the application must perform the following tasks:
– Log error details.
– Notify an on-call technician.
You need to develop a strategy to perform the required tasks.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5. The application stores data in a Microsoft SQL Server 2008 database. You discover the following performance issues:

* The application takes a long time to respond.
* The application consumes over 900 MB of RAM.

You need to ascertain the reason for the poor performance of the application.What should you do?

What should you do?

You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003.
The development of client applications forms part of your responsibilities at Domain.com. You are currently developing a client application that will use Microsoft.NET Remoting to access functionality implemented by a remote component. This remote component is exposed through the HyperText Transfer Protocol (HTTP) channel. Furthermore the remote component will make use of the default formatter to serialize and deserialize data. You now need to configure the client application in such a way so as to enable it to serialize data in a form that is expected by the remote component. You may not use custom channels and formatters.

What should you do? (Choose the correct configuration.)

What should you do?

You create a Windows application by using the .NET Framework 3.5.
The application is used in a corporate environment to maintain the contact information of all employees.
You create a Windows client application to browse through employee contacts information. All data is
stored on a central Microsoft SQL Server 2008 database, and smart clients are deployed on each
computer.
You discover that users often browse through the same contacts data several times.
You need to prevent unnecessary round trips to bind the data from the server.
What should you do?

What should you do?

You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
To access a Microsoft SQL Server database, the application reads the following connection string from the Web.config file.

Server=SQL1;Database=Contoso;Integrated Security=SSPI;

The application is configured to use the Microsoft Internet Information Services (IIS) anonymous authentication.
You deploy the application to a production server that hosts several corporate ASP.NET applications.
You discover that database authentication fails on the production server. You need to ensure that the application can connect to the database.
You also need to ensure that no additional applications are granted access to the database.
What should you do?

Which two actions should you perform?

You create a Windows application by using the .NET Framework 3.5. The application uses a Microsoft SQL Server 2008 database. You discover that the application is non-responsive and performs slowly at certain times during the day. Twenty-five additional users are added to the application to meet a deadline. You need to ensure that all users experience a consistent level of high application performance throughout the day. You want to achieve this goal by using minimum development effort. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)