cert
cert-1
cert-2

Pass Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AWS Certified DevOps Engineer - Professional DOP-C02 Exam - Verified By Experts
AWS Certified DevOps Engineer - Professional DOP-C02 Premium Bundle
$14.99

AWS Certified DevOps Engineer - Professional DOP-C02 Premium Bundle

$74.99
$89.98
  • Premium File 480 Questions & Answers. Last update: Nov 08, 2026
  • Training Course 242 Video Lectures
 
$89.98
$74.99
accept 62 downloads in last 7 days
block-screenshots
Purchase Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Exam Training Products Individually
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Premium File
Premium File 480 Q&A
$76.99$69.99
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Video Training Course
Training Course 242 Lectures
$21.99 $19.99
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 54

Question 530

An engineering review identifies: A critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration. Which shortcut is MOST unsafe for this exact condition?

  1. Hardcode a single database instance hostname as the permanent writer endpoint.
  2. Assume unbounded Lambda concurrency improves every downstream dependency.
  3. Replicate compute alone and assume all regional control dependencies follow automatically.
  4. Assume daily snapshots alone cause immediate automatic primary failover.

Explanation

Correct Answer

D:

Assume daily snapshots alone cause immediate automatic primary failover. The case is: A critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration. A safer engineering response is: Choose a supported RDS Multi-AZ configuration with application reconnect logic. The deciding principle is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.

Incorrect Answers

A:

Hardcode a single database instance hostname as the permanent writer endpoint. This instead addresses a different case: An Aurora cluster has replicas in different AZs but applications use fixed instance endpoints and never fail over to another reader. 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 unsafe assumption to reject is: Assume daily snapshots alone cause immediate automatic primary failover. The deciding distinction is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.

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 critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration.), the better unsafe assumption to reject is: Assume daily snapshots alone cause immediate automatic primary failover. The deciding distinction is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.

C:

Replicate compute alone and assume all regional control dependencies follow automatically. 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 unsafe assumption to reject is: Assume daily snapshots alone cause immediate automatic primary failover. The deciding distinction is: Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.

Question 531

Before changing production, engineers find: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active. Which investigation should the engineer perform FIRST?

  1. Review producer partition keys, throttling, shard metrics and consumer lag.
  2. Review processing time distribution, visibility settings and duplicate business actions.
  3. Inspect partition key distribution, throttled requests and access patterns.
  4. Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas.

Explanation

Correct Answer

B:

Review processing time distribution, visibility settings and duplicate business actions. The governing principle is: Queue consumer visibility and processing design must account for task duration and idempotency. The next controlled engineering decision is: Adjust visibility timeout or extend it safely, with idempotent task handling.

Incorrect Answers

A:

Review producer partition keys, throttling, shard metrics and consumer lag. This instead addresses a different case: A streaming workload begins dropping or delaying records because all events use the same partition key and one Kinesis shard is hot. For the stated situation (Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active.), the better investigation is: Review processing time distribution, visibility settings and duplicate business actions. The deciding distinction is: Queue consumer visibility and processing design must account for task duration and idempotency.

C:

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 (Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active.), the better investigation is: Review processing time distribution, visibility settings and duplicate business actions. The deciding distinction is: Queue consumer visibility and processing design must account for task duration and idempotency.

D:

Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas. This instead addresses a different case: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs. For the stated situation (Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active.), the better investigation is: Review processing time distribution, visibility settings and duplicate business actions. The deciding distinction is: Queue consumer visibility and processing design must account for task duration and idempotency.

Question 532

After implementing a proposed fix, the team reviews: An S3 bucket policy accidentally grants an external account broad read access, and no one detects the unintended trust. Which result would BEST confirm that the risk is addressed?

  1. The ALB continues presenting a renewed trusted certificate without downtime.
  2. An allowed action succeeds, while prohibited service deployment remains blocked.
  3. A deliberate test exposure creates a finding and a reviewed correction removes it.
  4. The application uploads to approved buckets without any permanent key on disk.

Explanation

Correct Answer

C:

A deliberate test exposure creates a finding and a reviewed correction removes it. The approved action is: Enable suitable access analysis and correct unapproved external principals. The risk principle is: Resource-policy access analysis can identify externally accessible resources for review.

Incorrect Answers

A:

The ALB continues presenting a renewed trusted certificate without downtime. This instead addresses a different case: A production ALB certificate renewal stalls because the required DNS validation CNAME was deleted. For the stated situation (An S3 bucket policy accidentally grants an external account broad read access, and no one detects the unintended trust.), the better verification is: A deliberate test exposure creates a finding and a reviewed correction removes it. The deciding distinction is: Resource-policy access analysis can identify externally accessible resources for review.

B:

An allowed action succeeds, while prohibited service deployment remains blocked. This instead addresses a different case: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny. For the stated situation (An S3 bucket policy accidentally grants an external account broad read access, and no one detects the unintended trust.), the better verification is: A deliberate test exposure creates a finding and a reviewed correction removes it. The deciding distinction is: Resource-policy access analysis can identify externally accessible resources for review.

D:

The application uploads to approved buckets without any permanent key on disk. This instead addresses a different case: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3. For the stated situation (An S3 bucket policy accidentally grants an external account broad read access, and no one detects the unintended trust.), the better verification is: A deliberate test exposure creates a finding and a reviewed correction removes it. The deciding distinction is: Resource-policy access analysis can identify externally accessible resources for review.

Question 533

An AWS platform team investigates this condition: A security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls. Which DevOps principle BEST explains the core problem?

  1. External event ingress must authenticate and deduplicate repeated delivery attempts.
  2. Event contracts and consumers need version-aware validation and safe schema evolution.
  3. Remediation decisions must respect approved change safety, business state and rollback constraints.
  4. Event routing should filter on relevant sources, detail types and expected event properties.

Explanation

Correct Answer

D:

Event routing should filter on relevant sources, detail types and expected event properties. Relevant first evidence: Inspect EventBridge event patterns, sample AWS event payloads and Lambda invocations. The resulting controlled response is: Create selective event patterns matching only approved incident conditions.

Incorrect Answers

A:

External event ingress must authenticate and deduplicate repeated delivery attempts. This instead addresses a different case: A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs. For the stated situation (A security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls.), the better principle is: Event routing should filter on relevant sources, detail types and expected event properties. The deciding distinction is: Event routing should filter on relevant sources, detail types and expected event properties.

B:

Event contracts and consumers need version-aware validation and safe schema evolution. This instead addresses a different case: A producer changes the event payload field name and consumers silently ignore new events while their SQS queues fill. For the stated situation (A security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls.), the better principle is: Event routing should filter on relevant sources, detail types and expected event properties. The deciding distinction is: Event routing should filter on relevant sources, detail types and expected event properties.

C:

Remediation decisions must respect approved change safety, business state and rollback constraints. This instead addresses a different case: A production alarm starts an infrastructure rebuild immediately even during a payroll settlement window where failover can corrupt in-flight transactions. For the stated situation (A security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls.), the better principle is: Event routing should filter on relevant sources, detail types and expected event properties. The deciding distinction is: Event routing should filter on relevant sources, detail types and expected event properties.

Question 534

The DevOps team must resolve this scenario: A pipeline fails at CodeBuild DOWNLOAD_SOURCE with AccessDenied after a KMS key policy change. Which engineering change is MOST appropriate?

  1. Use conditional automation and human approval for high-risk stateful remediation.
  2. Correct the measured network or query bottleneck and choose an appropriate timeout.
  3. Correct the execution role or ECR/network access while preserving intended image provenance.
  4. Restore required narrowly scoped decrypt and object-read permissions.

Explanation

Correct Answer

D:

Restore required narrowly scoped decrypt and object-read permissions. Its validation is: A rerun reads the source artifact successfully without unrestricted KMS access. The principle is: Pipeline stage errors must be traced to the actual denied action and role boundary.

Incorrect Answers

A:

Use conditional automation and human approval for high-risk stateful remediation. This instead addresses a different case: A production alarm starts an infrastructure rebuild immediately even during a payroll settlement window where failover can corrupt in-flight transactions. For the stated situation (A pipeline fails at CodeBuild DOWNLOAD_SOURCE with AccessDenied after a KMS key policy change.), the better engineering action is: Restore required narrowly scoped decrypt and object-read permissions. The deciding distinction is: Pipeline stage errors must be traced to the actual denied action and role boundary.

B:

Correct the measured network or query bottleneck and choose an appropriate timeout. This instead addresses a different case: An API Gateway operation returns 504 and the Lambda function times out only after calling a VPC-hosted database. For the stated situation (A pipeline fails at CodeBuild DOWNLOAD_SOURCE with AccessDenied after a KMS key policy change.), the better engineering action is: Restore required narrowly scoped decrypt and object-read permissions. The deciding distinction is: Pipeline stage errors must be traced to the actual denied action and role boundary.

C:

Correct the execution role or ECR/network access while preserving intended image provenance. This instead addresses a different case: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct. For the stated situation (A pipeline fails at CodeBuild DOWNLOAD_SOURCE with AccessDenied after a KMS key policy change.), the better engineering action is: Restore required narrowly scoped decrypt and object-read permissions. The deciding distinction is: Pipeline stage errors must be traced to the actual denied action and role boundary.

Question 535

The DevOps team must resolve this scenario: A queue's depth remains modest but its oldest message waits 40 minutes because one poison message repeatedly fails processing. Which engineering change is MOST appropriate?

  1. Create per-function metric queries and alarms using appropriate dimensions.
  2. Route noncompliance events to appropriate response automation and human visibility.
  3. Configure a CloudWatch alarm with supported EC2 recovery action where appropriate.
  4. Set queue age alarms and controlled poison-message routing to a DLQ.

Explanation

Correct Answer

D:

Set queue age alarms and controlled poison-message routing to a DLQ. Its validation is: A deliberately failing message is isolated and material backlog delay triggers alerting. The principle is: Queue monitoring must track oldest message age and dead-letter handling, not count alone.

Incorrect Answers

A:

Create per-function metric queries and alarms using appropriate dimensions. 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 (A queue's depth remains modest but its oldest message waits 40 minutes because one poison message repeatedly fails processing.), the better engineering action is: Set queue age alarms and controlled poison-message routing to a DLQ. The deciding distinction is: Queue monitoring must track oldest message age and dead-letter handling, not count alone.

B:

Route noncompliance events to appropriate response automation and human visibility. This instead addresses a different case: Security operations wants alerts whenever Config detects that approved encryption settings are disabled on new storage resources. For the stated situation (A queue's depth remains modest but its oldest message waits 40 minutes because one poison message repeatedly fails processing.), the better engineering action is: Set queue age alarms and controlled poison-message routing to a DLQ. The deciding distinction is: Queue monitoring must track oldest message age and dead-letter handling, not count alone.

C:

Configure a CloudWatch alarm with supported EC2 recovery action where appropriate. 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 (A queue's depth remains modest but its oldest message waits 40 minutes because one poison message repeatedly fails processing.), the better engineering action is: Set queue age alarms and controlled poison-message routing to a DLQ. The deciding distinction is: Queue monitoring must track oldest message age and dead-letter handling, not count alone.

Question 536

Before changing production, engineers find: An authenticated read-heavy API repeatedly queries a database for identical catalog metadata, exhausting database read capacity. Which investigation should the engineer perform FIRST?

  1. Inspect Route 53 health check settings, record sets, TTL and primary/secondary target state.
  2. Review target tracking, ALB request metrics, task CPU/memory and scaling cooldown.
  3. Measure client geography, network latency, data locality and regulatory constraints.
  4. Inspect hit ratios, query rate, freshness needs and per-user access controls.

Explanation

Correct Answer

D:

Inspect hit ratios, query rate, freshness needs and per-user access controls. The governing principle is: Caching or read replicas can reduce repeated reads when consistency requirements permit. The next controlled engineering decision is: Introduce an appropriate cache or replicated read path with clear invalidation rules.

Incorrect Answers

A:

Inspect Route 53 health check settings, record sets, TTL and primary/secondary target state. This instead addresses a different case: A secondary-region service is healthy but Route 53 sends users to a failed primary endpoint because its failover record has no meaningful health check. For the stated situation (An authenticated read-heavy API repeatedly queries a database for identical catalog metadata, exhausting database read capacity.), the better investigation is: Inspect hit ratios, query rate, freshness needs and per-user access controls. The deciding distinction is: Caching or read replicas can reduce repeated reads when consistency requirements permit.

B:

Review target tracking, ALB request metrics, task CPU/memory and scaling cooldown. 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 (An authenticated read-heavy API repeatedly queries a database for identical catalog metadata, exhausting database read capacity.), the better investigation is: Inspect hit ratios, query rate, freshness needs and per-user access controls. The deciding distinction is: Caching or read replicas can reduce repeated reads when consistency requirements permit.

C:

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 (An authenticated read-heavy API repeatedly queries a database for identical catalog metadata, exhausting database read capacity.), the better investigation is: Inspect hit ratios, query rate, freshness needs and per-user access controls. The deciding distinction is: Caching or read replicas can reduce repeated reads when consistency requirements permit.

Question 537

An engineering review identifies: A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out. Which shortcut is MOST unsafe for this exact condition?

  1. Treat a tag named patched as evidence of currently installed security fixes.
  2. Chain asynchronous Lambda functions without recording workflow state or failure handling.
  3. Grant resource deletion across all accounts based only on a generic environment tag.
  4. Copy-paste the latest template into each repository without tracking its provenance.

Explanation

Correct Answer

B:

Chain asynchronous Lambda functions without recording workflow state or failure handling. The case is: A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out. A safer engineering response is: Orchestrate tasks with Step Functions including bounded retries and catch paths. The deciding principle is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

Incorrect Answers

A:

Treat a tag named patched as evidence of currently installed security fixes. This instead addresses a different case: Operations estimates patch compliance from EC2 tags but has no verified installed software inventory. For the stated situation (A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out.), the better unsafe assumption to reject is: Chain asynchronous Lambda functions without recording workflow state or failure handling. The deciding distinction is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

C:

Grant resource deletion across all accounts based only on a generic environment tag. 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 manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out.), the better unsafe assumption to reject is: Chain asynchronous Lambda functions without recording workflow state or failure handling. The deciding distinction is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

D:

Copy-paste the latest template into each repository without tracking its provenance. This instead addresses a different case: Five application teams copy and edit the same network subnet definitions in separate CloudFormation stacks, causing inconsistent security controls. For the stated situation (A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out.), the better unsafe assumption to reject is: Chain asynchronous Lambda functions without recording workflow state or failure handling. The deciding distinction is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

Question 538

A DevOps team is reviewing: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs. Which TWO complementary actions should it take? Select TWO answers.

  1. Pre-provision foundational networking and validate recoverable capacity expansion.
  2. Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows.
  3. Inspect bucket versioning, Object Lock governance or compliance mode, policies and retention.
  4. Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas.
  5. Measure client geography, network latency, data locality and regulatory constraints.

Explanation

Correct Answers

A:

Pre-provision foundational networking and validate recoverable capacity expansion. This is a required controlled engineering action for the stated situation: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs. The complementary correct action is: Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas. Both follow the principle: Pilot-light recovery must pre-plan network, service quota and scale-up capacity.

D:

Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas. This is a required diagnostic evidence step for the stated situation: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs. The complementary correct action is: Pre-provision foundational networking and validate recoverable capacity expansion. Both follow the principle: Pilot-light recovery must pre-plan network, service quota and scale-up capacity.

Incorrect Answers

B:

Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows. This is suitable for another situation: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps. In this case, engineers instead need the paired investigation (Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas.) and design change (Pre-provision foundational networking and validate recoverable capacity expansion.). These two steps address: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs.

C:

Inspect bucket versioning, Object Lock governance or compliance mode, policies and retention. This is suitable for another situation: A regulated dataset is protected by S3 copies, but the only operator can permanently delete versions during an incident. In this case, engineers instead need the paired investigation (Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas.) and design change (Pre-provision foundational networking and validate recoverable capacity expansion.). These two steps address: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs.

E:

Measure client geography, network latency, data locality and regulatory constraints. This is suitable for another situation: A regional API has users worldwide and latency spikes for distant users even when application instances have spare capacity. In this case, engineers instead need the paired investigation (Review subnet free addresses, quotas, launch templates, recovery-time budget and data replicas.) and design change (Pre-provision foundational networking and validate recoverable capacity expansion.). These two steps address: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs.

Question 539

An AWS platform team investigates this condition: After a deployment, the homepage returns HTTP 200 while checkout is broken for authenticated customers. Which DevOps principle BEST explains the core problem?

  1. Artifact build pipelines must prevent credential disclosure in stdout and artifacts.
  2. Continuous integration should gate protected branches on automated test results before merge.
  3. End-to-end application acceptance should validate critical customer transactions and dependencies.
  4. Release testing should include representative cohorts and post-traffic observation before full rollout.

Explanation

Correct Answer

C:

End-to-end application acceptance should validate critical customer transactions and dependencies. Relevant first evidence: Review synthetic journey coverage, response assertion logic and post-deploy gate signals. The resulting controlled response is: Add controlled authenticated canary tests for critical paths and fail deployment on business failures.

Incorrect Answers

A:

Artifact build pipelines must prevent credential disclosure in stdout and artifacts. This instead addresses a different case: A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package. For the stated situation (After a deployment, the homepage returns HTTP 200 while checkout is broken for authenticated customers.), the better principle is: End-to-end application acceptance should validate critical customer transactions and dependencies. The deciding distinction is: End-to-end application acceptance should validate critical customer transactions and dependencies.

B:

Continuous integration should gate protected branches on automated test results before merge. This instead addresses a different case: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source. For the stated situation (After a deployment, the homepage returns HTTP 200 while checkout is broken for authenticated customers.), the better principle is: End-to-end application acceptance should validate critical customer transactions and dependencies. The deciding distinction is: End-to-end application acceptance should validate critical customer transactions and dependencies.

D:

Release testing should include representative cohorts and post-traffic observation before full rollout. This instead addresses a different case: A new payment option passes staging but causes failures only for a small set of customer geographies. For the stated situation (After a deployment, the homepage returns HTTP 200 while checkout is broken for authenticated customers.), the better principle is: End-to-end application acceptance should validate critical customer transactions and dependencies. The deciding distinction is: End-to-end application acceptance should validate critical customer transactions and dependencies.

Question 540

A DevOps team is reviewing: An ECS application task fails health checks every few minutes, and the team restarts the same failing task manually without identifying a dependency outage. Which TWO complementary actions should it take? Select TWO answers.

  1. Use ECS service reconciliation with alarms and root-cause escalation for repeated failures.
  2. Quarantine only the confirmed instance through reviewed network or isolation controls.
  3. Inspect relevant AWS Health notices, affected resources, deploy timestamps and CloudWatch metrics.
  4. Inspect EventBridge event pattern, action-induced events and invocation counts.
  5. Inspect ECS service events, target health, logs, dependency reachability and restart rate.

Explanation

Correct Answers

A:

Use ECS service reconciliation with alarms and root-cause escalation for repeated failures. This is a required controlled engineering action for the stated situation: An ECS application task fails health checks every few minutes, and the team restarts the same failing task manually without identifying a dependency outage. The complementary correct action is: Inspect ECS service events, target health, logs, dependency reachability and restart rate. Both follow the principle: Automated recovery must distinguish replaceable task failure from persistent systemic causes.

E:

Inspect ECS service events, target health, logs, dependency reachability and restart rate. This is a required diagnostic evidence step for the stated situation: An ECS application task fails health checks every few minutes, and the team restarts the same failing task manually without identifying a dependency outage. The complementary correct action is: Use ECS service reconciliation with alarms and root-cause escalation for repeated failures. Both follow the principle: Automated recovery must distinguish replaceable task failure from persistent systemic causes.

Incorrect Answers

B:

Quarantine only the confirmed instance through reviewed network or isolation controls. This is suitable for another situation: An incident automation should isolate one compromised EC2 instance, but its script selects every instance in the same environment tag. In this case, engineers instead need the paired investigation (Inspect ECS service events, target health, logs, dependency reachability and restart rate.) and design change (Use ECS service reconciliation with alarms and root-cause escalation for repeated failures.). These two steps address: An ECS application task fails health checks every few minutes, and the team restarts the same failing task manually without identifying a dependency outage.

C:

Inspect relevant AWS Health notices, affected resources, deploy timestamps and CloudWatch metrics. This is suitable for another situation: Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code. In this case, engineers instead need the paired investigation (Inspect ECS service events, target health, logs, dependency reachability and restart rate.) and design change (Use ECS service reconciliation with alarms and root-cause escalation for repeated failures.). These two steps address: An ECS application task fails health checks every few minutes, and the team restarts the same failing task manually without identifying a dependency outage.

D:

Inspect EventBridge event pattern, action-induced events and invocation counts. This is suitable for another situation: An event rule starts a Lambda that tags an EC2 resource, and the resulting CloudTrail tagging event triggers the same Lambda repeatedly. In this case, engineers instead need the paired investigation (Inspect ECS service events, target health, logs, dependency reachability and restart rate.) and design change (Use ECS service reconciliation with alarms and root-cause escalation for repeated failures.). These two steps address: An ECS application task fails health checks every few minutes, and the team restarts the same failing task manually without identifying a dependency outage.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests