Easy1 markMultiple Choice
GCP ACE · Question 31 · Domain 4.1: Managing Compute Engine resources
A Compute Engine instance named data-cruncher has finished its processing task. You want to shut it down to stop incurring compute charges, but you need to keep its boot disk intact so you can start it again next week.
Which command should you use?
A Compute Engine instance named data-cruncher has finished its processing task. You want to shut it down to stop incurring compute charges, but you need to keep its boot disk intact so you can start it again next week.
Which command should you use?
Answer options:
A.
gcloud compute instances stop data-cruncher
B.
gcloud compute instances pause data-cruncher
C.
gcloud compute instances suspend data-cruncher
D.
gcloud compute instances delete data-cruncher
How to approach this question
Identify the command that halts the VM without destroying the underlying resources.
Full Answer
A.gcloud compute instances stop data-cruncher✓ Correct
gcloud compute instances stop data-cruncher
The `gcloud compute instances stop` command sends an ACPI power-off signal to the instance. The instance transitions to a TERMINATED state. You stop paying for CPU and memory, but the persistent disks remain intact (and you continue to pay for the storage). You can later use `gcloud compute instances start` to boot it back up.
Common mistakes
Choosing 'delete', which destroys the instance entirely.
Practice the full GCP Associate Cloud Engineer Practice Exam 5
50 questions · hints · full answers · grading
More questions from this exam
Q01You are starting a new initiative and need to create a new Google Cloud project using the command...EasyQ02A developer on your team needs to manage App Engine applications, including deploying new version...MediumQ03You have created a new Google Cloud project. You need to allow a specific group of developers to ...MediumQ04Which statement best describes the relationship between Google Cloud projects and billing accounts?EasyQ05Your company wants to be notified immediately in their Slack channel whenever their monthly Googl...Medium
Expert