Google Cloud Associate Cloud Engineer — Question 129
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?
Answer options
- A. Disable the flag ג€Delete boot disk when instance is deleted.ג€
- B. Enable delete protection on the instance.
- C. Disable Automatic restart on the instance.
- D. Enable Preemptibility on the instance.
Correct answer: B
Explanation
The correct answer is B because enabling delete protection prevents accidental deletion of the instance. Options A, C, and D do not provide any safeguards against the deletion of the instance itself, focusing instead on disk management and instance behavior.