
Answer-first summary for fast verification
Answer: Enable delete protection on the instance.
The correct answer is B: Enable delete protection on the instance. By setting the deletionProtection flag on a VM instance, the instance is protected from accidental deletion. If someone tries to delete a protected VM, the request fails, ensuring critical instances are not inadvertently removed. This is a crucial step for protecting production applications and services.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are about to deploy a critical production application on Google Compute Engine, and it is essential to ensure the longevity and stability of this instance. Accidental deletion can lead to significant downtime and data loss, which could adversely affect business operations. How can you safeguard this Compute Engine instance to prevent any accidental destruction via user error, such as clicking the wrong button?
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.
No comments yet.