Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud DevOps Engineer Exam - Topic 4 Question 111 Discussion

You are developing a Node.js utility on a workstation in Cloud Workstations by using Code OSS. The utility is a simple web page, and you have already confirmed that all necessary firewall rules are in place. You tested the application by starting it on port 3000 on your workstation in Cloud Workstations, but you need to be able to access the web page from your local machine. You need to follow Google-recommended security practices. What should you do?
D) Click the preview link in the Code OSS panel.
A) Allow public IP addresses in the Cloud Workstations configuration.
B) Use a browser running on a bastion host VM.
C) Run the gcloud compute start-iap-tunnel command to the Cloud Workstations VM.

Google Professional Cloud DevOps Engineer Exam - Topic 4 Question 111 Discussion

Actual exam question for Google's Professional Cloud DevOps Engineer exam
Question #: 111
Topic #: 4
[All Professional Cloud DevOps Engineer Questions]

You are developing a Node.js utility on a workstation in Cloud Workstations by using Code OSS. The utility is a simple web page, and you have already confirmed that all necessary firewall rules are in place. You tested the application by starting it on port 3000 on your workstation in Cloud Workstations, but you need to be able to access the web page from your local machine. You need to follow Google-recommended security practices. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: D

Cloud Workstations provides a secure way to preview web applications using built-in preview links, which expose internal ports only via authenticated and authorized access --- no public IP exposure required.

''To preview your app, click the preview icon in the Code OSS panel, which securely tunnels the service to your browser.''

--- Cloud Workstations - Previewing your app

This adheres to Google's security best practices by avoiding public IPs or manual tunneling while enabling developer efficiency.


Contribute your Thoughts:

0/2000 characters
Ira
3 days ago
Wait, can you really access it just by clicking a link? Sounds too simple!
upvoted 0 times
...
Jody
8 days ago
I agree, C is definitely the way to go!
upvoted 0 times
...
Rodolfo
14 days ago
Not sure about A, seems risky to allow public IPs.
upvoted 0 times
...
Nu
19 days ago
D is super easy, just click and go!
upvoted 0 times
...
Rikki
24 days ago
I think option C is the best choice for secure access.
upvoted 0 times
...
Catalina
29 days ago
Running the gcloud compute start-iap-tunnel command sounds familiar; I think we practiced that in a similar scenario last week.
upvoted 0 times
...
Wynell
1 month ago
I feel like allowing public IP addresses could expose us to risks, so that option seems wrong.
upvoted 0 times
...
Kayleigh
1 month ago
I think the preview link in Code OSS might be the easiest way to access it, but I'm not sure if it follows the security practices we studied.
upvoted 0 times
...
Magda
1 month ago
I remember something about using IAP tunnels for secure access, but I'm not entirely sure how to set it up correctly.
upvoted 0 times
...

Save Cancel