Prevent accidental deletion of a production Compute Engine instance. Which setting should you enable?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable delete protection on the instance..
Why this is the answer
Enabling delete protection on the instance is the direct and most effective way to prevent accidental deletion. This setting requires an explicit action to disable protection before an instance can be deleted, adding a crucial safeguard. Disabling 'Delete boot disk when instance is deleted' only prevents the boot disk from being deleted, not the instance itself. The instance would still be deleted, leaving a detached boot disk. Disabling Automatic restart prevents the instance from automatically restarting after a crash or maintenance event; it has no bearing on deletion protection. Enabling preemptibility makes the instance much cheaper but also allows Compute Engine to terminate it at any time, which is the opposite of preventing accidental deletion.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed