Professional Cloud DevOps Engineer Practice Questions

Google Cloud Professional Cloud DevOps Engineer exam preparation

Professional Cloud DevOps Engineer practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 120 minutes.

Professional Cloud DevOps Engineer free question 10 / 10 · Domain 5: Optimizing performance and cost

An idle VM recommendation contains an operation group with two operations. What do the operations tell the team to do?

  1. Replace the VM status with SUSPENDED, and then test the attached disks
  2. Test the CPU utilization of the VM, and then delete the VM
  3. Replace the machine type with a smaller one, and then test the VM again
  4. Test that the VM is RUNNING, then replace its status with TERMINATED
Show the answer and explanation

Answer: D

Why this is correct
Each idle VM recommendation contains an operation group with two operations that you perform in serial. The first is a test operation that verifies the current status of the VM, which should still be RUNNING, and you can check this by looking at the VM state. The second is a replace operation that changes the status of the VM to TERMINATED, which you do by stopping the VM. The recommendation does not delete the VM, and a smaller machine type is a different recommender's suggestion.

Why the other options are wrong
"Test the CPU utilization of the VM, and then delete the VM" … The first operation tests the status of the VM, which should still be RUNNING. The second replaces the status with TERMINATED, which means stopping the VM.
"Replace the VM status with SUSPENDED, and then test the attached disks" … The operations are a test of the current status followed by a replace to TERMINATED. A suspend step is not part of them.
"Replace the machine type with a smaller one, and then test the VM again" … Changing the machine type is the job of the VM machine type recommender. The idle VM recommendation operates on the status of the VM.

Key points
Idle VM operations: test status RUNNING, then replace with TERMINATED (stop).

Go to the Professional Cloud DevOps Engineer practice app (10 free questions; purchase unlocks all questions)

See the full practice set