Challenge - 5 Problems
Buckets and Objects Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Understanding Bucket Naming Rules
Which of the following bucket names is valid according to Google Cloud Storage naming rules?
Attempts:
2 left
💡 Hint
Bucket names must be globally unique, lowercase, and follow DNS naming conventions.
✗ Incorrect
Google Cloud Storage bucket names must be lowercase, can include dashes and dots, but cannot have underscores or uppercase letters. They must also follow DNS naming rules.
❓ service_behavior
intermediate2:00remaining
Object Versioning Behavior
If object versioning is enabled on a bucket, what happens when you upload a new object with the same name as an existing object?
Attempts:
2 left
💡 Hint
Think about how versioning helps keep old copies.
✗ Incorrect
When versioning is enabled, uploading an object with the same name creates a new version. The old version remains accessible.
❓ Architecture
advanced2:30remaining
Designing for Data Residency Compliance
You need to store sensitive data in Google Cloud Storage and ensure it never leaves the European Union. Which bucket configuration meets this requirement?
Attempts:
2 left
💡 Hint
Data residency depends on the physical location of the bucket.
✗ Incorrect
Choosing a bucket in a European region ensures data stays within EU boundaries, meeting residency requirements.
❓ security
advanced2:30remaining
Bucket Access Control Best Practice
Which of the following is the safest way to grant a user read access to objects in a bucket?
Attempts:
2 left
💡 Hint
Least privilege principle is key for security.
✗ Incorrect
Granting the 'Storage Object Viewer' role on the bucket gives read access only, following least privilege. Public access or admin roles are too broad.
✅ Best Practice
expert3:00remaining
Optimizing Object Lifecycle Management
You want to automatically delete objects older than 365 days and archive objects older than 180 days in Google Cloud Storage. Which lifecycle rule configuration achieves this?
Attempts:
2 left
💡 Hint
Think about the order of archiving before deletion.
✗ Incorrect
Objects should be archived first at 180 days, then deleted after 365 days. The rules must reflect this order.