Security and Encryption Flashcards
What are the 2 KMS Customer Master Key types?
- Symmetric (AES-256)
- Asymmetric (RSA & ECC key pairs)
What are 4 features of Symmetric Key Type?
- 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
What are 4 features of Asymmetric Key Type?
- 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
What are 3 use cases for KMS?
- When you need to store DB passwords
- Credentials to external service
- PrivateKey of SSL certificates
When I copy an EBS snapshot from one region to another, does the KMS key get copied also?
No, you need to create a new key for the snapshot in the new region
What is the timeframe for automatic key rotation?
1 year
If you want to rotate keys every 30/60/90 days, what rotation method should you use?
Manual key rotation
What is Secrets Manager usually used for?
RDS Integration
What would you use AWS Shield for?
For protection from DDos attacks
What are 2 features of AWS Shield Standard?
- Free service activated for all customers
- Protection from attacks such as SYN/UDP floods and other layer 3/4 attacks
What are 4 features of AWS Shield Advanced?
- 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
What does AWS Web Application Firewall (WAF) do?
Protects your web app from common web exploits on layer 7 (HTTP)
What 3 services can a WAF be used with?
- Application Load Balancer
- API Gateway
- Cloudfront
What are 2 examples of what WAF can protect against?
- SQL injection
- Cross Site Scripting
What is AWS GuardDuty?
It is an intelligent threat detection service to protect your AWS account