Google
ASSOCIATE-CLOUD-ENGINEER · Question #202
You are deploying a production application on Compute Engine. You want to prevent anyone from accidentally destroying the instance by clicking the wrong button. What should you do?
The correct answer is B. Enable delete protection on the instance. Preventing Accidental VM Deletion This document describes how to protect specific VM instances from deletion by setting the deletionProtection property on an Instance resource. To learn more about VM instances, read the Instances documentation…
Submitted by neha2k· Mar 30, 2026Ensuring successful operation of a cloud solution
Question
You are deploying a production application on Compute Engine. You want to prevent anyone from accidentally destroying the instance by clicking the wrong button. What should you do?
Options
- ADisable the flag "Delete boot disk when instance is deleted."
- BEnable delete protection on the instance.
- CDisable Automatic restart on the instance.
- DEnable Preemptibility on the instance.
How the community answered
(37 responses)- A5% (2)
- B89% (33)
- C3% (1)
- D3% (1)
Explanation
Preventing Accidental VM Deletion This document describes how to protect specific VM instances from deletion by setting the deletionProtection property on an Instance resource. To learn more about VM instances, read the Instances documentation. https://cloud.google.com/compute/docs/instances/preventing-accidental-vm-deletion
Topics
#delete protection#Compute Engine#instance protection
Community Discussion
No community discussion yet for this question.