exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 614 discussion

Exam question from Amazon's AWS-SysOps
Question #: 614
Topic #: 1
[All AWS-SysOps Questions]

A web application accepts orders from online users and places the orders into an Amazon SQS queue. Amazon EC2 instances in an EC2 Auto Scaling group read the messages from the queue, process the orders, and email order confirmations to the users. The Auto Scaling group scales up and down based on the queue depth. At the beginning of each business day, users report confirmation emails are delayed.
What action will address this issue?

  • A. Create a scheduled scaling action to scale up in anticipation of the traffic.
  • B. Change the Auto Scaling group to scale up and down based on CPU utilization.
  • C. Change the launch configuration to launch larger EC2 instance types.
  • D. Modify the scaling policy to deploy more EC2 instances when scaling up.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html

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
dkp
Highly Voted 2 years, 7 months ago
based on the link provided seems ans is: A (Scaling Based on Amazon SQS: What happens if your upload levels change? If your uploads increase and decrease on a predictable schedule, you can specify the time and date to perform scaling activities. For more information, see Scheduled Scaling for Amazon EC2 Auto Scaling. A more dynamic way to scale your Auto Scaling group, scaling by policy, lets you define parameters that control the scaling process. For example, you can create a policy that calls for enlarging your fleet of EC2 instances whenever the average number of uploads reaches a certain level.)
upvoted 20 times
...
saumenP
Highly Voted 2 years, 7 months ago
A is correct
upvoted 8 times
...
albert_kuo
Most Recent 10 months ago
Selected Answer: A
The delay in confirmation emails is likely caused by the Auto Scaling group taking time to scale up and provision additional EC2 instances to handle the increased workload at the beginning of the business day. By creating a scheduled scaling action, you can proactively scale up the Auto Scaling group before the anticipated increase in traffic, ensuring that there are enough instances available to process the orders and send confirmation emails promptly.
upvoted 1 times
...
gulu73
1 year, 2 months ago
Selected Answer: A
Answer should be A
upvoted 1 times
...
RicardoD
2 years, 6 months ago
A is the answer. As there is an specific period where the processing is delayed, you can create a scheduled scaling action in anticipation and solve the demand
upvoted 2 times
...
abhishek_m_86
2 years, 6 months ago
A. Create a scheduled scaling action to scale up in anticipation of the traffic.
upvoted 1 times
...
Radhaghosh
2 years, 6 months ago
This is the perfect example of Schedule Scaling Policy. So Correct Answer is A. Create a scheduled scaling action to scale up in anticipation of the traffic.
upvoted 3 times
...
jackdryan
2 years, 6 months ago
I'll go with A
upvoted 2 times
...
MFDOOM
2 years, 6 months ago
A. Create a scheduled scaling action to scale up in anticipation of the traffic.
upvoted 1 times
...
waterzhong
2 years, 6 months ago
it is A Scheduled scaling allows you to set your own scaling schedule. For example, let's say that every week the traffic to your web application starts to increase on Wednesday, remains high on Thursday, and starts to decrease on Friday. You can plan your scaling actions based on the predictable traffic patterns of your web application. Scaling actions are performed automatically as a function of time and date.
upvoted 1 times
...
shammous
2 years, 6 months ago
Answer A: https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html ASG should be scheduled to be triggered before the beginning of the business day to be ready for increasing traffic.
upvoted 1 times
...
AWSum1
2 years, 6 months ago
A - Heres the clue: "At the beginning of each business day"
upvoted 3 times
...
elies_jebri
2 years, 6 months ago
It's A https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html
upvoted 1 times
...
kinetic1g
2 years, 6 months ago
A. is obvious choice here for me. Scale up before demand hits.
upvoted 3 times
...
JGD
2 years, 6 months ago
Answer D, The policy is fine about auto scaling, the only concerned is ec2 unable to handle traffic during peak hours, so additional EC2 needed to add.
upvoted 2 times
MS_PFE
2 years, 6 months ago
You are correct the policy is fine however it is going to scaling down at the end of business so the next business day when business resumes if it gets hit with a bunch of message first thing it will need to scale up which will take time. So scheduling it to scale up before the initial load its would avoid the error.
upvoted 3 times
...
...
leowenlu
2 years, 7 months ago
I will guess B, as there might be right when process the Q, but delayed to send out emails.
upvoted 1 times
smplysam
2 years, 6 months ago
A sounds better. If the application is memory intensive then you might do just fine on the CPU utilization and never scale out. Scheduled scaling will give 2 things: 1. Definite scaling at the beginning of the day. 2. Advanced scaling in anticipation will ensure that you don't have to wait for the scaling event to trigger and then launch instances. Also if it needs pre-warming then it will add to the delay. Since they have specifically mentioned that the delay is observed at the 'beginning of each business day', this is a perfect case for scheduled scaling.
upvoted 6 times
leowenlu
2 years, 6 months ago
Yes, agreed, A is better
upvoted 2 times
...
...
leowenlu
2 years, 7 months ago
A sounds good too.
upvoted 1 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