nerdexam
Amazon

SAP-C02 · Question #78

A large company is running a popular web application. The application runs on several Amazon EC2 Linux instances in an Auto Scaling group in a private subnet. An Application Load Balancer is…

The correct answer is D. Suspend the Auto Scaling group's Terminate process. https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html It shows For Amazon EC2 Auto Scaling, there are two primary process types: Launch and Terminate. The Launch process adds a new Amazon EC2 instance to an Auto Scaling group, increasing its…

Submitted by kim_seoul· Mar 6, 2026Continuous Improvement for Existing Solutions

Question

A large company is running a popular web application. The application runs on several Amazon EC2 Linux instances in an Auto Scaling group in a private subnet. An Application Load Balancer is targeting the instances in the Auto Scaling group in the private subnet. AWS Systems Manager Session Manager is configured, and AWS Systems Manager Agent is running on all the EC2 instances. The company recently released a new version of the application Some EC2 instances are now being marked as unhealthy and are being terminated. As a result, the application is running at reduced capacity. A solutions architect tries to determine the root cause by analyzing Amazon CloudWatch logs that are collected from the application, but the logs are Inconclusive. How should the solutions architect gam access to an EC2 instance to troubleshoot the issue?

Options

  • ASuspend the Auto Scaling group's HealthCheck scaling process.
  • BEnable EC2 instance termination protection
  • CSet the termination policy to Oldestlnstance on the Auto Scaling group
  • DSuspend the Auto Scaling group's Terminate process

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    15% (5)
  • D
    76% (25)

Explanation

https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html It shows For Amazon EC2 Auto Scaling, there are two primary process types: Launch and Terminate. The Launch process adds a new Amazon EC2 instance to an Auto Scaling group, increasing its capacity. The Terminate process removes an Amazon EC2 instance from the group, decreasing its capacity. HealthCheck process for EC2 autoscaling is not a primary process! It is a process along with the following AddToLoadBalancer AlarmNotification AZRebalance HealthCheck InstanceRefresh ReplaceUnhealthy ScheduledActions From the requirements, Some EC2 instances are now being marked as unhealthy and are being terminated. Application is running at reduced capacity not because instances are marked unhealthy but because they are being terminated. https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume- processes.html#choosing-suspend-resume

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice