Topic 9 Question 46
3 つ選択Suppose you have a web server that is working properly, but you can't connect to its instance VM over SSH. Which of these troubleshooting methods can you use without disrupting production traffic?
Create a snapshot of the disk and use it to create a new disk; then attach the new disk to a new instance
Use netcat to try to connect to port 22
Access the serial console output
Create a startup script to collect information.
解説
If you modify your firewall rules, it could prevent traffic from flowing to your VM. You can't attach the VM instance's disk to a new instance without detaching it from the existing instance first, which would require shutting down the instance. If you create a startup script to collect information, you will have to restart your VM instance to run the script. You can view the serial console output without disrupting traffic. Running commands in the interactive serial console, on the other hand, could disrupt operations. Connecting to port 22 using netcat will only affect the SSH server on the VM, since that is the only service that listens on port 22. You can create a snapshot of a VM instance's disk without disrupting the VM's operation. Reference: https://cloud.google.com/compute/docs/troubleshooting#ssherrors
コメント(4)
Answers are A, B, C
👍 4Ausias182021/04/01ABC is the correct answer
👍 2Ziegler2020/06/06D is wrong, so A, B, C is correct :)
👍 1Abygin2020/09/08
シャッフルモード