Microsoft 70-503 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 70-503
  • Exam Name/Title: TS: Microsoft .NET Framework 3.5 C Windows Communication Foundation
  • Certification Provider: Microsoft
  • Corresponding Certification: MCTS
  • Exam Questions: 270
  • Updated On: Jun 01, 2026
You create a client application by using Microsoft .NET Framework 3.5. The client application consumes a Windows Communication Foundation service that uses the netMsmqBinding binding.
The binding uses a private transactional queue named Library.
The following code fragment is part of the application configuration file.
(Line numbers are included for reference only.)
01 <endpoint binding="netMsmqBinding"
02 contract="ServiceReference.ILibrary"
04 />
You need to specify the address of the endpoint. Which attribute should you insert at line 03?
Correct Answer: D Vote an answer
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The metadata for the service is available at http://localhost:8080/MyService/mex.
The svcutil.exe tool generates the following two files from the metadata:
You need to ensure that the configuration file is merged with an existing app.config file.
Which command should you use?
Correct Answer: D Vote an answer
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You create the following service contract.
[ServiceContract]
public interface IMyService
{
[OperationContract]
void DoSomething();
}
The service will not use any external resources.
You need to ensure that the calls to the DoSomething operation are thread-safe.
What are the two possible service implementations that you can use to achieve this goal?
(Each correct answer presents a complete solution. Choose two.)
Correct Answer: B,C Vote an answer
You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. The service will authenticate the client applications by using Personal Information Cards. You write the following code segment. (Line numbers are included for reference only.)

You need to ensure that only those client applications that provide a valid e-mail address can execute the Update method. Which code segment should you insert at line 15?
Correct Answer: B Vote an answer
You have some code:
<system.diagnostics>
<sources>
(.......)
<listeners>
<add name="DefaultListener" />
</listeners>
</source>
</sources>
What line should you insert at (......) to enable tracing?
Correct Answer: D Vote an answer
You create a stateless, thread-safe service by using Microsoft .NET Framework 3.5.
You use the Windows Communication Foundation model to create the service. Load testing reveals that the service does not scale above 1,000 concurrent users. You discover that each call to the service instantiates a new service instance. You also discover that these service instances are expensive to create. You need to ensure that 5,000 concurrent users can access the service.
Which code segment should you use?
Correct Answer: C Vote an answer
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?
Correct Answer: D Vote an answer
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?
Correct Answer: A Vote an answer
You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. You configure a binding to enable streaming.
You need to ensure that the client application is able to stream large XML files to the WCF service.
Which operation contract should you create?
Correct Answer: C Vote an answer
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
The service receives automation commands for a factory robot.
You need to ensure that the robot receives the commands in the same order as they are
transmitted.
Which binding element should you use?
Correct Answer: A Vote an answer
You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. The WCF service will validate certificates to authorize client applications. You write the following code segment:
class Store: IStore
{
public void RemoveOrder(int ordered)
{
} }
You need to ensure that only those client applications that meet the following criteria can access the RemoveOrder method:
What should you do?
Correct Answer: A Vote an answer
0
0
0
10