PrepAway - Latest Free Exam Questions & Answers

Category: 70-554

Exam 70-554: UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise Application Developer by Using the Microsoft .NET Framework: Part 2

What should you do?

You are an enterprise application developer. You are reviewing the following code segment.
(Line numbers are included for reference only.)

01 public class MyResource: IDisposable
{
02
03 private bool disposed = false;
04
05 public void Dispose()
{
06 Dispose(true);
07
}
08
09 private void Dispose(bool disposing)
{
10 if(!this.disposed)
{
11 if(disposing)
{
12 ReleaseManagedResources();
13
}
14 ReleaseUnmanagedResources();
15 disposed = true;
16
}
17
}18
19 ~MyResource()
{
20 ReleaseManagedResources();
21 ReleaseUnmanagedResources();
22
}
23
}

You discover that the Dispose pattern is implemented incorrectly. You need to modify the code segment to ensure that the dispose pattern is implemented correctly.
What should you do?

What should you do?

You are an enterprise application developer. You develop an application that contains a service component that is exposed as a Web service. You plan to expose the service component by using Remoting and Microsoft Message Queuing (MSMQ). You need to test the service component. You also need to ensure that the tests can be reused, regardless of the technology used for communication.
What should you do?

What should you do?

You are an enterprise application developer. You review the design of a component. The component processes billing for an online store application. The application is developed by using ASP.NET 2.0. The component must be highly available during business hours. You need to ensure that the component meets the following requirements: It reads all orders that must be billed. It sends an e-mail notification to the users.It receives confirmation for credit card and bank account transactions.
What should you do?

What should you do?

You are an enterprise application developer. You are creating an ASP.NET Web service. You identify an existing COM component that provides the necessary functionality required by your Web service. You need to wrap the COM component so that it can be accessed by your Web service. You also need to minimize marshalling overhead.
What should you do?

Which application layers and components should you design?

You are an enterprise application developer. You develop a solution by using Microsoft Visual Studio .NET 2005 and .NET Framework 2.0. The solution must meet the following requirements:
* It must be available to the local network through Windows forms.
* It must be available to the Internet through Web forms.
* It must use a predefined set of business objects and rules.It must access data from a Microsoft SQL Server 2005 database.It must avoid code duplication.

You need to design application layers for the solution.
Which application layers and components should you design?

Which two actions should you perform?

You are an enterprise application developer. You are designing an event logging mechanism for a serviced component. You need to ensure that the event logging mechanism meets the following requirements:
* All exception data must be logged after the deployment of the serviced component.
* Access to methods that handle mathematical computations must be logged during development only.

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

What should you do?

You are an enterprise application developer. You develop a Web application by using ASP.NET that runs on Microsoft Windows Server 2003. The ASP.NET application fails to save trace and log data in an event log. You discover that the application has no write access to the registry. You need to ensure that the trace and log information is saved to the event log. You also need to minimize the risk that is associated with the solution.
What should you do?

What should you do?

You are an enterprise application developer. You are creating a client-side service component for an application. The application runs in the security context of the user. The component must store proprietary information in a secure registry store that requires system service-level access by using the ACL of the user. You need to ensure that the component meets the requirement of the application with a minimum level of security risk.
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 trace listeners forms part of your responsibilities at Domain.com. You are currently busy implementing a custom trace that logs errors and warnings in a Microsoft SQL Server 2005 database. The custom trace implementation must allow individual applications to determine whether errors or warnings should be logged at a given time. To this end you install the assembly that contains the trace listener in the global assembly cache (GAC) on an application server.
You need to enable all Web services on the application server to use the trace listener by default. You should ensure that your solution does not force Microsoft Windows Forms applications that run on the server to use the trace listener.

What should you do? (Each correct answer presents part of the solution. Choose two.)


Page 18 of 43« First...10...1617181920...3040...Last »