Interview practice question
Protecting critical resources from accidental deletion
Cloud & DevOps · Terraform and IaC · Beginner
How do you protect a production database from being accidentally destroyed by Terraform?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- lifecycle prevent_destroy = true.
- Cloud-level deletion protection.
- Plan review in PRs.
- Restrict who can apply.
- Backups/snapshots as last line.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.