0
0
GCPcloud~20 mins

Signed URLs for temporary access in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Signed URL Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
How does a Signed URL provide temporary access?

Which statement best explains how a Signed URL grants temporary access to a resource in Google Cloud Storage?

AIt embeds a cryptographic signature and expiration time in the URL, allowing access only until the expiration.
BIt sends an email with a password to access the resource temporarily.
CIt changes the resource's permissions to public for a limited time.
DIt creates a new user account with limited permissions for a short time.
Attempts:
2 left
💡 Hint

Think about how the URL itself controls access without changing user accounts or permissions.

Configuration
intermediate
1:00remaining
Expiration time in Signed URLs

You create a Signed URL with an expiration time set to 10 minutes from now. What happens if a user tries to access the URL after 15 minutes?

AThe resource becomes publicly accessible permanently.
BThe access is allowed because the URL is still valid.
CThe access is denied because the Signed URL has expired.
DThe URL automatically renews the expiration time.
Attempts:
2 left
💡 Hint

Consider what the expiration time controls in a Signed URL.

Architecture
advanced
1:30remaining
Best practice for distributing Signed URLs securely

You want to share a Signed URL with a client securely. Which method is the best practice to distribute the Signed URL?

APost the Signed URL publicly on a website.
BSend the Signed URL over an encrypted channel like HTTPS or secure email.
CSend the Signed URL via plain text SMS.
DEmbed the Signed URL in a public GitHub repository.
Attempts:
2 left
💡 Hint

Think about how to keep the URL secret to prevent unauthorized access.

service_behavior
advanced
1:30remaining
Effect of changing object permissions after Signed URL creation

You create a Signed URL for a private object in Cloud Storage. After creating the URL, you change the object's permissions to public. What happens when someone uses the Signed URL?

AThe Signed URL still works until it expires, but the object is also accessible publicly without the URL.
BThe Signed URL expires immediately when permissions change.
CThe Signed URL stops working immediately after permissions change.
DThe Signed URL grants access only if the object remains private.
Attempts:
2 left
💡 Hint

Consider how Signed URLs and object permissions interact.

security
expert
2:00remaining
Security risk of long expiration times in Signed URLs

What is the main security risk of setting a very long expiration time (e.g., several months) on a Signed URL?

ALong expiration times cause the resource to become publicly listed in Cloud Storage.
BThe URL will automatically revoke access after 24 hours regardless of expiration time.
CSigned URLs with long expiration times consume more storage space.
DIf the URL is leaked, unauthorized users can access the resource for a long time.
Attempts:
2 left
💡 Hint

Think about what happens if someone else gets the URL.