PROFESSIONAL-CLOUD-DEVELOPER · Question #248
PROFESSIONAL-CLOUD-DEVELOPER Question #248: Real Exam Question with Answer & Explanation
The correct answer is B: Store user data on a persistent disk in a Compute Engine instance.. Store user data in a Cloud Storage bucket is a good option for storing large amounts of data, but if you need to minimize code changes, using a persistent disk in a Compute Engine instance may be a better fit as it provides a more direct replacement for an ephemeral disk with sim
Question
You are a developer at a financial institution. You use Cloud Shell to interact with Google Cloud services. User data is currently stored on an ephemeral disk; however, a recently passed regulation mandates that you can no longer store sensitive information on an ephemeral disk. You need to implement a new storage solution for your user data. You want to minimize code changes. Where should you store your user data?
Options
- AStore user data on a Cloud Shell home disk, and log in at least every 120 days to prevent its
- BStore user data on a persistent disk in a Compute Engine instance.
- CStore user data in a Cloud Storage bucket.
- DStore user data in BigQuery tables.
Explanation
Store user data in a Cloud Storage bucket is a good option for storing large amounts of data, but if you need to minimize code changes, using a persistent disk in a Compute Engine instance may be a better fit as it provides a more direct replacement for an ephemeral disk with similar access patterns, which will likely require fewer changes to your existing code. Storing user data in a Cloud Storage bucket would likely require more significant changes to how your application interacts with the data.
Topics
Community Discussion
No community discussion yet for this question.