
Answer-first summary for fast verification
Answer: Use Cloud Shell and the built-in code editor for development. Send your source code updates as pull requests.
The correct answer is C. Cloud Shell provides a browser-based development environment that runs on Google Cloud, ensuring no source code is stored locally on the public computer. The built-in editor and Git integration allow making updates and sending pull requests directly from the cloud. Options A and B risk storing code on the public computer's local storage. Option D incorrectly mixes Cloud Storage with Git and may still involve local caching.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a professional Cloud Developer working on a Node.js application using Google Cloud services (Cloud Storage, Cloud Build) with Git version control, you're tasked with making an emergency website update over the weekend without access to your work laptop. Given corporate policy prohibits local source code storage on non-company devices, what's the proper approach to configure your development environment for this urgent task?
A
Use a text editor and the Git command line to send your source code updates as pull requests from a public computer.
B
Use a text editor and the Git command line to send your source code updates as pull requests from a virtual machine running on a public computer.
C
Use Cloud Shell and the built-in code editor for development. Send your source code updates as pull requests.
D
Use a Cloud Storage bucket to store the source code that you need to edit. Mount the bucket to a public computer as a drive, and use a code editor to update the code. Turn on versioning for the bucket, and point it to the team's Git repository.
No comments yet.