PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which three actions should you perform?

You are creating an application named App1. You use ClickOnce deployment to distribute App1.exe and multiple assemblies. Some users require only some of the functionality in App1. You need to limit the size of the initial download of the application. You also need to ensure that users can download the assemblies on demand. Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)

What should you do?

You are converting an application to use .NET Framework remoting.

The server portion of the application monitors stock prices and contains a class named StockPriceServer, which is a Server Activated Object (SAO).
The client computer interacts with the server using a common assembly.
When the server attempts to raise an event on the client computer, the server throws the following exception.System.IO.FileNotFoundException.
You discover that the event delegate is not being called on the client computer. You need to ensure that the server application can raise the event on the client computer.

What should you do?

Which code segment should you choose?

You are developing a utility screen for a new client application. The utility screen displays a thermometer that conveys the current status of processes being carried out by the application. You need to draw a rectangle on the screen to serve as the background of the thermometer as shown in the exhibit. The rectangle must be filled with gradient shading. (Click the Exhibit button.) Which code segment should you choose?

What should you do?

You create a .NET Framework remoting application that provides stock information to customers.
The server component raises an event on the client computer when certain conditions are met.
You need to ensure the server raises exactly one event for each client application that is registered for the event.

What should you do?

Which code segment should you use?

You are using the Microsoft Visual Studio 2005 IDE to examine the output of a method that returns a string. You assign the output of the method to a string variable named fName.

You need to write a code segment that prints the following on a single line

The message: “Test Failed: “
The value of fName if the value of fName does not equal “John”

You also need to ensure that the code segment simultaneously facilitates uninterrupted execution of the application. Which code segment should you use?

Which monitoring feature should you use?

You are an enterprise application developer. You are designing monitoring features for an ASP.NET Web-based application.
The monitoring features must meet the following requirements:

Log events to a data source for later review.
Read configuration settings from the Web.config file. Monitor the application after deployment to production.

You decide to use a monitoring feature built into Microsoft .NET Framework. You need to choose
an appropriate monitoring feature. Which monitoring feature should you use?

What should you do?

You are writing a Web service application that uses Web Services Enhancements (WSE) 3.0 policies.
The Web service request and response data must be signed.
Routing occurs between the client and server computers, and uses the Action SOAP header of the SOAP messages.
You need to ensure that the SOAP signature is not invalidated when the SOAP message is routed.

What should you do?