Register a custom Service Authorization Manager that implements Check Access. In this method, use System.Convert.ChangeType to transform the incoming claim set to a WindowsClaimSet type.
Apply a PrincipalPermission attribute on the operation with the required claims listed in the Roles property.
Within the operation, verify the presence of the required claims in the current AuthorizationContext.
Register an AuthorizationPolicy that maps external claims to an internal ClaimSet.
第1题:
You are developing a Windows Communication Foundation (WCF) service.You must record all available information for the first 1,000 messages processed, even if they are malformed.You need to configure the message logging section of the configuration file.Which configuration segment should you use? ()
A.
B.
C.
D.
第2题:
A Windows Communication Foundation (WCF) service is required to log all authorization attempts to the Windows Event Log. You need to configure a behavior and apply it to the service to support this requirement. Which behavior should you configure and apply?()
A. service Authentication Manager
B. service Authorization
C. service Credentials
D. service Security Audit
第3题:
A. AnnouncementService
B. AnnouncementClient
C. DiscoveryClient
D. HttpListener
第4题:
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?()
A.
B.
C.
D.
第5题:
Your Windows Communication Foundation (WCF) client application uses HTTP to communicate with the service.You need to enable message logging and include all security information such as tokens and nonces in logged messages.What should you do?()
A.
B.
C.
D.
第6题:
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. This application will be part of a solution that contains a Windows Communication Foundation (WCF) service project. The Web application will be used to make calls to a service identified in theWCF service project. Management is planning to host the Web application on a separate serverfrom the WCF service. They want the WCF service to perform remotely. You need to add areference to the WCF service. What should you do?()
第7题:
A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped.You need to implement a client that logs these notifications. Which class should you use?()
第8题:
You are creating a Windows Communication Foundation (WCF) service. You have the following requirements: Messages must be sent over TCP The service must support transactions. Messages must be encoded using a binary encoding Messages must be secured using Windows stream-based security.You need to implement a custom binding for the service. In which order should the binding stack be configured?()
第9题:
Microsoft Internet Information Services (IIS) 6.0
Windows Process Activation Services (WAS)
A Windows Forms application
A Windows Service
第10题:
Add the WebInvoke(UriTemplate = /Items/{id},Method=DELETE) attribute to the operation.
Add the HttpDelete attribute to the operation.
Replace the string parameter with a RemovedActivityAction parameter.
Replace the return type with RemovedActivityAction.
第11题:
Set the Collection type to ObservableCollection.
Select the Reuse types in all referenced assemblies option.
Select the Generate asynchronous operations option.
Select the Always generate message contracts option.
第12题:
You should add an assembly reference to the project.
You should add a project reference to the project.
You should add a Web reference to the project.
You should add a service reference to the project.
第13题:
You want to debug the Windows Communication Foundation (WCF) client and server interaction through message and application tracing.You need to correlate traces generated on the client and the server. Which XML segment should you add to the system.diagnostics configuration element in the client and server application configuration file?()
A.
B.
C.
D.
第14题:
A. Transport Security Binding Element
B. Https Transport Binding Element
C. Ssl Stream Secunty Binding Element
D. Windows Stream Security Binding Element
第15题:
A. NetTcpContextBinding
B. BasicHttpContextBinding
C. NetTcpBinding
D. NetMsmqBinding
第16题:
A.
B.
C.
D.
第17题:
You are creating a Windows Communication Foundation (WCF) service that implements operations in a RESTful manner. You need to add a delete operation. You implement the delete method as follows:void DeleteItems(string id);You need to configure WCF to call this method when the client calls the service with the HTTP DELETE operation. What should you do?()
A. Add the WebInvoke(UriTemplate="/Items/{id}", Method="DELETE") attribute to the operation
B. Add the HttpDelete atribute to the operation
C. Replace the string parameter with a RemovedActivityAction parameter
D. Replace the return type with RemovedActivityAction.
第18题:
You are building a client for a Windows Communication Foundation (WCF) service. You need to create a proxy to consume this service. Which class should you use?()
第19题:
A Windows Communication Foundation (WCF) service is required to log all authorization attempts to the Windows Event Log. You need to configure a behavior and apply it to the service to support this requirement. Which behavior should you configure and apply?()
第20题:
You are using Windows Communication Foundation (WCF) to create a service. You need to implement a custom message-level security binding element. Which binding element should you use?()
第21题:
ChannelFactory
ClientRuntime
CommunicationObject
第22题:
Add the WebInvoke(UriTemplate=/Items/{id}, Method=DELETE) attribute to the operation
Add the HttpDelete atribute to the operation
Replace the string parameter with a RemovedActivityAction parameter
Replace the return type with RemovedActivityAction.
第23题:
When Windows Azure initializes the worker role instance.
When the worker role instance receives its first request.
When the worker role instance instantiates the WCF service.
When the worker role instance enters the main execution thread.
第24题:
NetTcpContextBinding
BasicHttpContextBinding
NetTcpBinding
NetMsmqBinding