Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


As a site reliability engineer in a company with multiple GCP projects, you're developing a customer-facing website on Compute Engine. Your GCP project is also utilized by other teams for hosting their applications. What strategy can you employ to safeguard your application from accidental downtime caused by other teams?




Explanation:

Enabling deletion protection on the instance is the correct strategy because it prevents the accidental deletion of the VM instance, thereby safeguarding your application from downtime caused by other teams' actions. While options like using a Shielded VM or a sole-tenant node offer security and isolation benefits, they do not specifically protect against accidental deletions. Preemptible VMs, being cost-effective and short-lived, are not suitable for ensuring uptime as they can be terminated by Compute Engine at any time. Therefore, the most effective measure is to enable deletion protection on your instance to prevent accidental disruptions.