nerdexam
Amazon

SOA-C02 · Question #624

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 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…

Submitted by ravi_2018· Mar 30, 2026Deployment, Provisioning, and Automation

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.

How the community answered

(59 responses)
  • A
    7% (4)
  • B
    78% (46)
  • C
    3% (2)
  • D
    12% (7)

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.

Topics

#Systems Manager maintenance window#scheduled automation#EC2 reboot#zero-downtime deployment

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice