Transparent Data Encryption (TDE) protects data at rest by encrypting database files, log files, and backups without requiring any changes to application code. When data is written to disk, TDE encrypts it using the Advanced Encryption Standard (AES) algorithm, and decrypts it when read into memory. By default, Azure enables TDE on newly created databases, securing the database encryption key with a built-in server certificate. Organizations seeking more control can replace this certificate with their own keys stored in Azure Key Vault to manage key rotation and lifecycles.
Azure Key Vault acts as a secure, centralized repository for managing and protecting cryptographic keys. When implementing a Bring Your Own Key (BYOK) model, ownership of the key lifecycle remains with the organization rather than the cloud provider. This architecture creates a strict separation of duties, ensuring that security officers who manage the keys do not have direct access to administrative database tasks. The database engine authenticates to the key vault to fetch the key wrapper, ensuring that the actual keys are protected behind defined security boundaries.
Always Encrypted provides column-level protection to ensure sensitive data is protected while in transit and in use. This mechanism performs client-side processing, where a specialized client driver encrypts sensitive columns before the data ever leaves the client application. Because the database engine never sees the plaintext data or the encryption keys, unauthorized administrators cannot read the sensitive fields. These keys are stored externally in secure locations such as Azure Key Vault or the Windows Certificate Store, which keeps the cryptographic boundaries secure.
Dynamic Data Masking limits the exposure of sensitive data to unauthorized users by obscuring it in query results on the fly. The service automatically discovers potentially sensitive data fields, such as credit card numbers or email addresses, and applies masks according to pre-defined rules. This masking occurs inline, meaning the actual data on disk remains fully intact and encrypted, but non-privileged database users only see masked results. This capability minimizes the need to modify application code while protecting sensitive information from exposure in user interfaces.
Azure Defender for SQL is a unified security package that continuously monitors database systems to defend against security risks. Within this service, vulnerability assessments scan the database for security holes and provide step-by-step instructions to fix misconfigurations. Simultaneously, the threat detection system watches live operations to spot anomalous activities, such as SQL injection attacks or unusual database access patterns. This continuous monitoring workflow ensures that potential breaches are identified and mitigated before they can compromise the database environment.
Venture into the world of Azure Infrastructure, where design meets functionality. Harness your skills and gain mastery over complex cloud structures to ace the AZ-305 Designing Microsoft Azure Infrastructure Solutions exam!
Prepare and test your skills

Prepare and test your skills

Transparent Data Encryption (TDE) protects data at rest by encrypting database files, log files, and backups without requiring any changes to application code. It uses the Advanced Encryption Standard (AES) algorithm to encrypt data when written to disk and decrypts it when read into memory. Azure enables TDE by default on newly created databases, securing the encryption key with a built-in server certificate.
Azure Key Vault acts as a secure, centralized repository for managing and protecting cryptographic keys in a BYOK model. Organizations retain ownership of the key lifecycle rather than the cloud provider, creating a strict separation of duties where security officers who manage keys do not have direct access to administrative database tasks. The database engine authenticates to the key vault to fetch the key wrapper.
Always Encrypted provides column-level protection to ensure sensitive data is protected while in transit and in use by performing client-side processing. A specialized client driver encrypts sensitive columns before data leaves the client application, so the database engine never sees plaintext data or encryption keys. These keys are stored externally in Azure Key Vault or the Windows Certificate Store.
Azure Defender for SQL is a unified security package that continuously monitors database systems. It includes vulnerability assessments that scan for security holes and provide step-by-step remediation instructions, plus threat detection that watches for anomalous activities such as SQL injection attacks or unusual database access patterns.