AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A company runs a multi-AZ web application on Amazon EC2 instances behind an Application Load Balancer. The instances are in an Auto Scaling group (ASG). A CloudWatch metric alarm currently notifies the on-call channel whenever the ASG's average CPU utilization exceeds 85 percent, after which an engineer manually increases the desired capacity. Management wants this alert to remediate itself automatically while reducing unnecessary scale-out events caused by short CPU spikes. A notification must still be sent whenever the remediation occurs.

Which solution meets these requirements and follows AWS operational-excellence best practices?

  • Replace the metric alarm with two scheduled scaling actions that raise desired capacity every weekday at 09:00 and lower it at 18:00 while sending an SNS notification when each action runs.

  • Enable predictive scaling for the ASG, delete the CPU alarm, and rely on predictive scaling to add capacity ahead of demand. Configure predictive scaling to send an SNS notification whenever it forecasts a capacity change.

  • Create a CloudWatch metric alarm on the ASG's average CPU with a 60-second period and three evaluation periods. Attach a step-scaling policy that adds one instance when the alarm is in ALARM state, and configure the alarm to publish to an SNS topic used by the on-call channel.

  • Create an EventBridge rule that runs an AWS Lambda function every minute. The function calls GetMetricData for CPU utilization and, if it is above 85 percent, invokes SetDesiredCapacity to add one instance and then sends a notification to the on-call channel.

AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot