
Answer-first summary for fast verification
Answer: ~/bin
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.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.