Question 190
During a production change review at a healthcare software provider, the DevOps team discovers that all task containers restart during deployment despite a zero-downtime target. The affected workload supports patient scheduling and record access; downtime and integrity failures can affect clinical service delivery. Which automation approach BEST satisfies this operational requirement?
Explanation
Correct Answer
Correct. Use ECS with CodeDeploy deployment controller and two appropriately configured target groups to validate replacement tasks before shifting load balancer traffic. The reported condition is that all task containers restart during deployment despite a zero-downtime target. The design addresses the corresponding exposure: Replacing all production tasks without task health, listener or target-group validation can produce simultaneous application failure. Its effectiveness must be demonstrated by this result: A test deployment starts the green task set, validates its target group and shifts traffic only after lifecycle checks pass.
Incorrect Answers
Use a pipeline with delegated cross-account IAM roles and an artifact store whose encryption keys permit the destination account to retrieve approved artifacts. It changes a different feature than ecs traffic-shifted container releases.
Use Lambda versions and weighted aliases with CodeDeploy deployment preferences and alarms to shift traffic gradually and roll back faulty serverless code. The configuration must instead establish ecs traffic-shifted container releases.
Configure source integration and revision-specific event triggers so the pipeline deploys the exact approved commit and records its immutable revision identifier. The ecs traffic-shifted container releases prerequisite remains unaddressed.