Recall & Review
beginner
What is the purpose of the Requester Pays feature in Google Cloud Storage?
Requester Pays lets the person or project requesting data pay for the data access costs, instead of the bucket owner. This helps share costs fairly when many users access the same data.
Click to reveal answer
beginner
How do you enable Requester Pays on a Google Cloud Storage bucket?
You enable it by setting the bucket's billing configuration to Requester Pays using the command: <br>
gsutil requester-pays set on gs://[BUCKET_NAME]Click to reveal answer
intermediate
What must a user do to access data from a Requester Pays bucket?
The user must specify the billing project that will pay for the access costs by adding the flag
-u [PROJECT_ID] when using gsutil or setting the billing project in API requests.Click to reveal answer
intermediate
What happens if a user tries to access a Requester Pays bucket without specifying a billing project?
The request will fail with a permission error because the system does not know which project should be billed for the access.
Click to reveal answer
beginner
Can Requester Pays be disabled after it is enabled on a bucket?
Yes, you can disable it anytime by running: <br>
gsutil requester-pays set off gs://[BUCKET_NAME] which returns billing responsibility to the bucket owner.Click to reveal answer
What does enabling Requester Pays on a bucket do?
✗ Incorrect
Requester Pays shifts data access costs to the requester, not the bucket owner.
Which command enables Requester Pays on a bucket?
✗ Incorrect
The correct gsutil command is 'requester-pays set on' followed by the bucket name.
What must a user specify to access a Requester Pays bucket?
✗ Incorrect
Users must specify the billing project ID to pay for access costs.
If Requester Pays is enabled, who pays for data storage costs?
✗ Incorrect
Storage costs remain the responsibility of the bucket owner; only access costs shift to the requester.
What happens if a user accesses a Requester Pays bucket without specifying a billing project?
✗ Incorrect
Access fails because the system cannot bill any project for the request.
Explain how Requester Pays changes billing responsibility in Google Cloud Storage.
Think about who pays when you download data from a shared bucket.
You got /3 concepts.
Describe the steps to enable and use Requester Pays on a bucket.
Consider commands and user actions.
You got /3 concepts.