Courseiva
mediumMultiple ChoiceObjective-mapped

Google ACE Practice Question: A team needs to give a third-party vendor…

A team needs to give a third-party vendor read-only access to specific Cloud Storage objects for 48 hours. The vendor uses an AWS account (not a Google account). What is the most secure way to grant this temporary access?

⚠ Common exam trap

Google Cloud often tests the misconception that sharing a service account key file is acceptable for temporary access, but the trap here is that Signed URLs are the only option that combines time-bound, object-specific, and credential-free access for external users without a Google account.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Generate a Signed URL for the specific objects with a 48-hour expiration

A Signed URL provides time-bound, read-only access to specific Cloud Storage objects without requiring the vendor to have a Google account. The URL embeds authentication information and expires after 48 hours, ensuring temporary access while maintaining security by not exposing broader permissions or credentials.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a GCP service account for the vendor and share the JSON key file with 48-hour expiry

    Why it's wrong here

    A service account JSON key is a long-lived private credential that does not inherently expire; you cannot configure it to expire in 48 hours. Sharing this key with an external vendor is a severe security risk because it grants full API access to any resource the service account can access, and you must manually rotate or delete the key after the intended window—something that is error-prone and potentially leaves the vendor with continued access. Signed URLs avoid sharing credentials entirely and enforce expiry automatically.

  • Generate a Signed URL for the specific objects with a 48-hour expiration

    Why this is correct

    A signed URL is a time-limited, cryptographically authenticated URL that Cloud Storage generates for a specific object and HTTP method (e.g., GET). It is created by signing the object path, a validity window, and an expiration timestamp with a service account's private key. The vendor receives the URL, requires no GCP account or credentials, and access is automatically invalidated after the 48-hour expiry, making it the correct tool for temporary, controlled sharing.

  • Use Workload Identity Federation with AWS as the identity provider for the vendor

    Why it's wrong here

    Workload Identity Federation is designed to let external workloads (e.g., an application running on AWS) temporarily impersonate a GCP service account for ongoing API access, not to grant a human vendor one-time access to a few objects. It requires the vendor to configure an AWS identity provider, set up federation trusts, and build an application to call GCP APIs, which is complex and does not naturally expire after 48 hours. For simple, short-lived object sharing, a signed URL is far more appropriate and requires no infrastructure setup.

  • Make the objects publicly readable and share the direct Cloud Storage URL

    Why it's wrong here

    Setting the objects to publicly readable and sharing the direct storage.googleapis.com URL grants anonymous, unrestricted read access to anyone with the link. Unlike a signed URL, this access does not expire after 48 hours; the objects remain publicly accessible indefinitely until the ACL or IAM policy is manually changed, and it exposes the objects to a much wider audience than just the vendor. This violates the specific requirement for time-limited, vendor-only access.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every ACE question from scratch — 769 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.