Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The Professional Data Engineer practice bank has 1,353 more like it. Try 10 free: instant score, no account.
Your enterprise is designing a secure data analytics platform on Google Cloud that processes sensitive data across Cloud Storage and BigQuery. Your compliance and security officers mandate strict cryptographic controls with the following specific requirements:
encrypt/decrypt). Automated service agents must perform the cryptographic operations.Which strategy should the data engineering team implement to satisfy these architecture and compliance requirements?
roles/cloudkms.admin to cryptographic officers and roles/cloudkms.cryptoKeyEncrypterDecrypter to service agents.This configuration creates a software-backed key in Cloud KMS, attempts to apply a native automatic rotation schedule to an imported key, and sets up standard IAM roles.
SOFTWARE protection level) run on BoringCrypto software modules validated only up to FIPS 140-2 Level 1, failing the mandatory FIPS 140-2 Level 3 hardware requirement.ImportOnly). Setting an automatic rotation period (rotationPeriod) requires Cloud KMS to generate the new cryptographic material natively, which directly violates the BYOK on-premises generation mandate.The workload accepted FIPS 140-2 Level 1 compliance, allowed Google Cloud to generate internal key material natively, and required automated scheduled key version generation without an on-premises BYOK workflow.
ImportOnly flag and skipping initial version generation. Wrap the on-premises key using a Cloud KMS import job and import it as a new version. Grant roles/cloudkms.admin to cryptographic officers and roles/cloudkms.cryptoKeyEncrypterDecrypter to the storage service agents. Implement automated pipeline workflows to generate, wrap, and import new key versions on schedule.This solution implements a robust Customer-Managed Encryption Key (CMEK) architecture utilizing Cloud KMS with Cloud HSM and Key Import (Bring Your Own Key - BYOK). It establishes strict separation of duties and secure key lifecycle management for sensitive analytics workloads.
HSM ensures that all cryptographic operations and key material are hosted inside FIPS 140-2 Level 3 validated hardware security modules.ImportOnly: true and SkipInitialVersionCreation: true ensures that Google Cloud does not generate default key material. The on-premises generated symmetric key is securely encrypted (wrapped) with a Cloud KMS public wrapping key in transit and unwrapped directly inside Cloud HSM.roles/cloudkms.admin to cryptographic officers allows them to manage key rings, metadata, and import jobs without granting roles/cloudkms.cryptoKeyEncrypterDecrypter (which is reserved for the automated BigQuery and Cloud Storage service agents).This approach aligns strictly with enterprise compliance standards by maintaining on-premises key generation and escrow while leveraging Google Cloud's managed HSM infrastructure and automated service agent encryption.
roles/cloudkms.admin and roles/cloudkms.cryptoKeyEncrypterDecrypter to the cryptographic officers to manage the lifecycle.This approach utilizes Customer-Supplied Encryption Keys (CSEK), where client applications supply raw cryptographic keys with every individual API call, holding the key material only in transient memory during request processing.
roles/cloudkms.cryptoKeyEncrypterDecrypter to cryptographic officers violates the principle of least privilege and separation of duties under NIST SP 800-152 guidelines.The workload only involved Cloud Storage or Compute Engine persistent disks, required no server-side key retention in Google Cloud whatsoever, and did not require integration with BigQuery or Cloud HSM.
roles/owner on the project to cryptographic officers to oversee key and data lifecycles.This option uses Cloud KMS Autokey to automatically provision hardware-backed keys on demand as resources are created in the project, while assigning broad project ownership permissions.
roles/owner role gives cryptographic officers broad administrative and operational access across all project resources, violating the strict separation between key administrators and data consumers.Owner, Editor) bypass least privilege safeguards.The organization wanted fully automated, Google-managed key generation within Cloud HSM without requiring BYOK key import, custom escrow, or manual key lifecycle management.
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