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)
Rely solely on application logs and recreate files manually when needed
Use an immutable retention policy that prevents any deletions within the account indefinitely
Create ad-hoc exports of shares to a separate account after every deployment
Enable soft delete for file shares at the storage account level and set an appropriate retention period
Correct answers
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.