nerdexam
Google

PROFESSIONAL-CLOUD-ARCHITECT · Question #105

You have an outage in your Compute Engine managed instance group: all instance keep restarting after 5 seconds. You have a health check configured, but autoscaling is disabled. Your colleague, who…

The correct answer is C. Disable the health check for the instance group. Add his SSH key to the project-wide SSH keys. As per the requirement linux expert would need access to VM to troubleshoot the issue. With health check enabled, old VM will be terminated as soon as health-check fails for the VM and new VM will be auto-created. So, this situation will prevent linux expert to troubleshoot the…

Submitted by chiamaka_o· Mar 30, 2026Ensuring solution and operations reliability

Question

You have an outage in your Compute Engine managed instance group: all instance keep restarting after 5 seconds. You have a health check configured, but autoscaling is disabled. Your colleague, who is a Linux expert, offered to look into the issue. You need to make sure that he can access the VMs. What should you do?

Options

  • AGrant your colleague the IAM role of project Viewer
  • BPerform a rolling restart on the instance group
  • CDisable the health check for the instance group. Add his SSH key to the project-wide SSH keys
  • DDisable autoscaling for the instance group. Add his SSH key to the project-wide SSH Keys

How the community answered

(17 responses)
  • A
    12% (2)
  • B
    12% (2)
  • C
    53% (9)
  • D
    24% (4)

Explanation

As per the requirement linux expert would need access to VM to troubleshoot the issue. With health check enabled, old VM will be terminated as soon as health-check fails for the VM and new VM will be auto-created. So, this situation will prevent linux expert to troubleshoot the issue. Had it been the case that stack-drover logging is enabled and the expert just want to view the logs from the Cloud-logs than role to project-viewer could help. But it is specifically mentioned that expert will login into VM to troubleshoot the issue and not looking at the cloud Logs.

Topics

#managed instance group#health check#SSH access#troubleshooting

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-ARCHITECT Practice