Easy ReviewAIF-C01
Security, Compliance, and Governance for AI Solutions5

KMS

Authorize key use, encrypt data with data keys, and manage rotation, Regional replicas, and key recovery.

Encryption at rest and in transit

Encryption protects data in two states. Data at rest sits in storage; data in transit moves between systems. AWS services offer encryption for both, and the customer decides how to use it. Data at rest · Data in transit

How it works

  1. At rest: storage services encrypt data with keys. AWS KMS creates and controls those keys and integrates with services such as Amazon S3, Amazon EBS and Amazon RDS.
  2. In transit: TLS encrypts connections. AWS Certificate Manager issues and renews the TLS certificates.
  3. Private paths: AWS PrivateLink keeps traffic on the Amazon network instead of the internet.
State Protects AWS tools
At rest Data in storage AWS KMS keys, server-side encryption in S3, EBS, RDS
In transit Data moving between systems TLS with ACM certificates, AWS PrivateLink, VPN

Exam cues

  • If the question says manage the keys that encrypt stored data, think AWS KMS.
  • If the question says HTTPS certificates, think ACM.
  • If the question says protect data moving over the network, think encryption in transit (TLS).
  • If the question says encrypt an existing unencrypted RDS instance, think snapshot copy with encryption and restore, because RDS encryption is set at creation.

Remember

  • KMS keys never leave AWS KMS unencrypted.
  • RDS encryption is set at creation; encrypt a snapshot copy and restore it to encrypt an existing unencrypted instance.

Trap: TLS certificates protect data in transit, not at rest. For stored data, the answer is server-side encryption with AWS KMS keys.

From the AWS docs (8)
  • Data at rest is data persisted in non-volatile storage, such as block storage, object storage, databases and archives; encryption and access controls reduce the risk of unauthorized access to it.
  • Data in transit is data sent from one system to another, inside a workload or between services and end users; protecting it preserves confidentiality and integrity.
  • Encryption transforms content so it is unreadable without the secret key needed to decrypt it back to plaintext.
  • AWS Key Management Service (AWS KMS) creates and controls the keys used to encrypt and sign data; KMS keys are protected by FIPS 140-3 Security Level 3 validated HSMs and never leave AWS KMS unencrypted.
  • AWS KMS integrates with other AWS services to encrypt data at rest or in transit; common uses are encrypting Amazon EBS volumes, Amazon S3 buckets and Amazon RDS databases.
  • AWS Certificate Manager (ACM) creates, stores and renews public and private SSL/TLS certificates that protect AWS websites and applications.
  • AWS PrivateLink keeps traffic between a VPC or on-premises network and services on the Amazon backbone, so it does not traverse the internet.
  • An Amazon RDS DB instance can be encrypted only when it is created; to encrypt an existing one, copy an unencrypted snapshot with encryption and restore it.

Flashcards

tap to flip
Answer

·

All 5 cards as a list

What is the difference between encryption at rest and encryption in transit on AWS?

  • At rest: protects stored data, such as in Amazon S3, Amazon EBS or a database
  • In transit: protects data moving between systems, usually with TLS

Which AWS service creates and controls the keys used to encrypt data in services such as Amazon S3, Amazon EBS and Amazon RDS?

AWS Key Management Service (AWS KMS). Its keys stay inside FIPS 140-3 validated HSMs and never leave unencrypted.

A website on AWS needs a TLS certificate for HTTPS that renews automatically. Which AWS service provides it?

AWS Certificate Manager (ACM). It creates, stores and renews SSL/TLS certificates, which encrypt data in transit.

Why is encrypting data stored on AWS one of the benefits of cloud security?

Encrypted data is unreadable without the key, so a stolen copy of storage is useless; AWS services make encryption a setting, managed with AWS KMS.

Which AWS service creates and controls encryption keys that can protect an Amazon RDS database?

AWS Key Management Service (AWS KMS) creates and controls keys and integrates with Amazon RDS encryption.

You finished every topic of AIF-C01!

Your badge turned gold. Next step: book the exam on AWS. Once you pass, add yourself to Who passed.

Share

Share that you finished this certification

I finished every topic of AWS Certified AI Practitioner (AIF-C01) on Easy Review. Come study too!