
Explanation:
The correct answer is C because the HOME directory (~/) is the only location in Cloud Shell that persists across sessions. According to Google Cloud Platform (GCP) documentation, Cloud Shell provides 5 GB of persistent disk storage mounted as your $HOME directory. This storage is user-specific and available across all projects. Files stored here, including scripts and configuration files like .bashrc and .vimrc, remain accessible between sessions. Options A, B, and D are incorrect as they do not offer persistence across sessions.
Ultimate access to all questions.
When using Cloud Shell, you need to install a custom utility that should be readily available in the default execution path and remain accessible across sessions. Where should you store this utility?
A
Cloud Storage
B
/google/scripts
C
~/bin
D
/usr/local/bin
No comments yet.