AWS Certified Sysops Administrator Associate · Free Practice Question Medium

Question 31

A company has an application running on Amazon EC2 instances in an Auto Scaling group, managed by an Application Load Balancer (ALB). The application starts to malfunction when total requests per second surpass 150. A SysOps administrator is tasked to compile information about total requests over a span of three weeks to identify instances where this limit was exceeded. What should the SysOps administrator do to accumulate this data?

  • A

    Configure an AWS Lambda function to gather and aggregate request metrics across all the EC2 instances, then relay these metrics to Amazon CloudWatch.

  • B

    Establish an Amazon CloudWatch Events rule that will trigger based on a pattern matching high request volumes. Configure an Amazon SNS topic to alert the administrator when the limit is exceeded.

  • C

    Use the ALB's RequestCount metric, adjust a time duration of three weeks, and a period of 1 minute. Analyze the graph to identify peak traffic intervals and volumes.

  • D

    Set up Amazon CloudWatch Logs Insights to generate a sum of request counts for all the EC2 instances over a three-week period, sorting by a 1-minute interval.

Reveal correct answer

Correct answer: C

Explanation

By utilizing the ALB's RequestCount metric in Amazon CloudWatch, the SysOps administrator can configure a time range of three weeks and a period of 1 minute to collect data on the total requests. The graph generated from this metric will provide insights into peak traffic intervals and volumes.

CORRECT: "Use the ALB's RequestCount metric, adjust a time duration of three weeks, and a period of 1 minute. Analyze the graph to identify peak traffic intervals and volumes" is the correct answer (as explained above.)

INCORRECT: "Set up Amazon CloudWatch Logs Insights to generate a sum of request counts for all the EC2 instances over a three-week period, sorting by a 1-minute interval" is incorrect.

Amazon CloudWatch Logs Insights is primarily used for analyzing log data, not for aggregating request counts. It is not the suitable tool for collecting the required information in this scenario.

INCORRECT: "Establish an Amazon CloudWatch Events rule that will trigger based on a pattern matching high request volumes. Configure an Amazon SNS topic to alert the administrator when the limit is exceeded" is incorrect.

While Amazon CloudWatch Events can be used to trigger actions based on events, such as high request volumes, it does not provide a direct way to accumulate the total request counts over a specific duration.

INCORRECT: "Configure an AWS Lambda function to gather and aggregate request metrics across all the EC2 instances, then relay these metrics to Amazon CloudWatch" is incorrect.

Although AWS Lambda functions can be utilized for various tasks, such as data aggregation, they are not the most efficient solution in this case. Amazon CloudWatch already provides native metrics, such as RequestCount, that can be directly used for collecting the required data.

References:

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/working_with_metrics.html

Save time with our AWS cheat sheets:

https://digitalcloud.training/amazon-cloudwatch/

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need