Bitzu

CLF-C02 ยท Shared responsibility, compliance and governance

Encryption at rest and in transit

Benefits of encryption, encryption at rest versus in transit, AWS KMS, AWS CloudHSM and AWS Certificate Manager for TLS certificates.

Key points

  • Encryption keeps exposed data unreadable without the key and helps compliance.
  • At rest: stored data (EBS, S3, database storage).
  • In transit: data moving over a network, usually with TLS.
  • AWS KMS: managed creation and control of encryption keys, integrated with many services.
  • AWS CloudHSM: dedicated single-tenant HSMs; you control keys and HSM users.
  • AWS Certificate Manager (ACM): issues, stores, renews SSL/TLS certificates.

Source: https://docs.aws.amazon.com/cloudhsm/latest/userguide/introduction.html

Practice questions

Single choice

Which AWS service is a managed way to create and control the keys used to encrypt data in services such as Amazon S3 and Amazon EBS?

  1. AWS Key Management Service (AWS KMS)
  2. AWS Certificate Manager (ACM)
  3. Amazon Macie
  4. AWS Shield
Show answer

Answer: A. AWS Key Management Service (AWS KMS)

AWS KMS creates and manages encryption keys and integrates with many AWS services for encryption at rest. ACM handles TLS certificates, Amazon Macie discovers sensitive data, and AWS Shield protects against DDoS attacks.

Select all that apply

Which examples describe encryption in transit?

  1. Browsers connecting to a load balancer over HTTPS
  2. An app connecting to its database over TLS
  3. An Amazon EBS volume encrypted with a KMS key
  4. Objects stored in Amazon S3 with server-side encryption
  5. An encrypted snapshot of a database instance
Show answer

Answer: A. Browsers connecting to a load balancer over HTTPS, B. An app connecting to its database over TLS

Encryption in transit protects data while it moves: HTTPS between browsers and a load balancer, or TLS connections from an application to its database. Encrypted EBS volumes, S3 objects and snapshots are examples of encryption at rest.

True or false

With AWS CloudHSM, AWS manages the users inside the HSM and can see the keys stored in it.

Show answer

Answer: False

False. CloudHSM gives you single-tenant HSMs where you manage the HSM users and keys yourself, outside IAM. AWS automates tasks such as provisioning and backups but does not see your keys. The trade-off is more customer responsibility than with AWS KMS.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module