PROFESSIONAL-CLOUD-ARCHITECT · Question #101
You are using Cloud Shell and need to install a custom utility for use in a few weeks. Where can you store the file so it is in the default execution path and persists across sessions?
The correct answer is A. ~/bin. https://cloud.google.com/shell/docs/how-cloud-shell-works Cloud Shell provisions 5 GB of free persistent disk storage mounted as your $HOME directory on the virtual machine instance. This storage is on a per-user basis and is available across projects. Unlike the instance itself,
Question
Options
- A~/bin
- BCloud Storage
- C/google/scripts
- D/usr/local/bin
How the community answered
(61 responses)- A90% (55)
- B2% (1)
- C3% (2)
- D5% (3)
Explanation
https://cloud.google.com/shell/docs/how-cloud-shell-works Cloud Shell provisions 5 GB of free persistent disk storage mounted as your $HOME directory on the virtual machine instance. This storage is on a per-user basis and is available across projects. Unlike the instance itself, this storage does not time out on inactivity. All files you store in your home directory, including installed software, scripts and user configuration files like .bashrc and .vimrc, persist between sessions. Your $HOME directory is private to you and cannot be accessed by other users.
Topics
Community Discussion
No community discussion yet for this question.