
Answer-first summary for fast verification
Answer: Use gcloud to create the VM and generate login credentials with `gcloud compute reset-windows-password`.
Option D is correct because `gcloud beta compute reset-windows-password` allows for the reset and retrieval of a password for a Windows VM, enabling RDP access. Option A is incorrect as service account credentials are not used for RDP. Option B is incorrect because metadata cannot provide RDP access credentials. Option C is incorrect since Google Account credentials cannot be used for RDP access to a Windows VM. For more details, refer to [Google Cloud documentation](https://cloud.google.com/sdk/gcloud/reference/beta/compute/reset-windows-password).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are developing an internal portal for technical announcements and plan to use a Windows VM on Compute Engine. Ensuring RDP access is a priority. What is the correct approach?
A
Download the JSON private key for the default Compute Engine service account and use those credentials for RDP access.
B
Add metadata to the instance with ‘windows-password‘ as the key and your password as the value to enable RDP.
C
Utilize the GCP console to create the VM and log in using your Google Account credentials.
D
Use gcloud to create the VM and generate login credentials with gcloud compute reset-windows-password.
No comments yet.