70-503 無料問題集「Microsoft TS: Microsoft .NET Framework 3.5 C Windows Communication Foundation」

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You create the following service definition.
<ServiceContractQ> _ Public Interface IMyService ... End Interface
You need to custom manage the lifetime of the session.
Which service implementation should you use?

You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. You need to use a custom service host to host the WCF service in Windows Activation Services (WAS).
What should you do?

You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5.
The WCF service must authenticate the client applications by validating credit card numbers and expiry dates. You write the following code segment. (Line numbers are included for reference only.)
01 class CreditCardTokenAuthenticator: SecurityTokenAuthenticator
02 {
03 // Implementation of other abstract methods comes here.
04 protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
05 {
06 CreditCardToken creditCardToken = token as CreditCardToken;
07 }
09 private bool IsCardValid(string cardNumber, 13 DateTime expirationDate)
10 {
11 // Validation code comes here.
12 }
13 }
You need to implement custom authentication for the WCF service. Which code segment should you insert at line 07?

You are creating a distributed application with Windows Communication Foundation by using Microsoft .NET Framework 3.5.
The distributed application topology includes client applications, routers, and services. Communication between the client applications and the services require authentication, confidentiality, and integrity.
You need to ensure that routers are not able to read the contents of the messages. You must achieve this goal without customizing the binding configuration.
Which binding should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5. You have successfully defined a service contract named IManageOrders.
You write the following code segment.

You need to create a fault contract for the MarkOrderClosed method on the IManageOrders service contract. Which code segment should you add?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to host the service in a medium trust environment on a Web server.
Which two bindings should you use? (Each correct answer presents a complete solution. Choose two.)

正解:B、C 解答を投票する
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You define the following data contract.

You need to identify the structure of the resulting XML instance document. Which structure will the data contract produce?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You create the following service contract.

You need to create an endpoint for the service contract in the application configuration file.
Which endpoint should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5.
You need to expose two different service endpoints that have the same address.
Which configuration setting should you use?

You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5.
You add the following code segment to the service.

You add the following code segment to the client application. 01 public double PerformCalculations (double num1, double num2) 02 {
04 }
You need to ensure that the DisposeCalculator operation is always called. Which code segment should you insert at line 03?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service will contain an enumeration named OrderState.
The OrderState enumeration will contain the following four values:
The client application must be able to set the state of an Order entity to only the following two values:
You need to create the data contract for OrderState. Which code segment should you use?

You are creating a client application by using Microsoft .NET Framework 3.5. The client application will consume a COM+ application by using the Windows Communication Foundation service. You write the following code segment to implement the COM+ application.

The application ID of the COM+ application is {AppGuidlsHere}.
You need to configure the WCF service to access the COM+ application from the WCF client application. Which code fragment should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You need to programmatically add the following endpoint 49 http://www.abc.com definition to the service.
http://localhost:8000/ExamService/service Which code segment should you use?

You create a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. The WCF service accepts service requests from different partner applications. One of the partner applications occasionally receives faults. You need to identify why the service is generating faults. You must accomplish this goal without interrupting the service. What should you do?

You create a client application by using Microsoft .NET Framework 3.5. The client application uses a Windows Communication Foundation (WCF) service.
The WCF service analyzes incoming message headers to verify whether special processing of the message is required.
The client application accompanies each call to the methods of the service with the address header.
You write the following code segment. (Line numbers are included for reference only.)

You need to ensure that the following requirements are met:
The client application makes a second call to the FindPhoneByAddress method.
The message header of the second call is presented by a variable named newHeader.
Which code segment should you insert at line 11?

You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You define the following data contract.

You need to identify the structure of the resulting XML instance document. Which structure will the data contract produce?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You find that the service starts even though the endpoints have not been configured correctly. You need to create a custom service behavior that throws an exception if the list of endpoints that are configured is not complete. Which code segment should you use?

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡