Encryption: CLF-C02 study notes and practice questions
What to know about Encryption for the CLF-C02 exam, from the Security and Compliance domain (30% of the exam guide), then 2 free questions to test it. Part of the CLF-C02 study guide.
A healthcare company stores patient scans in Amazon S3.
It wants to create its own encryption keys, write a key policy that limits which roles can use each key, and keep the key material in FIPS-validated hardware security modules.
Which AWS service should it use?
Choose one answer.
AA. AWS Certificate Manager (ACM), which issues and renews SSL/TLS certificates
BB. AWS Key Management Service (AWS KMS), which creates keys and controls who can use them
CC. AWS Secrets Manager, which stores and rotates database passwords and API keys
DD. Amazon Macie, which discovers sensitive data such as PII in Amazon S3
Show the answer and explanation
Answer: B
A. Wrong: ACM manages certificates for encrypting data in transit. It does not create the keys that protect data stored in S3, so it misses the requirement.
B. Right: Correct. AWS KMS creates and manages encryption keys, uses key policies to control who can use each key, and protects key material in FIPS 140-3 Level 3 validated hardware security modules. S3 can encrypt objects with these keys through SSE-KMS. Learn more: AWS Key Management Service (opens in a new tab)
C. Wrong: Secrets Manager stores and rotates secrets such as passwords. It is not the service for creating and controlling encryption keys, so it does not fit.
D. Wrong: Macie finds sensitive data in S3 by inspecting it. It does not create or manage encryption keys.
Explanation
AWS KMS is the service for creating and controlling encryption keys. With customer managed keys, the company writes the key policy that decides which roles can use each key, and KMS keeps the key material in FIPS-validated hardware security modules. ACM, Secrets Manager and Macie each do a different job, so none of them meets the requirement.
D. Wrong: SSE-KMS is an option the team can choose, but it is not the default. The default for new uploads is SSE-S3, which has no additional charge.
Explanation
Starting January 5, 2023, Amazon S3 encrypts every new object with SSE-S3 by default, at no additional charge and with no change to applications. Teams that need control over the key can choose SSE-KMS for the bucket, which adds AWS KMS charges. Encryption in transit is a separate matter and uses HTTPS.
Want more on Encryption? The 5 full-length practice sets have 10 more Encryption questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →