Online Access Free 070-503 Exam Questions

Exam Code:070-503
Exam Name:TS: Microsoft .NET Framework 3.5 C Windows Communication Foundation
Certification Provider:Microsoft
Free Question Number:270
Posted:Nov 01, 2026
Rating
100%

Question 1

You create a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5. You set up tracing for the service.
The tracing fails because of an error in the service configuration. You need to identify the cause of the error.
What should you do?

Question 2

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?

Question 3

You have created a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
The existing service interface is named IMyService, and contains the following code segment.

You create a new service named IMyServiceVI that contains an operation named DoSomethingElse.
You need to ensure that existing client applications are still able to access the IMyService.DoSomething method without modifying client code.
Which code segment should you use?

Question 4

You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. You create a class named Customer for the WCF service. The Customer class has properties named Id, Name, and BalanceDue.
You plan to convert the Customer class into a data contract.
You need to ensure that only the Id property and the Name property are passed to the client applications.
Which code segment should you use?

Question 5

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You set the logKnownPii attribute to true for the only trace source in the app.config file. You discover that the personal identifiable information (PII) is not logged.
You need to ensure that the PII is logged.
What should you do?

Add Comments

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

insert code
Type the characters from the picture.