题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-12-04 03:49:38

[单项选择]You are hosting a Windows Communication Foundation (WCF) service at http://www.contoso.com for a law enforcement agency.The agency adds operations to support sending biometric fingerprint data via non-buffered streaming.The service data is routed between intermediaries. The WCF binding you are using by default does not support encryption.You need to ensure that the fingerprint data is not disclosed when passed over the network. What should you do?()
A. Use basicHttpBinding with message security to https://www.contoso.com
B. Use basicHttpBinding with transport security to https://www.contoso.com
C. Use wsHttpBinding with message security to https://www.contoso.com
D. Use wsHttpBinding with transport security to http://www.contoso.com

更多"You are hosting a Windows Communica"的相关试题:

[单项选择] You are hosting a Windows Communication Foundation (WCF) service under Microsoft Interent Information Services (IIS) 7.0. You have set up a web site in IIS Manager. The physical path is c:/wwwroot/Calendar. There is a Calendar.svc file in the c:/wwwroot/Calendar folder. It contains the following directive: <% @ServiceHost Language="C#" Debug="true" Service="Calendar.Calendar" CodeBehind="CalendarSvc.cs" %> The CalendarSvc.cs file contains the source for the Calendar class in the Calendar namespace. You compile this code into the Calendar.dll file. You need to deploy your service to the web site. What should you do?()
A. Copy the Calendar.dll file to the c:/wwwroot/Calendar/code folder
B. Copy the Calendar.dll file to the c:/wwwroot/Calendar/bin folder
C. Copy the Calendar.svc.cs file to the c:/wwwroot/Calendar/bin folder
D. Copy the Calendar.svc.cs file to the c:/wwwroot/Calendar/code folder
[单项选择]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.
B.
C.
D.
[单项选择]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?()
A. Transport Security Binding Element
B. Https Transport Binding Element
C. Ssl Stream Secunty Binding Element
D. Windows Stream Security Binding Element
[单项选择] You develop a Windows Communication Foundation (WCF) service. You enable all performance counters and run multiple calls to the service.The service must isolate session data to each user. You need to monitor the instancing behaviour used in the service. Which performance counter should you monitor?()
A. ServiceModeService 4.0.0.0/Calls
B. ServiceModeService 4.0.0.0/Instances
C. ASP.Net StateService / Server Sessions Active
D. ASP.Net StateService / Server Sessions Total
[单项选择] You create a Windows Communication Foundation (WCF) service and deploy it with wsHttpBinding and message security enabled.You create an intermediate WCF service for logging messages sent to the primary service.The intermediate service is called via endpoint behaviour. The primary service is receiving malformed data from a client application.You need to enable inspection of the malformed data and prevent message tampering. What do you do?()
A. Specify a protection level of None in the contract for the intermediate service. Disable message and transport security from the client application configuration file.
B. Specify a protection level of Sign in the contract for the intermediate service. Disable transport security from the client application configuration file.
C. Modify the binding on the intermediate service to use netNamedPipeBinding.
D. Modify the binding on the intermediate service to use webHttpBinding.
[单项选择]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.
[单项选择]A Windows Communication Foundation (WCF) application exposes a service as a SOAP endpoint for consumption by cross-platform clients.During integration testing, you find that one of the clients is not generating the correct messages to the WCF application.In order to debug the issue and fix the communication, you need to configure the service to log messages received from the client.What should you do?()
A. Set an etwTracking behavior on the service and configure a listener for the System.ServiceModel trace source.
B. Set an etwTracking behavior on the service and configure a listener for the System.ServiceModel.MessageLogging trace source.
C. Enable messageLogging in the System.ServiceModel diagnostics element configuration and configure a listener for the System.ServiceModel.MessageLogging trace source.
D. Enable messageLogging in the System.ServiceModel diagnostics element configuration and configure a listener for the System.ServiceModel trace source.
[单项选择] A Windows Communication Foundation (WCF) solution exposes the following service over a TCP binding.(Line numbers are included for reference only.) 01 [ServiceContract] 02 [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)] 03 public class DataAccessService 04 { 05 [OperationContract] 06 public void PutMessage(string message) 07 { 08 MessageDatabase.PutMessage(message); 09 } 10 [OperationContract] 11 pubic string[] SearchMessages(string search) 12 { 13 return MessageDatabase.SearchMessages(search); 14 } 15 } MessageDatabase supports a limited number of concurrent executions of its methods. You need to change the service to allow up to the maximum number of executions of the methods of MessageDatabase. This should be implemented without preventing customers from connecting to the service. What should you do?()
A. Change the service behavior as follows. [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple, InstanceContextMode = InstanceContextMode.Single)]
B. Change the service behavior as follows. [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Single, InstanceContextMode = InstanceContextMode.PerSession)]
C. Add a throttling behavior to the service, and configure the maxConcurrentCalls.
D. Add a throttling behavior to the service, and configure the maxConcurrentSessions.
[单项选择]A Windows Communication Foundation (WCF) service that handles corporate accounting must be changed to comply with government regulations of auditing and accountability. You need to configure the WCF service to execute under the Windows logged-on identity of the calling application.What should you do?()
A. Within the service configuration, add a Service Authorization behavior to the service, and set Impersonate Caller For All Operations to true.
B. Within the service configuration, add a Service Authentication Manager behavior to the service, and set Service Authentication Manager Type to Impersonate.
C. Within the service configuration, add a serviceSecurityAudit behavior to the service, and set service Authorization AuditLevel to Success Or Failure.
D. Within the service configuration, add a ServiceCredentials behavior to the service, and set type to Impersonate.
[单项选择]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
[单项选择] A Windows Communication Foundation (WCF) client uses the following service contract.(Line numbers are included for reference only.) 01 [ServiceContract] 02 public interface IService 03 { 04 [OperationContract] 05 string Operation1( ); 06 [OperationContract] 07 string Operation2( ); 08 } You need to ensure that all calls to Operation1 and Operation2 from the client are encrypted and signed. What should you do?()
A. Set the ProtectionLevel property in line 01 to EncryptAndSign.
B. Set the ProtectionLevel property in line 04 and line 06 to Sign.
C. Add a SecurityCriticalAttribute ror each operation.
D. Add a SecunitySafeCriticalAttribute for each operation.

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码