AWS Workflows Flashcards
1
Q
Target Tracking or Step Scaling
A
- AWS recommends Target tracking over Step scaling.
2
Q
Predictive scaling vs Dynamic scalling
A
- Predictive uses ML
- Dynamic uses metrics like CPU Untilization
3
Q
NLB - Network Load Balancer
A
- Layer 4 Routing
- TCP/UDP
- Ultra low latency
- Static IPs in the VPC
- Uses VPC Endpoint Services
4
Q
ALB - Application Load Balancer
A
- Layer 7 Routing
- Http
- Cross zone by default
5
Q
Auto Scaling Cooldown
A
- Default 5 mins
- Amount of time scaling waits before taking action
- configurable
6
Q
WAF - Web Application Firewall
A
- Rules to filter web traffic
- Ips, http headers, body, customer urls, location
- Plugs into ALB
- used to block common exploits like SQL injection / Cross sight scrip
7
Q
SQS - Simple Queue Service
A
- Poll based messaging
- used to decouple web tier and app tier
- retention default 4 days ( 1min to 14 days)
- Short and Long Polling
- Message deleted on successful returns
- inflight encryption
- encryption at rest can be configured with KMS - not default
8
Q
SQS - Hides the message before consumers can process
A
- Delivery Delay
- Default is 0
- up to 15 mins
9
Q
SQS - Locks message so other consumers can’t process it
A
- Visibility Timeout
- Locks message so other consumers can’t process it
- Default is 30 seconds
10
Q
SQS - Short Polling
A
- Reads the queue if no messages disconnects
- Default
11
Q
SQS Long Polling
A
- Connect and wait for messages
- Must configure
- Can reduce cost
12
Q
SQS - Standard
A
- Best effort ordering
- Might get a message twice
- Unlimited transactions per second
- Lower cost
13
Q
SQS - FIFO
A
- Messages are ordered
- No message duplicates
- 300 messages per second
- 3000 messages if batched
- cost more
14
Q
SQS - Dead Letter
A
- Used to sideline message that won’t process
- max receives before being added to DL
- cloud watch alarms on DL
- can setup to notify vi SNS
15
Q
SQS Message Size
A
256
16
Q
SQS Queue Depth
A
- Can trigger more subscribers via cloud watch events
17
Q
SNS - Simple Notification Service
A
- Push service to subscribers
- used to fan out to SQS
- encryption
- access policies
- typical use case email alerts
18
Q
NLB with SSL
A
- Passes through
- Terminates on service such as ec2