Implement security for databases
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing SC-500 premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- Five controls, and none of them implies another
- Microsoft Entra authentication at server scope
- Authorization inside the database
- Which sources may reach the database
- Transport encryption and certificate validation
- Encryption at rest with TDE and its protector
- Keeping values from the people who run the database
- Auditing Azure SQL Database and SQL Managed Instance
- Defender for Databases across the data services
- Exam-pattern recognition
Azure SQL data-protection controls, by the adversary each one stops
| Decision criterion | Transparent Data Encryption | Always Encrypted | Dynamic data masking | Ledger |
|---|---|---|---|---|
| What it protects | Data files, log files, and backups at rest | Values in selected columns, including in memory and in transit | Only the values returned in a query result | Evidence that tracked rows were not altered |
| Who still sees plaintext | The engine, and anyone permitted to query | Only clients holding the column master key | Privileged users, and anyone able to infer values | Everyone permitted to query; ledger hides nothing |
| Where the key or rule lives | Service-managed certificate, or a customer key in Key Vault or Managed HSM | Column master key kept outside the database, reachable by the client | A masking rule stored in the database | Hashes computed by the database, with digests storable outside it |
| What the client must support | Nothing; it is transparent to applications | A driver with Always Encrypted support plus access to the key | Nothing | Nothing to write; verification is run on demand |
| Wrong answer it attracts | Offered when the requirement is hiding data from administrators | Offered as the platform-wide at-rest baseline | Offered as a confidentiality boundary | Offered as an encryption control |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- Azure SQL Database and SQL Managed Instance security overview
- Network access controls for Azure SQL Database
- Microsoft Entra authentication for Azure SQL
- Microsoft Entra-only authentication with Azure SQL
- Directory Readers role in Microsoft Entra ID for Azure SQL
- Authorize database access to Azure SQL: logins, users, and permissions
- Migrate an application to passwordless connections with Azure SQL Database
- Row-level security in SQL Server and Azure SQL
- Virtual network rules for Azure SQL Database
- Azure Private Link for Azure SQL Database
- Azure SQL connectivity settings: public network access and minimum TLS version
- Connect your application to Azure SQL Managed Instance
- Azure SQL connect and query content reference guide
- Transparent data encryption for Azure SQL Database and SQL Managed Instance
- Customer-managed transparent data encryption with Azure Key Vault
- Always Encrypted for Azure SQL Database and SQL Managed Instance
- Dynamic data masking in Azure SQL Database
- Azure SQL Database ledger overview
- Auditing for Azure SQL Database
- Immutable storage for Azure Blob Storage: time-based retention and legal holds
- Configure auditing for Azure SQL Managed Instance
- Overview of Microsoft Defender for SQL
- SQL vulnerability assessment in Microsoft Defender for Cloud
- Advanced Threat Protection for Azure SQL Database
- Overview of Microsoft Defender for open-source relational databases