Security Flashcards

KMS, SSM, Parameter Store, Secrets Manager, Shield, (23 cards)

1
Q

What does KMS stand for?

A

Key Management Service

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

What is a KMS Key?

A
  • A logical representation of a key
  • A pointer to some underlying cryptographic material
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How large can data encrypted by KMS keys be?

A

Up to 4KB in size

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

What is the pricing structure for KMS?

A

You pay per API call

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

What are the three types of KMS Keys? What are the major differences between them?

A
  • AWS Managed KMS Keys - (default) Only used by your service
  • Customer Managed KMS Keys - Allow for key rotation
  • AWS Owned KMS Keys - (rare) Used by AWS on a shared basis across many accounts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the important conceptual difference between Symmetric KMS Keys and Asymmetric KMS Keys?

A
  • Symmetric KMS Keys use the same key for encryption and decryption
  • Asymmetric KMS Keys use a mathematically related public/private key pair
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the encryption algorithm used for Symmetric KMS Keys?

A

AES-256

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

What is the encryption algorithm used for asymmetric KMS Keys?

A

RSA and/or Elliptic-Curve Cryptography

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

What does ECC stand for (NOT the same as EC2)?

A

Elliptic-Curve Cryptography

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

By default, what permissions are granted to a newly-created KMS Key?

A

full access to the KMS Key

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

Suppose you edit a KMS Key’s access permissions such that you (the root user), no longer have access to the KMS Key. How do you regain access to the KMS Key?

A

You’ll have to contact AWS support

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

What does SSM stand for?

A

AWS Systems Mananger

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

What is AWS Parameter Store?

A

Secure, serverless storage for configuration and secrets

(Idea: Separate Data from Source Control)

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

How is data stored in AWS Parameter Store?

A

Data is stored hierarchically in trees

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

How deep can an AWS Parameter Store tree go?

A

Up to 15 levels deep

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

What is the pricing structure for Systems Manager Parameter Store?

A

There is no additional cost

(There is a limit on the number of parameters you can store)

17
Q

What is the pricing structure for Secrets Manager?

A

You are charged per secret stored and per 10,000 API Request Calls

18
Q

What are the big benefits for Secrets Manager over Systems Manager Parameter Store?

A

With Secrets Manager, you can

  • automatically rotate secrets
  • generate random secrets
19
Q

What does DDoS stand for?

A

Distributed Denial-of-Service

20
Q

At a high level, what does AWS Shield do?

A

It protects against DDoS attacks

21
Q

What is the pricing structure for AWS Shield Standard?

A

Automatically enabled for all customers at no additional cost

22
Q

What type of attacks can AWS Shield Standard help guard against?

A

common layer 3 and layer 4 attacks

  • SYN/UDP floods
  • Reflection attacks
23
Q

Can KMS keys be used in a region different from the one in which they were created?

A

No

Keys generated by AWS KMS are only stored and used in the region in which they were created. They cannot be transferred to another region​.

(Source: https://aws.amazon.com/kms/faqs/#:~:text=Keys%20generated%20by%20AWS%20KMS,be%20transferred%20to%20another%20region.)