How to Encrypt Data While In Use in Google Cloud?
Short answer
B Deploy Confidential VMs to establish a trusted execution environment that encrypts data while it is actively processed in memory.
Question
Key Takeaways
Tests understanding of data encryption states, specifically distinguishing in-use protection from at-rest options like CMEK or CSEK.
Protecting data while in use requires hardware-based isolation and encryption in memory. This page confirms that Confidential VMs are the correct Google Cloud service for meeting strict regulatory requirements for in-use data protection.
Common mistake: Candidates often select CMEK or CSEK because they are familiar with disk encryption, but these only protect data at rest, not in active memory.
Expert Analysis
Why the Answer Is Correct
Confidential VMs leverage hardware-based Trusted Execution Environments (TEEs) to isolate applications and encrypt data while it resides in active memory. This architecture directly satisfies the requirement to protect data during processing, which is critical for highly regulated compliance frameworks. By offloading cryptographic operations to a secure enclave, Google Cloud ensures that even privileged users cannot access plaintext data in RAM. Consequently, establishing a trusted execution environment with a Confidential VM is the only native control that addresses in-use encryption.
Why the Other Options Are Wrong
Customer-supplied encryption keys (CSEK) and customer-managed encryption keys (CMEK) exclusively secure data at rest on persistent disks or databases, leaving active memory unprotected. Shielded VMs focus on verifying boot integrity and preventing virtualization-based attacks through measured startup processes, rather than encrypting live application data. Since the prompt explicitly mandates encryption during active usage, both key management solutions and secure boot features fall outside the required scope.
Community Comment Notes
Learners consistently validated option B by referencing official vendor documentation on hardware-isolated workloads. As noted by jmaquino, the shared link points directly to the confidential computing product suite for memory protection. Pime13 reinforced this by sharing the official overview page detailing how trusted execution environments safeguard sensitive workloads. Multiple commenters echoed that selecting this configuration aligns perfectly with regulatory demands for in-memory data security.
Official Reference
- https://cloud.google.com/security/products/confidential-computing
- https://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview
These links open the official vendor documentation in a new tab.
Exam Strategy
Always map the three data encryption states (at rest, in transit, in use) to their corresponding Google Cloud controls before eliminating options. When a scenario emphasizes regulatory compliance for active processing, immediately prioritize hardware-isolated workloads over traditional key management or boot verification features.
Frequently Asked Questions
Why can't I use CMEK to encrypt data while in use?
Is Shielded VM sufficient for regulatory in-use data protection?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
jmaquino 👍 2B: https://cloud.google.com/security/products/confidential-computing?hl=es-419
-
Pime13 👍 1 Answered Bhttps://cloud.google.com/confidential-computing/confidential-vm/docs/confidential-vm-overview
-
abdelrahman89 👍 3 Answered BAnswer B
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.