AWS Certified Solutions Architect - Associate Practice Questions

AWS Certified Solutions Architect - Associate (SAA-C03) exam preparation

AWS Certified Solutions Architect - Associate practice questions in English: 180 questions with explanations. The mock exam has 65 questions and 130 minutes.

AWS Certified Solutions Architect - Associate free question 6 / 10 · Domain 2: Design Resilient Architectures

A company monitors its e-commerce site with an alarm on EC2 CPU utilization. Last month, the external payment connection stopped and orders could not complete for an hour, but CPU utilization stayed normal and the alarm did not fire. The business's availability goal is to keep accepting orders. The company wants notification and remediation automation to run whenever this goal is not being met. What should it do?

  1. Send the count of completed orders as a custom metric, create a metric alarm on that value, and run an Amazon SNS notification and remediation automation
  2. Send the count of completed orders as a custom metric, create a composite alarm on that value, and run an Auto Scaling action directly in ALARM
  3. Combine the CPU utilization and disk read/write alarms into a composite alarm, treat a state in which orders have stopped as ALARM, and run the notification and remediation automation
  4. Create an alarm on the metric that shows EC2 status check failures, and recover instances before orders stop, to automate remediation
Show the answer and explanation

Answer: A

Why this is correct
The Reliability pillar design principle of automatically recovering from failure says to monitor the workload for key performance indicators (KPIs) and trigger automation when a threshold is breached, and that the KPIs should measure business value, not the technical aspects of operating the service. The count of completed orders is itself business value, so it shows up in the value even for a failure that happens outside the servers, such as the payment connection. The Amazon CloudWatch alarms page says that a metric alarm watches a single CloudWatch metric (or the result of a math expression) and performs actions based on its value relative to a threshold. The action can be a notification to an Amazon SNS topic, an EC2 or EC2 Auto Scaling action, or the creation of a Systems Manager OpsItem or incident.

Why the other options are wrong
"Combine the CPU utilization and disk read/write alarms into a composite alarm, treat a state in which orders have stopped as ALARM, and run the notification and remediation automation" … The CloudWatch alarms page says that a composite alarm includes a rule expression that takes into account the alarm states of other alarms, and that composite alarms can reduce alarm noise. If the underlying alarms are still CPU and disk, what it measures is a technical aspect. In this failure CPU was normal, so combining them would not reach ALARM.
"Send the count of completed orders as a custom metric, create a composite alarm on that value, and run an Auto Scaling action directly in ALARM" … A composite alarm watches the states of other alarms through a rule expression, and does not watch a metric directly. The same CloudWatch alarms page also says that a composite alarm can send SNS notifications and create OpsItems, but cannot perform EC2 or Auto Scaling actions.
"Create an alarm on the metric that shows EC2 status check failures, and recover instances before orders stop, to automate remediation" … A status check is a technical indicator of whether the EC2 instance and the infrastructure it runs on are working. When the instance is healthy and the external connection has stopped, as here, the value does not change and cannot detect that orders stopped.

Key point
Once you define the availability goal in business terms, create a metric that can measure it in the same terms and put the alarm on it. Keep CPU and status checks as clues for finding the cause, but put the trigger for notification and automation on the business KPI. When there are too many alarms, group them into composite alarms to narrow the notifications.

Go to the AWS Certified Solutions Architect - Associate practice app (10 free questions; purchase unlocks all questions)

See the full practice set