
Answer-first summary for fast verification
Answer: gsutil mb -c nearline gs://archive_bucket
The correct answer is **A** because the Nearline storage class is designed for data that you expect to access no more than once per month, making it ideal for this scenario. The `-c` parameter is necessary to specify the storage class. - **Option B** is incorrect because `rm` is used to remove data, not create a bucket. - **Option C** is incorrect because Coldline is suited for data accessed less frequently than once per month. - **Option D** is incorrect because it defaults to creating a regional bucket without specifying the storage class, which does not meet the requirement for monthly access.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Which command should you use to create a storage bucket named 'archive_bucket' that is optimized for data accessed once per month?
A
gsutil mb -c nearline gs://archive_bucket
B
gsutil rm -coldline gs://archive_bucket
C
gsutil mb -c coldline gs://archive_bucket
D
gsutil mb gs://archive_bucket
No comments yet.