Deal of The Day! 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
2 months 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
Margurite
22 days ago
F) Create an Amazon Simple Notification Service (Amazon SNS) notification that responds to the alarm. Configure the notification to invoke an AWS Systems Manager Automation runbook to restart the web server software.
upvoted 0 times
...
Tamar
1 months 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
...
Stefanie
1 months ago
C) Create an Amazon CloudWatch metric filter for the web logs. Configure an alarm for the specific errors.
upvoted 0 times
...
...
Jaime
2 months 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
2 months 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
2 months ago
Yeah, C, D, and E are the way to go for monitoring and restarting the web server.
upvoted 0 times
...
Elza
2 months ago
I agree, CloudTrail is not for web server logs. C, D, and E seem like the best options.
upvoted 0 times
...
...
Melvin
3 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
Mozell
1 months ago
F) Create an Amazon Simple Notification Service (Amazon SNS) notification that responds to the alarm. Configure the notification to invoke an AWS Systems Manager Automation runbook to restart the web server software.
upvoted 0 times
...
Cordell
2 months 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
2 months ago
C) Create an Amazon CloudWatch metric filter for the web logs. Configure an alarm for the specific errors.
upvoted 0 times
...
...
Marge
3 months ago
I believe option E is the best choice as it automates the process of restarting the web server.
upvoted 0 times
...
Augustine
3 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
3 months ago
I think option A is important to install the CloudWatch agent.
upvoted 0 times
...
Katie
3 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
2 months 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
3 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
3 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