Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Security Engineer practice bank has 1,343 more like it. Try 10 free: instant score, no account.
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 option proposes granting full administrative privileges over all secrets in the project via the Secret Manager Admin (roles/secretmanager.admin) role and attempting to filter traffic using Google Cloud Armor security policies.
roles/secretmanager.admin role provides full administrative rights over Secret Manager, including creating, deleting, and updating all secrets and modifying IAM policies. This completely violates the requirement to only permit reading the database secret payload.secretmanager.googleapis.com).You needed to deploy web application firewall (WAF) filtering and rate limiting in front of a custom user-facing web service hosted behind an External HTTP(S) Load Balancer.
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.
This option assigns the Secret Manager Viewer (roles/secretmanager.viewer) role at the resource hierarchy folder level and deploys Identity-Aware Proxy (IAP) TCP forwarding to manage network access.
roles/secretmanager.viewer role grants metadata viewing rights (secretmanager.secrets.get, secretmanager.secrets.list) but does not grant permission to access the secret payload itself (secretmanager.versions.access). As a result, the application cannot retrieve the database password.roles/secretmanager.viewer lacks the essential secretmanager.versions.access permission.The requirement was to grant security auditors read-only visibility into secret configurations across multiple projects while enabling secure SSH access to administrative VMs without external IP addresses.
This option grants the Secret Manager Secret Version Manager (roles/secretmanager.secretVersionManager) role across the entire project and enables Private Google Access on the VPC subnet housing the Compute Engine instances.
roles/secretmanager.secretVersionManager role allows creating, destroying, enabling, and disabling secret versions across all secrets in the project, but it does not follow least privilege and is applied project-wide rather than scoped to the individual secret.The goal was to allow a continuous delivery pipeline service account to create and manage new versions of all secrets from a private GKE cluster without provisioning external IP addresses.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated