Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Architect practice bank has 2,335 more like it. Try 10 free: instant score, no account.
An enterprise organization is modernizing a multi-tier web application deployed across Google Cloud compute services. The application currently loads third-party API keys, TLS certificates, and database passwords from local plaintext configuration files bundled inside the container images and source code repository.
The security architect has established the following requirements:
Which solution should the architect implement?
Secret Manager is a secure, fully-managed Google Cloud service designed specifically for the centralized storage, management, and auditing of sensitive data, such as API keys, passwords, TLS certificates, and database connection strings.
roles/secretmanager.secretAccessor provides the exact permission (secretmanager.versions.access) required to retrieve secret payloads without granting administrative management permissions.
This solution directly satisfies all security mandates by separating sensitive metadata from application binaries, providing robust version management, and enforcing least-privilege runtime access with granular IAM roles.
Cloud Storage is an object storage service designed for storing unstructured files, images, and backups. When paired with Customer-Managed Encryption Keys (CMEK), object data is protected at rest using symmetric keys managed in Cloud KMS.
roles/storage.objectViewer role granted at the bucket level allows the service account to read every object within that bucket, violating strict least-privilege access for individual secrets.The workload required storing large sensitive data files, database backups, or media archives protected under customer-controlled encryption policies.
Cloud Key Management Service (Cloud KMS) is designed to manage cryptographic keys and execute cryptographic operations, such as encrypting, decrypting, and signing arbitrary data payloads.
roles/cloudkms.cryptoKeyDecrypter role allows cryptographic decryption of ciphertext, not direct access to stored secret strings.The requirement called for encrypting large volumes of application data, database fields, or storage buckets using customer-managed cryptographic keys where the application performs cryptographic signing or decryption operations.
The Secret Manager Admin (roles/secretmanager.admin) role is an administrative identity role that provides complete control over all Secret Manager resources in a project, including creating, modifying, listing, and deleting secrets and secret versions.
secretmanager.versions.access). Granting administrative rights gives the workload excessive privileges.roles/secretmanager.admin is compromised, an attacker could create, alter, disable, or delete critical organizational secrets and tamper with IAM policies across the project.roles/secretmanager.admin contains permissions such as secretmanager.secrets.delete, secretmanager.secrets.create, and secretmanager.secrets.setIamPolicy.roles/secretmanager.secretAccessor.You were configuring permissions for a cloud platform security administrator who is responsible for managing the entire lifecycle, replication policies, and IAM access controls of all Secret Manager resources.
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