Easy1 markMultiple Choice
GCP ACE · Question 31 · Domain 4.1: Managing Compute Engine resources
You need to temporarily halt a Compute Engine instance named 'dev-server' to stop incurring compute charges over the weekend. You want to keep the boot disk intact so you can resume work on Monday.
Which command should you use?
You need to temporarily halt a Compute Engine instance named 'dev-server' to stop incurring compute charges over the weekend. You want to keep the boot disk intact so you can resume work on Monday.
Which command should you use?
Answer options:
A.
gcloud compute instances delete dev-server
B.
gcloud compute instances pause dev-server
C.
gcloud compute instances stop dev-server
D.
gcloud compute instances suspend dev-server
How to approach this question
Identify the standard command to shut down a VM without deleting its resources.
Full Answer
C.gcloud compute instances stop dev-server✓ Correct
The `gcloud compute instances stop` command performs a clean shutdown of the VM. When stopped, you no longer pay for CPU or memory, but you continue to pay for the persistent disks attached to it. You can start it again later.
Common mistakes
Choosing 'delete', which destroys the VM entirely.
Practice the full GCP Associate Cloud Engineer Practice Exam 3
50 questions · hints · full answers · grading
More questions from this exam
Q01You are starting a new project in Google Cloud and need to create a new GCP project and enable th...EasyQ02A new team member has joined your operations team. They need to be able to view all Compute Engin...MediumQ03Your company is migrating to Google Cloud. You currently manage all employee identities in an on-...MediumQ04Your development team is experimenting with new GCP services in a sandbox project. The finance te...MediumQ05Your company wants to perform complex, custom SQL analysis on their Google Cloud billing data to ...Easy
Expert