Regulation prohibits storing sensitive user data on ephemeral disks used by Cloud Shell. To minimize code changes, where should you store the user data?
Choose an answer
Tap an option to check your answer.
Correct answer: Store user data on a persistent disk in a Compute Engine instance..
Why this is the answer
The correct answer is to store user data on a persistent disk in a Compute Engine instance. Cloud Shell's ephemeral disks are temporary and not designed for persistent storage of sensitive data due to regulatory compliance. A persistent disk on a Compute Engine instance provides durable, block-level storage that remains available even if the instance is stopped or restarted, making it suitable for sensitive user data that requires persistence and control. Storing user data on a Cloud Shell home disk is incorrect because while it offers some persistence, it's tied to the Cloud Shell environment and subject to deletion if not accessed regularly, which violates the requirement for reliable, persistent storage of sensitive data. Storing data in a Cloud Storage bucket or BigQuery tables is also incorrect for this specific scenario. While both are persistent storage options, the question implies a need for file-system-like storage accessible to an application, which a persistent disk provides more directly than object storage (Cloud Storage) or a data warehouse (BigQuery).
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed