Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Practice Exam 8

Question 42 — AZ-104 Practice Exam 8

An admin wants to mitigate accidental deletions and ensure a reversible rollback after problematic deployments, without relying on external backup tooling. They also need to meet a defined data retention window and enable recovery for entire file shares if needed. (Select one answer)

  1. Rely solely on application logs and recreate files manually when needed

  2. Use an immutable retention policy that prevents any deletions within the account indefinitely

  3. Create ad-hoc exports of shares to a separate account after every deployment

  4. Enable soft delete for file shares at the storage account level and set an appropriate retention period

Correct answers

  1. Enable soft delete for file shares at the storage account level and set an appropriate retention period

Explanations

Correct:
Enable soft delete for file shares at the storage account level and set an appropriate retention period
Soft delete is configured at the account level, supports configurable retention (1–365 days), and enables recovery of deleted files and file shares—ideal for both accidental deletion and rollback after failed upgrades.

Wrong:
Rely solely on application logs and recreate files manually when needed
Does not provide guaranteed recoverability.
Use an immutable retention policy that prevents any deletions within the account indefinitely
Soft delete is time-bounded and recoverable, not indefinite immutability.
Create ad-hoc exports of shares to a separate account after every deployment
Manual exports are operationally heavy and not the built-in recoverability mechanism described.