Containers Flashcards
What’s the difference between a ECS Service and a ECS Task?
Services are for long running processes, like web applications. Tasks are for processes with a sort life, like batch jobs
What’s the difference between launching an ECS with EC2 launch type or Fargate launch type?
EC2: you have to provision capacity and you pay for the provisioned resources (EC2 instances and EBS volumes)
Fargate: it’s serverless, you pay for the amount of vCPU and memory resources used
A gaming company uses Amazon Aurora as its primary database service. The company has now deployed 5 multi-AZ read replicas to increase the read throughput and for use as failover target. The replicas have been assigned the following failover priority tiers and corresponding instance sizes are given in parentheses: tier-1 (16TB), tier-1 (32TB), tier-10 (16TB), tier-15 (16TB), tier-15 (32TB).
In the event of a failover, Amazon Aurora will promote which of the following read replicas?
Tier-1 (32TB)
In the event of a failover, Amazon Aurora will promote the Read Replica that has the highest priority (the lowest numbered tier). If two or more Aurora Replicas share the same priority, then Amazon RDS promotes the replica that is largest in size. If two or more Aurora Replicas share the same priority and size, then Amazon Aurora promotes an arbitrary replica in the same promotion tier.