ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 200 - Professional Cloud Developer discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
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.
Answers
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.
Answers
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.
Suggested answer: A, D

Explanation:

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.

asked 18/09/2024
Vidana Weerasinghe
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first