Google Cloud Associate Cloud Engineer — Question 56

You are setting up a Windows VM on Compute Engine and want to make sure you can log in to the VM via RDP. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because using gcloud compute reset-windows-password is the proper method to retrieve login credentials for a Windows VM on Compute Engine. Option A is incorrect as Google Account credentials are not used for RDP login. Option C is not valid since 'windows-password' metadata is not a recommended method for setting up RDP access. Option D is also incorrect because the JSON private key is not used for logging in via RDP.