Topic 1 Question 42
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?
~/bin
Cloud Storage
/google/scripts
/usr/local/bin
ユーザの投票
コメント(17)
A is correct 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.
👍 63ffk2019/10/29Well, I just double checked and if they were referring to the PATH variable then /usr/local/bin is also a correct answer........................................
👍 20Eroc2019/10/25- 正解だと思う選択肢: A
Cloud Shell provisions 5 GB of persistent disk storage mounted as your $HOME directory on the Cloud Shell instance. All files you store in your home directory, including scripts and user configuration files like .bashrc and .vimrc, persist between sessions.
👍 3vpatiltech2022/02/14
シャッフルモード