DP-201 Exam QuestionsBrowse all questions from this exam

DP-201 Exam - Question 120


A company stores sensitive information about customers and employees in Azure SQL Database.

You need to ensure that the sensitive data remains encrypted in transit and at rest.

What should you recommend?

Show Answer
Correct Answer: B

Always Encrypted with secure enclaves ensures that sensitive data is encrypted both at rest and in transit. This solution protects the data within the SQL Database from unauthorized access by using encryption keys stored outside of the SQL Server database. Transparent Data Encryption (TDE) only encrypts data at rest, meaning when it is stored in the database, but does not protect data as it travels across communication channels. Azure Disk Encryption focuses on encrypting server disk storage rather than specific data within SQL databases. SQL Server AlwaysOn is primarily used for high availability and disaster recovery, not specifically for securing data in transit and at rest.

Discussion

26 comments
Sign in to comment
Wout
Jan 19, 2020

The answer is A. Azure SQL db auto enforces TLS (Transport layer security) which means that the data will be encrypted in transit. Enable TDE (Transparent data encryption) and Azure will encrypt your DB files, log files and backup files (= data at rest)

Treadmill
Aug 9, 2020

A correct: Transparent Data Encryption (TDE) encrypts SQL Server, Azure SQL Database, and Azure Synapse Analytics (SQL Data Warehouse) data files. This encryption is known as encrypting data at rest By default, Azure Storage accounts permit clients to send and receive data with the oldest version of TLS, TLS 1.0, and above. To enforce stricter security measures, you can configure your storage account to require that clients send and receive data with a newer version of TLS. https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/transparent-data-encryption?view=sql-server-ver15 https://docs.microsoft.com/en-us/azure/storage/common/transport-layer-security-configure-minimum-version?tabs=portal B not correct, see pingvins11 comment: https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15

awitick
Jan 19, 2021

Wrong, The answer is B cause TDE is only for rest and not for transit.

Psycho
May 19, 2021

the provided answer is correct: https://docs.microsoft.com/en-us/azure/azure-sql/database/always-encrypted-azure-key-vault-configure?tabs=azure-powershell

cadio30
May 31, 2021

Appropriate answer is B and the explanation is included in the link below. Reference: https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15

maynard13x8
Apr 8, 2021

It’s incredible the highest voted answer is wrong. B is correct.

pingvins11
Jan 8, 2020

Always Encrypted with secure enclaves applies only to SQL Server, not Azure SQL Database. Always Encrypted should be the answer https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?redirectedfrom=MSDN&view=sql-server-ver15

alexa123456789
Jun 17, 2020

it's applicable for Azure SQL Database as well

Anonymous
Jun 23, 2020

No its not. https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15

CaptainCrunk
Oct 3, 2020

I think Always Encrypted is correct based on this from Microsoft docs: "This article shows you how to secure sensitive data in a database in Azure SQL Database with data encryption by using the Always Encrypted wizard ..." https://docs.microsoft.com/en-us/azure/azure-sql/database/always-encrypted-azure-key-vault-configure?tabs=azure-powershell

CaptainCrunk
Oct 3, 2020

I think Always Encrypted is correct based on this from Microsoft docs: "This article shows you how to secure sensitive data in a database in Azure SQL Database with data encryption by using the Always Encrypted wizard ..." https://docs.microsoft.com/en-us/azure/azure-sql/database/always-encrypted-azure-key-vault-configure?tabs=azure-powershell

Anonymous
Jun 23, 2020

No its not. https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15

CaptainCrunk
Oct 3, 2020

I think Always Encrypted is correct based on this from Microsoft docs: "This article shows you how to secure sensitive data in a database in Azure SQL Database with data encryption by using the Always Encrypted wizard ..." https://docs.microsoft.com/en-us/azure/azure-sql/database/always-encrypted-azure-key-vault-configure?tabs=azure-powershell

CaptainCrunk
Oct 3, 2020

I think Always Encrypted is correct based on this from Microsoft docs: "This article shows you how to secure sensitive data in a database in Azure SQL Database with data encryption by using the Always Encrypted wizard ..." https://docs.microsoft.com/en-us/azure/azure-sql/database/always-encrypted-azure-key-vault-configure?tabs=azure-powershell

unniks
Mar 23, 2021

Always Encrypted 10/30/2019 15 minutes to read +15 Applies to: yesSQL Server (all supported versions) YesAzure SQL Database

unniks
Mar 23, 2021

Always Encrypted with secure enclaves 01/15/2021 13 minutes to read +10 Applies to: yesSQL Server 2019 (15.x) - Windows only YesAzure SQL Database

Tracy_Anderson
Jul 29, 2021

https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15 ; Always Encrypted with secure enclaves expands confidential computing capabilities of Always Encrypted by enabling in-place encryption and richer confidential queries. "Always Encrypted with secure enclaves is available in SQL Server 2019 (15.x) and in Azure SQL Database."

Luke97
Apr 14, 2020

The answer should be B. Always Encrypted is available for Azure SQL database. https://azure.microsoft.com/en-gb/blog/always-encrypted-now-generally-available-in-azure-sql-database/

snimz
Apr 20, 2020

You are right "Always Encrypted" is available but "Always Encrypted with secure enclaves" is an on premise windows only feature. https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15 Correct answer should be A.

Tombarc
Apr 25, 2020

According to the Docs online TDE is enabled by default on newly databases: https://docs.microsoft.com/en-us/azure/sql-database/transparent-data-encryption-azure-sql?tabs=azure-portal

Tombarc
Apr 25, 2020

According to the Docs online TDE is enabled by default on newly databases: https://docs.microsoft.com/en-us/azure/sql-database/transparent-data-encryption-azure-sql?tabs=azure-portal

Shiven
Sep 27, 2020

How A can be right Ans..? Encrypting your data at rest, which means encrypting it while it is stored on whatever file storage you use. Encrypting your data in transit, which means encrypting data while it travels through private or public network communication channels. Encrypting your data in use, which means encrypting it while it is actively used in RAM or CPU caches and registers. https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/security/transparent-data-encryption#:~:text=Encrypting%20your%20data%20in%20transit,or%20CPU%20caches%20and%20registers. Important TDE doesn't provide encryption across communication channels. For more information about how to encrypt data across communication channels, see Enable Encrypted Connections to the Database Engine (SQL Server Configuration Manager).

MLCL
Apr 14, 2020

Answer should be A, Azure SQL DB are encrypted during transport by default.

Leonido
Apr 30, 2020

TDE is for ecryption at rest Always On is a server reliability And disk encryption is for VHD

Akva
Nov 17, 2020

it seems, that we don't have the right answer in the options. Maybe the question is badly worded?

Berlinersp
Dec 28, 2020

It can´t be A as TDE doesn´t support in transit. Best option is: TDE as the first line of defense (and to meet common compliance requirements) to encrypt the entire database at rest. TLS to protect all traffic to the database. Always Encrypted to protect highly sensitive data from high-privilege users and malware in the database environment. https://azure.microsoft.com/es-es/blog/transparent-data-encryption-or-always-encrypted/ For me only accepted option despite it only works on SQL 2019 is the current answer.

talktorahuljoshi
Apr 24, 2020

By default, TDE is enabled for all newly deployed Azure SQL databases and needs to be manually enabled for older databases of Azure SQL Database, Azure SQL Managed Instance, or Azure Synapse. https://docs.microsoft.com/en-us/azure/sql-database/transparent-data-encryption-azure-sql?tabs=azure-portal

Anonymous
Jun 23, 2020

The answer should be A. Always Encrypted with secure enclaves is not supported on Azure SQL. https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15

syu31svc
Dec 8, 2020

https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15: "Always Encrypted with secure enclaves provides additional functionality to the Always Encrypted feature." B is correct

Ankit123
Dec 24, 2020

Correct answer is B. In SQL server management studio you can do always encrypt which encrypts the data at rest and in transit. TDE and TLS are enabled by default, so TDE alone cannot be the correct answer.

rmn900
Feb 2, 2021

Actually, after digging more, B is the correct option. Ignore my previous post. https://docs.microsoft.com/en-us/learn/modules/protect-data-transit-rest/5-explain-object-encryption-secure-enclaves

rikku33
Sep 28, 2021

Important * TDE doesn't provide encryption across communication channels. So B is correct

talktorahuljoshi
Apr 24, 2020

Always Encrypted with secure enclaves THIS TOPIC APPLIES TO:SQL Server 2019 and later (Windows only) Azure SQL Database Azure Synapse Analytics (SQL DW) Parallel Data Warehouse https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15

runningman
May 26, 2020

no, they are not green checked like sql server 2019. so it is not applicable to those others.

pravinDataSpecialist
Jun 17, 2020

correct answer should be A

LeonLeon
Jul 12, 2020

I think the answer should be A (TLS) - question is more about encryption at rest. “in transit” is managed by SQL DB or Managed instance. So I think we should read the question as how to add encryption at rest. Do I see it correct???? Transport Layer Security (Encryption-in-transit) SQL Database and SQL Managed Instance secure customer data by encrypting data in motion with Transport Layer Security (TLS). SQL Database and SQL Managed Instance enforce encryption (SSL/TLS) at all times for all connections. This ensures all data is encrypted "in transit" between the client and server irrespective of the setting of Encrypt or TrustServerCertificate in the connection string. https://docs.microsoft.com/en-us/azure/azure-sql/database/security-overview

Sudipta3009
Jul 18, 2020

Always Encrypted with secure enclaves:10/31/2019 14 minutes to read THIS TOPIC APPLIES TO: Yes to SQL Server 2019 and later (Windows only) No to Azure SQL Database, No to Azure Synapse Analytics (SQL DW), No to Parallel Data Warehouse

rohitbinnani
Jul 23, 2020

TDE doesn't encrypt the data in transit and only at rest.https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/transparent-data-encryption?view=sql-server-ver15 Hence, I feel 'A' may not be correct.

passnow
Jul 27, 2020

Common sense people!.. Transparent Data Encryption is a technology employed by Microsoft, IBM and Oracle to encrypt database files. TDE offers encryption at file level. TDE solves the problem of protecting data at rest, encrypting databases both on the hard drive and consequently on backup media. Answer is A

Arsa
Aug 21, 2020

It should be A. Transparent Data Encryption TDE is intended to add a layer of security to protect data at rest from offline access to raw files or backups, common scenarios include datacenter theft or unsecured disposal of hardware or media such as disk drives and backup tapes. For a deeper look into how TDE protects against the risk of malicious parties trying to recover stolen databases: data, log files, snapshots, copies or backups and to review TDE best practices see Feature Spotlight: Transparent Data Encryption (TDE).

Arsa
Aug 21, 2020

ignore this

Arsa
Aug 21, 2020

By looking at this in Documentation answer B is correct: Always Encrypted also protects the data, stored in encrypted columns, at rest and in transit. However, unless your goal is to protect sensitive data in use, TDE is the recommended choice for encryption at rest, and we recommend TLS for protecting data in-transit. In fact, it is often advised to use Always Encrypted, TDE, and TLS together:

Bob123456
Aug 24, 2020

Option A Transparent data encryption (TDE) helps protect Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse Analytics against the threat of malicious offline activity by encrypting data at rest. It performs real-time encryption and decryption of the database, associated backups, and transaction log files at rest without requiring changes to the application. By default, TDE is enabled for all newly deployed SQL Databases and must be manually enabled for older databases of Azure SQL Database, Azure SQL Managed Instance. TDE must be manually enabled for Azure Synapse Analytics

Johnnien
Dec 25, 2020

Transparent data encryption - APPLIES TO: Azure SQL Database, Azure SQL Managed Instance, Azure Synapse Analytics Always Encrypted with secure enclaves - Applies to: SQL Server 2019 (15.x) - Windows only

rmn900
Feb 2, 2021

B - is incorrect, because it is in preview https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver15 Always Encrypted with secure enclaves is available in SQL Server 2019 (15.x) and in Azure SQL Database (in preview).