Extras Flashcards

1
Q

2 ways to store session state data for an app running on EC2

A
  • Store session state data in DynamoDB

- ElastiCache to store session state

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

pull Docker image to local work station

A

docker pull aws_account_id…..

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

appspec.yml is stored

A

In root of app source directory

This is for CodeDeploy

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

What AWS tool can you use to write code.

A

Cloud9

It is a cloud based IDE. You can write, run and debug in the browser.

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

Simplest way to create a scalable worker environment to process tasks asynchronously

A

Elastic Beanstalk

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

How to allow authorized client to invalidate API Gateway cache?

A
  • Require Authorization in API cache settings

- client header request must contain Cache-Control:max-a=0

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

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?

A

Configure VPC flow log with CloudWatch Logs as destination. Create CloudWatch metric filter for port 22. Create a CloudWatch Alarm trigger.

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

How to simulate AZ failure for an RDS instance?

A

Perform a reboot with forced failover on RDS instance

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

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?

A

Custom integration

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

How to safely import SSL/TLS certificates?

A

IAM certificate store

AWS Certificate Manager

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

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?

A

AWS X-Ray

API Gateway Integration Latency metric in CloudWatch (time API Gateway relays request to backend and when it receives response)

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