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

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

You are developing an application that will store and access sensitive unstructured data objects in a Cloud Storage bucket. To comply with regulatory requirements, you need to ensure that all data objects are available for at least 7 years after their initial creation. Objects created more than 3 years ago are accessed very infrequently (less than once a year). You need to configure object storage while ensuring that storage cost is optimized. What should you do? (Choose two.)

  • A. Set a retention policy on the bucket with a period of 7 years.
  • B. Use IAM Conditions to provide access to objects 7 years after the object creation date.
  • C. Enable Object Versioning to prevent objects from being accidentally deleted for 7 years after object creation.
  • D. Create an object lifecycle policy on the bucket that moves objects from Standard Storage to Archive Storage after 3 years.
  • E. Implement a Cloud Function that checks the age of each object in the bucket and moves the objects older than 3 years to a second bucket with the Archive Storage class. Use Cloud Scheduler to trigger the Cloud Function on a daily schedule.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
__rajan__
7 months, 1 week ago
Selected Answer: AD
AD is correct.
upvoted 1 times
...
purushi
8 months, 4 weeks ago
Selected Answer: AD
Keys: 1) all data objects are available for at least 7 years after their initial creation : A. Set a retention policy on the bucket with a period of 7 years 2) Objects created more than 3 years ago are accessed very infrequently (less than once a year) : D. Create an object lifecycle policy on the bucket that moves objects from Standard Storage to Archive Storage after 3 years.
upvoted 1 times
...
Pime13
1 year, 2 months ago
Selected Answer: AD
https://cloud.google.com/storage/docs/bucket-lock https://cloud.google.com/storage/docs/lifecycle
upvoted 1 times
...
TNT87
1 year, 4 months ago
Selected Answer: AD
https://cloud.google.com/storage/docs/bucket-lock https://cloud.google.com/storage/docs/lifecycle Answer A,D
upvoted 2 times
...
x_cath
1 year, 4 months ago
Selected Answer: AD
A is correct because Cloud Storage provides an option to configure a retention lifecycle rule. B is incorrect because it is not a recommended way to implement data retention requirements. C is incorrect because it does not guarantee that objects are not deleted within 7 years after object creation. D is correct because it’s the easiest and recommended way to implement a storage lifecycle policy to move objects from Standard to Archive tier. E is incorrect because you do not require two buckets to store objects on two storage tiers.
upvoted 1 times
...
sharath25
1 year, 4 months ago
Selected Answer: AD
option AD
upvoted 1 times
...
zellck
1 year, 4 months ago
Selected Answer: AD
AD is the answer. https://cloud.google.com/storage/docs/bucket-lock This page discusses the Bucket Lock feature, which allows you to configure a data retention policy for a Cloud Storage bucket that governs how long objects in the bucket must be retained. The feature also allows you to lock the data retention policy, permanently preventing the policy from being reduced or removed. https://cloud.google.com/storage/docs/storage-classes#archive Archive storage is the lowest-cost, highly durable storage service for data archiving, online backup, and disaster recovery. Unlike the "coldest" storage services offered by other Cloud providers, your data is available within milliseconds, not hours or days. Archive storage is the best choice for data that you plan to access less than once a year.
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