0
0
GCPcloud~5 mins

Requester pays configuration in GCP - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
AEncrypts the bucket data automatically
BMakes the bucket owner pay for all costs
CBlocks all external access
DMakes the requester pay for data access costs
Which command enables Requester Pays on a bucket?
Agsutil set billing requester-pays gs://bucket
Bgsutil enable requester-pays gs://bucket
Cgsutil requester-pays set on gs://bucket
Dgcloud storage buckets enable-requester-pays gs://bucket
What must a user specify to access a Requester Pays bucket?
AThe billing project ID
BThe bucket owner's email
CThe bucket location
DThe encryption key
If Requester Pays is enabled, who pays for data storage costs?
ARequester
BBucket owner
CGoogle Cloud
DNo one
What happens if a user accesses a Requester Pays bucket without specifying a billing project?
AAccess is denied with an error
BAccess is granted for free
CThe bucket owner is billed
DThe request is queued
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.