
Explanation:
The correct answer is A: ~/bin. This is because Cloud Shell provisions 5 GB of free persistent disk storage mounted as your HOME directory, including ~/bin, persist between sessions. The ~/bin directory is in the default execution path for all users in Cloud Shell, ensuring that any installed utilities remain accessible across sessions.
Ultimate access to all questions.
In the context of using Google Cloud Shell, you have a requirement to install a custom utility that you plan to use in a few weeks. It is important that this utility is stored in a location that persists across sessions and is in the default execution path. Where should you store the file?
A
~/bin
B
Cloud Storage
C
/google/scripts
D
/usr/local/bin
No comments yet.