🔥 40% Off Crucial Exams Memberships — Deal ends today!

9 minutes, 57 seconds remaining!

GCP Professional Cloud Security Engineer Practice Question

A financial-services company runs workloads in GKE clusters located in two separate production projects. All clusters must read the same third-party API key. Compliance mandates that:

  • the key is encrypted with a hardware-backed customer-managed key,
  • a new key is issued automatically every 30 days,
  • previous key material is retained for rollback but must not exist longer than 15 days,
  • workloads receive only read-only access to the secret. Which design satisfies all of these requirements?
  • Store the API key as a Kubernetes Secret in each cluster, enable application-layer secrets encryption with a software-protected Cloud KMS key, and run a cluster CronJob that rewrites the secret every 30 days and deletes prior versions after 15 days.

  • Upload the API key to a Cloud Storage bucket encrypted with a customer-supplied encryption key (CSEK), enable uniform bucket-level access, configure an object lifecycle rule to delete objects older than 15 days, and distribute new signed URLs to the clusters every 30 days.

  • Create a Secret Manager secret in a dedicated security project, encrypt it with a Cloud HSM-backed CMEK key, grant the Secret Manager Secret Accessor role to the GKE service accounts, and configure a 30-day rotation schedule that triggers a Cloud Function to add a new secret version and destroy versions older than 15 days.

  • Use Cloud Runtime Configurator to store the API key, protect it with a Cloud HSM key, and rely on the service's automatic variable refresh feature to rotate the value every 30 days while retaining prior versions for 15 days.

GCP Professional Cloud Security Engineer
Ensuring data protection
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot