nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #98

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?

The correct answer is B. After the VM has been created, use gcloud compute reset-windows-password to retrieve the login. If the Windows account does not exist, this command will cause the account to be created and the password for that new account will be returned. https://cloud.google.com/sdk/gcloud/reference/beta/compute/reset-windows-password

Submitted by yousef_jo· Mar 30, 2026Deploying and implementing a cloud solution

Question

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?

Options

  • AAfter the VM has been created, use your Google Account credentials to log in into the VM.
  • BAfter the VM has been created, use gcloud compute reset-windows-password to retrieve the login
  • CWhen creating the VM, add metadata to the instance using `windows-password' as the key and a
  • DAfter the VM has been created, download the JSON private key for the default Compute Engine

How the community answered

(58 responses)
  • A
    2% (1)
  • B
    93% (54)
  • C
    3% (2)
  • D
    2% (1)

Explanation

If the Windows account does not exist, this command will cause the account to be created and the password for that new account will be returned. https://cloud.google.com/sdk/gcloud/reference/beta/compute/reset-windows-password

Topics

#Windows VM#RDP access#reset-windows-password#gcloud compute

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice