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 financial application running on Google Cloud Compute Engine requires access to database credentials stored in Secret Manager. The security team establishes strict security requirements:
Which combination of access governance and network security controls should you implement to satisfy these requirements?
This solution combines granular, resource-level Identity and Access Management (IAM) with VPC Service Controls perimeter security. It grants the least-privilege role required to access payload contents—Secret Manager Secret Accessor (roles/secretmanager.secretAccessor)—directly on the targeted secret resource rather than at the project or folder level, while restricting API access inside a VPC Service Controls boundary.
roles/secretmanager.secretAccessor exclusively on the target secret, the application service account receives the secretmanager.versions.access permission for that specific secret only, preventing it from reading, modifying, or deleting other enterprise secrets.secretmanager.googleapis.com as a restricted service inside the perimeter ensures that API communication cannot traverse to or from the public internet without explicit ingress/egress policy rules.roles/secretmanager.admin) from secret consumption (roles/secretmanager.secretAccessor).This approach aligns with Google Cloud security best practices by uniting identity-based least privilege at the individual resource tier with cryptographic and network perimeter controls via VPC Service Controls. It completely blocks unauthorized internet egress and cross-project data exfiltration while satisfying least-privilege credential requirements.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.