Which XML segment should you add to the system.serviceModel configuration section of the web.config 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?
Which two actions should you recommend?
You are designing an n-tier solution that connects to a Microsoft SQL Server 2008 database.
You plan to deploy the database to development machines and to a staging database server from within Microsoft Visual Studio 2010. You plan to set up separate build configurations for development and staging. You also plan to deploy to multiple production database servers managed by an outside vendor.
You must not allow the outside vendor to access the visual Studio projects.
You need to recommend an approach for configuring and deploying the production database servers.
Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)
Which element should you add to the system.serviceModel section in the application configuration file?
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?
What should you recommend?
You are designing a distributed Windows Presentation Foundation (WPF) application.
You have the following requirements:
Ensure that all errors are logged in a central location. Ensure that the WPF application logs related errors within a single transaction.
Secure error information during transmission.
You need to recommend a strategy for collecting error information.
What should you recommend?
Which message encoding should you use?
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?
Which strategy should you recommend?
You are designing a distributed application that will be deployed to 5,000 users worldwide. Servers on five continents will host the Web services and the Microsoft SQL Server 2008 databases that support the application.
You have the following requirements:
Collect information about all errors associated with the application. Store and view all error information in a centralized location. Minimize the network bandwidth required for the transfer of error information.
You need to recommend a strategy for reporting error information.
Which strategy should you recommend?
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?
which class should you inherit?
You are designing a Windows Presentation Foundation (WPF) application that connects to a data access layer on a server.
You have the following requirements for all security-related exceptions:
Exceptions that occur in the data access layer must be handled in a single exception handler in the WPF application.
Exceptions must pass customized messages back to the WPF application.
You need to recommend an approach for creating new exception classes in the data access layer.
From which class should you inherit?
What should you do?
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?
What should you recommend?
You are designing a Windows Forms application. The application connects to a Microsoft SQL Server 2008 database.
You need to recommend an approach for retrieving and logging all informational messages and error messages reported by the database.
What should you recommend?