PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You work as the Enterprise application 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. Your responsibilities at Domain.com include the design and development of applications. Domain.com operates as a financial institution. You are currently developing and enterprise application for Domain.com. Following are the aspects that should be taken into account in your design:
1. A Microsoft Windows Forms application that will allow all Domain.com employees to open accounts for customers.
2. A Microsoft ASP.NET Web application that will allow customers to open their own accounts.
3. A component named OpenAccount that manages the flow throughout both applications.

You thus need to decide on the appropriate layer in the design in which to implement these components.

What should you do?

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application must meet the following requirements:

* Create a tracking number to identify errors.
* Display the tracking number to the user when an error occurs.

You need to ensure that all the exceptions that contain the tracking number are logged.
You also need to ensure that the exceptions to new pages that are added to the application are also logged in the same manner.

What should you do?

Which code segment should you insert at line 05?

You create an application by using the Microsoft .NET Framework 3.5 and Microsoft
ADO.NET.You write the following code segment. (Line numbers are included for reference
only.)
01 private void Update (SqlCommand cmdA, SqlCommand cmdB)
02 {
03 using (TransactionScope scope = new TransactionScope())
04 {
05
06 }
07 }
You need to execute the SqlCommand objects named cmdA and cmdB within a single
distributed transaction.Which code segment should you insert at line 05?

What conclusion can you draw?

You work as the Enterprise application 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 design of applications forms part of your responsibilities at Domain.com. You are currently developing a Microsoft ASP.NET Web application that makes use of a data access component to access data in a Microsoft SQL Server 2005 database. This data access component makes use of Microsoft .NET Remoting to enable access over Transmission Control Protocol (TCP) port 9001. You must develop the Microsoft ASP.NET application to enable users to access data in the database via the Web application only. The following table illustrates the logical and physical design aspects that you should take into account when deciding whether the design meets with the security requirement:

What conclusion can you draw?

What should you do?

You are creating ASP.NET applications by using the .NET Framework 3.5.

The application occasionally experiences errors that cannot be reproduced on a test environment.

You need to ensure that the application meets the following requirements:

* All unexpected errors are logged.
* Logging is configured with a minimum amount of modification to the application code.

What should you do?

Which type of binding should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You want to use a built-in binding to support reliable sessions. You need to create a service that uses SOAP to transfer messages between endpoints. The service must deliver the messages only once, and in the same order in which they were sent. Which type of binding should you use?