Question 430
During a security and availability review at a digital payments provider, the DevOps team discovers that Fargate tasks are added but the service target group never registers them as healthy. The affected workload supports transaction authorization and reconciliation; availability and integrity are both required for financial settlement. Which automation approach BEST satisfies this operational requirement?
Explanation
Correct Answer
Correct. Scale ECS services with Application Auto Scaling and appropriate capacity provider strategy so tasks and backing EC2 capacity are available when needed. The reported condition is that Fargate tasks are added but the service target group never registers them as healthy. The design addresses the corresponding exposure: Increasing desired task count without sufficient underlying capacity or target registration can leave work pending during peak load. Its effectiveness must be demonstrated by this result: Service scale tests show new tasks placed on suitable capacity, become healthy behind the load balancer and drain correctly on scale-in.
Incorrect Answers
Use EC2 Auto Scaling target tracking based on a workload-relevant metric such as ALBRequestCountPerTarget and validate capacity and scale-in safety. It changes a different feature than ecs service and capacity provider scaling.
Configure a supported Amazon RDS Multi-AZ deployment and test connection retry and automatic failover behavior to satisfy local database availability requirements. The configuration must instead establish ecs service and capacity provider scaling.
Distribute an Application Load Balancer and healthy Auto Scaling instances across multiple Availability Zones with sufficient failover capacity. The ecs service and capacity provider scaling prerequisite remains unaddressed.