KMS 1 Flashcards

1
Q

KMS

Key feature of KMS, the Big Thing?

A

Keys in KMS never leave KMS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

KMS

What’s the technical standard for keys?

important

A

FIPS 140-2 L2

must know down to the “L2” portion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

KMS

Why does the “L2” in the FIPS standard matter?

important

A

KMS only does L2; need CloudHSM for higher security levels

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

KMS

Why trust KMS? Just keys stored on disk somewhere…

A

KMS uses hardware security modules (HSMs) behind the scenes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

KMS

Strong statement about all data at rest in KMS?

A

No data in KMS is ever stored on disk unencrypted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

AWS Managed Keys

Example of AWS managed keys?

A

“aws/redshift”, “aws/sqs”, “aws/lambda”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

AWS Managed Keys

Are AWS Managed Keys symmetric, asymmetric, or both?

A

Only symmetric

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

AWS Managed Keys

What are AWS Managed Keys used for?

A

Services create and use them directly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

AWS Managed Keys

Why would you change the Key Policy on an AWS Managed Key?

A

You can’t (you can see it, but not change it)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

AWS Managed Keys

What can you do with AWS Managed Keys?

A

Nearly nothing. AWS Services use them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

AWS Managed Keys

Are AWS Managed Keys regional, global, or something else?

A

Per-service, per-region, per-account

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

AWS Managed Keys

How can you share KMS Managed Keys in an Organization between accounts?

A

Can’t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

AWS Managed Keys

Cost for AWS Managed Keys?

A

Pay per-use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

AWS Managed Keys

Why don’t I have a aws/sqs key?

A

You haven’t used SQS in this account in this region yet

created on 1st use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

AWS Managed Keys

What if I don’t want a service to use the default AWS managed key?

A

Some services allow you to use a CMK (like SSE-KMS for S3)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Customer Managed Keys

How do you create Customer Managed Keys?

A

AWS creates the key material (default), or upload your own key material

17
Q

Customer Managed Keys

Cost structure for CMKs?

A

AWS-Managed pay only per-use fee, CMKs pay monthly + per-use fee

18
Q

Customer Managed Keys

What is a Customer Master Key?

A

Old name for Customer Managed Key

19
Q

Customer Managed Keys

Are CMKs regional, global, or something else?

A

Per-region, per-account

20
Q

Customer Managed Keys

Are CMKs symmetric, asymmetric, or both?

A

Can be either

21
Q

Encrypting and Decrypting

Max amount of data that KMS will encrypt or decrypt with KMS keys?

A

4 kb

22
Q

Encrypting and Decrypting

What do you get back when you send in data to encrypt?

A

Cipher text that also includes the ID of the key used to encrypt it

23
Q

Encrypting and Decrypting

Specific steps inside KMS to encrypt source data?

A

Reads encrypted key from disk > decrypts the key in memory > encrypts source data

24
Q

Digital Signing

Why bother with KMS to handle asymmetric keys for signatures?

A

Private key material in HSMs, use key policies to control access