DP-300 Configure and manage automation of tasks Practice Question
Exhibit
Invoke-AzSqlDatabaseTransparentDataEncryptionProtector -ServerName "myserver" -ResourceGroupName "myrg" -ProtectorType "AzureKeyVault" -KeyVaultKeyId "https://myvault.vault.azure.net/keys/mykey/abc123"
Refer to the exhibit. You run the above PowerShell command to set the Transparent Data Encryption (TDE) protector for an Azure SQL Database server. What is the result?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The server’s TDE protector is changed to a customer-managed key from Azure Key Vault.
The command `Set-AzSqlServerTransparentDataEncryptionProtector` configures the TDE protector at the server level. By specifying the `-Type AzureKeyVault` and `-KeyId` parameters, it sets the server's TDE protector to a customer-managed key stored in Azure Key Vault. Therefore, Option D is correct. Option A is incorrect because the command does not fail due to permissions; it succeeds if permission is granted. Option B is incorrect because TDE remains enabled; only the protector key is changed. Option C is incorrect because the command updates the server's TDE protector, not a specific database.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The command fails because the service principal does not have permissions to the key vault.
Why it's wrong here
The command may succeed if permissions are correct.
- ✗
Transparent Data Encryption is disabled.
Why it's wrong here
The command sets a new protector, does not disable TDE.
- ✗
The TDE protector for the database "mydb" is updated.
Why it's wrong here
The command affects the server, not a specific database.
- ✓
The server’s TDE protector is changed to a customer-managed key from Azure Key Vault.
Why this is correct
The command sets the protector to a key vault key.
Go deeper
Related to this question
Learn chapter
Overview of Azure Data Platform Options
Key term
Transparent Data Encryption
Transparent Data Encryption is a security feature that automatically encrypts data written to a database and decrypts it when read, without requiring any changes to the application.
Key term
Azure SQL Performance Tuning
Azure SQL Performance Tuning is the process of optimizing the speed and efficiency of queries and database operations in Microsoft Azure SQL Database or SQL Managed Instance to reduce latency and improve throughput.
About these practice questions
Courseiva writes every DP-300 question from scratch — 906 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DP-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-300 exam.