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

You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service contains the following code segment.

You need to create a service contract that meets the following requirements:
Which code segment should you use?

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 create a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. You need to enable WCF tracing at runtime by using Windows Management Instrumentation (WMI). Which three tasks should you perform? (Each correct answer presents part of the solution. Choose three.)

正解:B、C、E 解答を投票する
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You create the following service contract. (Line numbers are included for reference only.)

You need to ensure that the GetData operation can be accessed by using the URI in the following manner:
Which code segment should you insert at line 04?

DRAG DROP
You are creating an application in Windows Communication Foundation (WCF) by using Microsoft.NET Framework 3.5.
You need to ensure that the client application communicates with the service by using a duplex contract.
Which five actions should you perform? (To answer, move the five appropriate actions from the list of actions to the answer area, and arrange them in the correct order.)
正解:
You are creating a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5.
The client applications are unable to use SSL You need to ensure that clients authenticate by using a token provided by a Security Token Service (STS). What should you do?

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 distributed application by using Microsoft .NET Framework 3.5.
You use Windows Communication Foundation (WCF) to create the application. The operations provided by the WCF server use the remote resources of other computers.
These methods use the credentials provided by the client applications.
You need to ensure that the WCF server can impersonate the client applications to access the remote resources.
Which client application settings should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to insert an additional header in a response message.
What should you do?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to ensure that the service logs only messages that do not conform to the message contract.
Which code fragment should you use?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. You are designing a data contract for a Windows Communication foundation (WCF) service that will be hosted by the application. You need to ensure that the data contract meets the following requirements: It does not support Schema versioning.
It allows additional contract and additional elements to be included over time. It allows the client applications to submit messages that contain additional elements without error.
What should you do?

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 replacing an ASMX Web service with a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
The ASMX Web service has a number of existing clients, which you cannot recompile and redeploy. You need to maintain backward compatibility with the existing clients.
Which code fragment should you use?

You create a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. The WCF service contains two operations named ProcessSimpleOrder and ProcessComplexOrder. You need to expose the ProcessSimpleOrder operation to all the client applications. You also need to expose the ProcessComplexOrder operation only to specific client applications. Which code segment should you use?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You write the following code fragment for the configuration setting. (Line numbers are included for reference only.)
01 <wsHttpBinding>
02 <binding name="simple">
04 </binding>
05 </wsHttpBinding>
You need to ensure that the service uses transport security and allows access to anonymous client applications. Which code fragment should you insert at line 03?

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 write the following code segment to create a service contract. (Line numbers are included for reference only.)

You need to ensure that the client applications always use a binding that supports sessions.
Which code segment should you insert at line 01?

You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.

The service uses a transactional binding. The TransactionFlow property for the binding is set to true. You need to ensure that the MyMethod method meets the following requirements:
Which code segment should you insert at line 05?

You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.

You need to ensure that when the MyMethod method is called, the service is the root of a transaction. Which code segment should you insert at line 09?

弊社を連絡する

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

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

サポート:現在連絡