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

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

You recently developed a web application to transfer log data to a Cloud Storage bucket daily. Authenticated users will regularly review logs from the prior two weeks for critical events. After that, logs will be reviewed once annually by an external auditor. Data must be stored for a period of no less than 7 years. You want to propose a storage solution that meets these requirements and minimizes costs. What should you do? (Choose two.)

  • A. Use the Bucket Lock feature to set the retention policy on the data.
  • B. Run a scheduled job to set the storage class to Coldline for objects older than 14 days.
  • C. Create a JSON Web Token (JWT) for users needing access to the Coldline storage buckets.
  • D. Create a lifecycle management policy to set the storage class to Coldline for objects older than 14 days.
  • E. Create a lifecycle management policy to set the storage class to Nearline for objects older than 14 days.
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
purushi
8 months, 3 weeks ago
Selected Answer: AD
A -> Data must be stored for a period of no less than 7 years. D -> Authenticated users will regularly review logs from the prior two weeks for critical events. After that, logs will be reviewed once annually by an external auditor.
upvoted 1 times
purushi
8 months, 3 weeks ago
D. Create a lifecycle management policy to set the storage class to Coldline for objects older than 14 days This should be like setting the storage class to Archival for objects older than 14 days, since logs will be reviewed once annually by an external auditor. But the close answer is Coldline in Option D.
upvoted 1 times
...
...
Pime13
1 year, 2 months ago
Selected Answer: AD
lock to avoid deletion before 7 years lifecycle policy to change to coldline (since it will be accessed anually) after 14 days.
upvoted 1 times
...
mrvergara
1 year, 2 months ago
Selected Answer: AD
The requirement of storing data for a period of no less than 7 years can be met by setting the retention policy for the data in the Cloud Storage bucket. This can be done using the Bucket Lock feature (A) or a lifecycle management policy (D), which can be set to retain the objects for the required period of 7 years.
upvoted 3 times
...
TNT87
1 year, 3 months ago
Selected Answer: AD
https://cloud.google.com/storage/docs/bucket-lock 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago