1
Q

What does the IntegrationLatency corresponds to in API Gateway?

A

The time between when API Gateway relays a request to the backend and when it receives a response from the backend

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

How do EB worker environments simplify the process of offloading long-running tasks from a web server?

A

It manages the SQS queue and run a daemon process on each instance that reads from que queue for you

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

What are the three things you need to specify when you create CloudWatch Alarms?

A

Period
Evaluation Period
Datapoints to Alarm

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

What does the Period represents when you create a CloudWatch alarm?

A

Length of time to evaluate the metric or expression to create each individual data point for an alarm

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

What does the Evaluation Period represents when you create a CloudWatch alarm?

A

Number of the most recent periods, or data points, to evaluate when determining alarm state

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

What does the Datapoints to Alarm represents when you create a CloudWatch alarm?

A

Number of data points within the evaluation period that must be breaching to cause the alarm to go to the ALARM state

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

Do the breaching datapoints have to be consecutive in the evalution period in order to cause the ALARM state?

A

No

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

What does the _X_AMZN_TRACE_ID environment variable contains?

A

The tracing header, which includes the sampling decision, trace ID, and parent segment ID

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

When should you choose Memcached over Redis for your caching solution?

A

You need the simplest model possible
You need to run large nodes with MULTIPLE CORES OR THREADS
You need to cache objects

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

Why does the put-bucket-policy does not help with limiting access to a certain object to only admins?

A

Because the put-bucket-policy command can only be used to apply policy at the bucket level, not on objects directly

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

What logs can you enable directly in an RDS DB?

A

Audit Log
Error Log
General Log
Slow Query Log

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

How to establish an end-to-end SSL connection between your origin and your end users when working with CloudFront?

A

Configure the Origin Protocol Policy

Configure the Viewer Protocol Policy

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

What must you do in order to allow only certain clients to invalidate the cache of an API on API Gateway on every request?
What must the client provide with its request?

A

Tick the โ€œRequire Authorizationโ€ checkbox in the Cache Settings of your API via the console

The โ€œCache-Control: max-age: 0โ€ header

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

What are the three task placement strategies in ECS?

A

binpack (place tasks based on the least available amount of CPU or memory)
random (place tasks randomly)
spread (place tasks evenly based on the specified value)

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

What are ad hoc requests?

A

They are requests that are created or done for a particular purpose as necessary

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

What are the two response types associated with HTTP 504 error in API Gateway?

A

INTEGRATION_FAILURE

INTEGRATION_TIMEOUT

17
Q

What is the response type associated with requests that return HTTP 504 error from time to time (not always)

A

INTEGRATION_TIMEOUT

18
Q

What are the two deployment types which allow you to shift traffic GRADUALLY to the new version of your application/function?

A

Canary

Linear

19
Q

Are S3 buckets part of your VPC?

A

NO!!!

20
Q

What can you do if you have an INTERNAL application running only in private subnet(s) and you need access to an S3 bucket?

A

Create a VPC endpoint for your S3 bucket

21
Q

What will happen if you specify that you want your data to be SSE using kms (by passing the โ€œx-amz-server-side-encryptionโ€ header) and you do NOT pass the โ€œx-amz-server-side-encryption-aws-kms-key-idโ€ header containing the AWS KMS CMK?

A

The default managed AWS KMS CMK will be used

22
Q

What is CloudWatch metric math used for?

A

Query multiple CloudWatch metrics or if you want to use math expressions to create new time series based on selected metrics

23
Q

What is the Russian doll caching strategy?

A

This strategy configures your cache to have nested records which are managed with their own cache keys, and then the top-level resource is a collection of those cache keys

24
Q

What are VPC flow logs?

A

A feature that enables you to capture information about the IP traffic going to and from network interfaces in your VPC

25
Q

What is the Service scheduler in ECS?

A

A feature of ECS which provides you the ability to run tasks manually (for batch jobs or single run tasks)

26
Q

What is the Container Agent included into?

A

Into the Amazon ECS-optimized AMIs

27
Q

What are Container Instances?

A

Amazon EC2 instances that are running the Amazon ECS container agent and have been registered into a cluster

28
Q

Why use Redis over Memcached for storing user session data?

A

Redis is more highly available