PROFESSIONAL-CLOUD-DEVELOPER · Question #107
You work for a web development team at a small startup. Your team is developing a Node.js application using Google Cloud services, including Cloud Storage and Cloud Build. The team uses a Git reposito
The correct answer is C. Use Cloud Shell and the built-in code editor for development. Send your source code updates as. Cloud Shell with the built-in Cloud Shell Editor is the correct solution because it runs entirely in the browser on a Google-managed VM - no source code is stored on the non-corporate computer. Cloud Shell provides a terminal, a built-in VS Code-based editor, gcloud CLI, git, and
Question
You work for a web development team at a small startup. Your team is developing a Node.js application using Google Cloud services, including Cloud Storage and Cloud Build. The team uses a Git repository for version control. Your manager calls you over the weekend and instructs you to make an emergency update to one of the company's websites, and you're the only developer available. You need to access Google Cloud to make the update, but you don't have your work laptop. You are not allowed to store source code locally on a non-corporate computer. How should you set up your developer environment?
Options
- AUse a text editor and the Git command line to send your source code updates as pull requests
- BUse a text editor and the Git command line to send your source code updates as pull requests
- CUse Cloud Shell and the built-in code editor for development. Send your source code updates as
- DUse a Cloud Storage bucket to store the source code that you need to edit. Mount the bucket to a
How the community answered
(34 responses)- A3% (1)
- B12% (4)
- C79% (27)
- D6% (2)
Explanation
Cloud Shell with the built-in Cloud Shell Editor is the correct solution because it runs entirely in the browser on a Google-managed VM - no source code is stored on the non-corporate computer. Cloud Shell provides a terminal, a built-in VS Code-based editor, gcloud CLI, git, and Node.js pre-installed, making it a fully functional cloud-based development environment. Pull requests can be sent from Cloud Shell to the Git repository. Option A and B (text editor and Git CLI on the personal computer) would store source code locally, violating the stated constraint. Option D (Cloud Storage bucket mounted locally) still requires mounting to the local machine, which means source code would touch the non-corporate device. Cloud Shell is specifically designed for exactly this scenario: secure, browser-based development without local data residency.
Topics
Community Discussion
No community discussion yet for this question.