Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 73
Question 720
The DevOps team must resolve this scenario: A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory. Which engineering change is MOST appropriate?
- Use explicit account/OU boundaries, safe tags, dry-run records and approval for destructive operations.
- Register supported hybrid nodes in Systems Manager and assign compliant patch baselines.
- Split work into durable Step Functions state transitions or supported managed operations.
- Use scoped paths or separate accounts with least-privilege parameter read access.
Explanation
Correct Answer
B:Register supported hybrid nodes in Systems Manager and assign compliant patch baselines. Its validation is: A selected on-premises node reports patch status through the central approved console. The principle is: Hybrid systems can be managed through supported SSM activation and scoped policies where reachable.
Incorrect Answers
A:Use explicit account/OU boundaries, safe tags, dry-run records and approval for destructive operations. This instead addresses a different case: A Lambda cleans abandoned development stacks nightly but occasionally deletes shared production KMS keys due to an imprecise tag query. For the stated situation (A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory.), the better engineering action is: Register supported hybrid nodes in Systems Manager and assign compliant patch baselines. The deciding distinction is: Hybrid systems can be managed through supported SSM activation and scoped policies where reachable.
C:Split work into durable Step Functions state transitions or supported managed operations. This instead addresses a different case: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. For the stated situation (A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory.), the better engineering action is: Register supported hybrid nodes in Systems Manager and assign compliant patch baselines. The deciding distinction is: Hybrid systems can be managed through supported SSM activation and scoped policies where reachable.
D:Use scoped paths or separate accounts with least-privilege parameter read access. This instead addresses a different case: Multiple environments share unqualified /db/password parameter names and a production application accidentally reads a staging secret. For the stated situation (A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory.), the better engineering action is: Register supported hybrid nodes in Systems Manager and assign compliant patch baselines. The deciding distinction is: Hybrid systems can be managed through supported SSM activation and scoped policies where reachable.
Question 721
Before changing production, engineers find: A release pipeline runs in one Region but must deploy a serverless service to a second Region with artifacts available for that target. Which investigation should the engineer perform FIRST?
- Inspect pipeline service role, target role trust policy, STS permissions and artifact access.
- Inspect shell error handling, test process exit codes, buildspec commands and report-group output.
- Review action region, artifact store configuration, KMS grants and destination execution permissions.
- Compare staging and production package hashes, dependency resolution and pipeline stage contracts.
Explanation
Correct Answer
C:Review action region, artifact store configuration, KMS grants and destination execution permissions. The governing principle is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles. The next controlled engineering decision is: Configure required cross-Region artifact store and least-privilege deployment action settings.
Incorrect Answers
A:Inspect pipeline service role, target role trust policy, STS permissions and artifact access. This instead addresses a different case: A delivery pipeline in a tooling account must deploy CloudFormation into isolated production accounts without storing long-term access keys. For the stated situation (A release pipeline runs in one Region but must deploy a serverless service to a second Region with artifacts available for that target.), the better investigation is: Review action region, artifact store configuration, KMS grants and destination execution permissions. The deciding distinction is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles.
B:Inspect shell error handling, test process exit codes, buildspec commands and report-group output. This instead addresses a different case: CodeBuild exits zero after a testing script prints failing assertions, and no test result report is retained. For the stated situation (A release pipeline runs in one Region but must deploy a serverless service to a second Region with artifacts available for that target.), the better investigation is: Review action region, artifact store configuration, KMS grants and destination execution permissions. The deciding distinction is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles.
D:Compare staging and production package hashes, dependency resolution and pipeline stage contracts. This instead addresses a different case: Each environment rebuilds an application from its Git branch, making production binaries differ from staging even when the commit matches. For the stated situation (A release pipeline runs in one Region but must deploy a serverless service to a second Region with artifacts available for that target.), the better investigation is: Review action region, artifact store configuration, KMS grants and destination execution permissions. The deciding distinction is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles.
Question 722
A DevOps team is reviewing: An EKS rolling deployment scales down all API pods at once, causing requests to fail despite multiple nodes. Which TWO complementary actions should it take? Select TWO answers.
- Set appropriate rolling update bounds, readiness probes and availability policies.
- Correct the failing hook or dependency and redeploy using the supported EC2 deployment sequence.
- Create and inspect a change set before controlled production execution.
- Inspect Deployment maxUnavailable, probes, replica counts and pod disruption budgets.
- Review database migration compatibility, rollback requirements and old version connection behavior.
Explanation
Correct Answers
A:Set appropriate rolling update bounds, readiness probes and availability policies. This is a required controlled engineering action for the stated situation: An EKS rolling deployment scales down all API pods at once, causing requests to fail despite multiple nodes. The complementary correct action is: Inspect Deployment maxUnavailable, probes, replica counts and pod disruption budgets. Both follow the principle: Kubernetes update strategy must preserve ready capacity and respect disruption limits.
D:Inspect Deployment maxUnavailable, probes, replica counts and pod disruption budgets. This is a required diagnostic evidence step for the stated situation: An EKS rolling deployment scales down all API pods at once, causing requests to fail despite multiple nodes. The complementary correct action is: Set appropriate rolling update bounds, readiness probes and availability policies. Both follow the principle: Kubernetes update strategy must preserve ready capacity and respect disruption limits.
Incorrect Answers
B:Correct the failing hook or dependency and redeploy using the supported EC2 deployment sequence. This is suitable for another situation: A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure. In this case, engineers instead need the paired investigation (Inspect Deployment maxUnavailable, probes, replica counts and pod disruption budgets.) and design change (Set appropriate rolling update bounds, readiness probes and availability policies.). These two steps address: An EKS rolling deployment scales down all API pods at once, causing requests to fail despite multiple nodes.
C:Create and inspect a change set before controlled production execution. This is suitable for another situation: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor. In this case, engineers instead need the paired investigation (Inspect Deployment maxUnavailable, probes, replica counts and pod disruption budgets.) and design change (Set appropriate rolling update bounds, readiness probes and availability policies.). These two steps address: An EKS rolling deployment scales down all API pods at once, causing requests to fail despite multiple nodes.
E:Review database migration compatibility, rollback requirements and old version connection behavior. This is suitable for another situation: An application switches its ALB target group to a new version while both versions connect to a shared relational schema. In this case, engineers instead need the paired investigation (Inspect Deployment maxUnavailable, probes, replica counts and pod disruption budgets.) and design change (Set appropriate rolling update bounds, readiness probes and availability policies.). These two steps address: An EKS rolling deployment scales down all API pods at once, causing requests to fail despite multiple nodes.
Question 723
An AWS platform team investigates this condition: A critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration. Which DevOps principle BEST explains the core problem?
- Multi-AZ service design needs healthy targets and sufficient capacity in independent zones.
- Warm standby requires pre-deployed usable components sufficient for stated recovery time.
- Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.
- Cross-Region resilience must include regional identity, secret and cryptographic dependencies.
Explanation
Correct Answer
C:Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported. Relevant first evidence: Review RDS deployment mode, client retry behavior, endpoint, RTO and current backups. The resulting controlled response is: Choose a supported RDS Multi-AZ configuration with application reconnect logic.
Incorrect Answers
A:Multi-AZ service design needs healthy targets and sufficient capacity in independent zones. This instead addresses a different case: A production ALB forwards traffic only to instances in one Availability Zone even though the application requires tolerance of an AZ outage. For the stated situation (A critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration.), the better principle is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported. The deciding distinction is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.
B:Warm standby requires pre-deployed usable components sufficient for stated recovery time. This instead addresses a different case: A standby Region has copied AMIs but no provisioned database capacity and cannot accept traffic for hours. For the stated situation (A critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration.), the better principle is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported. The deciding distinction is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.
D:Cross-Region resilience must include regional identity, secret and cryptographic dependencies. This instead addresses a different case: A warm standby web tier exists in a second Region but depends on secrets and KMS keys that are only accessible in the primary Region. For the stated situation (A critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration.), the better principle is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported. The deciding distinction is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.
Question 724
An AWS platform team investigates this condition: A central deployment role uses a shared user access key to write objects to member-account buckets. Which DevOps principle BEST explains the core problem?
- Workforce access should be federated and provisioned centrally with time-limited account sessions.
- Machine-to-machine multi-account access should use STS role assumption with scoped trust.
- Long-running workflows should use durable orchestration rather than a single Lambda invocation.
- Account movement can change inherited guardrails and service-managed StackSets targets.
Explanation
Correct Answer
B:Machine-to-machine multi-account access should use STS role assumption with scoped trust. Relevant first evidence: Inspect trust principals, session policies, resource permissions and key inventory. The resulting controlled response is: Replace persistent shared keys with approved cross-account roles and short-lived credentials.
Incorrect Answers
A:Workforce access should be federated and provisioned centrally with time-limited account sessions. This instead addresses a different case: An enterprise manually creates duplicate IAM users in dozens of accounts for employees, creating slow offboarding. For the stated situation (A central deployment role uses a shared user access key to write objects to member-account buckets.), the better principle is: Machine-to-machine multi-account access should use STS role assumption with scoped trust. The deciding distinction is: Machine-to-machine multi-account access should use STS role assumption with scoped trust.
C:Long-running workflows should use durable orchestration rather than a single Lambda invocation. This instead addresses a different case: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. For the stated situation (A central deployment role uses a shared user access key to write objects to member-account buckets.), the better principle is: Machine-to-machine multi-account access should use STS role assumption with scoped trust. The deciding distinction is: Machine-to-machine multi-account access should use STS role assumption with scoped trust.
D:Account movement can change inherited guardrails and service-managed StackSets targets. This instead addresses a different case: A team moves an account to a new OU and expects an existing StackSets-managed baseline to remain unchanged without review. For the stated situation (A central deployment role uses a shared user access key to write objects to member-account buckets.), the better principle is: Machine-to-machine multi-account access should use STS role assumption with scoped trust. The deciding distinction is: Machine-to-machine multi-account access should use STS role assumption with scoped trust.
Question 725
Before changing production, engineers find: A streaming workload begins dropping or delaying records because all events use the same partition key and one Kinesis shard is hot. Which investigation should the engineer perform FIRST?
- Measure client geography, network latency, data locality and regulatory constraints.
- Inspect partition key distribution, throttled requests and access patterns.
- Review producer partition keys, throttling, shard metrics and consumer lag.
- Inspect bucket versioning, Object Lock governance or compliance mode, policies and retention.
Explanation
Correct Answer
C:Review producer partition keys, throttling, shard metrics and consumer lag. The governing principle is: Stream throughput depends on partition distribution as well as shard capacity. The next controlled engineering decision is: Distribute partition keys appropriately and scale stream capacity based on measured demand.
Incorrect Answers
A:Measure client geography, network latency, data locality and regulatory constraints. This instead addresses a different case: A regional API has users worldwide and latency spikes for distant users even when application instances have spare capacity. For the stated situation (A streaming workload begins dropping or delaying records because all events use the same partition key and one Kinesis shard is hot.), the better investigation is: Review producer partition keys, throttling, shard metrics and consumer lag. The deciding distinction is: Stream throughput depends on partition distribution as well as shard capacity.
B:Inspect partition key distribution, throttled requests and access patterns. This instead addresses a different case: A DynamoDB table has substantial unused provisioned capacity but requests to one partition key still throttle under burst load. For the stated situation (A streaming workload begins dropping or delaying records because all events use the same partition key and one Kinesis shard is hot.), the better investigation is: Review producer partition keys, throttling, shard metrics and consumer lag. The deciding distinction is: Stream throughput depends on partition distribution as well as shard capacity.
D:Inspect bucket versioning, Object Lock governance or compliance mode, policies and retention. This instead addresses a different case: A regulated dataset is protected by S3 copies, but the only operator can permanently delete versions during an incident. For the stated situation (A streaming workload begins dropping or delaying records because all events use the same partition key and one Kinesis shard is hot.), the better investigation is: Review producer partition keys, throttling, shard metrics and consumer lag. The deciding distinction is: Stream throughput depends on partition distribution as well as shard capacity.
Question 726
An AWS platform team investigates this condition: Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets. Which DevOps principle BEST explains the core problem?
- Metrics must preserve useful dimensions for diagnostic isolation.
- Compliance conclusions depend on time-relevant configuration history, not only present state.
- Network flow evidence must be collected at relevant scope with protected destination and retention.
- Near-real-time log integration requires a correctly configured subscription destination and permissions.
Explanation
Correct Answer
C:Network flow evidence must be collected at relevant scope with protected destination and retention. Relevant first evidence: Inspect flow log coverage, filter type, destination access and retention requirements. The resulting controlled response is: Enable appropriately scoped VPC Flow Logs to a secure central destination.
Incorrect Answers
A:Metrics must preserve useful dimensions for diagnostic isolation. This instead addresses a different case: A dashboard aggregates all Lambda error counts into one line and cannot reveal which function causes the failures. For the stated situation (Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets.), the better principle is: Network flow evidence must be collected at relevant scope with protected destination and retention. The deciding distinction is: Network flow evidence must be collected at relevant scope with protected destination and retention.
B:Compliance conclusions depend on time-relevant configuration history, not only present state. This instead addresses a different case: A tagged production S3 bucket is currently private, but auditors need to know whether it was public during a past incident window. For the stated situation (Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets.), the better principle is: Network flow evidence must be collected at relevant scope with protected destination and retention. The deciding distinction is: Network flow evidence must be collected at relevant scope with protected destination and retention.
D:Near-real-time log integration requires a correctly configured subscription destination and permissions. This instead addresses a different case: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded. For the stated situation (Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets.), the better principle is: Network flow evidence must be collected at relevant scope with protected destination and retention. The deciding distinction is: Network flow evidence must be collected at relevant scope with protected destination and retention.
Question 727
After implementing a proposed fix, the team reviews: A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails. Which result would BEST confirm that the risk is addressed?
- An image inspection finds no private key and the service rotates certificates safely.
- An intended object is readable and unauthorized prefixes remain denied.
- A long approval wait does not cause the later deployment to use expired credentials.
- A test rotation preserves authorized access and invalidates the prior credential on schedule.
Explanation
Correct Answer
C:A long approval wait does not cause the later deployment to use expired credentials. The approved action is: Request fresh short-lived credentials only when the gated deployment action begins. The risk principle is: Temporary credential lifetime and retrieval must match execution and approval workflow timing.
Incorrect Answers
A:An image inspection finds no private key and the service rotates certificates safely. This instead addresses a different case: A custom TLS termination service stores its private key in an unencrypted public container image layer. For the stated situation (A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails.), the better verification is: A long approval wait does not cause the later deployment to use expired credentials. The deciding distinction is: Temporary credential lifetime and retrieval must match execution and approval workflow timing.
B:An intended object is readable and unauthorized prefixes remain denied. This instead addresses a different case: A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account. For the stated situation (A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails.), the better verification is: A long approval wait does not cause the later deployment to use expired credentials. The deciding distinction is: Temporary credential lifetime and retrieval must match execution and approval workflow timing.
D:A test rotation preserves authorized access and invalidates the prior credential on schedule. This instead addresses a different case: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. For the stated situation (A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails.), the better verification is: A long approval wait does not cause the later deployment to use expired credentials. The deciding distinction is: Temporary credential lifetime and retrieval must match execution and approval workflow timing.
Question 728
The DevOps team must resolve this scenario: A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package. Which engineering change is MOST appropriate?
- Shift an approved percentage of alias traffic to the new function version and monitor alarms.
- Use EC2 Image Builder to build and test a versioned, hardened AMI for deployment.
- Remove token-printing commands and use scoped secret injection with safe diagnostics.
- Deploy pinned S3 object versions or digests after controlled artifact publication.
Explanation
Correct Answer
C:Remove token-printing commands and use scoped secret injection with safe diagnostics. Its validation is: An authorized dry run produces no token in captured logs and fetch still succeeds. The principle is: Artifact build pipelines must prevent credential disclosure in stdout and artifacts.
Incorrect Answers
A:Shift an approved percentage of alias traffic to the new function version and monitor alarms. This instead addresses a different case: A Lambda function update introduces intermittent errors that appear only under a small share of real requests. For the stated situation (A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package.), the better engineering action is: Remove token-printing commands and use scoped secret injection with safe diagnostics. The deciding distinction is: Artifact build pipelines must prevent credential disclosure in stdout and artifacts.
B:Use EC2 Image Builder to build and test a versioned, hardened AMI for deployment. This instead addresses a different case: Production EC2 Auto Scaling launches instances from an AMI built manually months earlier with inconsistent patch levels. For the stated situation (A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package.), the better engineering action is: Remove token-printing commands and use scoped secret injection with safe diagnostics. The deciding distinction is: Artifact build pipelines must prevent credential disclosure in stdout and artifacts.
D:Deploy pinned S3 object versions or digests after controlled artifact publication. This instead addresses a different case: A deployment retrieves ZIP bundles from a common S3 prefix where operators can replace a file without updating the approved release record. For the stated situation (A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package.), the better engineering action is: Remove token-printing commands and use scoped secret injection with safe diagnostics. The deciding distinction is: Artifact build pipelines must prevent credential disclosure in stdout and artifacts.
Question 729
After implementing a proposed fix, the team reviews: A monitoring platform generates thousands of identical GuardDuty alerts while missing new critical incidents due to analyst overload. Which result would BEST confirm that the risk is addressed?
- A safe simulated rule match generates a routed high-severity root activity alert.
- A deliberately changed role triggers a finding and is restored or risk accepted.
- One application team can deploy its own service and is denied another team's service.
- One recurring event is tracked coherently and distinct high-severity signals escalate.
Explanation
Correct Answer
D:One recurring event is tracked coherently and distinct high-severity signals escalate. The approved action is: Configure appropriate deduplication, severity filters and accountable workflows. The risk principle is: Security alerting should preserve severity, deduplication and response priority.
Incorrect Answers
A:A safe simulated rule match generates a routed high-severity root activity alert. This instead addresses a different case: The security team needs immediate notification if any member account root principal creates an access key or changes account settings. For the stated situation (A monitoring platform generates thousands of identical GuardDuty alerts while missing new critical incidents due to analyst overload.), the better verification is: One recurring event is tracked coherently and distinct high-severity signals escalate. The deciding distinction is: Security alerting should preserve severity, deduplication and response priority.
B:A deliberately changed role triggers a finding and is restored or risk accepted. This instead addresses a different case: A production IAM role grants expanded privileges despite the approved CloudFormation template declaring limited access. For the stated situation (A monitoring platform generates thousands of identical GuardDuty alerts while missing new critical incidents due to analyst overload.), the better verification is: One recurring event is tracked coherently and distinct high-severity signals escalate. The deciding distinction is: Security alerting should preserve severity, deduplication and response priority.
C:One application team can deploy its own service and is denied another team's service. This instead addresses a different case: A shared ECS deployment role can update any workload in the account despite developers owning separate applications. For the stated situation (A monitoring platform generates thousands of identical GuardDuty alerts while missing new critical incidents due to analyst overload.), the better verification is: One recurring event is tracked coherently and distinct high-severity signals escalate. The deciding distinction is: Security alerting should preserve severity, deduplication and response priority.
Question 730
A DevOps team is reviewing: An ECS task starts successfully but is continually removed from service because its target group health check targets a nonexistent path. Which TWO complementary actions should it take? Select TWO answers.
- Configure a blue/green ECS deployment with validation traffic and automatic rollback conditions.
- Review bucket policy, encryption settings, KMS grants and pipeline roles.
- Align target-group checks with a reliable application readiness endpoint and reachable port.
- Inspect ECS task definition secrets, IAM grants and account-specific parameter names.
- Inspect ALB target-group path, task port, security group rules and service events.
Explanation
Correct Answers
C:Align target-group checks with a reliable application readiness endpoint and reachable port. This is a required controlled engineering action for the stated situation: An ECS task starts successfully but is continually removed from service because its target group health check targets a nonexistent path. The complementary correct action is: Inspect ALB target-group path, task port, security group rules and service events. Both follow the principle: Task deployment health checks must reflect the live application's endpoint and readiness behavior.
E:Inspect ALB target-group path, task port, security group rules and service events. This is a required diagnostic evidence step for the stated situation: An ECS task starts successfully but is continually removed from service because its target group health check targets a nonexistent path. The complementary correct action is: Align target-group checks with a reliable application readiness endpoint and reachable port. Both follow the principle: Task deployment health checks must reflect the live application's endpoint and readiness behavior.
Incorrect Answers
A:Configure a blue/green ECS deployment with validation traffic and automatic rollback conditions. This is suitable for another situation: An ECS service release must let QA validate a new task set before production traffic shifts, with rollback if alarms breach a threshold. In this case, engineers instead need the paired investigation (Inspect ALB target-group path, task port, security group rules and service events.) and design change (Align target-group checks with a reliable application readiness endpoint and reachable port.). These two steps address: An ECS task starts successfully but is continually removed from service because its target group health check targets a nonexistent path.
B:Review bucket policy, encryption settings, KMS grants and pipeline roles. This is suitable for another situation: Deployment artifacts containing sensitive configuration are stored in an S3 bucket with broad read access and no enforced encryption policy. In this case, engineers instead need the paired investigation (Inspect ALB target-group path, task port, security group rules and service events.) and design change (Align target-group checks with a reliable application readiness endpoint and reachable port.). These two steps address: An ECS task starts successfully but is continually removed from service because its target group health check targets a nonexistent path.
D:Inspect ECS task definition secrets, IAM grants and account-specific parameter names. This is suitable for another situation: A containerized service works in staging but production fails because a required secret name was hardcoded to the staging account. In this case, engineers instead need the paired investigation (Inspect ALB target-group path, task port, security group rules and service events.) and design change (Align target-group checks with a reliable application readiness endpoint and reachable port.). These two steps address: An ECS task starts successfully but is continually removed from service because its target group health check targets a nonexistent path.