Skip to main content

Associate Cloud Engineer practice question · Configuring access and security

A media company serves premium videos through Cloud CDN using signed URLs with a 7-day expiration.

A media company serves premium videos through Cloud CDN using signed URLs with a 7-day expiration. A batch of signed URLs, all generated with the same signing key, leaked on a public forum yesterday. The company needs those URLs to stop working now, while it keeps issuing new signed URLs to paying customers. What should the company do?

  • AAdd a new signing key to the backend, start signing with it, then delete the compromised key from the backend
  • BInvalidate the cached video paths in Cloud CDN so the leaked URLs no longer receive cached content
  • CReduce the expiration used when generating signed URLs from 7 days to 1 hour going forward
  • DLower the cache TTL on the backend so that cached responses for the leaked URLs expire sooner
Show the answer and explanation

Correct answer: A) Add a new signing key to the backend, start signing with it, then delete the compromised key from the backend

A Cloud CDN signed URL stays usable until it expires or its signing key is deleted from the backend. To revoke leaked URLs early, rotate to a new key and delete the compromised one. Cache invalidation, TTL changes, and shorter expirations for new URLs don't affect URLs already issued.

Why each option is right or wrong

  • A) Correct. Cloud CDN accepts a signed URL until it expires or until the key that signed it is deleted from the backend service or backend bucket. Adding a new key first means new URLs keep working, and deleting the old key invalidates every URL signed with it right away.
  • B) Incorrect. Cache invalidation only removes cached copies. The leaked URLs still carry a valid signature, so Cloud CDN would refill the cache from the origin and keep serving them.
  • C) Incorrect. The expiration time is embedded in each signed URL when it's generated. Shortening it only affects new URLs; the leaked URLs stay valid until their original 7-day expiration.
  • D) Incorrect. Cache TTL controls how long content stays cached, not whether a signed request is authorized. Validly signed leaked URLs would still be served, from the origin when needed.
Exam domain
Configuring access and security · ~20% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

Practise the full Associate Cloud Engineer exam

This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.