Courseiva

DP-203 Soft delete Practice Question

You are responsible for managing an Azure Data Lake Storage Gen2 account that stores parquet files for analytics. You need to implement a data retention policy that automatically deletes files older than 90 days in the 'logs' container. Additionally, you need to ensure that no data is lost due to accidental deletion; you want to be able to recover deleted files within 30 days. You also need to monitor the storage account for unusual access patterns. The solution must minimize administrative effort. What should you do?

⚠ Common exam trap

Candidates often confuse soft delete with versioning or Azure Policy. Remember that soft delete provides point-in-time recovery, while lifecycle management automates deletion based on age.

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 soft delete with a retention period of 30 days and configure a lifecycle management rule to delete blobs older than 90 days

Enabling soft delete with a 30-day retention period allows recovery of accidentally deleted files within that window. Configuring a lifecycle management rule to delete blobs older than 90 days automatically enforces the retention policy. This combination minimizes administrative effort. Option B is incorrect because Azure Policy cannot enforce retention or recovery at the blob level. Option C is incorrect because versioning is not equivalent to soft delete for ADLS Gen2 and Azure Policy does not manage retention. Option D is incorrect because manual deletion does not provide automatic enforcement and Azure Backup is not designed for storage-level lifecycle management.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Enable soft delete with a retention period of 30 days and configure a lifecycle management rule to delete blobs older than 90 days

    Why this is correct

    Correct: Soft delete enables recovery within 30 days, and lifecycle management automatically deletes files older than 90 days.

  • Create an Azure Policy to enforce tag-based retention and use Azure Monitor to alert on access

    Why it's wrong here

    Incorrect: Azure Policy can enforce tags but does not provide file recovery or lifecycle management.

  • Enable versioning and configure a retention policy in Azure Policy

    Why it's wrong here

    Incorrect: Versioning is not native to ADLS Gen2 for recovery, and Azure Policy does not manage retention schedules.

  • Use Azure Backup for the storage account and manually delete old files

    Why it's wrong here

    Incorrect: Azure Backup is for disaster recovery, not age-based deletion, and manual deletion increases administrative effort.

About these practice questions

Courseiva writes every DP-203 question from scratch — 760 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 →

How Courseiva writes practice questions · Editorial policy

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.