exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 231 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 231
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • A. Store user data on a Cloud Shell home disk, and log in at least every 120 days to prevent its deletion.
  • B. Store user data on a persistent disk in a Compute Engine instance.
  • C. Store user data in a Cloud Storage bucket.
  • D. Store user data in BigQuery tables.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
purushi
8 months, 3 weeks ago
Selected Answer: B
Persistent disk is the right option to store sensitive info in this case. ( Obviously in the general sense, we should store user data in the data store ) Key points: 1) You use Cloud Shell to interact with Google Cloud services 2) You want to minimize code changes
upvoted 1 times
...
rich_maverick
1 year, 2 months ago
C is best answer: Using gsfuse: https://github.com/GoogleCloudPlatform/gcsfuse you can have Cloud Shell interact with Cloud Storage directly as a drive. You don't need to redesign or recode or move your app from Cloud Shell. This is the same approach that dataproc uses to leverage GCS as a storage solution.
upvoted 3 times
TNT87
1 year, 2 months ago
No , kindly read the documentation about cloud shell and what it is them you will know why B is the answer
upvoted 1 times
...
...
mrvergara
1 year, 2 months ago
Selected Answer: B
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.
upvoted 4 times
...
TNT87
1 year, 3 months ago
Selected Answer: B
https://cloud.google.com/shell/docs/how-cloud-shell-works#persistent_disk_storage How Cloud Shell works bookmark_border Cloud Shell provisions a Compute Engine virtual machine running a Debian-based Linux operating system for your temporary use. This virtual machine is owned and managed by Google Cloud, so will not appear within any of your GCP projects. https://cloud.google.com/shell/docs/how-cloud-shell-works
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago