exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 163 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 163
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • A. Download the file using scp, change the file, and then upload the modified version
  • B. Configure and log in to the Compute Engine instance through SSH, and change the file
  • C. Configure and log in to the Compute Engine instance through the serial port, and change the file
  • D. Configure and log in to the Compute Engine instance using a remote desktop client, and change the file
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
purushi
Highly Voted 8 months, 4 weeks ago
Selected Answer: C
If booting issue with Compute engine instance, then serial port access is one of the solution. SSH, RDP and SCP are not possible.
upvoted 6 times
...
09bd94b
Most Recent 2 months ago
Selected Answer: C
The only chance is to connect to the console via the serial connection
upvoted 1 times
...
NewComer200
1 year ago
Selected Answer: C
According to the explanation "prevents your Compute Engine instance from booting to a normal run level". So I think sshd deamon has not launched yet and you can't use ssh. I can't think of a correct answer to anything other than C.
upvoted 1 times
...
Teraflow
1 year, 1 month ago
Selected Answer: 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.
upvoted 1 times
NewComer200
1 year ago
Computer access through serial ports has been the method used by server administrators for a long time, so it is normal for professionals to be able to do this. If we consider that the computer is not running, there is no correct answer other than C.
upvoted 1 times
...
...
TNT87
1 year, 4 months ago
https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-console Answer C
upvoted 2 times
...
zellck
1 year, 4 months ago
Selected Answer: C
C is the answer. https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-console
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago