单项选择题
You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named DB1 in the instance. VIP customer data of the company are stored in DB1. The customers access their profile data by using a Web application. You must ensure the security of the customer data, that is to say, even if the backup media is lost, you must guarantee that data files, log files and subsequent backups and so on are as safe as possible.
So what action should you perform to achieve this goal?()
A.For both the CustomerDB database and the master database, enable Transparent Database Encryption
B.You should use the built-in encryption functions to encrypt the sensitive data at the cell Ievel
C.You should make the CustomerDB database accessible only through stored procedures and functions.
D.For the CustomerDB database, enable Transparent Database Encryption and back up the transaction log.
相关考题
-
单项选择题
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?()
A.USE AdventureWorks;ALTER USER Mary WITH LOGIN = Mary;
B.USE AdventureWorks;ALTER LOGIN Mary ENABLE;
C.USE AdventureWorks;ALTER LOGIN Mary WITH PASSWORD = "Tk@87#34" UNLOCK;
D.USE AdventureWorks;ALTER LOGIN Mary WITH DEFAULT_DATABASE = AdventureWorks; -
单项选择题
You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named DB1 in the instance. In the Services schema, There is a table named Service.Table. The Services.Table has to be moved from the Sales schema to a new schema named Costs. In the options below, which Transact-SQL statement should you execute?()
A.ALTER TABLE Service.Table SWITCH TO Costs.Table1;
B.ALTER SCHEMA CostsTRANSFER Service.Table;
C.ALTER USER Service WITH DEFAULT_SCHEMA = Costs;
D.ALTER AUTHORIZATION ON Service.Table1 TO Costs; -
单项选择题
You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named DB1 in the instance. The DB1 database contains the following stored procedure. (Line numbers are useded for reference only.) 01 CREATE PROCEDURE Sales.Procedure1 02 AS 03 IF OBJECT_ID(Service.Table) IS NOT NULL 04 DROP TABLE Service.Table; 06 CREATE TABLE Service.Table ( 07 Id int PRIMARY KEY CLUSTERED, 08 Name varchar(100); 09 ); 11 ... 12 GOThe following exception is raised when a user tries to invoke Procedure1, "Msg 262, Level 14, State 1, Procedure Procedure1, Line 5 CREATE TABLE permission denied in database DB1." You should grant the user access to execute Procedure1, you must assign only the required permissions. What action should you do perform?()
A.Between lines 01 and 02, you should insert the WITH EXECUTE AS 'dbo' clause.
B.Between lines 01 and 02, you should insert the EXECUTE AS USER = 'dbo' statement.
C.You should give the user the ALTER permission on the Service schema
D.You should give the CREATE TABLE permission and permit the user to drop the Service.Table table.
