Practice Exam 2 Flashcards
What does the IntegrationLatency corresponds to in API Gateway?
The time between when API Gateway relays a request to the backend and when it receives a response from the backend
How do EB worker environments simplify the process of offloading long-running tasks from a web server?
It manages the SQS queue and run a daemon process on each instance that reads from que queue for you
What are the three things you need to specify when you create CloudWatch Alarms?
Period
Evaluation Period
Datapoints to Alarm
What does the Period represents when you create a CloudWatch alarm?
Length of time to evaluate the metric or expression to create each individual data point for an alarm
What does the Evaluation Period represents when you create a CloudWatch alarm?
Number of the most recent periods, or data points, to evaluate when determining alarm state
What does the Datapoints to Alarm represents when you create a CloudWatch alarm?
Number of data points within the evaluation period that must be breaching to cause the alarm to go to the ALARM state
Do the breaching datapoints have to be consecutive in the evalution period in order to cause the ALARM state?
No
What does the _X_AMZN_TRACE_ID environment variable contains?
The tracing header, which includes the sampling decision, trace ID, and parent segment ID
When should you choose Memcached over Redis for your caching solution?
You need the simplest model possible
You need to run large nodes with MULTIPLE CORES OR THREADS
You need to cache objects
Why does the put-bucket-policy does not help with limiting access to a certain object to only admins?
Because the put-bucket-policy command can only be used to apply policy at the bucket level, not on objects directly
What logs can you enable directly in an RDS DB?
Audit Log
Error Log
General Log
Slow Query Log
How to establish an end-to-end SSL connection between your origin and your end users when working with CloudFront?
Configure the Origin Protocol Policy
Configure the Viewer Protocol Policy
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?
Tick the โRequire Authorizationโ checkbox in the Cache Settings of your API via the console
The โCache-Control: max-age: 0โ header
What are the three task placement strategies in ECS?
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)
What are ad hoc requests?
They are requests that are created or done for a particular purpose as necessary