exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 73 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 73
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?

  • A. After the VM has been created, use your Google Account credentials to log in into the VM.
  • B. After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM.
  • C. When creating the VM, add metadata to the instance using 'windows-password' as the key and a password as the value.
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
John_Iam
Highly Voted 4 years, 3 months ago
Correct Answer is B. B. After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM. https://cloud.google.com/sdk/gcloud/reference/beta/compute/reset-windows-password
upvoted 63 times
dan80
4 years, 2 months ago
did you even look at the link you provide ? it clearly say gcloud beta compute reset-windows-password my-instance and not gcloud compute reset-windows-password. D is correct - https://cloud.google.com/iam/docs/creating-managing-service-account-keys
upvoted 4 times
lxgywil
3 years, 3 months ago
Oh yes? Then what about this link (for non-beta command)? https://cloud.google.com/sdk/gcloud/reference/compute/reset-windows-password "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." The answer is obviously B. Just test it and it'll become very clear
upvoted 7 times
...
dan80
4 years, 2 months ago
nobody talk on reset the password but how to access the Windows - best way - Service Account
upvoted 1 times
KerolesKhalil
1 year, 2 months ago
Service accounts shouldn't be used for RDP , they are used to machine authentication with services.
upvoted 1 times
KerolesKhalil
1 year, 2 months ago
Also how you will RDP with Service account and private key You need username and password , it is not ssh
upvoted 1 times
...
...
...
...
voler
4 years, 2 months ago
Yes! "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."
upvoted 5 times
...
ragu123
4 years ago
Correct answer is B. gcloud beta compute reset-windows-password allows a user to reset and retrieve a password for a Windows virtual machine instance. 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.
upvoted 4 times
...
...
Buruguduystunstugudunstuy
Highly Voted 1 year, 6 months ago
Selected Answer: B
CORRECT: Answer B. After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM. INCORRECT: Answer A is not correct because Google Account credentials cannot be used to log in to Windows VMs. Answer C is not correct because metadata can be used to specify some settings for a VM, but the 'windows-password' metadata key is not used for specifying the login password for a Windows VM. Answer D is not correct because the JSON private key for the default Compute Engine service account is not used for logging in to a Windows VM.
upvoted 8 times
...
Sakshi1221
Most Recent 8 months, 3 weeks ago
Why this website has published all incorrect answers
upvoted 2 times
...
BAofBK
10 months ago
The correct answer is B.
upvoted 1 times
...
dataSoftNinja
10 months ago
what is rdp meaning please ?
upvoted 1 times
lagx
6 months, 1 week ago
remote desktop protocal used to connect and login into windows machine, similar to ssh protocal for linux machine
upvoted 1 times
...
...
Captain1212
1 year ago
Selected Answer: B
Yes , B is the corrrect answer
upvoted 1 times
...
sakdip66
1 year, 4 months ago
Selected Answer: B
after creating Windows VM on COmpute Engine it has a local user account as well. This acct is used to login to the VM via RDP. If you forget the password you can use gcloud compute reset-windows-password to reset it. This command generates a new password and sets it for the user account on the VM.
upvoted 1 times
...
Partha117
1 year, 5 months ago
Selected Answer: B
Correct option B
upvoted 1 times
...
smanoj85
1 year, 5 months ago
Option B is correct. After creating a Windows VM instance on Compute Engine, you need to use the gcloud compute reset-windows-password command to retrieve the login credentials for the VM. This command generates a new Windows password and displays it in the output of the command. You can then use this password to log in to the VM via RDP. Option A is incorrect because logging in to the VM using your Google Account credentials is not a supported method for Windows VM instances. Option C is also incorrect because 'windows-password' is not a recognized metadata key for Windows VM instances. Option D is incorrect because you cannot use the JSON private key for the default Compute Engine service account to log in to a Windows VM instance via RDP.
upvoted 2 times
...
cslince
1 year, 9 months ago
Selected Answer: B
Correct Answer is B. B. After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM
upvoted 1 times
...
ale_brd_111
1 year, 11 months ago
Selected Answer: B
After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM.
upvoted 1 times
...
AzureDP900
2 years, 2 months ago
B is perfect for this question..
upvoted 1 times
...
haroldbenites
2 years, 3 months ago
Go for B https://cloud.google.com/sdk/gcloud/reference/compute/reset-windows-password
upvoted 2 times
...
Himadhar1997
2 years, 3 months ago
B is correct after VM creating , you can reset the password
upvoted 1 times
...
Harbeeb
2 years, 3 months ago
Selected Answer: B
After the VM has been created, use gcloud compute reset-windows-password to retrieve the login credentials for the VM
upvoted 2 times
...
dinesh198728
2 years, 5 months ago
Selected Answer: B
b is currect
upvoted 1 times
...
luciorifa
2 years, 6 months ago
Selected Answer: B
B is the correct answer, the command is the correct one
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago