Question 20
A security and reliability risk review considers: An API team must alarm when a unique failure token appears in its CloudWatch log group. Which risk MOST directly explains the need for the specific corrective control?
Explanation
Correct Answer
The scenario states: An API team must alarm when a unique failure token appears in its CloudWatch log group. The most directly relevant failure risk is: Searching raw logs manually does not produce a continuously updated numerical alarm input. It motivates this particular action: Create a CloudWatch Logs metric filter matching a specific application error pattern and publish a custom metric from matching log events. Confirm the risk has been controlled by checking: A known test error log line increments the correct custom metric and an alarm reads that metric. The scope of the question is this operational failure mode rather than a different service concern.
Incorrect Answers
A threshold on the wrong statistic or missing-data setting can produce false incidents or conceal actual failures. This belongs to CloudWatch alarm evaluation and SNS alarm action in AWS SOA-C03 skill 1.1.3. Its separate risk is that a threshold on the wrong statistic or missing-data setting can produce false incidents or conceal actual failures. The question instead tests CloudWatch Logs metric filters for counted errors; that other safeguard alone does not verify it.
An EC2 CPU graph cannot identify the IAM principal that changed a security group rule. That is the exact risk associated with CloudTrail API audit trail versus CloudWatch workload telemetry in AWS SOA-C03 skill 1.1.1, not the required CloudWatch Logs metric filters for counted errors outcome.
Default EC2 CloudWatch host metrics do not automatically provide guest memory utilization or filesystem usage. This addresses CloudWatch agent collection of EC2 memory and disk metrics in AWS SOA-C03 skill 1.1.2. The separate hazard is that default EC2 CloudWatch host metrics do not automatically provide guest memory utilization or filesystem usage. It does not by itself satisfy the case-specific requirement for CloudWatch Logs metric filters for counted errors.