You have two Azure virtual machines named SQL1 and SQL2 that run SQL Server 2022. A database named Sales belongs to an Always On availability group. SQL1 hosts the primary replica and SQL2 hosts a secondary replica.
The master database on each server has a database master key. On SQL1, the master database contains a certificate named TDECert that is protected by the database master key. TDE is not enabled on any database.
Requirements:
- Encrypt the Sales database at rest by using TDE protected by TDECert.
- SQL2 must continue to host a copy of Sales after encryption.
- The encryption scan must not run during business hours.
Which three actions should you perform? Each correct answer presents part of the solution.
Choose 3 answers.
- In the Sales database on SQL1, create a database encryption key encrypted by server certificate TDECert, and then set encryption on for Sales.
- Back up TDECert with its private key on SQL1, and create the certificate from that backup in the master database on SQL2.
- Run ALTER DATABASE Sales SET ENCRYPTION OFF when business hours start, and SET ENCRYPTION ON when they end.
- Run ALTER DATABASE Sales SET ENCRYPTION SUSPEND when business hours start, and SET ENCRYPTION RESUME when they end.
- In the master database on SQL1, create a database encryption key encrypted by server certificate TDECert.
- In the master database on SQL2, create a new certificate named TDECert that uses the same subject as the certificate on SQL1.