
Answer-first summary for fast verification
Answer: gsutil mb -c coldline gs://archive_bucket
The correct answer is **B** because the Coldline storage class is designed for data that is accessed infrequently, such as for compliance or audit purposes. The `-c` parameter is required to specify the storage class. - **Option A** is incorrect because Nearline is not suitable for data that is rarely accessed. - **Option C** is incorrect because `rm` is used to remove data, not create a bucket. - **Option D** is incorrect because it does not specify a storage class, resulting in a regional bucket by default.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company is planning to archive data to Cloud Storage, which will only be accessed in the event of compliance issues or audits. What command should you use to create a storage bucket named 'archive_bucket' with a storage class suitable for rare access?
A
gsutil mb -c nearline gs://archive_bucket
B
gsutil mb -c coldline gs://archive_bucket
C
gsutil rm -coldline gs://archive_bucket
D
gsutil mb gs://archive_bucket
No comments yet.