exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 195 discussion

A website runs a web application that receives a burst of traffic each day at noon. The users upload new pictures and content daily, but have been complaining of timeouts. The architecture uses Amazon EC2 Auto Scaling groups, and the custom application consistently takes 1 minute to initiate upon boot up before responding to user requests.
How should a solutions architect redesign the architecture to better respond to changing traffic?

  • A. Configure a Network Load Balancer with a slow start configuration.
  • B. Configure AWS ElastiCache for Redis to offload direct requests to the servers.
  • C. Configure an Auto Scaling step scaling policy with an instance warmup condition.
  • D. Configure Amazon CloudFront to use an Application Load Balancer as the origin.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
manoj101
Highly Voted 3 years, 7 months ago
C is correct. Step Scaling can solve the problem.
upvoted 80 times
crazyaboutazure
3 years, 5 months ago
Yep it is C OR if option to slow start with ALB was given - would have been perfect, as slow start configuration is not available with NLB
upvoted 6 times
...
...
ronron89
Highly Voted 3 years, 7 months ago
D is the correct answer. The key word here i sredesign the architecture . So why wouldn't i redesign in cloudfront
upvoted 16 times
kdhondge
3 years, 5 months ago
CloudFront is CDN. Use case here users want upload n not download
upvoted 7 times
Robert_B
3 years, 2 months ago
If it would say Transfer Accelerator, then maybe would be difficult to chose "C" (Warm up), but CloudFrond is for displaying/caching not uploading data.
upvoted 1 times
...
...
Microgen
3 years, 4 months ago
fresh images and content -> cloudfront not helpful
upvoted 3 times
...
Bennie
3 years ago
CF is for content delivery
upvoted 2 times
...
...
tototo
Most Recent 3 years, 3 months ago
Selected Answer: C
C is correct to me
upvoted 1 times
...
K_Rupesh
3 years, 4 months ago
Correct Answer - 'C' Step scaling applies “step adjustments” which means you can set multiple actions to vary the scaling depending on the size of the alarm breach. When you create a step scaling policy, you can also specify the number of seconds that it takes for a newly launched instance to warm up. Wrong Answer: Create a CloudFront distribution and set the EC2 instance as the origin is incorrect because this approach only resolves the traffic latency. Take note that the requirement in the scenario is to resolve the timeout issue and not the traffic latency.
upvoted 3 times
...
Mashuaws
3 years, 4 months ago
Selected Answer: C
C is the answer
upvoted 2 times
...
Mashuaws
3 years, 4 months ago
C is the answer
upvoted 1 times
...
Jazz888
3 years, 5 months ago
I would go for D. The point of focus here is "Custom Application" takes 1 minute. Even though you manipulate the warm up of instance the application will still take 1 minute to boot. And in the choices we don't have something that talks about User Data or bootstrap.
upvoted 1 times
...
ansarica
3 years, 5 months ago
C is correct to me. Warm-up value for Instances allows you to control the time until a newly launched instance can be part of an Auto Scaling group and will receive traffic. In this case, when EC2 will be part of an auto-scaling group, that will be ready to take traffic and users will not complain about timeout.
upvoted 4 times
...
Cotter
3 years, 5 months ago
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
upvoted 6 times
...
BhabaniSankar
3 years, 5 months ago
C> Can solve slow start warm up issues only; while D> can solve both load balancing and slow start with ALB
upvoted 3 times
...
woke
3 years, 5 months ago
D. Configure Amazon CloudFront to use an Application Load Balancer as the origin.
upvoted 1 times
Xfo
3 years, 5 months ago
The question says.."the users upload new pictures and content daily.."...do you think cloudfront is good for this.. for upload..??..or is better for caching..??. Answer is C.
upvoted 5 times
...
...
JayBro2
3 years, 5 months ago
Can't be C as it is not a re-designed architecture, just a tweak of the existing. Also, it won't fix the timeouts. D is a redesigned architecture and the load balancer will reduce timeouts
upvoted 1 times
Xfo
3 years, 5 months ago
The question says.."the users upload new pictures and content daily.."...do you think cloudfront is good for this.. for upload..??..or is better for caching..??. Answer is C.
upvoted 4 times
...
...
GameLift
3 years, 5 months ago
redesign the architecture to better RESPOND to changing traffic Answer: C.
upvoted 4 times
...
leliodesouza
3 years, 5 months ago
The aswer is C.
upvoted 4 times
...
syu31svc
3 years, 6 months ago
I would take C https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-step-scaling-warmup: "If you are creating a step policy, you can specify the number of seconds that it takes for a newly launched instance to warm up. Until its specified warm-up time has expired, an instance is not counted toward the aggregated metrics of the Auto Scaling group. Using the example in the Step Adjustments section, suppose that the metric gets to 60, and then it gets to 62 while the new instance is still warming up. The current capacity is still 10 instances, so 1 instance is added (10 percent of 10 instances). However, the desired capacity of the group is already 11 instances, so the scaling policy does not increase the desired capacity further. If the metric gets to 70 while the new instance is still warming up, we should add 3 instances (30 percent of 10 instances). However, the desired capacity of the group is already 11, so we add only 2 instances, for a new desired capacity of 13 instances"
upvoted 8 times
...
DarrylNg
3 years, 6 months ago
C. takes 1 minute to initiate upon boot up. Instance warm up can help to prevent from taking a EC2 instance metric as scaling criteria while it is still booting up. you can specify the number of seconds that it takes for a newly launched instance to warm up. Until its specified warm-up time has expired, an instance is not counted toward the aggregated metrics of the Auto Scaling group
upvoted 2 times
...
KK_uniq
3 years, 6 months ago
C for sure. In step scaling there is no waiting period or cooldown period so it can adjust to alarms at any time.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago