SQL Flashcards
All Azure SQL Servers and Databases are encrypted using:
Transparent Data Encryption (TDE)
-SQL columns are encrypted through using AlwaysEncrypted
TDE allows for the confiruration of BYOK scenarioes through integration with Azure Key Vault. BYOK is enabled in TDE configuration of Azure SQL Server
AlwaysEncrypted
-designed to protect sensitive data stored in specific database columns from access.
-this includes database columns or other privileged users who are authorized to access the database to perform management tasks, but have no business need to access the particular data in the encrypted columns
-To used AlwaysEncrypted you need to use either Windows certificate store or an Azur Key Vault to store the Master key!
Column Encrypted Key
used to encrypt data in an encrypted column
Column Master Key
a key protecting key that encrypted one or more column encrypted keys
As part of an Azure SQL Database AlwaysEncrypted configuration where are the encryption keys stored?
Column Master Key: Azure Key Vault
Column Encryption Key: SQL
Your company wants to use Azure AD identities and secure a connection of a Azure web app and Azure SQL database. Steps include:
- In Azure SQL database, create contained users
- In Azure AD create a system assigned managed identity for Web app
- Connect to database using SQL Server Management Studio
What are three advanced data security capabilities of Azure SQL Database?
-Vulnerability assessment
-Data Classification
Advanced Threat Protection
SQL Advanced Threat Protection will alert on the following:
-“password’ OR 1=1” enter into a password field is an attempted at SQL Injection
-Login from an unusual location or Azure region
Login by an unfamiliar principle
-Access from a potentially harmful application
-Brute force attempt on SQL Authentication
If you wanted to secure a Web app against SQL injection you would deploy:
Azure Application Gateway with Application Firewal;
For every contained users relative to An Azure AD users, you can:
Log into the database using either Action Directory Universal with MFA or Active Directory passwor