New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Associate Cloud Engineer Exam - Topic 1 Question 105 Discussion

Actual exam question for Google's Associate Cloud Engineer exam
Question #: 105
Topic #: 1
[All Associate Cloud Engineer Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

You can generate Windows passwords using either the Google Cloud Console or the gcloud command-line tool. This option uses the right syntax to reset the windows password.

gcloud compute reset-windows-password windows-instance

Ref:https://cloud.google.com/compute/docs/instances/windows/creating-passwords-for-windows-instances#gcloud


Contribute your Thoughts:

0/2000 characters
Kimbery
3 months ago
Why would you need a JSON key for RDP? That seems unnecessary.
upvoted 0 times
...
Antonio
3 months ago
Wait, can you really use Google Account credentials? Sounds off.
upvoted 0 times
...
Laurel
3 months ago
You need to use gcloud compute reset-windows-password for RDP access.
upvoted 0 times
...
Lynsey
3 months ago
Totally agree, option B is the way to go!
upvoted 0 times
...
Hana
3 months ago
I think option C is a bit risky, better stick with B.
upvoted 0 times
...
Matthew
4 months ago
I’m confused about the service account part in option D. I don’t recall needing a JSON key just to log in via RDP.
upvoted 0 times
...
Tracey
4 months ago
I practiced a similar question, and I think it was about retrieving credentials after the VM is created. That makes me lean towards option B again.
upvoted 0 times
...
Dominic
4 months ago
I'm not entirely sure, but I feel like we talked about using metadata for setting up Windows VMs. Could option C be a possibility?
upvoted 0 times
...
Carey
4 months ago
I think I remember that you need to use gcloud to reset the password for Windows VMs, so maybe option B is correct?
upvoted 0 times
...
Eulah
4 months ago
I think the key here is that we're setting up a Windows VM, so the standard Google Account login won't work. Based on that, I'd say option B is the way to go - using the gcloud compute reset-windows-password command to retrieve the correct login credentials.
upvoted 0 times
...
Hobert
5 months ago
I'm a little confused by this question. Wouldn't option A work, where we just use our Google Account credentials to log in? I'm not sure why we'd need to do anything special to set up the login. Let me think about this a bit more.
upvoted 0 times
...
Trinidad
5 months ago
Option C sounds like the easiest approach to me. That way, we can just set the password when we create the VM, and then use that to log in. I feel pretty confident that this is the right solution.
upvoted 0 times
...
Kenneth
5 months ago
Hmm, I'm not sure about this one. I know we need to set up the login credentials, but I'm not familiar with the gcloud command. Maybe C would work, where we add the password as metadata when creating the VM?
upvoted 0 times
...
Regenia
5 months ago
I think the answer is B. Using the gcloud compute reset-windows-password command seems like the best way to retrieve the login credentials for the Windows VM.
upvoted 0 times
...
Dana
10 months ago
Option C is genius! Hiding the password in the metadata? It's like a digital version of that old trick of writing the combination on the back of the lock.
upvoted 0 times
...
Lili
10 months ago
Option B all the way! Gcloud to the rescue! It's like having a personal butler who knows all your passwords and is totally cool with sharing them.
upvoted 0 times
Ria
8 months ago
Ria: Definitely, it's like having a password manager built right in.
upvoted 0 times
...
Cyril
9 months ago
Cyril: I agree, using gcloud makes it so easy to manage passwords.
upvoted 0 times
...
Stanford
9 months ago
B) After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM.
upvoted 0 times
...
...
Carman
10 months ago
Option A? Really? Using my Google Account credentials? Might as well just give the VM my social security number and the keys to my house.
upvoted 0 times
Michal
9 months ago
D) After the VM has been created, download the JSON private key for the default Compute Engine service account. Use the credentials in the JSON file to log in to the VM.
upvoted 0 times
...
Valentin
9 months ago
C) When creating the VM, add metadata to the instance using 'windows-password' as the key and a password as the value.
upvoted 0 times
...
Ira
9 months ago
B) After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM.
upvoted 0 times
...
...
Jaime
10 months ago
Downloading the JSON private key? Seriously? That's like trying to hack into the Pentagon with a paper clip and a rubber band.
upvoted 0 times
Goldie
9 months ago
B) After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM.
upvoted 0 times
...
Miesha
9 months ago
C) When creating the VM, add metadata to the instance using 'windows-password' as the key and a password as the value.
upvoted 0 times
...
Aliza
10 months ago
A) After the VM has been created, use your Google Account credentials to log in into the VM.
upvoted 0 times
...
...
Laurene
11 months ago
Hmm, that's interesting. I'll have to look into that option as well. Thanks for sharing your perspective, Shantay.
upvoted 0 times
...
Daniel
11 months ago
Option C is the winner! I love the idea of setting the password as metadata. It's like hiding the key under the doormat, but digital.
upvoted 0 times
Evangelina
9 months ago
D) After the VM has been created, download the JSON private key for the default Compute Engine service account. Use the credentials in the JSON file to log in to the VM.
upvoted 0 times
...
Barb
9 months ago
C) When creating the VM, add metadata to the instance using 'windows-password' as the key and a password as the value.
upvoted 0 times
...
Barney
10 months ago
B) After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM.
upvoted 0 times
...
Edna
10 months ago
A) After the VM has been created, use your Google Account credentials to log in into the VM.
upvoted 0 times
...
...
Shantay
11 months ago
I disagree, I believe the answer is B. Using gcloud to reset the Windows password after VM creation makes more sense to me.
upvoted 0 times
...
Truman
11 months ago
Option B seems like the way to go. I mean, who wants to use their Google Account credentials to log into a VM? That's just asking for trouble.
upvoted 0 times
...
Laurene
11 months ago
I think the answer is C. Adding metadata with the password during VM creation seems like the right way to go.
upvoted 0 times
...

Save Cancel