powered by simpleCommunicator - 2.0.59     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / Вопрос 2
4 сообщений из 4, страница 1 из 1
Вопрос 2
    #37989538
Михаил Фв
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Добрый день всем!

Поясните, пожалуйста, почему в данном вопросе правильный ответ - C. Я не понимаю, почему ПЕРЕД восстановлением зашифрованной базы нужно создать в ней же новый ключ:

You administer a Microsoft SQL Server 2012 database. You configure Transparent Data Encryption (TDE) on the Orders database by using the following statements: (привожу первые слова каждого выражения, полный вид здесь - http://www.lead2pass.com/downloadable/download/sample/sample_id/3292/ - вопрос 8):

1) Create master key ...
Create certificate TDE_Certificate...
2) Backup certificate TDE_Certificate...
with orivate key ....
3) Create database encryption key...
with algorithm...
Encryption by server certificate TDE_Certificate
4) 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?

Правильный ответ - С.

Пример включения TDE/восстановления зашифрованной базы - http://www.sqlmag.com/article/sql-server/transparent-data-encryption-142907

Заранее всем спасибо.

Модератор: Тема перенесена из форума "Microsoft SQL Server".
...
Рейтинг: 0 / 0
Вопрос 2
    #37989584
Михаил Фв
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Добрый день всем!

Поясните, пожалуйста, почему в данном вопросе правильный ответ - C. Я не понимаю, почему ПЕРЕД восстановлением зашифрованной базы нужно создать в ней же новый ключ:

You administer a Microsoft SQL Server 2012 database. You configure Transparent Data Encryption (TDE) on the Orders database by using the following statements: (привожу первые слова каждого выражения, полный вид здесь - http://www.lead2pass.com/downloadable/download/sample/sample_id/3292/ - вопрос 8):

1) Create master key ...
Create certificate TDE_Certificate...
2) Backup certificate TDE_Certificate...
with orivate key ....
3) Create database encryption key...
with algorithm...
Encryption by server certificate TDE_Certificate
4) 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?

Правильный ответ - С.

Пример включения TDE/восстановления зашифрованной базы - http://www.sqlmag.com/article/sql-server/transparent-data-encryption-142907

Заранее всем спасибо.

Модератор: Тема перенесена из форума "Microsoft SQL Server".
...
Рейтинг: 0 / 0
Вопрос 2
    #37989593
Crimean
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Михаил Фвнужно создать в ней же новый ключ

как вы внимательны!

BOLRemarks

A database encryption key is required before a database can be encrypted by using Transparent Database Encryption (TDE). When a database is transparently encrypted, the whole database is encrypted at the file level, without any special code modifications. The certificate or asymmetric key that is used to encrypt the database encryption key must be located in the master system database.
...
Рейтинг: 0 / 0
Вопрос 2
    #37990120
Михаил Фв
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Crimean, ну и ...? Если бы, как Вы отметили, речь бы шла о создании ключа в таблице Master нового SQL сервера - я бы понял. Но зачем создавать сам ключ шифрования пользовательской базы - она же уже зашифрована ключом/сертификатом из старого SQL сервера. Для восстановления базы здесь необходимо восстановить сертификат из архива:

"To move or restore the database to another SQL Server instance, you need to restore the certificate to the new server instance. Listing 3 demonstrates how to move a backed up certificate to a new SQL Server instance. The USE statement switches the current database to the master database, which is where the new master key must be created. Next, the CREATE MASTER KEY ENCRYPTION statement is executed to create a new master key. The new master key has a strong password associated as well. The CREATE CERTIFICATE statement is used to create a new certificate named MySQLCert. This statement is different from the one used in Listing 1, because this statement uses the FROM FILE clause to point to the backed up certificate that was created with the code in Listing 2. The WITH PRIVATE KEY clause points to the backup of the decryption key file. Finally, the password to decrypt the certificate is supplied using the DECRYPTION BY PASSWORD clause. "

- где здесь сказано, что нужно создавать НОВЫЙ DEK?
...
Рейтинг: 0 / 0
4 сообщений из 4, страница 1 из 1
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / Вопрос 2
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]