Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 22
Question 210
A DevOps team is reviewing: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction. Which TWO complementary actions should it take? Select TWO answers.
- Correct the failing hook or dependency and redeploy using the supported EC2 deployment sequence.
- Inspect pipeline variables, execution role permissions and organization-level Region conditions.
- Constrain deployment roles and policy conditions to approved accounts and Regions.
- Inspect Deployment maxUnavailable, probes, replica counts and pod disruption budgets.
- Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts.
Explanation
Correct Answers
B:Inspect pipeline variables, execution role permissions and organization-level Region conditions. This is a required diagnostic evidence step for the stated situation: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction. The complementary correct action is: Constrain deployment roles and policy conditions to approved accounts and Regions. Both follow the principle: Promotion logic must enforce authorized deployment account and Region boundaries.
C:Constrain deployment roles and policy conditions to approved accounts and Regions. This is a required controlled engineering action for the stated situation: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction. The complementary correct action is: Inspect pipeline variables, execution role permissions and organization-level Region conditions. Both follow the principle: Promotion logic must enforce authorized deployment account and Region boundaries.
Incorrect Answers
A: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 pipeline variables, execution role permissions and organization-level Region conditions.) and design change (Constrain deployment roles and policy conditions to approved accounts and Regions.). These two steps address: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction.
D:Inspect Deployment maxUnavailable, probes, replica counts and pod disruption budgets. This is suitable for another situation: An EKS rolling deployment scales down all API pods at once, causing requests to fail despite multiple nodes. In this case, engineers instead need the paired investigation (Inspect pipeline variables, execution role permissions and organization-level Region conditions.) and design change (Constrain deployment roles and policy conditions to approved accounts and Regions.). These two steps address: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction.
E:Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts. This is suitable for another situation: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. In this case, engineers instead need the paired investigation (Inspect pipeline variables, execution role permissions and organization-level Region conditions.) and design change (Constrain deployment roles and policy conditions to approved accounts and Regions.). These two steps address: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction.
Question 211
After implementing a proposed fix, the team reviews: An on-call engineer cannot tell which Git commit generated the container image running in a production ECS service. Which result would BEST confirm that the risk is addressed?
- A rolling deployment preserves end-to-end checkout while old and new versions briefly coexist.
- The build succeeds without secret exposure in source, logs or artifact metadata.
- A production task definition resolves to a verified image digest and source commit.
- An earlier deployment can still retrieve its exact verified image digest.
Explanation
Correct Answer
C:A production task definition resolves to a verified image digest and source commit. The approved action is: Record commit metadata and promote images by immutable digest through the release pipeline. The risk principle is: Delivery traceability needs immutable artifact identity linked to source and deployment records.
Incorrect Answers
A:A rolling deployment preserves end-to-end checkout while old and new versions briefly coexist. This instead addresses a different case: A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate. For the stated situation (An on-call engineer cannot tell which Git commit generated the container image running in a production ECS service.), the better verification is: A production task definition resolves to a verified image digest and source commit. The deciding distinction is: Delivery traceability needs immutable artifact identity linked to source and deployment records.
B:The build succeeds without secret exposure in source, logs or artifact metadata. This instead addresses a different case: A build job reads a database password directly from a committed buildspec environment variable. For the stated situation (An on-call engineer cannot tell which Git commit generated the container image running in a production ECS service.), the better verification is: A production task definition resolves to a verified image digest and source commit. The deciding distinction is: Delivery traceability needs immutable artifact identity linked to source and deployment records.
D:An earlier deployment can still retrieve its exact verified image digest. This instead addresses a different case: A container image tag is overwritten weekly, so audit teams cannot reproduce the exact build used for an earlier release. For the stated situation (An on-call engineer cannot tell which Git commit generated the container image running in a production ECS service.), the better verification is: A production task definition resolves to a verified image digest and source commit. The deciding distinction is: Delivery traceability needs immutable artifact identity linked to source and deployment records.
Question 212
After implementing a proposed fix, the team reviews: Ransomware could delete backups because production administrators have the same permissions on the only backup vault. Which result would BEST confirm that the risk is addressed?
- A restore drill measures recovered transaction currency within five minutes.
- An authorized drill flips traffic while an unapproved identity remains denied.
- A simulated compromised production role cannot delete protected recovery copies.
- A forced target loss preserves the intended customer session and cart behavior.
Explanation
Correct Answer
C:A simulated compromised production role cannot delete protected recovery copies. The approved action is: Use protected cross-account or cross-Region backups with appropriately isolated recovery roles. The risk principle is: Recovery copies should be protected against compromised primary account identities.
Incorrect Answers
A:A restore drill measures recovered transaction currency within five minutes. This instead addresses a different case: A finance team requires five minutes of maximum data loss, but its AWS Backup job runs only once daily. For the stated situation (Ransomware could delete backups because production administrators have the same permissions on the only backup vault.), the better verification is: A simulated compromised production role cannot delete protected recovery copies. The deciding distinction is: Recovery copies should be protected against compromised primary account identities.
B:An authorized drill flips traffic while an unapproved identity remains denied. This instead addresses a different case: The secondary service is healthy, but a disaster exercise reveals operators cannot change DNS because the failover role lacks permission. For the stated situation (Ransomware could delete backups because production administrators have the same permissions on the only backup vault.), the better verification is: A simulated compromised production role cannot delete protected recovery copies. The deciding distinction is: Recovery copies should be protected against compromised primary account identities.
D:A forced target loss preserves the intended customer session and cart behavior. This instead addresses a different case: Two application instances run in distinct AZs but all sessions are stored on one instance and users lose carts during target failures. For the stated situation (Ransomware could delete backups because production administrators have the same permissions on the only backup vault.), the better verification is: A simulated compromised production role cannot delete protected recovery copies. The deciding distinction is: Recovery copies should be protected against compromised primary account identities.
Question 213
Before changing production, engineers find: A burst of HTTP 500s appears in logs, but operators query raw text and cannot correlate failures by deployment revision. Which investigation should the engineer perform FIRST?
- Inspect historical CPU seasonality, anomaly band and alert validation cases.
- Inspect fields for status code, revision, trace ID and service name.
- Review log group retention settings, use case, compliance period and log costs.
- Review AWS Config resource timeline and recorded CloudTrail changes for the period.
Explanation
Correct Answer
B:Inspect fields for status code, revision, trace ID and service name. The governing principle is: Structured logs and Logs Insights queries enable fast grouping by useful dimensions. The next controlled engineering decision is: Query structured log events grouped by revision and error pattern using Logs Insights.
Incorrect Answers
A:Inspect historical CPU seasonality, anomaly band and alert validation cases. This instead addresses a different case: A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected. For the stated situation (A burst of HTTP 500s appears in logs, but operators query raw text and cannot correlate failures by deployment revision.), the better investigation is: Inspect fields for status code, revision, trace ID and service name. The deciding distinction is: Structured logs and Logs Insights queries enable fast grouping by useful dimensions.
C:Review log group retention settings, use case, compliance period and log costs. This instead addresses a different case: A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception. For the stated situation (A burst of HTTP 500s appears in logs, but operators query raw text and cannot correlate failures by deployment revision.), the better investigation is: Inspect fields for status code, revision, trace ID and service name. The deciding distinction is: Structured logs and Logs Insights queries enable fast grouping by useful dimensions.
D:Review AWS Config resource timeline and recorded CloudTrail changes for the period. 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 (A burst of HTTP 500s appears in logs, but operators query raw text and cannot correlate failures by deployment revision.), the better investigation is: Inspect fields for status code, revision, trace ID and service name. The deciding distinction is: Structured logs and Logs Insights queries enable fast grouping by useful dimensions.
Question 214
Before changing production, engineers find: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction. Which investigation should the engineer perform FIRST?
- Inspect pipeline variables, execution role permissions and organization-level Region conditions.
- Inspect AppSpec hook scripts, CodeDeploy agent logs, file permissions and deployment events.
- Inspect workload profile, load generator placement, request latencies and scaling metrics.
- Review Lambda reserved concurrency, connection limits, event source settings and connection pooling.
Explanation
Correct Answer
A:Inspect pipeline variables, execution role permissions and organization-level Region conditions. The governing principle is: Promotion logic must enforce authorized deployment account and Region boundaries. The next controlled engineering decision is: Constrain deployment roles and policy conditions to approved accounts and Regions.
Incorrect Answers
B:Inspect AppSpec hook scripts, CodeDeploy agent logs, file permissions and deployment events. This instead addresses a different case: A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure. For the stated situation (A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction.), the better investigation is: Inspect pipeline variables, execution role permissions and organization-level Region conditions. The deciding distinction is: Promotion logic must enforce authorized deployment account and Region boundaries.
C:Inspect workload profile, load generator placement, request latencies and scaling metrics. This instead addresses a different case: A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand. For the stated situation (A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction.), the better investigation is: Inspect pipeline variables, execution role permissions and organization-level Region conditions. The deciding distinction is: Promotion logic must enforce authorized deployment account and Region boundaries.
D:Review Lambda reserved concurrency, connection limits, event source settings and connection pooling. This instead addresses a different case: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder. For the stated situation (A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction.), the better investigation is: Inspect pipeline variables, execution role permissions and organization-level Region conditions. The deciding distinction is: Promotion logic must enforce authorized deployment account and Region boundaries.
Question 215
Before changing production, engineers find: Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path. Which investigation should the engineer perform FIRST?
- Inspect ACM status, validation records, domain ownership and ALB listener association.
- Inspect role tags, ECS resource tags, aws:PrincipalTag conditions and tag mutation rights.
- Review VPC route tables, firewall endpoint placement and egress flow records.
- Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy.
Explanation
Correct Answer
C:Review VPC route tables, firewall endpoint placement and egress flow records. The governing principle is: Network security depends on actual traffic routing through the chosen enforcement point. The next controlled engineering decision is: Design approved AWS Network Firewall routing and rules for inspected outbound paths.
Incorrect Answers
A:Inspect ACM status, validation records, domain ownership and ALB listener association. This instead addresses a different case: A production ALB certificate renewal stalls because the required DNS validation CNAME was deleted. For the stated situation (Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path.), the better investigation is: Review VPC route tables, firewall endpoint placement and egress flow records. The deciding distinction is: Network security depends on actual traffic routing through the chosen enforcement point.
B:Inspect role tags, ECS resource tags, aws:PrincipalTag conditions and tag mutation rights. 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 (Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path.), the better investigation is: Review VPC route tables, firewall endpoint placement and egress flow records. The deciding distinction is: Network security depends on actual traffic routing through the chosen enforcement point.
D:Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy. This instead addresses a different case: An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update. For the stated situation (Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path.), the better investigation is: Review VPC route tables, firewall endpoint placement and egress flow records. The deciding distinction is: Network security depends on actual traffic routing through the chosen enforcement point.
Question 216
An engineering review identifies: A regional API has users worldwide and latency spikes for distant users even when application instances have spare capacity. Which shortcut is MOST unsafe for this exact condition?
- Treat multiple CloudFront edge locations as proof that one failed origin is redundant.
- Assume unbounded Lambda concurrency improves every downstream dependency.
- Add more instances in the same faraway Region and ignore round-trip distance.
- Increase the ALB node count manually while leaving the ECS service at one task.
Explanation
Correct Answer
C:Add more instances in the same faraway Region and ignore round-trip distance. The case is: A regional API has users worldwide and latency spikes for distant users even when application instances have spare capacity. A safer engineering response is: Use an appropriate multi-Region or edge front end with safe routing and data strategy. The deciding principle is: Global scaling must consider latency, routing and regional data access patterns.
Incorrect Answers
A:Treat multiple CloudFront edge locations as proof that one failed origin is redundant. This instead addresses a different case: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket. For the stated situation (A regional API has users worldwide and latency spikes for distant users even when application instances have spare capacity.), the better unsafe assumption to reject is: Add more instances in the same faraway Region and ignore round-trip distance. The deciding distinction is: Global scaling must consider latency, routing and regional data access patterns.
B:Assume unbounded Lambda concurrency improves every downstream dependency. This instead addresses a different case: A public API invokes Lambda and saturates an external payment service when automatic concurrency grows after a marketing event. For the stated situation (A regional API has users worldwide and latency spikes for distant users even when application instances have spare capacity.), the better unsafe assumption to reject is: Add more instances in the same faraway Region and ignore round-trip distance. The deciding distinction is: Global scaling must consider latency, routing and regional data access patterns.
D:Increase the ALB node count manually while leaving the ECS service at one task. This instead addresses a different case: An ECS Fargate application scales tasks manually and saturates its ALB during promotional traffic spikes. For the stated situation (A regional API has users worldwide and latency spikes for distant users even when application instances have spare capacity.), the better unsafe assumption to reject is: Add more instances in the same faraway Region and ignore round-trip distance. The deciding distinction is: Global scaling must consider latency, routing and regional data access patterns.
Question 217
A DevOps team is reviewing: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. Which TWO complementary actions should it take? Select TWO answers.
- Inspect SAM template resources, generated roles and manually added triggers.
- Inspect SSM Automation document version, execution permissions, targets and rate controls.
- Implement a durable idempotency key and conditional write or transaction guard.
- Split work into durable Step Functions state transitions or supported managed operations.
- Measure task duration, timeouts, retry safety and progress checkpoints.
Explanation
Correct Answers
D:Split work into durable Step Functions state transitions or supported managed operations. This is a required controlled engineering action for the stated situation: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. The complementary correct action is: Measure task duration, timeouts, retry safety and progress checkpoints. Both follow the principle: Long-running workflows should use durable orchestration rather than a single Lambda invocation.
E:Measure task duration, timeouts, retry safety and progress checkpoints. This is a required diagnostic evidence step for the stated situation: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. The complementary correct action is: Split work into durable Step Functions state transitions or supported managed operations. Both follow the principle: Long-running workflows should use durable orchestration rather than a single Lambda invocation.
Incorrect Answers
A:Inspect SAM template resources, generated roles and manually added triggers. This is suitable for another situation: Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences. In this case, engineers instead need the paired investigation (Measure task duration, timeouts, retry safety and progress checkpoints.) and design change (Split work into durable Step Functions state transitions or supported managed operations.). These two steps address: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress.
B:Inspect SSM Automation document version, execution permissions, targets and rate controls. This is suitable for another situation: A fleet automation document runs shell commands as root across all tagged instances with no peer review or limit on execution concurrency. In this case, engineers instead need the paired investigation (Measure task duration, timeouts, retry safety and progress checkpoints.) and design change (Split work into durable Step Functions state transitions or supported managed operations.). These two steps address: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress.
C:Implement a durable idempotency key and conditional write or transaction guard. This is suitable for another situation: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice. In this case, engineers instead need the paired investigation (Measure task duration, timeouts, retry safety and progress checkpoints.) and design change (Split work into durable Step Functions state transitions or supported managed operations.). These two steps address: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress.
Question 218
A DevOps team is reviewing: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it. Which TWO complementary actions should it take? Select TWO answers.
- Inspect AWS Config rule events, EventBridge filters and automation target permissions.
- Inspect AWS Health event source, EventBridge rules, targets and account aggregation.
- Route relevant AWS Health events through EventBridge to the approved operations channel.
- Inspect ApproximateAgeOfOldestMessage, visibility, DLQ configuration and consumer errors.
- Configure appropriate missing-data behavior or a dedicated telemetry-heartbeat alarm.
Explanation
Correct Answers
B:Inspect AWS Health event source, EventBridge rules, targets and account aggregation. This is a required diagnostic evidence step for the stated situation: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it. The complementary correct action is: Route relevant AWS Health events through EventBridge to the approved operations channel. Both follow the principle: Operational events need managed cross-account routing and accountable notification paths.
C:Route relevant AWS Health events through EventBridge to the approved operations channel. This is a required controlled engineering action for the stated situation: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it. The complementary correct action is: Inspect AWS Health event source, EventBridge rules, targets and account aggregation. Both follow the principle: Operational events need managed cross-account routing and accountable notification paths.
Incorrect Answers
A:Inspect AWS Config rule events, EventBridge filters and automation target permissions. This is suitable for another situation: Security operations wants alerts whenever Config detects that approved encryption settings are disabled on new storage resources. In this case, engineers instead need the paired investigation (Inspect AWS Health event source, EventBridge rules, targets and account aggregation.) and design change (Route relevant AWS Health events through EventBridge to the approved operations channel.). These two steps address: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it.
D:Inspect ApproximateAgeOfOldestMessage, visibility, DLQ configuration and consumer errors. This is suitable for another situation: A queue's depth remains modest but its oldest message waits 40 minutes because one poison message repeatedly fails processing. In this case, engineers instead need the paired investigation (Inspect AWS Health event source, EventBridge rules, targets and account aggregation.) and design change (Route relevant AWS Health events through EventBridge to the approved operations channel.). These two steps address: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it.
E:Configure appropriate missing-data behavior or a dedicated telemetry-heartbeat alarm. This is suitable for another situation: A high-severity payment error alarm stays green when the application stops publishing error metrics during an outage. In this case, engineers instead need the paired investigation (Inspect AWS Health event source, EventBridge rules, targets and account aggregation.) and design change (Route relevant AWS Health events through EventBridge to the approved operations channel.). These two steps address: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it.
Question 219
Before changing production, engineers find: An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users. Which investigation should the engineer perform FIRST?
- Inspect Inspector finding resources, image digests, package versions and exposure.
- Review demand cycle, instance warmup, scaling latency and seasonal variability.
- Inspect CloudWatch Synthetics canary steps, credential handling and network reachability.
- Inspect instance type support, status-check metrics and automated action requirements.
Explanation
Correct Answer
C:Inspect CloudWatch Synthetics canary steps, credential handling and network reachability. The governing principle is: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks. The next controlled engineering decision is: Create a managed synthetic login journey with secure test identity and operational alarm.
Incorrect Answers
A:Inspect Inspector finding resources, image digests, package versions and exposure. This instead addresses a different case: Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected. For the stated situation (An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users.), the better investigation is: Inspect CloudWatch Synthetics canary steps, credential handling and network reachability. The deciding distinction is: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks.
B:Review demand cycle, instance warmup, scaling latency and seasonal variability. This instead addresses a different case: A predictable daily traffic peak starts before the reactive Auto Scaling policy can launch sufficient EC2 instances. For the stated situation (An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users.), the better investigation is: Inspect CloudWatch Synthetics canary steps, credential handling and network reachability. The deciding distinction is: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks.
D:Inspect instance type support, status-check metrics and automated action requirements. This instead addresses a different case: A critical single EC2 instance occasionally fails hardware health checks, but operators discover the outage only when customers complain. For the stated situation (An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users.), the better investigation is: Inspect CloudWatch Synthetics canary steps, credential handling and network reachability. The deciding distinction is: Synthetic monitoring should exercise user-important paths with appropriate credentials and certificate checks.
Question 220
An AWS platform team investigates this condition: An application switches its ALB target group to a new version while both versions connect to a shared relational schema. Which DevOps principle BEST explains the core problem?
- Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift.
- Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure.
- Concurrent deployment executions must preserve intended release ordering and state consistency.
- Traffic shifting must account for backward-compatible shared-state dependencies.
Explanation
Correct Answer
D:Traffic shifting must account for backward-compatible shared-state dependencies. Relevant first evidence: Review database migration compatibility, rollback requirements and old version connection behavior. The resulting controlled response is: Coordinate expand-and-contract schema changes with the blue/green traffic strategy.
Incorrect Answers
A:Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift. This instead addresses a different case: An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes. For the stated situation (An application switches its ALB target group to a new version while both versions connect to a shared relational schema.), the better principle is: Traffic shifting must account for backward-compatible shared-state dependencies. The deciding distinction is: Traffic shifting must account for backward-compatible shared-state dependencies.
B:Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure. This instead addresses a different case: A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure. For the stated situation (An application switches its ALB target group to a new version while both versions connect to a shared relational schema.), the better principle is: Traffic shifting must account for backward-compatible shared-state dependencies. The deciding distinction is: Traffic shifting must account for backward-compatible shared-state dependencies.
C:Concurrent deployment executions must preserve intended release ordering and state consistency. This instead addresses a different case: Two successive commits trigger deployments against the same production stack, and the earlier execution finishes after the newer release. For the stated situation (An application switches its ALB target group to a new version while both versions connect to a shared relational schema.), the better principle is: Traffic shifting must account for backward-compatible shared-state dependencies. The deciding distinction is: Traffic shifting must account for backward-compatible shared-state dependencies.