Extras Flashcards
2 ways to store session state data for an app running on EC2
- Store session state data in DynamoDB
- ElastiCache to store session state
pull Docker image to local work station
docker pull aws_account_id…..
appspec.yml is stored
In root of app source directory
This is for CodeDeploy
What AWS tool can you use to write code.
Cloud9
It is a cloud based IDE. You can write, run and debug in the browser.
Simplest way to create a scalable worker environment to process tasks asynchronously
Elastic Beanstalk
How to allow authorized client to invalidate API Gateway cache?
- Require Authorization in API cache settings
- client header request must contain Cache-Control:max-a=0
If want to monitor traffic on bastion host to be alerted after 10 attempts to connect to host via SSH in 1 hour interval, what services should you use?
Configure VPC flow log with CloudWatch Logs as destination. Create CloudWatch metric filter for port 22. Create a CloudWatch Alarm trigger.
How to simulate AZ failure for an RDS instance?
Perform a reboot with forced failover on RDS instance
What AWS integration do you need if you want a request to be mapped to an integration request and see resulting integration response data mapped to method response?
Custom integration
How to safely import SSL/TLS certificates?
IAM certificate store
AWS Certificate Manager
When API Gateway is running a Lambda function and you suspect the Lambda function is taking too long to execute, what services should you use to investigate?
AWS X-Ray
API Gateway Integration Latency metric in CloudWatch (time API Gateway relays request to backend and when it receives response)