Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Amazon Web Services AWS Certified CloudOps Engineer - Associate SOA-C03 Question # 31 Topic 4 Discussion

Amazon Web Services AWS Certified CloudOps Engineer - Associate SOA-C03 Question # 31 Topic 4 Discussion

SOA-C03 Exam Topic 4 Question 31 Discussion:
Question #: 31
Topic #: 4

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 associated with user requests. The company needs to monitor the number of times the web server returns an HTTP 404 response.

What is the MOST operationally efficient solution that meets these requirements?


A.

Create a CloudWatch Logs metric filter that counts the number of times the web server returns an HTTP 404 response.


B.

Create a CloudWatch Logs subscription filter that counts the number of HTTP 404 responses.


C.

Create an AWS Lambda function that runs a CloudWatch Logs Insights query every hour.


D.

Create a script that runs a CloudWatch Logs Insights query every hour.


Get Premium SOA-C03 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.