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 .https://assets.asklib.com/images/image2/2018072616262765304.jpg B .https://assets.asklib.com/images/image2/2018072616263772070.jpg C .https://assets.asklib.com/images/image2/201807261626454751.jpg D .https://assets.asklib.com/images/image2/2018072616265462849.jpg

时间:2022-09-27 01:11:38 所属题库:MCTS(70-513)题库

相似题目

  • You have a secured Windows Communication Foundation (WCF) service. You need to track unsuccessful attempts to access the service. What should you do?()

    A . Set the authorization Manager Type attribute of the service Authorization behavior to Message. B . Set the include Exception Detailsln Faults attribute of the service Debug behavior to true. C . Set the Mode attribute of the security configuration element to Message. D . Set the message Authentication AuditLevel attribute of the service Security Audit behavior to Failure.

  • You are developing a Windows Communication Foundation (WCF) service. You need to enable security auditing for all events. What should you do?()

    A . Set the serviceAuthorizationAuditLevel setting to Success and the messageAuthenticationAuditLevel setting to Success. B . Set the messageAuthenticationAuditLevel setting to Success and the auditLogLocation setting to Application. C . Set the serviceAuthorizationAuditLevel setting to SuccessAndFailure and the messageAuthenticationAuditLevel setting to SuccessAndFailure. D . Set the messageAuthenticationAuditLevel setting to SuccessAndFailure and the auditLogLocation setting to Security.

  • You and a co-worker have established wireless communication directly between your wireless laptops. What type of wireless topology has been created?()

    A . BSS B . ESS C . IBSS D . SSID

  • You need to design a method of communication between the IT and HR departments. Your solution must meet business requirements. What should you do?()

    A . Design a custom IPSec policy to implement Encapsulating Security Payload (ESP) for all IP traffic Design the IPSec policy to use certificate-based authentication between the two departments’ computers B . Design a customer IPSec policy to implement Authentication Header (AH) for all IP traffic. Desing the IPSec policy to use preshared key authentication between the two departments’ computers C . Design a customer IPSec policy to implement Encapsulating Payload (ESP) for all IP traffic. Desing the IPSec policy to use preshared key authentication between the two departments’ computers D . Design a customer IPSec policy to implement Authentication Header (AH) for all IP traffic. Desing the IPSec policy to use certificate-based authentication between the two departments’ computer

  • The bigger your audience,() complicated communication channel choice becomes.

    A . more B . it is more C . the more D . the most

  • What, according to your textbook, is the term for anything that impedes the communication of a message?

  • what are the tips to improve your communication skills?

  • The belief that your own cultural background, including ways of analyzing problems, values, beliefs, language, and verbal and nonverbal communication, is superior.

  • You are developing a client application that consumes a Windows Communication Foundation (

    You are developing a client application that consumes a Windows Communication Foundation (WCF) service.The operation contract is as follows.[OperationContract][FaultContract(typeof(SalesFault))]string GetSales(string saleId);()The service configuration file contains the following line in the serviceBehaviors section.A divide-by-zero exception is not being handled by the service.You need to ensure that the exception is caught in the client application.Which type of exception should the client catch?() A. TimeoutException B. FaultException C. DivideByZeroException D. FaultException<SalesFault>

  • You are developing a Windows Communication Foundation (WCF) service. The following code de

    You are developing a Windows Communication Foundation (WCF) service. The following code defines and implements the service. (Line numbers are included for reference only.)01 [ServiceContract(SessionMode = SessionMode.Allowed)]02 public interface ICatchAll03 {04 [OperationContract(IsOneWay = false, Action = &quot;*&quot;, ReplyAction = &quot;*&quot;)]05 Message ProcessMessage(Message message);06 }0708 public class CatchAllService : ICatchAll09 {10 public Message ProcessMessage(Message message)11 {1213 ...14 return returnMsg;15 }16 }You need to ensure that two identical copies of the received message are created in the service.Which code segment should you insert at line 12?() A.<img src='https://img2.soutiyun.com/ask/uploadfile/2019-02-04/fab6269351e4a04ee0a851d5f96dd506.jpg' /> B.<img src='https://img2.soutiyun.com/ask/uploadfile/2019-02-04/98c2a291de971b52b6b11f0f31a030d2.jpg' /> C.<img src='https://img2.soutiyun.com/ask/uploadfile/2019-02-04/d546143d78ff2c6f1aed7463f1a53f65.jpg' /> D.<img src='https://img2.soutiyun.com/ask/uploadfile/2019-02-04/ce013fc7da98b989aab41a9ab89c550d.jpg' />

  • A Windows Communication Foundation (WCF) service is deployed with netTcpBinding.This servi

    A Windows Communication Foundation (WCF) service is deployed with netTcpBinding.This service uses a duplex message exchange pattern.You are developing the next version of the WCF service.You discover that your company‘s hardware load balancer performs correctly only for WCF services that use HTTP.You need to ensure that your service works with the load balancer.What should you do?() A. Use basicHttpBinding. B. Create a custom binding that has the compositeDuplex, textMessageEncoding, and namedPipeTransport binding elements in this order. C. Create a custom binding that has the compositeDuplex, textMessageEncoding, and wsHttpTransport binding elements in this order. D. Use wsHttpBinding.

  • You are creating a Windows Communication Foundation (WCF) service. The service endpoints c

    You are creating a Windows Communication Foundation (WCF) service. The service endpoints change frequently. On the service, you add a new ServiceDiscoveryBehavior to the Behaviors collection of the ServiceHost Description property. You need to ensure that client applications can communicate with the service and discover changes to the service endpoints.What should you do?() A. Add a new ServiceDiscoveryBehavior to the Behaviors collection in the client application. B. Add a new AnnouncementClient to the Behaviors collection in the client application. C. Use the FindCriteria class and the UdpDiscoveryEndpoint class to set up the binding in the client application. D. Use the DiscoveryProxy class and the EndpointDiscoveryMetadata class to set up the binding in the client application.

  • You are developing a Windows Communication Foundation (WCF) service. The service needs to

    You are developing a Windows Communication Foundation (WCF) service. The service needs to access out-of-process resources.You need to ensure that the service accesses these resources on behalf of the originating caller. What should you do?() A. Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to TokenlmpersonationLevel.Impersonation B. Set the value of ServiceSecurityContext.Current.Windowsldentity.ImpersonationLevel to TokenlmpersonationLevel.Delegation C. Set the PrincipalPermissionAttribute on the service contract and update the binding attribute in the endpoint element of the configuration file to wsHttpBinding D. Set the PnncipalPermissionAttribute on the service contract and update the bindingConfiguration attribute in the endpoint element of the configuration file to wsHttpBinding

  • Windows Communication Foundation (WCF) service will be hosted in Microsoft Internet Inform

    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?() A. Create an asmx file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory. B. Create an .asmx file and add a @Register directive to this file. Copy the file to the bin directoyy of the application. C. Create a svc file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory. D. Create a .svc file and add a @Register directive to this file. Copy the file to the bin directory of the application.

  • You are developing a Windows Communication Foundation (WCF) service. You enable logging in

    You are developing a Windows Communication Foundation (WCF) service. You enable logging in the configuration file.The opening tag is defined as follows.<messagelogging br=&quot;&quot; logentiremessage=&quot;true&quot;> logMalformedMessages=&quot;true&quot;logMessagesAtServiceLevel=&quot;true&quot;logMessagesAtTransportLevel=&quot;true&quot;maxMessagesToLog=&quot;20&quot;>You need to ensure that logging is implemented so that only messages with SOAP headers are logged.What should you add to the filters element of the application configuration file?() A.<img src='https://img2.soutiyun.com/ask/uploadfile/2019-02-04/dabf07576919d2888eaaebeeefbe8e42.jpg' /> B.<img src='https://img2.soutiyun.com/ask/uploadfile/2019-02-04/0d3fc5a751c48bf4454f58321ef53f4c.jpg' /> C.<img src='https://img2.soutiyun.com/ask/uploadfile/2019-02-04/c3e7538a5accad25aa4ac16ce8d2126d.jpg' /> D.<img src='https://img2.soutiyun.com/ask/uploadfile/2019-02-04/241428daaa8185f55a085326b8cf7f39.jpg' />

  • You are moving a Windows Communication Foundation (WCF) service into production. You need

    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?() A. <diagnostics performancecounters=&quot;ServiceOnly&quot;> B. <diagnostics performancecounters=&quot;Off&quot; wmiproviderenabled=&quot;true&quot;> C. <diagnostics performancecounters=&quot;All&quot;> D. <diagnostics wmiproviderenabled=&quot;true&quot;>

  • You have an existing Windows Communication Foundation (WCF) Web service. The Web service i

    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. Increase the value of maxReceivedMessageSize on the endpoint binding. B. Increase the value of maxRequestLength on the httpRuntime element. C. Increase the value of maxBufferSize on the endpoint binding. D. Increase the value of maxBufferPoolSize on the endpoint binding.

  • You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding.

    You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding. New audit requirements dictate that callers must be authenticated on every call to ensure that their credentials have not been revoked.You need to ensure that the service will not cache the security request token. What should you do?() A. Apply a ServiceBehavior attribute to the service implementation class with the lnstanceContextMode property set to Single. B. In the message security configuration, change clientCredentialType from lssuedToken to UserName C. In the message security configuration, set establishSecurityContext to false. D. At the end of every operation, call the SessionStateUtility.RaiseSessionEnd method.

  • Everything from your sex, racial background, social class, and communication style. all influences your body language.翻译

  • A Windows Communication Foundation (WCF) solution uses the following contract:[ServiceCont

    A Windows Communication Foundation (WCF) solution uses the following contract:[ServiceContract(SessionMode=SessionMode.Allowed)]public interface IMyService{ [OperationContract(IsTerminating=false)] void Initialize();[OperationContract(IsInitiating=false)] void DoSomething(); [OperationContract(IsTerminating=true)] void Terminate();}You need to change this interface so that: lnitialize is allowed to be called at any time before Terminate is called. DoSomething is allowed to be called only after Initialize is called, and not allowed to be called after Terminate is called. Terminate will be allowed to be called only after Initalize is called.Which two actions should you perform? (Each correct answer presents part of the sdution. Choose two)()。 A. Change the ServiceContract attribute of the IMyService interface to the following. [ServiceContract(SessionMode=SessionMode.Required)] B. Change the ServiceContract attrbute of the IMyService interface to the following [ServiceContract(SessionMode=SessionMode.Allowed)] C. Change the OperationContract attribute of the Initialize operation to the following. [OperationContract(IsInitiating = true, IsTerminating = false)] D. Change the OperationContract attribute of the Terminate operation to the following [OperationContract(IsInitiating = false, IsTerminating = true)]

  • Choose the best word to fill in the sentence&8211;Public speaking is a vital means of communication, and a way of expressing your()

    A.strength B.knowledge C.idea D.intelligence

  • You develop a Windows Communication Foundation (WCF) service that uses basic authenticatio

    You develop a Windows Communication Foundation (WCF) service that uses basic authentication for client credentials. This service is currently configured to use message security. The service is hosted on a server in workgroup mode.Users report that their passwords are stolen when they use public computers.You need to ensure that messages are secure and users are authenticated.You prevent the service from being called over HTTP through Microsoft Internet Information Services (IIS) configuration.What should you do next?() A. Use the transport security mode and specify None for transport client credential type. B. Use the transportWithMessageCredential security mode and specify Basic for the transport client credential type. C. Use the message security mode and specify Basic for the transport client credential type. D. Use the transportWithMessageCredential security mode and specify None for the transport client credential type.

  • You are creating a Windows Communication Foundation (WCF) service that is implemented as f

    You are creating a Windows Communication Foundation (WCF) service that is implemented as follows.(Line numbers are included for reference only.)01 [ServiceContract]02 [ServiceBehavior(IncludeExceptionDetailsInFaults = true)]03 public class OrderService04 {05 [OperationContract]06 public void SubmitOrder(Order anOrder)07 {08 try09 {10 ...11 }12 catch(DivideByZeroException ex)13 {14 ...15 }16 }17 }You need to ensure that the stack trace details of the exception are not included in the error information sent to the client.What should you do?() A. Replace line 14 with the following line: throw; B. Replace line 14 with the following line: throw new FaultException<order>(anOrder, ex.ToString()); C. After line 05, add the following line: [FaultContract(typeof(FaultException<order>))] Replace line 14 with the following line: throw ex; D. Alter line 05, add the following line: [FaultContract(typeof(FaultException<order>))] Replace line 14 with the following line: throw new FaultException<order>(anOrder, &quot;Divide by zero exception&quot;);</order></order></order></order>

  • A Windows Communication Foundation (WCF) service implements a contract with one-way and re

    A Windows Communication Foundation (WCF) service implements a contract with one-way and request-reply operations.The service is exposed over a TCP transport. Clients use a router to communicate with the service. The router is implemented as follows. (Line numbers are included for reference only.) 01 ServiceHost host = new ServiceHost(typeof(RoutingService)); 02 host.AddServiceEndpoint( 03 typeof(ISimplexDatagramRouter), 04 new NetTcpBinding(), &quot;net.tcp://localhost/Router&quot; 05 ); 06 List lep = new List(); 07 lep.Add( 08 new ServiceEndpoint( 09 ContractDescription.GetContract( 10 typeof(ISimplexDatagramRouter) 11 ), 12 new NetTcpBinding(), 13 new EndpointAddress(&quot;net.tcp://localhost:8080/Logger&quot;) 14 ) 15 ); 16 RoutingConfiguration rc = new RoutingConfiguration(); 17 rc.FilterTable.Add(new MatchAllMessageFilter(), lep); 18 host.Description.Behaviors.Add(new RoutingBehavior(rc));Request-reply operations are failing. You need to ensure that the router can handle one-way and request-reply operations.What should you do?()