Courseiva

DP-203 Practice Question: Secure, monitor, and optimize data storage and data processing

Your company uses Azure Data Lake Storage Gen2 and needs to implement a data retention policy that automatically deletes files older than 90 days in a specific container. What should you use?

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

Azure Storage lifecycle management rule with a filter for the container and a delete action after 90 days.

Azure Storage lifecycle management rules can be applied at the container level to automatically delete blobs after a specified age (90 days), providing a native, cost-effective, and automated retention solution. Option A is incorrect because Azure Data Factory can be scheduled to delete files, but it requires manual pipeline setup and incurs additional costs compared to lifecycle management. Option B is incorrect because Azure Policy with a deny effect prevents the creation or modification of resources, not the automatic deletion of existing files. Option D is incorrect because Azure Purview is a data governance service for cataloging and lineage, not for automated data 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.

  • Azure Data Factory pipeline with a Delete activity scheduled to run daily.

    Why it's wrong here

    A scheduled Azure Data Factory Delete activity lacks native integration with Azure Blob Storage lifecycle management policies, which are the correct mechanism for automatic, policy-driven deletion based on file age. It is tempting because Data Factory can orchestrate file deletion, and in scenarios requiring conditional logic or external triggers before removal, a pipeline would be the correct choice.

  • Azure Policy with a deny effect for files older than 90 days.

    Why it's wrong here

    Azure Policy can prevent creation of new files but does not delete existing ones.

  • Azure Storage lifecycle management rule with a filter for the container and a delete action after 90 days.

    Why this is correct

    Lifecycle management can automatically delete blobs based on age, reducing manual effort.

  • Azure Purview data lifecycle policy.

    Why it's wrong here

    Azure Purview does not execute data deletion; it catalogs and classifies data.

About these practice questions

One of 760 original DP-203 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.