0
0
GCPcloud~20 mins

Requester pays configuration in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Requester Pays Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Requester Pays buckets in GCP

What is the main purpose of enabling the Requester Pays feature on a Google Cloud Storage bucket?

ATo automatically encrypt all data in the bucket using requester-provided keys.
BTo prevent any charges for data access by making the bucket free for all users.
CTo make the bucket owner pay for all data access costs regardless of who accesses the data.
DTo require users accessing the bucket to pay for the data access costs instead of the bucket owner.
Attempts:
2 left
💡 Hint

Think about who is billed for data access when Requester Pays is enabled.

Configuration
intermediate
2:00remaining
Enabling Requester Pays on a GCP bucket

Which of the following gcloud commands correctly enables Requester Pays on a bucket named my-data-bucket?

Agcloud storage buckets update my-data-bucket --requester-pays
Bgcloud storage buckets update my-data-bucket --billing requesterPays=true
Cgcloud storage buckets update my-data-bucket --enable-requester-pays
Dgcloud storage buckets update my-data-bucket --billing requester-pays
Attempts:
2 left
💡 Hint

Check the exact flag name used to enable Requester Pays in gcloud commands.

service_behavior
advanced
2:00remaining
Accessing a Requester Pays bucket without billing project

What happens if a user tries to list objects in a Requester Pays bucket without specifying a billing project?

AThe request succeeds and the bucket owner is billed for the access.
BThe request fails with a 400 Bad Request error indicating billing project is required.
CThe request succeeds but the user is billed for the access automatically.
DThe request is queued until a billing project is specified.
Attempts:
2 left
💡 Hint

Requester Pays requires a billing project to be specified by the requester.

security
advanced
2:00remaining
Security implications of Requester Pays buckets

Which security consideration is most important when enabling Requester Pays on a bucket?

AUsers must have permission to specify a billing project, which can expose billing information if misconfigured.
BEnabling Requester Pays restricts access only to users with billing accounts.
CRequester Pays buckets automatically encrypt data with customer-managed keys.
DRequester Pays disables all public access to the bucket.
Attempts:
2 left
💡 Hint

Think about what permissions users need to access Requester Pays buckets.

Architecture
expert
3:00remaining
Designing a multi-tenant data sharing architecture with Requester Pays

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?

AEnable Requester Pays and share a single billing project with all teams to simplify billing.
BDisable Requester Pays and have the bucket owner pay all access costs, then invoice teams manually.
CEnable Requester Pays on the bucket and require each team to use their own billing project when accessing data.
DUse separate buckets for each team without Requester Pays to isolate billing.
Attempts:
2 left
💡 Hint

Requester Pays is designed to shift billing to the requester. How can you leverage this for multiple teams?