Google Cloud Professional Cloud Developer — Question 212

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?

Answer options

Correct answer: C

Explanation

The correct answer is C because accessing the instance through the serial port allows you to change the file even when the instance cannot boot to a normal run level. Options A, B, and D are invalid in this scenario since they require the instance to be operational or accessible via standard means, which is not possible due to the boot issue.