SOA-C02 · Question #624
SOA-C02 Question #624: Real Exam Question with Answer & Explanation
The correct answer is B: Use AWS Systems Manager to create a daily maintenance window that is outside of business. Using AWS Systems Manager to create a daily maintenance window outside of business hours allows you to schedule a reboot of the EC2 instances with minimal disruption. By registering the instances as targets and assigning the AWS-RestartEC2Instance runbook, the instances will be a
Question
A company's application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The company has configured an Amazon CloudWatch alarm to monitor the HTTPCode_Target_5XX_Count metric. The application crashes every few days during business hours. The crashes trigger the CloudWatch alarm and result in service disruption. The cause of the crashes is a memory leak in the application. While developers work to fix the problem, a SysOps administrator needs to implement a temporary solution. The solution must automatically reboot the EC2 instances every day and must minimize application disruption during business hours. Which solution will meet these requirements?
Options
- ACreate an Amazon EventBridge rule that is scheduled to run outside of business hours. Configure
- BUse AWS Systems Manager to create a daily maintenance window that is outside of business
- CConfigure an additional CloudWatch alarm to monitor the StatusCheckFailed_System metric for
- DConfigure an additional CloudWatch alarm that is triggered every time the application crashes.
Explanation
Using AWS Systems Manager to create a daily maintenance window outside of business hours allows you to schedule a reboot of the EC2 instances with minimal disruption. By registering the instances as targets and assigning the AWS-RestartEC2Instance runbook, the instances will be automatically rebooted during off-peak hours, which helps mitigate the memory leak issue temporarily while preserving application availability during business hours.
Community Discussion
No community discussion yet for this question.