Medium1 markMultiple Choice
GCP ACE · Question 20 · Domain 3.1: Deploying and implementing Compute Engine resources
You need to ensure that a specific Compute Engine instance always restarts automatically if it crashes or is terminated by a system event (like hardware failure). What should you do?
You need to ensure that a specific Compute Engine instance always restarts automatically if it crashes or is terminated by a system event (like hardware failure). What should you do?
Answer options:
A.
Create a cron job on the instance to check its status.
B.
Place the instance in an unmanaged instance group.
C.
Ensure the automatic restart policy is set to 'On' (which is the default).
D.
Use Cloud Monitoring to trigger a Cloud Function to restart it.
How to approach this question
Identify the native Compute Engine feature that handles hardware failures.
Full Answer
C.Ensure the automatic restart policy is set to 'On' (which is the default).✓ Correct
Ensure the automatic restart policy is set to 'On' (which is the default).
By default, Compute Engine instances are configured to automatically restart if they are terminated due to a system event, such as a hardware failure or maintenance event. This is controlled by the 'Automatic restart' availability policy on the instance.
Common mistakes
Thinking you need a complex monitoring setup to achieve basic VM restarts.
Practice the full GCP Associate Cloud Engineer Practice Exam 1
50 questions · hints · full answers · grading
More questions from this exam
Q01What is the highest level of the Google Cloud resource hierarchy?EasyQ02You need to enable the Compute Engine API in a new project using the command line. Which command ...EasyQ03You are setting up a new GCP environment. You need to grant a group of developers access to view ...MediumQ04You want to receive an email notification when your GCP spending exceeds $1000 this month. What s...EasyQ05You need to analyze your GCP billing data using complex SQL queries to understand cost trends acr...Medium
Expert