Online Access Free 70-513 Practice Test
| Exam Code: | 70-513 |
| Exam Name: | TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4 |
| Certification Provider: | Microsoft |
| Free Question Number: | 323 |
| Posted: | Jun 04, 2026 |
You have a Windows Communication Foundation (WCF) service.
The service has issues with performance when it receives messages on a specific endpoint. The service must collect the minimum number of performance counters to diagnose the message issues.
You need to configure the service.
In the web.config file for the service, what should you do?
You are developing a Windows Communication Foundation (WCF) service that returns location information for authorized law enforcement agencies. The service contract is as follows.
Users are authenticated and impersonated. The system uses ASP.NET roles. The members of law enforcement are members of the LawEnforcement role.
You need to ensure that only members of the LawEnforcement role can call these methods.
What are two possible ways to achieve this goal (Each correct answer presents a complete solution? Choose two.)
You are developing a Windows Communication Foundation (WCF) service. You establish that the largest size of valid messages is 8,000 bytes. You notice that many malformed messages are being transmitted.
Detailed information about whether each message is malformed must be logged.
You need to ensure that this information is saved in XML format so that it can be easily analyzed.
What should you add to the service configuration file?
Your company has a Windows Communication Foundation (WCF) service at the URL http://services.contoso.com/OrderLookupService.svc.
The <system.serviceModel> section of the configuration file is as follows. (Line numbers are included for reference only.)
01 <system.serviceModel> 02 <behaviors> 03 <serviceBehaviors> 04 <behavior> 05 <serviceDebug includeExceptionDetailInFaults="false"/>
07 </behavior>
08 </serviceBehaviors>
09 </behaviors>
10 <serviceHostingEnvironmentmultipleSiteBindingsEnabled="true" />
11 </system.serviceModel>
You need to ensure that the service publishes the WSDL description at http://services.contoso.com/OrderLookupService.svc?wsdl.
What should you do?
A Windows Communication Foundation (WCF) service interacts with the database of a workflow engine. Data access authorization is managed by the database, which raises security exceptions if a user is unauthorized to access it.
You need to ensure that the application transmits the exceptions raised by the database to the client that is calling the service.
Which behavior should you configure and apply to the service?