Skip to content
Learn Netverks

Lesson

Step 19/36 53% through track

encryption-rest-transit

Encryption at Rest and in Transit

Last reviewed May 28, 2026 Content v20260528
Track mode
none
Means
Read / quiz
Reading
~1 min
Level
intermediate

This lesson

This lesson teaches Encryption at Rest and in Transit: security mindset, common threats, and defensive practices for software teams.

Data in transit and at rest failures appear in compliance audits and breach reports alike.

You will apply Encryption at Rest and in Transit in contexts like: Web apps, APIs, CI/CD, and organizational compliance programs.

Read scenario-based lessons, map controls to code you write on other tracks, and complete MCQs—practice threat modeling on paper or in docs.

When you can explain the previous lesson's ideas in your own words.

Data needs protection in transit (TLS) and at rest (disk/database encryption)—keys managed separately from ciphertext.

At rest

Database TDE, encrypted EBS/RDS, S3 SSE—protects stolen drives/backups; does not replace access control.

Key management

Use KMS/HSM; rotate keys; never commit keys to git—see secrets lesson.

Hashing vs encryption

Hashing is one-way (passwords); encryption is reversible with the key (data storage).

Important interview questions and answers

  1. Q: Encryption at rest stops DB admin?
    A: No—authorized DB users still read data; encryption helps physical theft scenarios.
  2. Q: KMS?
    A: Cloud key management service with audit and rotation.

Self-check

  1. Transit vs at rest?
  2. Hashing vs encryption use case?

Tip: Encryption at rest does not replace RBAC on the database.

Interview prep

At rest vs transit?

Disk/DB encryption vs TLS on the wire.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • At rest vs transit?
  • KMS role?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump