What is the main purpose of enabling the Requester Pays feature on a Google Cloud Storage bucket?
Think about who is billed for data access when Requester Pays is enabled.
Requester Pays buckets shift the cost of data access from the bucket owner to the user who requests the data. This means users pay for their own data access charges.
Which of the following gcloud commands correctly enables Requester Pays on a bucket named my-data-bucket?
Check the exact flag name used to enable Requester Pays in gcloud commands.
The correct flag to enable Requester Pays on a bucket is --requester-pays used with gcloud storage buckets update.
What happens if a user tries to list objects in a Requester Pays bucket without specifying a billing project?
Requester Pays requires a billing project to be specified by the requester.
When accessing a Requester Pays bucket, the user must specify a billing project to pay for the access. Without it, the request fails with an error.
Which security consideration is most important when enabling Requester Pays on a bucket?
Think about what permissions users need to access Requester Pays buckets.
Users must have permission to specify a billing project when accessing Requester Pays buckets. If permissions are too broad, billing info could be exposed or misused.
You manage a GCP bucket shared by multiple external teams. You want each team to pay only for their own data access costs. Which architecture best achieves this using Requester Pays?
Requester Pays is designed to shift billing to the requester. How can you leverage this for multiple teams?
Enabling Requester Pays and requiring each team to use their own billing project ensures each team pays only for their own data access costs, aligning with the goal.