
Answer-first summary for fast verification
Answer: Generate a Windows password, ensure the security group has a firewall rule for port 3389, and install an RDP Client to connect.
The correct answer is **D** because connecting to a Windows instance requires the installation of an RDP client, as GCP does not provide one. You must generate a Windows instance password for authentication, and the RDP protocol uses port 3389. Options A and B are incorrect because an external RDP client is necessary, and you cannot connect directly from the GCP console. Options B and C are incorrect because port 22 is designated for SSH, not RDP. For more details, refer to the GCP documentation on [Connecting to Windows Instances](https://cloud.google.com/compute/docs/instances/connecting-to-instance).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
After installing an SQL server on a Windows instance in Google Cloud Platform (GCP), what is the most efficient method to connect to the instance?
A
Generate a Windows user and password, ensure the security group has a firewall rule for port 3389, and use the RDP option from the GCP Console to connect.
B
Generate a Windows password, ensure the security group has a firewall rule for port 22, and use the RDP option from the GCP Console to connect.
C
Generate a Windows user and password, ensure the security group has a firewall rule for port 22, and install an RDP Client to connect.
D
Generate a Windows password, ensure the security group has a firewall rule for port 3389, and install an RDP Client to connect.