nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #207

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

The correct answer is D. Click the preview link in the Code OSS panel.. Cloud Workstations provides a secure, built-in preview feature in Code OSS that allows you to safely access web applications running on the workstation without exposing the application to the public internet. This approach follows Google-recommended security practices by keeping

Submitted by sofia.br· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

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?

Options

  • AUse a browser running on a bastion host VM.
  • BRun the gcloud compute start-iap-tunnel command to the Cloud Workstations VM.
  • CAllow public IP addresses in the Cloud Workstations configuration.
  • DClick the preview link in the Code OSS panel.

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    12% (3)
  • C
    8% (2)
  • D
    76% (19)

Explanation

Cloud Workstations provides a secure, built-in preview feature in Code OSS that allows you to safely access web applications running on the workstation without exposing the application to the public internet. This approach follows Google-recommended security practices by keeping the service private and avoiding unnecessary network exposure, ensuring that only the authenticated developer can access the running application.

Topics

#Cloud Workstations#Code OSS#Web Preview#Secure Development

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice