Skip to content

Commit

Permalink
Update aws-quiz.md (Ebazhanov#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
3D-Dev authored Nov 24, 2021
1 parent 9f2c8b0 commit 8480679
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions aws/aws-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -708,3 +708,12 @@ aws ecs create-service \
- [ ] Have your front-end application test the latency between each data center and use the data center that is responding the fastest.

[Reference](https://aws.amazon.com/premiumsupport/knowledge-center/geolocation-routing-policy/)

#### Q78. You have recently launched your new web product and are expecting 1.000 new users each month. However, you have just received word from the CEO that your product will be featured at an upcoming conference covered by several media outlets, and this could lead to 20,000 new users over the next week. How do you plan for a sudden increase in traffic?

- [ ] Replicate your infrastructure across two regions. You will harden the application to a regional failure and you will double your capacity.
- [ ] Take an AMI image of a front-end server to save your configuration and then add more servers to your cluster pror to the conference. Remove the servers from the cluster after the spike from the conference.
- [ ] Test to determine your throughput and how many users you can support. Develop a scaling plan for your front end, microservices, and database based on CloudWatch metrics that align with the tested bottlenecks.
- [x] Use Auto Scaling groups to create more front-end servers when the CloudWatch metrics for CPU usage on a single instance rise above 80% for five minutes.

[Reference](https://aws.amazon.com/ec2/autoscaling/)

0 comments on commit 8480679

Please sign in to comment.