TD Exam 1 Flashcards
What are the four reasons to use CLoudHsm
- Have keys that are explicitly required to be protected in single-tenant HSM
- Keys that need to be stored in an HSM that is compliant with FIPS 140-2 Level 3
- Need ability to immediately remove key material from aws KMW and prove you have done so by independent means
- Requirement to be able to audit all use of keys independently of KMS and CloudTrail
What should you use if you need to comply to FIPS 140-2 Level3?
Use CloudHSM
What should you use if you need the ability to remove immediately key material from KMS
CloudHSM
What should you use if you need to be able to audit key usage independently from KMS and CloudTrail
CloudHSM
What should you do if you have an Amazon Aurora db for which the read replica struggles to keep up with increasing read traffic
Use Aurora Auto Scaling
What is the difference between Canary deployment and Blue/Green?
Canary starts with a small subset of nodes/servers while Blue/Green is half/half of env
Which is more complex with API Gateway: Canary deployment or Blue/Green
Blue/Green is more complex since you need to configure a new Environment. Canary is very simple to do with API Gateway
What are some services with which AWS WAF is tightly integrated?
Cloudfront, ALB, API Gateway, AWS AppSync
Where do AWS WAF rules run if you configured them for CloudFront
Edge location
What should you do if you have a large number of illegitimate requests from constantly changing IPs
Rate-based rule in AWS WAF
What should you use if you need a POSIX-compliant filesystem
EFS
Why would using many instances acccessing EBS be slow
Does not allow parallel access (or do up to provisioned capacity for aggregate)
What is a limitation of attaching an EBS volume to multiple EC2 instances
They have to be in the same AZ
What is best for file storage: EFS or S3
EFS, S3 is object storage
What are advantages of EFS
POSIX-Compliant
HA
Scalable
What should be a first choice when Schema Change is mentioned
DynamoDB
What is Amazon Redshift used for mostly
Online Analytical Processing (OLAP)
What is Amazon Redshift
A Cloud-based data warehouse service
What should you do to prevent accidental deletion of S3 objects
Enable versioning\Enable MFA Delete
When is Web Identity Federation used
To let users sign in using a well-known external idp
What can be used to allow devs to log into AWS with onprem AD
SAML 2.0 Federation by using Microsoft AD Federation Service
What is the default termination policy algorithm for an auto-scaling group
1) Pick AZ with most instances and at least one instance not protected from scaling. If multiple, pick the one with instances that use the oldest template
2) Pick unprotected instance with the oldest launch template
3) If many based on above criteria, pick the one closest to the next billing hour
4) If many based on above criteria, pick one at random
How can you protect Lambda/API Gateway based system from traffic surges
Enable throttling limits and result caching in API Gateway
What are the 2 levels you can set API Gateway throttling
Global and by service call