当前位置:MCTS(70-513)题库

问题:

[单选]

You are developing a Windows Communication Foundation (WCF) service.One of the service operations contains the following code.private static int counter = 0;[OperationContract]public void IncrementCount(){ counter++;}You need to set a service behavior that prevents two or more threads from incrementing the counter variable at the same time.
Which code segment should you use to set the service behavior?()

A . [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Single)]
B . [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Single)]
C . [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
D . [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Reentrant)]

在6S管理方法的安全管理中,不仅需要保护施工人员的健康,还要保证()。 交通安全。 设备安全。 食物安全。 饮用水安全。 Your company has file servers located in an organizational unit named Payroll. The file servers  contain payroll files located in a folder named Payroll.    You create a GPO.   You need to track which employees access the Payroll files on the file servers.  What should you do() Enable the Audit object access option. Link the GPO to the Payroll organizational unit. On the file  servers, configure Auditing for the Everyone group in the Payroll folder.。 Enable the Audit object access option. Link the GPO to the domain. On the domain controllers,  configure Auditing for the Authenticated Users group in the Payroll folder.。 Enable the Audit process tracking option. Link the GPO to the Domain Controllers organizational unit.  On the file servers, configure Auditing for the Authenticated Users group in the Payroll folder.。 Enable the Audit process tracking option. Link the GPO to the Payroll organizational unit. On the file  servers, configure Auditing for the Everyone group in the Payroll folder.。 You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of two SQL Server 2008 instance. The two instances are respectively named InstanceA and InstanceB. There is a database named Dworks on InstanceA. You move the Dworks database to InstanceB. A user use a SQL Server login named Mary to access the database on InstanceA with the password "Tk@87#34". On InstanceB, you create the same SQL Server login. The user tries to use the SQL Server login Mark to access the Dworks database on InstanceB. But the user gets an error message, according to the indication of the message, the access to the Dworks database has been denied. You must make sure that the user can access the Dworks database on InstanceB successfully.  So on InstanceB, which Transact-SQL statements should you execute?()   USE AdventureWorks;ALTER USER Mary WITH LOGIN = Mary; 。 USE AdventureWorks;ALTER LOGIN Mary ENABLE; 。 USE AdventureWorks;ALTER LOGIN Mary WITH PASSWORD = "Tk@87#34" UNLOCK; 。 USE AdventureWorks;ALTER LOGIN Mary WITH DEFAULT_DATABASE = AdventureWork。 医疗器械经营企业应当采取有效措施,确保医疗器械运输、贮存过程符合医疗器械说明书或者标签标示要求,并做好相应记录,保证医疗器械质量安全。 our network contains a Network Policy Server (NPS) named Server1.You need to configure a network policy for a VLAN.Which RADIUS attributes should you add?() ¡¤Logi-LAT-Service ˆLogin-LAT-Node ˆLogin-LAT-Group ˆNAS-Identifier。 ¡¤Tunne-Assignment-ID ˆTunnel-Preference ˆTunnel-Client-Auth-ID ˆNAS-Port-Id。 ¡¤Tunne-Client-Endpt ˆTunnel-Server-Endpt ˆNAS-Port-Type ˆTunnel-Password。 ¡¤Tunne-Medium-Type ˆTunnel-Pvt-Group-ID ˆTunnel-Type ˆTunnel-Tag。

You are developing a Windows Communication Foundation (WCF) service.One of the service operations contains the following code.private static int counter = 0;[OperationContract]public void IncrementCount(){ counter++;}You need to set a service behavior that prevents two or more threads from incrementing the counter variable at the same time.
Which code segment should you use to set the service behavior?()

参考答案:

  参考解析

本题暂无解析

相关题目:

在线 客服