PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which three actions should you perform?

You are an enterprise application developer. You are designing an event logging mechanism for a Web service. The Web service will be used to expose financial data.
You need to ensure that the event logging mechanism meets the following requirements:
* Access to all financial data is logged in production for auditing purposes.
* Arithmetic exceptions are logged only during application development.

Event log data is available to the administrators only on the local Web servers.

Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)

Which data access technology should you use?

You create a Windows application by using the .NET Framework 3.5.
The application will connect to a Microsoft SQL Server 2008 database on the network. You are creating
the data access layer for the application.
The database schema will change regularly.
You need to ensure that the schema changes can be applied with minimum possible development effort.
Which data access technology should you use?

What should you do?

You create applications by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You deploy a new Windows Forms application in a test environment. During the test process, an error message that includes an incomplete stack trace is reported.
You review the following code segment that has caused the error.

public int AddNewMission(DateTime date, string mission, string missionLink)
{
try
{
DALCode pgr = new DALCode(“cnWeb”);
int retcode = pgr.AddNewMission(date, mission, missionLink);
return retcode;
}
catch (Exception ex)
{
throw new Exception(ex.Message);
}
finally
{
pgr.Dispose();
}
}
You need to modify the code segment to display the entire stack trace.
What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
You configure the deployment project of the application to deploy an assembly named MyClass.dll to the
global assembly cache (GAC).
You replace the existing version of the application with an updated version.
You discover that because of the presence of an old version of MyClass.dll assembly in the GAC, the
updated version does not function properly.
You need to ensure that when the application is uninstalled for replacement, the MyClass.dll assembly is
deleted from the GAC. What should you do?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You are creating a high-level design for the application. You identify several functionalities that can be developed as reusable components.
You need to identify the public interface for each component from the application design.
What should you do?

Which two actions should you perform?

You are an enterprise application developer. You design an event logging mechanism for a serviced component. You need to ensure that the event logging mechanism conforms to the following requirements: All critical exceptions must be logged for debugging purposes.Administrators must be allowed to enable and disable tracing for different types of event logging.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Which data access technology should you use?

You create a Windows application by using the .NET Framework 3.5.
The application will connect to a Microsoft SQL Server 2008 database on the network. You are creating
the data access layer for the application.
The database schema will change regularly.
You need to ensure that the schema changes can be applied with minimum possible development effort.
Which data access technology should you use?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You plan to add an existing .NET component into the current application. The .NET component has insufficient documentation.
The structure of the classes in the component must be analyzed before they are incorporated in the application.
You need to analyze the members in the component and the dependencies among them.
What should you do?

What should you do?

You are an enterprise application developer. You are creating a multilingual ASP.NET application. The development plan of the application specifies that the English version of the application must be released first, followed by the localized versions. You need to use a deployment mechanism for localization. You also need to ensure that the deployment mechanism requires the minimum amount of development and configuration efforts.
What should you do?