nerdexam
AmazonAmazon

SOA-C02 · Question #395

SOA-C02 Question #395: Real Exam Question with Answer & Explanation

The correct answer is A: Create a CloudWatch Logs metric filter that counts the number of times that the web server. https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html

Submitted by thandi_sa· Mar 30, 2026

Question

A company hosts a web application on an Amazon EC2 instance. The web server logs are published to Amazon CloudWatch Logs. The log events have the same structure and include the HTTP response codes that are associated with the user requests. The company needs to monitor the number of times that the web server returns an HTTP 404 response. What is the MOST operationally efficient solution that meets these requirements?

Options

  • ACreate a CloudWatch Logs metric filter that counts the number of times that the web server
  • BCreate a CloudWatch Logs subscription filter that counts the number of times that the web server
  • CCreate an AWS Lambda function that runs a CloudWatch Logs Insights query that counts the
  • DCreate a script that runs a CloudWatch Logs Insights query that counts the number of 404 codes

Explanation

https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html

Community Discussion

No community discussion yet for this question.

Full SOA-C02 PracticeBrowse All SOA-C02 Questions