Secure, monitor, and optimize data storage and data processing →mediumMultiple ChoiceObjective-mapped
Enable Soft Delete for Azure Data Lake Storage Gen2
Your organization uses Azure Data Lake Storage Gen2 for a data lake. You need to prevent accidental deletion of data by enabling a soft delete policy. Which configuration is required?
Quick Answer
The correct answer is to enable blob soft delete on the storage account. This configuration works because Azure Data Lake Storage Gen2 implements its soft delete capability through the underlying blob storage layer, meaning that enabling blob soft delete on the storage account automatically protects both blobs and the hierarchical namespace data from accidental deletion. On the Microsoft Azure Data Engineer Associate DP-203 exam, this question tests your understanding of how ADLS Gen2 inherits blob-level features, and a common trap is confusing soft delete with versioning or Azure Resource Manager locks—versioning keeps multiple snapshots but does not prevent deletion, while ARM locks only block resource-level changes, not data deletion. To remember this, think of the mnemonic "Blobs Back Up Data Lake"—since ADLS Gen2 is built on Blob Storage, enabling blob soft delete is the direct path to data protection.
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
✓
Enable blob soft delete on the storage account.
Azure Data Lake Storage Gen2 supports blob soft delete, which protects against accidental deletion by retaining deleted blobs for a specified retention period. Option A is incorrect because Azure Resource Manager locks prevent the deletion or modification of the storage account itself, not the data within it. Option B is incorrect because Azure Backup is designed for backing up VMs, SQL databases, and other workloads, not for managing soft delete of blobs. Option C is incorrect because blob versioning preserves previous versions of blobs, but it does not prevent deletion of the current version; soft delete is specifically for recovery from accidental deletion.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Apply an Azure Resource Manager lock.
Why it's wrong here
Prevents modification of the resource, not data deletion.
- ✗
Configure Azure Backup for the storage account.
Why it's wrong here
Azure Backup is not designed for Data Lake soft delete.
- ✗
Enable blob versioning.
Why it's wrong here
Versioning preserves previous versions but not the same as soft delete.
- ✓
Enable blob soft delete on the storage account.
Why this is correct
Soft delete retains deleted blobs for a specified period.
Go deeper
Related to this question
About these practice questions
This DP-203 question is part of Courseiva's 760-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on DP-203
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Your organization uses Azure Data Lake Storage Gen2 and needs to prevent accidental deletion of data by enabling soft delete. You also need to ensure that deleted blobs are recoverable for 30 days. What should you configure?
easy- A.Enable blob snapshots and set them to expire after 30 days.
- B.Use Azure Backup to create daily backups of the storage account.
- C.Enable container soft delete with a retention period of 30 days.
- ✓ D.Enable blob soft delete and set retention period to 30 days.
Why D: Blob soft delete enables recovery of deleted blobs within a specified retention period (30 days in this case). Option A is incorrect because blob snapshots are point-in-time copies that require manual management and do not provide automatic recovery of deleted blobs. Option B is incorrect because Azure Backup is designed for virtual machines and other Azure resources, not for blob-level recovery in Data Lake Storage Gen2. Option C is incorrect because container soft delete deletes entire containers, not individual blobs.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DP-203 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-203 exam.