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. Your responsibilities at Domain.com include the testing and stabilization of applications. You and the development team is currently busy developing an enterprise resource planning solution for Domain.com. The logical design for this application consists of a Microsoft ASP.NET Web application, a Microsoft .NET Remoting component, and a Microsoft Windows service. The Microsoft Windows service hosts the .NET Remoting component which is a marshal-by-reference component. The purpose of this component is to read and update the performance counters. The Web application is designed to access the component via Transmission Control Protocol (TCP) channel. The Web application is hosted on a Web server and the .NET Remoting component is hosted on an application server. A Developer named Mia Hamm has been instructed to perform the integration testing of the component. Following is the step-by step procedure that Mia Hamm followed during the integration testing:
1. Mia Hamm adds the component to an ASP.NET Web application project.
2. Mia Hamm does not configure Remoting in the Web application.
3. Mia Hamm accesses the Web application and invokes methods on the component.
4. The method calls fail.
You need to make a decision as to whether the test results can be considered valid.

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. Your responsibilities at Domain.com include the testing and stabilization of applications. You and the development team is currently busy developing an enterprise resource planning solution for Domain.com. The logical design for this application consists of a Microsoft ASP.NET Web application, a Microsoft .NET Remoting component, and a Microsoft Windows service. The Microsoft Windows service hosts the .NET Remoting component which is a marshal-by-reference component. The purpose of this component is to read and update the performance counters. The Web application is designed to access the component via Transmission Control Protocol (TCP) channel. The Web application is hosted on a Web server and the .NET Remoting component is hosted on an application server. A Developer named Mia Hamm has been instructed to perform the integration testing of the component. Following is the step-by step procedure that Mia Hamm followed during the integration testing:
1. Mia Hamm adds the component to an ASP.NET Web application project.
2. Mia Hamm does not configure Remoting in the Web application.
3. Mia Hamm accesses the Web application and invokes methods on the component.
4. The method calls fail.
You need to make a decision as to whether the test results can be considered valid.

What conclusion can you draw?

A.
The test results are valid.

B.
The test results are invalid. Mia Hamm needs to make use of the inter-process communication (IPC) channel.

C.
The test results are invalid. Mia Hamm should configure Remoting in the Web application.

D.
The test results are invalid. Mia Hamm should not add the component to the Web application.

Explanation:
These test results cannot be valid if .NET Remoting, marshal-by-reference components are executing at the server. If one does not configure .NET Remoting in an application that accesses a marshal-by-reference component, then the component will execute at the client. In this case the client is the Web application. This will then mean that performance counters will be updated on the Web server. To ensure valid results Mia Hamm must configure .NET Remoting in the Web application.
Incorrect answers:
A: The test results will not be valid since Mia Hamm still needs to configure .NET Remoting in the web application.
B: IPC supports communication between different processes on the same computer. In this scenario the Web application and the remote component are hosted on different computers.
D: Although adding the component is not a requirement, it does make provision for the developer to enforce compile-time type checking. Removing the component from the project will not affect the results of the test.



Leave a Reply 0

Your email address will not be published. Required fields are marked *