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 338 discussion

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

You are developing a short-term image hosting service where end users around the world can upload images that are up to 20MB, and the images will be automatically deleted after 10 days. You need to determine how the images should be stored while minimizing cost. How should you store the images?

  • A. Write the image to a Cloud Storage bucket. Create a lifecycle configuration that deletes objects 10 days older than their creation date.
  • B. Write the images to Spanner. Configure a row deletion policy on the table that deletes rows 10 days older than their creation date.
  • C. Write the images to Firestore. Deploy a Cloud Scheduler-invoked Cloud Run service that queries for documents written 10 days prior to today and deletes them.
  • D. Write the images to Bigtable. Configure a garbage collection policy for the column family that deletes cells 10 days older than their creation date.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Pime13
3 weeks, 6 days ago
Selected Answer: A
https://cloud.google.com/storage/docs/lifecycle
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 ...