Демо-билет 45 к экзамену MS SQL Server 70-462

все о совместной работе этих продуктов

Модератор: Дмитрий Юхтимовский

Демо-билет 45 к экзамену MS SQL Server 70-462

Сообщение Гилёв Вячеслав » 29 май 2014, 01:32

You administer a Microsoft SQL Server 2012 database. You configure Transparent Data Encryption (TDE) on the Orders database by using the following statements:

CREATE MASTER KEY ENCRYPTION BY PASSWORD = ‘MyPassword1!’;
CREATE CERTIFICATE TDE_Certificate WITH SUBJECT = ‘TDE Certificate’;

BACKUP CERTIFICATE TDE_Certificate TO FILE = ‘d:TDE_Certificate.cer’
WITH PRIVATE KEY (FILE = ‘d:TDE_Certificate.key’, ENCRYPTION BY PASSWORD =
‘MyPassword1!’);

CREATE DATABASE ENCRYPTION KEY
WITH ALGORITHM = AES_256
ENCRYPTION BY SERVER CERTIFICATE TDE_Certificate;

ALTER DATABASE Orders SET ENCRYPTION ON;

You attempt to restore the Orders database and the restore fails. You copy the encryption file to the original location. A hardware failure occurs and so a new server must be installed and configured. After installing SQL Server to the new server, you restore the Orders database and copy the encryption files to their original location. However, you are unable to access the database. You need to be able to restore the database. Which Transact-SQL statement should you use before attempting the restore?

A. CREATE ASSEMBLY TDE_Assembly
FROM ‘d:TDE_Certificate.cer’
WITH PERMISSION_SET = SAFE;
GO
CREATE CERTIFICATE TDE_Certificate
FROM ASSEMBLY TDE_Assembly;

B. CREATE CERTIFICATE TDE_Certificate
FROM EXECUTABLE FILE = ‘d:TDE_Certificate.cer’

C. CREATE CERTIFICATE TDE_Certificate
FROM FILE = ‘d:TDE_Certificate.cer’
WITH PRIVATE KEY (FILE = ‘d:TDE_Certificate.key’, DECRYPTION BY PASSWORD
‘MyPassword1!’);

D. DECLARE @startdate date
SET @startdate = GETDATE()
CREATE CERTIFICATE TDE_Certificate
FROM FILE = ‘d:TDE_Certificate.cer’
WITH START_DATE = @startdate;
Гилёв Вячеслав
 
Сообщений: 2439
Зарегистрирован: 11 фев 2013, 15:40
Откуда: Россия, Москва

Вернуться в MS SQL Server для целей 1С:Предприятие

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2