New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam SOA-C02 Topic 1 Question 107 Discussion

Actual exam question for Amazon's SOA-C02 exam
Question #: 107
Topic #: 1
[All SOA-C02 Questions]

The SysOps administrator must restart the web server if specific errors are detected in logs on EC2 instances behind a load balancer.

Options (Select THREE):

Show Suggested Answer Hide Answer
Suggested Answer: A, C, E

Installing the CloudWatch agent enables log monitoring, and a CloudWatch metric filter allows alerting on specific errors. Using EventBridge to trigger a Systems Manager Automation runbook automates the restart of the web server, creating an efficient and automated solution.


Contribute your Thoughts:

Ruth
18 days ago
Ah, the joys of troubleshooting web servers. At least we're not dealing with legacy mainframe systems, am I right? C, E, and F for the win!
upvoted 0 times
...
Jaime
21 days ago
Hold up, why are we even restarting the web server manually? Shouldn't we just let the load balancer handle that automatically? What is this, the Stone Age?
upvoted 0 times
...
Brittni
22 days ago
Hmm, I'm not too sure about B. CloudTrail is meant for tracking API calls, not web server logs. I'd stick with C, D, and E.
upvoted 0 times
Eliz
11 days ago
Yeah, C, D, and E are the way to go for monitoring and restarting the web server.
upvoted 0 times
...
Elza
12 days ago
I agree, CloudTrail is not for web server logs. C, D, and E seem like the best options.
upvoted 0 times
...
...
Melvin
1 months ago
Definitely C, E, and F for me. The SNS notification and Systems Manager Automation runbook seem like the most straightforward way to handle this.
upvoted 0 times
Cordell
4 days ago
E) Create an Amazon EventBridge rule that responds to the alarm. Configure the rule to invoke an AWS Systems Manager Automation runbook to restart the web server software.
upvoted 0 times
...
Jade
11 days ago
C) Create an Amazon CloudWatch metric filter for the web logs. Configure an alarm for the specific errors.
upvoted 0 times
...
...
Marge
1 months ago
I believe option E is the best choice as it automates the process of restarting the web server.
upvoted 0 times
...
Augustine
1 months ago
I agree with Ronna, but I also think option C is necessary to configure the alarm for specific errors.
upvoted 0 times
...
Ronna
2 months ago
I think option A is important to install the CloudWatch agent.
upvoted 0 times
...
Katie
2 months ago
I think options C, D, and E are the way to go. CloudWatch metric filters and alarms are the way to monitor the logs, and the Lambda function and Systems Manager Automation can handle the server restart.
upvoted 0 times
Darci
28 days ago
E) Create an Amazon EventBridge rule that responds to the alarm. Configure the rule to invoke an AWS Systems Manager Automation runbook to restart the web server software.
upvoted 0 times
...
Michell
1 months ago
D) Publish alarm findings to Amazon Simple Email Service (Amazon SES). Invoke an AWS Lambda function to restart the web server software.
upvoted 0 times
...
Beatriz
2 months ago
C) Create an Amazon CloudWatch metric filter for the web logs. Configure an alarm for the specific errors.
upvoted 0 times
...
...

Save Cancel