exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 419 discussion

A company runs a worker process on three Amazon EC2 instances. The instances are in an Auto Scaling group that is configured to use a simple scaling policy. The instances process messages from an Amazon Simple Queue Service (Amazon SQS) queue.

Random periods of increased messages are causing a decrease in the performance of the worker process. A SysOps administrator must scale the instances to accommodate the increased number of messages.

Which solution will meet these requirements?

  • A. Use CloudWatch to create a metric math expression to calculate the approximate age of the oldest message in the SQS queue. Create a target tracking scaling policy for the metric math expression to modify the Auto Scaling group.
  • B. Use CloudWatch to create a metric math expression to calculate the approximate number of messages visible in the SQS queue for each instance. Create a target tracking scaling policy for the metric math expression to modify the Auto Scaling group.
  • C. Create an Application Load Balancer (ALB). Attach the ALB to the Auto Scaling group. Create a target tracking scaling policy for the ALBRequestCountPerTarget metric to modify the Auto Scaling group.
  • D. Create an Application Load Balancer (ALB). Attach the ALB to the Auto Scaling group. Create a scheduled scaling policy for the Auto Scaling group.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
nharaz
Highly Voted 1 year, 3 months ago
Selected Answer: B
https://aws.amazon.com/blogs/mt/enhance-cloudwatch-metrics-with-metric-math-functions/
upvoted 5 times
...
Lingo43
Most Recent 6 months, 3 weeks ago
Selected Answer: B
Direct Correlation: The number of messages in the SQS queue directly correlates to the workload of the worker processes. By scaling based on this metric, you ensure that you have enough instances to handle the incoming messages. Metric Math Expression: CloudWatch metric math allows you to calculate the average number of messages per instance. This helps you make informed scaling decisions based on the workload distribution. Target Tracking Scaling: This policy automatically adjusts the number of instances in the Auto Scaling group based on the target value you set for the metric math expression. This ensures that your worker processes can handle the fluctuating message volume.
upvoted 1 times
...
RazSteel
1 year, 3 months ago
Selected Answer: C
think its C
upvoted 1 times
...
LemonGremlin
1 year, 3 months ago
Selected Answer: B
B is correct; Metric math expression for the SQS queue: By using CloudWatch to create a metric math expression, you can calculate the approximate number of messages visible in the SQS queue for each instance. This metric provides insights into the workload on each EC2 instance and can be used to make scaling decisions. Creating a target tracking scaling policy for this metric allows the Auto Scaling group to automatically adjust the number of instances based on the calculated metric, ensuring that there are enough instances to handle the increased number of messages.
upvoted 4 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