0
0
GCPcloud~10 mins

Requester pays configuration in GCP - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to enable requester pays on a GCP bucket.

GCP
gsutil [1] set on gs://my-bucket
Drag options to blanks, or click blank then click option'
Alogging
Biam
Cversioning
Drequesterpays
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'iam' instead of 'requesterpays' will not enable requester pays.
Using 'logging' or 'versioning' commands are unrelated.
2fill in blank
medium

Complete the code to download an object from a requester pays bucket.

GCP
gsutil -u [1] cp gs://my-bucket/my-object.txt ./
Drag options to blanks, or click blank then click option'
Amy-billing-project
Bbilling-project
Crequester-project
Dmy-project
Attempts:
3 left
💡 Hint
Common Mistakes
Using generic terms like 'billing-project' instead of the actual project ID.
Omitting the -u flag causes access errors.
3fill in blank
hard

Fix the error in the gsutil command to enable requester pays on a bucket.

GCP
gsutil [1] set on gs://my-bucket
Drag options to blanks, or click blank then click option'
Arequester_pays
Brequester-pays
Crequesterpays
DrequesterPays
Attempts:
3 left
💡 Hint
Common Mistakes
Using dashes or underscores causes command not found errors.
Capital letters are not used in this command.
4fill in blank
hard

Fill both blanks to set the billing project and copy an object from a requester pays bucket.

GCP
gsutil -u [1] cp gs://my-bucket/[2] ./
Drag options to blanks, or click blank then click option'
Amy-billing-project
Bmy-object.txt
Cother-object.txt
Dbilling-project
Attempts:
3 left
💡 Hint
Common Mistakes
Using placeholder text instead of actual project or object names.
Swapping the order of project ID and object name.
5fill in blank
hard

Fill all three blanks to enable requester pays, set the billing project, and copy an object.

GCP
gsutil [1] set on gs://my-bucket && gsutil -u [2] cp gs://my-bucket/[3] ./
Drag options to blanks, or click blank then click option'
Arequesterpays
Bmy-billing-project
Cdata.csv
Denable
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'enable' instead of 'requesterpays' for the first command.
Forgetting to specify the billing project with -u.
Using wrong object names.