Google Cloud Professional Cloud Developer — Question 56
Your application is running on Compute Engine and is showing sustained failures for a small number of requests. You have narrowed the cause down to a single
Compute Engine instance, but the instance is unresponsive to SSH.
What should you do next?
Answer options
- A. Reboot the machine.
- B. Enable and check the serial port output.
- C. Delete the machine and create a new one.
- D. Take a snapshot of the disk and attach it to a new machine.
Correct answer: B
Explanation
Enabling and checking the serial port output allows you to troubleshoot the unresponsive instance by providing insights into its boot process and errors. Rebooting the machine may not resolve underlying issues, while deleting the machine could result in data loss. Taking a snapshot is a good practice, but it does not address the immediate problem of the unresponsive instance.