PrepAway - Latest Free Exam Questions & Answers

Category: 70-529

Exam 70-529: TS: Microsoft .NET Framework 2.0 – Distributed Application Development.

What should you do to ensure that the SOAP signature is not invalidated when the SOAP message is routed?

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?

Which two actions should you perform?

You write a client application that uses a Web service.
The Web service is hosted in a Windows service application.
The Web service can be called only by using TCP.
You are provided with the proxy that is enabled by Web Services Enhancements (WSE) 3.0.
The proxy was generated by adding a Web reference by using Microsoft Visual Studio 2005.
You need to ensure that the proxy calls the Web service correctly.

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

Which two actions should you perform?

A Windows-based application sends messages to the TestMessageQueue queue.

An acknowledgement message must be sent to the TestMessageQueueAdmin queue when:
The original message is retrieved from TestMessageQueue.
The message has not been retrieved from TestMessageQueue after a specified time period.

The following code is used to send a message to the TestMessageQueue queue.

(Line numbers are included for reference only.)
01 MessageQueue mq = new MessageQueue(".TestMessageQueue");
02 MessageQueue mqAdmin = new MessageQueue(".TestMessageQueueAdmin");
03 Message m = new Message(messageBody);
04 m.AcknowledgeType = AcknowledgeTypes.PositiveReceive;
05 mq.Send(m);

You need to ensure that an acknowledgement message is sent to the TestMessageQueueAdmin queue as required.
Which two actions should you perform?
(Each correct answer presents part of the solution. Choose two.)

Which code segment should you use?

You create a Web service that exposes a Web method named CalculateStatistics.

The response returned by the CalculateStatistics method for each set of input parameters changes every 60 seconds.
You need to ensure that all requests to the CalculateStatistics method that have the same set of input parameters, and that occur within a 60-second time period, calculate the statistics only once.

Which code segment should you use?


Page 2 of 3123