nerdexam
Microsoft

70-518 · Question #117

You are designing an n-tier Windows application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008. The application will replace an existing…

The correct answer is A. Create a common assembly on the UI tier of the new application to interface with the COM. See the full explanation below for the reasoning.

Question

You are designing an n-tier Windows application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008. The application will replace an existing client/server application. The existing application was created by using Microsoft Visual Basic 6.0 and consists of a series of COM components that access a SQL Server database. You plan to move the existing COM components into a Windows Communication Foundation (WCF) tier. You need to ensure that the COM components can be replaced without impacting the existing user interface (UI) tier. You also need to ensure that the COM components can be replaced separately. What should you do?

Options

  • ACreate a common assembly on the UI tier of the new application to interface with the COM
  • BCreate a common assembly on the WCF tier of the new application to interface with the COM
  • CUse .NET COM Interop on the client tier to interact directly with the COM components until
  • DConvert the Visual Basic 6.0 source code to managed code by using the Visual Studio

How the community answered

(31 responses)
  • A
    81% (25)
  • B
    10% (3)
  • C
    6% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 70-518 Practice