You are creating a Windows Communication Foundation (WCF) service that responds using plain-old XML
(POX).
You have the following requirements:
You must enable the /catalog.svc IItems operation to respond using the POX, JSON, or ATOM formats.
You also must ensure that the same URL is used regardless of the result type.
You must determine the response format by using the Accepts HTTP header.
What should you do?
You have an existing Windows Communication Foundation (WCF) service. You need to ensure that other
services are notified when the service is started.
What should you do?
You are developing a Windows Communication Foundation (WCF) service that reads messages from a
public non-transactional MSMQ queue.
You need to configure the service to read messages from the failed-delivery queue.
Which URI should you specify in the endpoint configuration settings of the service?
You have an existing Windows Communication Foundation (WCF) service that exposes a service contract
over HTTP.
You need to expose that contract over HTTP and TCP. What should you do?
You have an existing Windows Communication Foundation (WCF) Web service. The Web service is not
responding to messages larger than 64 KB.
You need to ensure that the Web service can accept messages larger than 64 KB without generating
errors. What should you do?
A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents
between systems.
The service has the following requirements:
It must minimize the transmission size by attaching the XML document as is without using escape
characters or base64 encoding.
It must interoperate with systems that use SOAP but are not built on the .NET plafform.
You need to configure the service to support these requirements. Which message encoding should you
use?
You are moving a Windows Communication Foundation (WCF) service into production. You need to be
able to monitor the health of the service.
You only want to enable all performance counter instances exposed by the ServiceModelService counter
group.
Which element should you add to the system.serviceModel section in the application configuration file?
Four Windows Communication Foundation (WCF) services are hosted in Microsoft Internet Information
Services (IIS).
No behavior configuration exists in the web.config fiIe. You need to configure the application so that every
service and
endpoint limits the number of concurrent calls to 50 and the number of concurrent sessions to 25.
Which XML segment should you add to the system.serviceModel configuration section of the web.config
file?
Windows Communication Foundation (WCF) service is self-hosted in a console application.
The service implements the lTimeService service interface in the TimeService class.
You need to configure the service endpoint for HTTP communication. How should you define the service
and endpoint tags?
Windows Communication Foundation (WCF) service will be hosted in Microsoft Internet Information
Services (IIS).
You create a new application in IIS to host this service and copy the service DLL to the bin directory of the
application.
You need to complete the deployment of this service to IIS. What should you do next?