
Answer-first summary for fast verification
Answer: Take a snapshot of the disk and connect to a new machine to investigate, Check inbound firewall rules for the network the machine is connected to, Print the Serial Console output for the instance for troubleshooting, activate the interactive console, and investigate
The question requires diagnosing SSH connectivity issues on a production database server without causing downtime, as the database is still serving requests correctly. Based on the community discussion and Google Cloud best practices: - **C (Take a snapshot of the disk and connect to a new machine to investigate)**: This allows investigation of SSH configuration (e.g., sshd settings, keys) without disrupting the live database, as snapshots are non-intrusive and can be attached to a separate VM for analysis. - **D (Check inbound firewall rules for the network the machine is connected to)**: SSH connectivity issues often stem from misconfigured firewall rules blocking port 22; this is a quick, non-disruptive check using Google Cloud Console or gcloud. - **F (Print the Serial Console output for the instance for troubleshooting, activate the interactive console, and investigate)**: The serial console provides logs and interactive access to troubleshoot SSH service status, boot errors, or network configurations without affecting database operations. Alternatives are less suitable: - **A and B** involve deleting the VM or disks, causing unnecessary downtime and data risk in a production environment. - **E** requires moving the VM to a different network, which is disruptive and may violate network constraints (e.g., single VPC interface per VM). The consensus (100% community vote for CDF) and upvoted comments emphasize minimal disruption and systematic troubleshooting, aligning with Google Cloud's SSH troubleshooting guidelines.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A few days after JencoMart migrated the user credentials database to Google Cloud Platform and decommissioned the old server, the new database server becomes unresponsive to SSH connections. It continues to serve database requests to the application servers without issue.
Which three steps should you take to diagnose the problem? (Choose three.)
A
Delete the virtual machine (VM) and disks and create a new one
B
Delete the instance, attach the disk to a new VM, and investigate
C
Take a snapshot of the disk and connect to a new machine to investigate
D
Check inbound firewall rules for the network the machine is connected to
E
Connect the machine to another network with very simple firewall rules and investigate
F
Print the Serial Console output for the instance for troubleshooting, activate the interactive console, and investigate