PrepAway - Latest Free Exam Questions & Answers

Tag: 70-503

What should you do to successfully enable message logging.?

You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You want to enable message logging.
You add the following code fragment to the service configuration file.

<System.diagnostics>
<sources>
<source name="System.ServiceModel.MessageLogging">
<listeners>
<add name="messages" Type="System.Diagnostics.XmlWriterTraceListener" />
</listeners>
</source>
</sources>
</System.diagnostics>

You receive an exception.
You need to successfully enable message logging. What should you do?

What should you do to meet the following criteria can access the RemoveOrder method?

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:
"AdminUser" is the subject in the client certificate.
"1bf47e90fD0acf4c0009cda65eDaadcf1cedd592" is the thumbprint in the client certificate.
What should you do?

What should you do toaccomplish this goal without interrupting the service?

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?

Which structure will the data contract produce?

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

[DataContract(Namespace="urn:Company.Project")]
public class Person {
[DataMember]
public string FirstName;
[DataMember]
public string LastName;
[DataMember]
public IList<Person> Children;
[DataMember(Name="DateOfBirth")]
public DateTime Birthday;
}

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


Page 2 of 1112345...10...Last »