Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise organization stores database credentials in Google Cloud Secret Manager. The security team must implement continuous credential hygiene for these database secrets according to the following requirements:
Which workflow and architectural configuration should the security engineer implement?
Secret Manager automated rotation is a native lifecycle management capability that automatically schedules credential updates and invokes custom automation routines via Cloud Pub/Sub and serverless compute like Cloud Functions or Cloud Run.
next-rotation-time and rotation-period=2592000s (30 days) on the Secret Manager resource instructs Google Cloud to automatically trigger rotation events at the specified interval.ROTATION) to the configured Pub/Sub topic whenever the rotation timer elapses.service-@gcp-sa-secretmanager.iam.gserviceaccount.com) is granted the roles/pubsub.publisher role strictly on the designated topic, adhering to least-privilege principles.secrets.addVersion), verifies application access, and sets the state of the older version to Disabled (secrets.versions.disable).roles/secretmanager.secretVersionManager.This architecture leverages the purpose-built Secret Manager rotation framework, ensuring dependable event dispatching, decoupled execution, and continuous credential hygiene without service interruption.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.