Encrypting Data at Rest to Prevent Unauthorized Usage
Short answer
D The company should have encrypted the data at rest to ensure the data remains unreadable without the encryption keys.
Question
Key Takeaways
Encryption at rest is the correct control to render data unusable if storage is compromised. Unlike hashing or permissions, encryption protects confidentiality while allowing authorized access with keys. This approach ensures data remains unreadable to unauthorized parties even after a breach.
Expert Analysis
Encrypting data at rest ensures that even if unauthorized parties gain access to the storage, the data remains unreadable without the encryption keys. Hashing is a one-way function used for integrity verification, not for making data unreadable (hashed data cannot be recovered). File access permissions control who can access data but don't protect the data if those controls are bypassed. Switching storage types doesn't inherently make the data unusable.
The scenario presents a critical failure in data confidentiality where object storage was accessed by an unauthorized entity. The core requirement is to ensure that the data remains "unusable" despite this breach. This points directly to the necessity of cryptographic protection for stored assets. When data is encrypted at rest, the raw bits on the disk or in the object bucket are transformed into ciphertext. Without the corresponding decryption key, which is typically managed separately from the storage layer, the data appears as random noise to any attacker who gains physical or logical access to the underlying infrastructure. This mechanism effectively neutralizes the value of the stolen data, rendering it useless for malicious purposes.
Let us analyze why Option D is the correct choice under these constraints. Encryption at rest transforms the data itself, independent of how it is accessed. Even if an attacker bypasses network controls, exploits a vulnerability in the application layer, or gains direct access to the storage backend, they encounter only ciphertext. The security boundary shifts from perimeter-based access control to key-based secrecy. In cloud environments, this is often implemented using server-side encryption with platform-managed keys or customer-managed keys (CMKs) via services like AWS KMS or Azure Key Vault. If the company had employed this measure, the unauthorized access would have yielded no readable information, satisfying the condition that the data be made "unusable."
Option A suggests switching from object storage to file storage. This is a distractor based on storage architecture rather than security controls. Object storage and file storage differ in their interface paradigms (S3-like APIs vs. NFS/SMB mounts) and hierarchical structures, but neither format inherently protects against unauthorized access. An attacker who compromises a file share has the same potential to exfiltrate data as one who compromises an object bucket. Changing the storage type does not encrypt the content; it merely changes how the content is addressed and retrieved. Therefore, this action would not have prevented the data from being usable by the unauthorized party.
Option B proposes hashing the data. While hashing is a fundamental cryptographic primitive, it serves a different purpose: integrity verification and password storage. Hashing is a one-way function, meaning the original data cannot be recovered from the hash. For business data such as documents, logs, or transaction records, hashing destroys the utility of the data entirely because the business needs to read and process the original information. You cannot "use" hashed data for its intended business purpose. Thus, hashing makes the data unrecoverable, not just unusable by attackers, but unusable by everyone, including legitimate users. This option fails because it sacrifices data availability and utility for integrity, rather than protecting confidentiality while maintaining usability for authorized parties.
Option C recommends changing file access permissions. Access Control Lists (ACLs) and Identity and Access Management (IAM) policies are essential for preventing unauthorized access in the first place. However, the scenario states that the data was accessed. If an attacker has already gained access—whether through compromised credentials, misconfigured permissions, or a software vulnerability—changing permissions after the fact does nothing to protect the data already exposed. Permissions are a preventive control, not a remedial one for data already in possession of an adversary. Furthermore, if the attacker has root or administrative privileges within the compromised environment, they may be able to escalate privileges or bypass ACLs entirely. Encryption provides a defense-in-depth layer that works even when access controls fail.
The decisive constraint here is the post-breach state of the data. Since the breach has occurred, preventive measures like permissions are moot. The only way to render existing data unreadable to an unauthorized actor who possesses the storage medium is cryptography. This aligns with standard cloud security frameworks that mandate encryption at rest for sensitive data to mitigate the impact of storage-level breaches.
Exam Strategy
When a question asks how to make data 'unusable' or 'unreadable' after a breach, prioritize encryption over access controls. Access controls prevent entry, but encryption protects the data itself once entry is gained. Distinguish between hashing (integrity, irreversible) and encryption (confidentiality, reversible with keys). Remember that switching storage types does not change the security posture of the data content.
Related Analysis
Practice All CV0-004 Questions
Access 100 questions with complete answers and detailed explanations.
View Full CV0-004 Practice Test →