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
How does GuardDuty detect threats?
It uses machine learning algorithms to search logs for unusual traffic
Can GuardDuty protect against CryptoCurrency attacks?
Yes
What is AWS Inspector?
It is a way to automate Security Assessments for your EC2 instances
What do you need to do to use AWS Inspector?
Install the Inspector Agent on all EC2 instances
When do I not need an Inspector Agent?
For Network Assesments
What is AWS Macie?
Its a data security and data privacy service that uses machine learning and pattern matching to protect your sensitive data
In the Shared Responsibility Model, what is AWS responsible for?
Security OF the Cloud
In the Shared Responsibility Model, what is the Customer responsible for?
Security IN the Cloud
What are 4 examples of Shared Controls of the Shared Responsibility Model?
- Patch Management
- Config Management
- Awareness
- Training
What are 2 examples of AWS responsibility OF the Cloud?
- Protecting infrastructure that runs all AWS services
- Protecting managed services like S3, DynamoDB etc
What are 2 examples of the Customer responsibility IN the Cloud?
- Management of guest OS, firewall, config and IAM
- Encryption application data