Security and Encryption Flashcards

1
Q

What are the 2 KMS Customer Master Key types?

A
  • Symmetric (AES-256)

- Asymmetric (RSA & ECC key pairs)

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

What are 4 features of Symmetric Key Type?

A
  • Single Key Encryption for encrypt/decrypt
  • Used for AWS services that are integrated with KMS
  • Required for Envelope Encryption
  • You never get access to the unencrypted key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are 4 features of Asymmetric Key Type?

A
  • Public and Private key pair. Public is for encryption, private is for decryption
  • Used for encrypt/decrypt and sign/verify operations
  • The public key is downloadable but the private key is always encrypted
  • Encryption outside of AWS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 3 use cases for KMS?

A
  • When you need to store DB passwords
  • Credentials to external service
  • PrivateKey of SSL certificates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When I copy an EBS snapshot from one region to another, does the KMS key get copied also?

A

No, you need to create a new key for the snapshot in the new region

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

What is the timeframe for automatic key rotation?

A

1 year

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

If you want to rotate keys every 30/60/90 days, what rotation method should you use?

A

Manual key rotation

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

What is Secrets Manager usually used for?

A

RDS Integration

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

What would you use AWS Shield for?

A

For protection from DDos attacks

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

What are 2 features of AWS Shield Standard?

A
  • Free service activated for all customers

- Protection from attacks such as SYN/UDP floods and other layer 3/4 attacks

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

What are 4 features of AWS Shield Advanced?

A
  • Optional DDoS mitigation service - $3k per month
  • Protection against attacks on EC2, ELB, Cloudfront etc
  • 24/7 access to AWS DDoS response team (DRP)
  • Protect against higher fees during usage spikes due to DDoS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does AWS Web Application Firewall (WAF) do?

A

Protects your web app from common web exploits on layer 7 (HTTP)

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

What 3 services can a WAF be used with?

A
  • Application Load Balancer
  • API Gateway
  • Cloudfront
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are 2 examples of what WAF can protect against?

A
  • SQL injection

- Cross Site Scripting

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

What is AWS GuardDuty?

A

It is an intelligent threat detection service to protect your AWS account

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

How does GuardDuty detect threats?

A

It uses machine learning algorithms to search logs for unusual traffic

17
Q

Can GuardDuty protect against CryptoCurrency attacks?

A

Yes

18
Q

What is AWS Inspector?

A

It is a way to automate Security Assessments for your EC2 instances

19
Q

What do you need to do to use AWS Inspector?

A

Install the Inspector Agent on all EC2 instances

20
Q

When do I not need an Inspector Agent?

A

For Network Assesments

21
Q

What is AWS Macie?

A

Its a data security and data privacy service that uses machine learning and pattern matching to protect your sensitive data

22
Q

In the Shared Responsibility Model, what is AWS responsible for?

A

Security OF the Cloud

23
Q

In the Shared Responsibility Model, what is the Customer responsible for?

A

Security IN the Cloud

24
Q

What are 4 examples of Shared Controls of the Shared Responsibility Model?

A
  • Patch Management
  • Config Management
  • Awareness
  • Training
25
Q

What are 2 examples of AWS responsibility OF the Cloud?

A
  • Protecting infrastructure that runs all AWS services

- Protecting managed services like S3, DynamoDB etc

26
Q

What are 2 examples of the Customer responsibility IN the Cloud?

A
  • Management of guest OS, firewall, config and IAM

- Encryption application data