Monday Flashcards
(79 cards)
Compare ELB and ALB
ALB:
- Layer7 - Application Layer
- preferred for HTTP/HTTPS
ELB:
- Layer 4 (Network)
Both: you don’t see public IP - but therefore the DNS name. That’s because public IP might change
Name 3 advantages of Redshift!
MPP (massive parallel processing)
doesn’t need indexes
fully managed, petabyte-scale data warehouse service
S3 consistency for PUTs of new object
read after write - atomic updates (either complete old or complete new version - nothing mixed)
Name the 2 EC2 status checks!
System status check - checking underlying HyperVisor and network
Instance status check
What is Multi-AZ good for for RDS?
For disaster recovery (not performance!). Every change is mirrored to instance in other AZ synchronously!
Should you attach IAM roles to EC2’s or single users?
EC2’s - no aws configure required. AWS CLI is preinstalled on Amazon Linux AMI
Name 5 routing policies!
- Failover (active/Passive)
- Simple
- Weighted
- Latency
- Geolocation
Properties of Snapshots?
- exist on S3
- are incremental
- creation while instance is running (except root volumes)
- can be shared if unencrypted
S3 cross region application requirement?
bith buckets need versioning enabled
delete markers are also replicated
How do container instances connect to a cluster?
ECS Container Agent
What is a shard (Kinesis)?
A shard is a uniquely identified sequence of data records in a stream. A stream is composed of one or more shards, each of which provides a fixed unit of capacity.
Properties of EFS!
- can be mounted to multiple instances
- pay as you use
- block based storage
- multi-az
- scale up to petabytes
- capacity is elastic
- user-level and directory-level permissions
- read after write consistency
Is NotAction the same as Deny?
adds exception to list of actions
is not a Deny. User could still hive separate policy that grants him this action
What does a NAT Gateway do?
going from private subnets
to internet - that need a public source IP - NAT does offers public IP and routes traffic to this port
Which states does a Loadbalancer know?
InService and OutOfService
What is a PLacement Group?
logical grouping of instances within a single AZ - 10GB/s network. low latency. only certain instance typed
Benefits API GW!
- API caching
- throttle requests
- log to cloudwatch
- scales effortlessly
- CORS
- Staging…
Will EBS root be deleted on termination by default?
yes
DynamoDB consistency
- eventual consistent reads vs strongly consistent reads (default)
- consistency within a second - best read performance
What is instance storage /ephemeral?
no persistence
directly attached - not separated from EC2 like EBS
What do ECS Task Definitions include?
- which docker image
- how much CPU and memory in each container?
- networking mode
- ports mapping
- ENV
- IAM roles
…
Which workloads is NOSQL perfect for?
many reads, great scalability and performance, not many joins
What do ECS Services do?
run and maintain (like AutoScalingGroup) number of instances of task definition in ECS cluster
Can a VPC span multiple AZ’s?
yes