You are developing a Windows Communication Foundation (WCF) service to provide shopping cart support. ASP.NET compatibility mode is not enabled. The shopping cart information must be retained across user visits to the store until the user explicitly empties the cart or submits the cart contents to order.You need to implement the service as a DurableService.Which two actions should you perform? ()(Each correct answer presents part of the solution. Choose two.)
A. Use basicHttpBinding for both the client application and the service.
B. Create the persistence provider database and configure the persistenceProvider element of the service behavior to point to that database.
C. Use wsHttpContextBinding for both the client application and the service.
D. In the method to add an item to the shopping cart, serialize the shopping cart contents after adding the current item and storing it in a Session variable.
第1题
ionfile.ThecustomsectionusesXMLasshowninthefollowingblock.YouneedtowriteacodesegmenttodefineaclassnamedRole.YouneedtoensurethattheRoleclassisinitializedwithvaluesthatareretrievedfromthecustomsectionoftheconfigurationfile.Whichcodesegmentshouldyouuse?()
A.A
B.B
C.C
D.D
第2题
have a standalone Network Policy Server (NPS) named NPS1.You have a VPN server named VPN1. VPN1 is configured as a RADIUS client to NPS1.You need to ensure that users from both forests can establish VPN connections by using their own domain accounts.What should you do?()
A. On NPS1, configure remediation server groups.
B. On NPS1, configure connection request policies.
C. On VPN1, modify the DNS suffix search order.
D. On VPN1, modify the IKEv2 Client connection controls.
第3题
R2.AuditingisconfiguredtologchangesmadetotheManagedByattributeongroupobjectsinanorganizationalunitnamedOU1.YouneedtologchangesmadetotheDescriptionattributeonallgroupobjectsinOU1only.Whatshouldyoudo()
A.Runauditpol.exe.
B.ModifytheauditingentryforOU1.
C.Modifytheauditingentryforthedomain.
D.CreateanewGroupPolicyobject(GPO).EnabletheAuditaccountmanagementpolicysetting.LinktheGPOtoOU1.
第4题
ce 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.
第5题
这个文件。你在 IIS 中拒绝了匿名用户访问 Web 应用。Web 应用以CONTOSO\ASPNET 用户身份进行运行。现在,你在 Web.Config 文件中,增加了如下 XML 段:你需求确保你的Web应用满足如下的需求:1. 当Web应用在写入数据到文件的时候,必须模拟一个用户身份。2. 当用户不访问文件的时候,Web应用必须以CONTOSO\ASPNET身份进行运行。请问,你必须进行下面那两步的操作达到此目的?()
A. 在Web.config 增加XML段 <identity impersonate="false"/>
B. 在Web.config 增加XML段 <identity impersonate="true"/>
C.用下面的代码段进行文件存取:
第6题
unning operation.The service is accessed from your business applications in a server transaction in which the client does not participate.You need to ensure that the transaction times out and aborts if the operation has not completed within 45 seconds.What should you do?()
A. Set the service binding sendTimeout attribute to 00:00:45.
B. Apply [ServiceBehavior(TransactionTimeout="00:00:45")] to the service implementation.
C. Set the service binding receiveTimeout attribute to 00:00:45.
D. Apply [OperationBehavior(TransactionScopeRequired=false)] to the service operation.
第7题
edonthedomaincontroller.Youneedtoperformanon-authoritativerestoreofthedomaincontrollerbyusinganexistingbackupfile.Whatshouldyoudo()
A.RestartthedomaincontrollerinDirectoryServicesRestoreMode.UsetheWBADMINcommandto performacriticalvolumerestore.
B.RestartthedomaincontrollerinDirectoryServicesRestoreMode.UsetheWindowsServerBackupsnap-intoperformacriticalvolumerestore.
C.Restartthedomaincontrollerinsafemode.UsetheWindowsServerBackupsnap-intoperformacriticalvolumerestore.
D.Restartthedomaincontrollerinsafemode.UsetheWBADMINcommandtoperformacriticalvolumerestore.
第8题
named NAS1. NAS1 is configured to use NPS1 for authentication and accounting. A firewall separates NPS1 and NAS1.You need to ensure that NAS1 can successfully send authentication and accounting messages to NPS1.Which ports should you allow through the firewall?()
A. TCP ports 80, 443, 389 and 1645
B. TCP ports 88, 135, 139 and 1813
C. UDP ports 53, 67, 68 and 69
D. UDP ports 1812, 1813, 1645 and 1646
第9题
Computers,anOUforGroups,andanOUforUsers.Youperformnightlybackups.AnadministratordeletestheGroupsOU.YouneedtorestoretheGroupsOUwithoutaffectingusersandcomputersintheSalesOU.Whatshouldyoudo()
A.PerformanauthoritativerestoreoftheSalesOU.
B.PerformanauthoritativerestoreoftheGroupsOU.
C.Performanon-authoritativerestoreoftheGroupsOU.
D.Performanon-authoritativerestoreoftheSalesOU.
第10题
ote access account lockout.A domain user named User1 has been locked out by NPS1.You need to unlock the User1 user account on NPS1.What should you use?()
A. the Netsh tool
B. the Network Policy Server console
C. the Registry Editor
D. the Routing and Remote Access console
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!