Topic 1 Question 163
You made a typo in a low-level Linux configuration file that prevents your Compute Engine instance from booting to a normal run level. You just created the Compute Engine instance today and have done no other maintenance on it, other than tweaking files. How should you correct this error?
Download the file using scp, change the file, and then upload the modified version
Configure and log in to the Compute Engine instance through SSH, and change the file
Configure and log in to the Compute Engine instance through the serial port, and change the file
Configure and log in to the Compute Engine instance using a remote desktop client, and change the file
ユーザの投票
コメント(4)
- 正解だと思う選択肢: C👍 1zellck2022/12/16
- 👍 1TNT872022/12/24
- 正解だと思う選択肢: B
The correct answer is B: Configure and log in to the Compute Engine instance through SSH, and change the file.
This is the recommended method to make changes to a Linux configuration file on a Compute Engine instance. SSH allows secure remote access to the instance's command line interface, and it is designed to enable you to make changes to the instance's configuration files.
Option A, downloading and uploading the modified version of the file, is not the recommended method as it requires more steps and can introduce errors.
Option C, using the serial port, may be used in some cases, but it is not the recommended method as it requires more steps and can be more complex.
Option D, using a remote desktop client, is not applicable as Linux instances on Compute Engine do not come with a graphical user interface (GUI) by default.
👍 1Teraflow2023/03/31
シャッフルモード