Courseiva
Develop for Azure storagehardMultiple SelectObjective-mapped

AZ-204 Develop for Azure storage Practice Question

A Blob Storage workflow for product images must prevent accidental overwrite and support recovery of prior versions. Which two features should be enabled?

⚠ Common exam trap

A common mix-up: candidates confuse SFTP support or static website hosting with data protection features, but neither provides versioning or soft-delete capabilities required for overwrite prevention and recovery.

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

Blob soft delete

Blob soft delete (B) protects against accidental deletion or overwrite by retaining deleted blobs for a configurable retention period, allowing recovery. Blob versioning (D) automatically maintains prior versions of a blob, enabling restoration of any previous state. Together, they provide comprehensive protection against overwrites and support version recovery.

Answer analysis

Option-by-option breakdown

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

  • SFTP support

    Why it's wrong here

    SFTP support for Azure Blob Storage enables secure file transfer using the SSH File Transfer Protocol, providing a familiar interface for data ingress and egress. However, its functionality is limited to the transport layer. Implementing SFTP does not inherently offer data protection features like versioning or recovery of deleted blobs, meaning it does not safeguard against accidental overwrites or deletions of product images by retaining previous states.

  • Blob soft delete

    Why this is correct

    Blob soft delete provides a critical data protection mechanism by allowing the recovery of blobs, snapshots, or versions that have been accidentally deleted or overwritten. When enabled, deleted data remains recoverable for a specified retention period, preventing permanent loss. This feature ensures that even if a product image is mistakenly removed, it can be restored to its state at the time of deletion, significantly mitigating data loss risks and aiding compliance.

  • Static website hosting

    Why it's wrong here

    Static website hosting in Azure Blob Storage allows serving static content directly from a storage container, typically for web applications or single-page applications. While it leverages blob storage, its primary function is content delivery and public accessibility, not data protection or version management. Enabling static website hosting does not provide any inherent mechanisms to recover previous versions of product images or prevent their accidental deletion, as it focuses on serving content rather than data resilience.

  • Blob versioning

    Why this is correct

    Blob versioning automatically maintains previous states of a blob each time it is modified or deleted, creating a new version. This feature is essential for workflows requiring the ability to revert to an earlier state of a product image, protecting against accidental overwrites or malicious changes. By preserving a complete historical record of changes, versioning ensures that any prior iteration of an image can be retrieved, offering robust protection against data loss and enabling auditing.

About these practice questions

This AZ-204 question is part of Courseiva's 881-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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-204 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 AZ-204 exam.