Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Recall & Review
beginner
What is the <strong>Standard</strong> storage class in Google Cloud Storage?
The Standard storage class is for data that is accessed frequently. It offers low latency and high throughput, making it ideal for active data like websites or apps.
Click to reveal answer
beginner
When should you use the Nearline storage class?
Use Nearline for data accessed less than once a month. It is cheaper than Standard but has a small fee for data retrieval, suitable for backups or data you check occasionally.
Click to reveal answer
intermediate
Describe the <strong>Coldline</strong> storage class and its best use case.
Coldline is for data accessed less than once a quarter. It is cheaper than Nearline but has higher retrieval costs. Good for disaster recovery or long-term backups.
Click to reveal answer
intermediate
What is the main characteristic of the Archive storage class?
Archive is the cheapest storage class for data accessed less than once a year. It has the highest retrieval cost and latency, perfect for data you rarely need but must keep.
Click to reveal answer
beginner
How do storage classes affect cost and access speed in Google Cloud Storage?
Storage classes balance cost and access speed. Standard is fastest and most expensive. Nearline, Coldline, and Archive get cheaper but slower and cost more to retrieve data.
Click to reveal answer
Which storage class is best for data accessed multiple times a day?
AStandard
BNearline
CColdline
DArchive
✗ Incorrect
Standard is designed for frequent access with low latency.
If you access your data once every two months, which storage class is most cost-effective?
AStandard
BNearline
CColdline
DArchive
✗ Incorrect
Nearline is ideal for data accessed less than once a month, balancing cost and access.
Which storage class has the highest data retrieval cost?
AArchive
BNearline
CColdline
DStandard
✗ Incorrect
Archive has the highest retrieval cost because it is meant for rarely accessed data.
What is a key difference between Coldline and Archive storage classes?
AArchive has lower latency than Coldline
BArchive is for frequently accessed data
CColdline is for data accessed less than once a year
DColdline has lower retrieval latency than Archive
✗ Incorrect
Coldline is more expensive than Archive but has lower retrieval latency.
Which storage class would you choose for disaster recovery backups accessed quarterly?
AStandard
BNearline
CColdline
DArchive
✗ Incorrect
Coldline is designed for data accessed less than once a quarter, like disaster recovery.
Explain the differences between Standard, Nearline, Coldline, and Archive storage classes in Google Cloud Storage.
Think about how often you need the data and how much you want to pay.
You got /4 concepts.
Describe a scenario where choosing the Archive storage class is better than Standard.
Imagine storing old records you almost never look at.
You got /4 concepts.
Practice
(1/5)
1. Which Google Cloud Storage class is best for data you need to access frequently and quickly?
easy
A. Standard
B. Nearline
C. Coldline
D. Archive
Solution
Step 1: Understand access frequency for each storage class
Standard is designed for frequent access, Nearline for monthly, Coldline for quarterly, and Archive for rare access.
Step 2: Match frequent access requirement
Since the question asks for frequent and quick access, Standard is the best fit.
Final Answer:
Standard -> Option A
Quick Check:
Frequent access = Standard [OK]
Hint: Frequent access? Choose Standard storage class [OK]
Common Mistakes:
Choosing Archive for frequent access
Confusing Nearline with Standard
Thinking Coldline is for frequent data
2. Which storage class should you specify in the bucket creation command to store data accessed about once a month?
easy
A. gsutil mb -c coldline gs://my-bucket
B. gsutil mb -c nearline gs://my-bucket
C. gsutil mb -c archive gs://my-bucket
D. gsutil mb -c standard gs://my-bucket
Solution
Step 1: Identify the storage class for monthly access
Nearline is designed for data accessed about once a month.
Step 2: Match the correct gsutil command syntax
The command to create a bucket with Nearline storage class is 'gsutil mb -c nearline gs://my-bucket'.
Final Answer:
gsutil mb -c nearline gs://my-bucket -> Option B
Quick Check:
Monthly access = Nearline [OK]
Hint: Nearline = monthly access, use '-c nearline' in command [OK]
Common Mistakes:
Using '-c coldline' for monthly access
Using '-c archive' for monthly access
Confusing command syntax with bucket name
3. You have a bucket with Coldline storage class. You upload a 10 GB file and access it immediately. What is true about the cost and access speed?
medium
A. Low storage cost, slower access speed with retrieval fee
Hint: Coldline is cheap storage but slow and costly to access [OK]
Common Mistakes:
Assuming Coldline has fast access speed
Thinking Coldline has no retrieval fees
Confusing Coldline with Standard class
4. A user created a bucket with the command gsutil mb -c standard gs://archive-data but wants to store rarely accessed data. What is the best fix?
medium
A. Delete and recreate bucket with -c archive option
B. Change storage class to Coldline using gsutil setclass coldline
C. Use gsutil rewrite -s archive gs://archive-data/** to change storage class
D. No fix needed; Standard is best for rare access
Solution
Step 1: Identify the problem with initial bucket creation
The bucket was created with Standard class, which is costly for rarely accessed data.
Step 2: Find the correct method to change storage class without deleting bucket
Using gsutil rewrite -s archive gs://archive-data/** changes storage class of existing objects to Archive without bucket recreation.
Final Answer:
Use gsutil rewrite -s archive gs://archive-data/** to change storage class -> Option C
Quick Check:
Change storage class with gsutil rewrite [OK]
Hint: Use gsutil rewrite to change storage class without bucket deletion [OK]
Common Mistakes:
Deleting bucket unnecessarily
Using non-existent gsutil setclass command
Thinking Standard is best for rare access
5. A company wants to archive 100 TB of data that is accessed less than once a year but must be retrievable within hours if needed. Which storage class should they choose and why?
hard
A. Standard, because it offers fastest access
B. Nearline, because it balances cost and monthly access
C. Coldline, because it is cheaper and supports quarterly access
D. Archive, because it is lowest cost and retrieval is within hours
Solution
Step 1: Analyze access frequency and retrieval time needs
Data is accessed less than once a year, so very rare access. Retrieval must be within hours.
Step 2: Match storage class to access pattern and retrieval speed
Archive class is designed for rare access with lowest cost and retrieval times within hours, fitting the requirement.
Step 3: Compare with other classes
Standard is costly, Nearline is for monthly access, Coldline is for quarterly access, so Archive is best.
Final Answer:
Archive, because it is lowest cost and retrieval is within hours -> Option D