You created an instance of SQL Server 2017 on Compute Engine to test features in the new version. You want to connect to this instance using the fewest number of steps. What should you do?
A.
Install a RDP client on your desktop. Verify that a firewall rule for port 3389 exists.
B.
Install a RDP client in your desktop. Set a Windows username and password in the GCP Console. Use the credentials to log in to the instance.
C.
Set a Windows password in the GCP Console. Verify that a firewall rule for port 22 exists. Click the RDP button in the GCP Console and supply the credentials to log in.
D.
Set a Windows username and password in the GCP Console. Verify that a firewall rule for port 3389 exists. Click the RDP button in the GCP Console, and supply the credentials to log in.
I would say B is correct. RDP is enabled by default when you crate a Windows instance (no need to chek on it). Just make sure you install an RDP client ( chrome ext or RDP) and set windows password.
Obviously, B is not the answer because you have to install an RDP client which is an extra step. D is the answer because you can connect directly using the RDP button in the GCP console.
The firewall rule for port 3389 is created by default if you create windows server on Compute Engine. So, no need to verify it.
https://cloud.google.com/compute/docs/instances/connecting-to-windows#before-you-begin
In the link you provided the first step is to verify firewall rule was created, even if it is the default option!, so D is the most accurate even by the link.
I disagree. The Q says that you have just created this VM, which means the FW rules for RDP has also been created. I believe the documentations says it a bit wonky as it is something to check if things aren't working after you've done everything right, as someone could have deleted that rule if this server has been up for a while, rather than having to check this right after you've made a new VM.
I'd say B is better answer than D.
I tested this on on Compute Engine today by deploying a new instance. D is not correct. When you click the RDP button, you are asked to install a client or use the Windows RDP client if you are running Windows. There is no option to enter credentials or get an RDP session through the web interface.
There is no additional need of installing rdp client which makes and b incorrect, you can directly log in from console. And even the firewall rule although it's default should be verified before establishing connections. D is the absolute answer
D. Set a Windows username and password in the GCP Console. Verify that a firewall rule for port 3389 exists. Click the RDP button in the GCP Console, and supply the credentials to log in.
Explanation: For connecting to a SQL Server 2017 instance on Google Cloud Compute Engine using the fewest steps, you can use the RDP (Remote Desktop Protocol) connection, which is supported by default for Windows instances. The steps involved include:
Setting a Windows username and password: You need to specify these credentials in the GCP Console to access the instance via RDP.
Verifying the firewall rule for port 3389: Port 3389 is the default RDP port, so you need to ensure the appropriate firewall rule is in place.
Clicking the RDP button in the GCP Console: Once these settings are configured, you can use the RDP button in the console to connect to the instance. You'll then supply the credentials you set in the console.
Option D correctly includes:
Setting the Windows username and password in the GCP Console.
Verifying the firewall rule for port 3389.
Using the "RDP" button in the GCP Console to log in, ensuring the fewest number of steps.
Currently GCP support RDP Button at VM GCP https://www.google.com/search?sca_esv=636238c710bc0fc7&sxsrf=ADLYWIIE4h1x6wxfcCsUII3wGOJeLC5P5g:1733916710025&q=RDP+button+in+the+GCP+Console&udm=2&fbs=AEQNm0D7Nkus73mDfRiM-qGSEUWUGRlQvLHQV1vCo9BTpxTWdXf_Rth04xNqa7aHoD5yv9G64fmPfTi2VEH1A-4DF7EBxIPcUtslRrL9UyKNDbAjJZ4ogfz78wrk6C3LLbEGPWofK58Izae8SKteGXNQrtJbqmcwjyEKkFlr9j0j3HzRXs7H1iRv67Sx8M7um58mJG883G2H7e0gr16XyhQdWNKiT3YFzA&sa=X&ved=2ahUKEwj00siMz5-KAxUWRmcHHfmvOtYQtKgLegQIFhAB&biw=1920&bih=940&dpr=1.5#vhid=tU0HqiUlxKFSYM&vssid=mosaic
D is correct because B doesn't mention *using the RDP button*, making the task less efficient. B assumes that you will be forced to implement the second task (install RDP)
D is correct
For connecting to a SQL Server instance (which is running on a Windows Server on Google Compute Engine), using Remote Desktop Protocol (RDP) is the standard method.
Option D is correct because it includes setting up a Windows username and password, verifying that port 3389 is open for RDP in the firewall, and then using the RDP button in the GCP Console to log in, ensuring all necessary steps for a successful connection are completed.
This option provides a clear set of steps: you set the necessary credentials, ensure the firewall allows RDP traffic, and then use the built-in RDP feature of the GCP Console to connect directly to the instance.
Google Cloud Console provides an easy-to-use RDP button that allows you to directly connect to your instance without needing to separately install and configure an RDP client. This reduces the steps required for connection.
Documentation says "By default, Compute Engine creates firewall rules that allow RDP access on TCP port 3389. Verify that these firewall rules exist by visiting the firewall rules page in the Google Cloud console and looking for firewall rules that allow tcp:3389 connections."
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.
vnxt
Highly Voted 4 years, 9 months agopas77
3 years, 7 months agojabrrJ68w02ond1
3 years, 2 months agoUtsavDM
3 years, 5 months agoryumada
2 years, 6 months agoeledu1985
2 years, 3 months agobubidubi
1 year agoGregwaw
1 year, 5 months agoankit89
Highly Voted 4 years, 9 months agoobeythefist
2 years, 11 months agod5dd70c
Most Recent 1 month, 2 weeks agoArghadeep
1 month, 3 weeks agomodaknarayan
2 months agozAbuQasen
2 months agomnasruul
2 months, 1 week agomnasruul
2 months, 1 week agohalifax
2 months, 2 weeks agoMakar
3 months, 1 week agomartin2099
3 months, 2 weeks agorchowra
4 months agoakki82782
4 months agoChetantest07
4 months agosivakarthick16
4 months, 3 weeks agoTimfdklfajlksdjlakf
5 months, 3 weeks agokairosfc
6 months, 2 weeks agojcloud965
7 months agoBuenaCloudDE
7 months ago