Topic 1 Question 349
Your team runs a Python job that reads millions of customer record files stored in a Cloud Storage bucket. To comply with regulatory requirements, you need to ensure that customer data is immediately deleted once the job is completed. You want to minimize the time required to complete this task. What should you do?
Add a final step in the job that deletes all the objects in the bucket in bulk by using batch requests to the Cloud Storage API.
Configure Object Lifecycle Management on the Cloud Storage bucket that deletes all the objects in the bucket at the end of the job execution.
Remove the bucket from the Google Cloud console when the job is completed
Use the gcloud CLI to execute the gcloud storage rm --recursive gs://BUCKET_NAME/ command.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: A
this approach makes sense
👍 109bd94b2025/03/02
シャッフルモード