Question 580

Investigators observe: Failover operators run database promotion and endpoint changes in the wrong order. Engineers still need to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes. Which corrective action is most appropriate?

  1. Use active-active multi-Region deployment with regional traffic steering
  2. Maintain tested IaC and AMI releases in the disaster recovery Region
  3. Run regular failover game days and measure actual RTO and RPO
  4. Use SSM Automation to execute approved disaster recovery cutover steps

Explanation

Correct Answer

D:

Automation runbooks sequence service API operations so recovery steps can be repeated and audited; it restores the ability to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes, provided the implementation also observes that the cutover should have explicit sequencing, permissions, and failure handling.

Incorrect Answers

A:

Choosing this would aim to minimize regional failover downtime for workloads designed to accept distributed traffic instead of coordinate repeatable dependency-sensitive recovery actions with recorded outcomes; active-active systems keep multiple regional stacks serving requests, reducing activation time at the cost of complexity; it cannot replace the mechanism specified by the incident evidence.

B:

Although versioned IaC and images allow consistent restoration of application infrastructure, the scenario does not ask for recreate known-good application capacity from immutable infrastructure definitions. It requires the ability to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes, which is a separate responsibility.

C:

Controlled recovery tests expose dependencies, manual delays, and replication gaps before incidents; this can help teams validate recovery performance against business-approved thresholds, but the reported workflow needs to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes. It does not perform that required function.

Question 581

The cloud operations group proposes this implementation: Enable Amazon RDS Multi-AZ high availability for a supported DB engine. Its intended result is to provide automatic database failover after a primary Availability Zone outage. Which implementation consideration is most specific to that choice?

  1. The web endpoint should use health-aware routing across independently failing zones
  2. Failover should work within the supported origin group request types and status codes
  3. The application should keep using its database endpoint after managed failover
  4. The health endpoint should reflect readiness for the routed workload

Explanation

Correct Answer

C:

The implementation has to honor the exact constraint: the application should keep using its database endpoint after managed failover; RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover.

Incorrect Answers

A:

An ALB can distribute requests to healthy registered targets across enabled Availability Zones; its own dependency is that the web endpoint should use health-aware routing across independently failing zones; those details concern the separate objective of being able to maintain HTTP routing to healthy targets when an application Availability Zone fails, rather than to the named control required to provide automatic database failover after a primary Availability Zone outage.

B:

The proposed condition makes sense in an implementation designed to keep cacheable web content reachable if the primary origin fails. It concerns CloudFront origin groups can switch eligible requests to a secondary origin on configured primary failures, whereas this question tests the prerequisite of the named control.

D:

This condition governs the different mechanism used to stop sending new traffic to application instances that fail readiness checks; target group health checks determine which registered targets receive load balancer traffic; for the selected control, the relevant boundary is instead that the application should keep using its database endpoint after managed failover.

Question 582

A release design adopts this mechanism: Inspect ECS service events and stopped-task reasons. Which implementation detail is most relevant to its proposed use to diagnose an ECS service unable to reach steady state?

  1. The audit must distinguish caller identity, API action, and request context
  2. The first CREATE_FAILED or UPDATE_FAILED event is more informative than later rollback messages
  3. The diagnosis must start from the failed action and its provider output
  4. The root cause may involve launch template errors, capacity availability, or quotas
  5. The investigation must identify scheduler failures, image pulls, or container exit reasons

Explanation

Correct Answer

E:

The investigation must identify scheduler failures, image pulls, or container exit reasons. Without this, choosing the named service is not enough to produce the promised outcome. ECS service events and stopped task metadata describe placement and startup failures.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to trace which principal and resource action caused a failed automation request; it concerns CloudTrail supported management events can show the assumed role, action, and error context, whereas this question tests the prerequisite of the named control.

B:

This proposed constraint belongs to a separate objective: the first CREATE_FAILED or UPDATE_FAILED event is more informative than later rollback messages. The corresponding goal is to identify the underlying resource error that triggered a stack rollback, not the selected architecture's goal to diagnose an ECS service unable to reach steady state.

C:

This condition governs the different mechanism used to find which pipeline action failed and review its detailed external execution link. CodePipeline records stage and action execution statuses and detailed links for troubleshooting; for the selected control, the relevant boundary is instead that the investigation must identify scheduler failures, image pulls, or container exit reasons.

D:

Auto Scaling activity history records scaling requests and instance launch or health-related failures; its own dependency is that the root cause may involve launch template errors, capacity availability, or quotas. Those details concern the separate objective of being able to discover why an EC2 fleet fails to add replacement capacity, rather than to the named control required to diagnose an ECS service unable to reach steady state.

Question 583

The acceptance criteria require the service maintenance group to reprocess a historical event period after a corrected incident workflow is deployed. The bus must archive matching events before the processing failure occurs. Which option is the best fit?

  1. Use an EventBridge rule matching a specific CloudTrail API event pattern
  2. Use EventBridge Pipes to filter and enrich events from a supported source
  3. Use an EventBridge Scheduler one-time schedule for delayed remediation
  4. Use EventBridge archive and replay for selected critical events

Explanation

Correct Answer

D:

To reprocess a historical event period after a corrected incident workflow is deployed, the architecture relies on this AWS behavior: EventBridge archives can retain selected events for later replay to an event bus. The bus must archive matching events before the processing failure occurs.

Incorrect Answers

A:

That service solves a different operating problem: the need to start an incident workflow after a restricted AWS configuration API call. Its behavior is that EventBridge matches supported API activity events and invokes selected event targets. The requested outcome remains reprocess a historical event period after a corrected incident workflow is deployed.

B:

The choice is useful when engineers need to connect a managed stream or queue to a target with transformation and optional enrichment: EventBridge Pipes connects supported sources to targets with optional filter and enrichment steps; it would not establish the control needed to reprocess a historical event period after a corrected incident workflow is deployed.

C:

EventBridge Scheduler can invoke supported targets at specified one-time or recurring times. This is a reasonable option when the requirement is to invoke a follow-up check at a precise future time after an initial event, but it operates at a different workflow boundary from the stated need to reprocess a historical event period after a corrected incident workflow is deployed.

Question 584

An engineer will implement the following change: Use immutable AMI replacement through an Auto Scaling instance refresh. Which operational boundary most directly applies to the intended outcome to replace outdated instances with a tested image instead of mutating running systems?

  1. The old environment should remain ready during a traffic switch
  2. The release must preserve enough healthy tasks while permitting replacements
  3. Fleet changes must converge on a new launch template version
  4. The service scheduler must be told which task definition revision to run

Explanation

Correct Answer

C:

Fleet changes must converge on a new launch template version. Without this, choosing the named service is not enough to produce the promised outcome; auto Scaling instance refresh replaces instances according to an updated launch template and health controls.

Incorrect Answers

A:

This condition governs the different mechanism used to replace an entire instance release without modifying the current live fleet; CodeDeploy blue/green can provision replacement EC2 instances and reroute traffic after health checks; for the selected control, the relevant boundary is instead that fleet changes must converge on a new launch template version.

B:

ECS deployment percentages bound the numbers of running and pending tasks during a rolling update; its own dependency is that the release must preserve enough healthy tasks while permitting replacements; those details concern the separate objective of being able to control the capacity margin during rolling task replacement, rather than to the named control required to replace outdated instances with a tested image instead of mutating running systems.

D:

This proposed constraint belongs to a separate objective: the service scheduler must be told which task definition revision to run; the corresponding goal is to roll out a changed container image while retaining the previous task definition, not the selected architecture's goal to replace outdated instances with a tested image instead of mutating running systems.

Question 585

A team is designing a reusable reliability pattern. It must recreate known-good application capacity from immutable infrastructure definitions; it must also coordinate repeatable dependency-sensitive recovery actions with recorded outcomes. Which paired configuration is appropriate?

  1. Maintain tested IaC and AMI releases in the disaster recovery Region; use AWS Backup restore testing plans for supported resources
  2. Enable AWS Backup Vault Lock in an appropriate mode; copy supported AWS Backup recovery points to another Region
  3. Run regular failover game days and measure actual RTO and RPO; use SSM Automation to execute approved disaster recovery cutover steps
  4. Maintain tested IaC and AMI releases in the disaster recovery Region; use SSM Automation to execute approved disaster recovery cutover steps

Explanation

Correct Answer

D:

Versioned IaC and images allow consistent restoration of application infrastructure; automation runbooks sequence service API operations so recovery steps can be repeated and audited. The first control satisfies the need to recreate known-good application capacity from immutable infrastructure definitions; the second addresses the need to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes. The recovery environment must reproduce network, IAM, and compute configuration deterministically; the cutover should have explicit sequencing, permissions, and failure handling.

Incorrect Answers

A:

The first half is appropriate: Versioned IaC and images allow consistent restoration of application infrastructure. However, AWS Backup restore testing automates recovery-point selection and supported restore testing workflows; that serves a different objective (periodically verify recoverability rather than assuming a backup job is sufficient) and leaves the explicit need to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes unmet.

B:

These are legitimate AWS controls for different outcomes: backup Vault Lock enforces supported WORM retention protections according to its configured mode, whereas AWS Backup copy rules replicate supported recovery points to destination vaults in other Regions. The problem instead requires the ability to recreate known-good application capacity from immutable infrastructure definitions and to coordinate repeatable dependency-sensitive recovery actions with recorded outcomes.

C:

This combination solves only the latter acceptance test. The substituted first control supports validate recovery performance against business-approved thresholds: controlled recovery tests expose dependencies, manual delays, and replication gaps before incidents. It does not implement recreate known-good application capacity from immutable infrastructure definitions.

Question 586

A release design adopts this mechanism: Use an AWS AppConfig deployment strategy with automatic rollback alarms. Which implementation detail is most relevant to its proposed use to revert a dynamic feature flag after application health degrades?

  1. Rollback should follow a specific monitored release failure signal
  2. The fleet must converge through controlled replacement rather than only updating the template
  3. Health alarms should be linked to staged rollout and rollback criteria
  4. The remediation role needs permissions limited to the intended security group change

Explanation

Correct Answer

C:

Health alarms should be linked to staged rollout and rollback criteria. That is the governing deployment boundary for the selected control: AppConfig can roll back a configuration deployment when monitored CloudWatch alarms indicate failure. If the boundary is missed, the design can fail to revert a dynamic feature flag after application health degrades.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to reverse a release that triggers the defined customer error alarm. It concerns CodeDeploy can stop and roll back eligible deployments when configured CloudWatch alarms enter ALARM, whereas this question tests the prerequisite of the named control.

B:

This proposed constraint belongs to a separate objective: the fleet must converge through controlled replacement rather than only updating the template. The corresponding goal is to roll out a corrected launch template to already-running fleet instances, not the selected architecture's goal to revert a dynamic feature flag after application health degrades.

D:

Config remediation can invoke Systems Manager Automation to correct supported rule findings. Its own dependency is that the remediation role needs permissions limited to the intended security group change. Those details concern the separate objective of being able to repair noncompliant security group rules after policy evaluation, rather than to the named control required to revert a dynamic feature flag after application health degrades.

Question 587

The operations backlog groups related changes into one implementation window: (1) alert on unexpected deviations without relying on a single fixed threshold; (2) investigate historical audit events across a large retained log archive. Which TWO controls directly meet the listed goals? Choose TWO.

  1. Use Athena to query partitioned CloudTrail records stored in S3
  2. Enable AWS X-Ray tracing across supported API and Lambda components
  3. Instrument the actual application error path with structured logs and trace IDs
  4. Propagate trace context between microservices
  5. Configure a CloudWatch anomaly detection band on a seasonal metric

Explanation

Correct Answers

A:

This covers the specific result to investigate historical audit events across a large retained log archive: Athena can query compatible S3-based log data using SQL and suitable tables or partitions. The analysis should avoid downloading every object to a workstation.

E:

This covers the specific result to alert on unexpected deviations without relying on a single fixed threshold: CloudWatch anomaly detection models expected patterns and allows alarms on deviations from the band. The alert must adapt to learned metric behavior within selected confidence settings.

Incorrect Answers

B:

X-Ray traces and segments expose timing and dependencies across instrumented service calls. That would be appropriate to identify which downstream call dominates end-to-end request latency, but this is a different objective from the numbered obligations in the stem.

C:

This mechanism supports the ability to diagnose which business operation produces sporadic application exceptions: application tracing and correlated structured logs reveal failures not expressed by host utilization metrics. It would not satisfy a different obligation just by appearing in the same workflow.

D:

It supports a separate administrative task, namely to link asynchronous or downstream operations to the originating request trace. Trace context propagation relates spans across a distributed request path. The prompt's required outcomes are not achieved by substituting this control.

Question 588

The security engineering team reports the following failure: A rarely used reporting system incurs unnecessary cost from an always-running secondary stack. Which action directly restores the requirement to minimize steady-state disaster recovery costs where hours of recovery are acceptable?

  1. Use backup-and-restore DR for a workload with a generous recovery target
  2. Use active-active multi-Region deployment with regional traffic steering
  3. Use Route 53 health-checked failover records for a pretested recovery endpoint
  4. Use AWS Elastic Disaster Recovery replication and recovery launch plans

Explanation

Correct Answer

A:

Backup-and-restore recreates infrastructure and data only when needed, trading longer RTO for lower cost; it restores the ability to minimize steady-state disaster recovery costs where hours of recovery are acceptable, provided the implementation also observes that recovery can tolerate restoring backups and provisioning infrastructure after a disaster.

Incorrect Answers

B:

That service solves a different operating problem: the need to minimize regional failover downtime for workloads designed to accept distributed traffic. Its behavior is that active-active systems keep multiple regional stacks serving requests, reducing activation time at the cost of complexity. The requested outcome remains minimize steady-state disaster recovery costs where hours of recovery are acceptable.

C:

The choice is useful when engineers need to automate DNS-level cutover after the primary regional endpoint fails: failover routing can resolve the standby record based on health state, subject to client caching; it would not establish the control needed to minimize steady-state disaster recovery costs where hours of recovery are acceptable.

D:

Elastic Disaster Recovery continuously replicates supported source-server data for recovery launches into AWS; this is a reasonable option when the requirement is to reduce recovery time for supported server workloads using block-level replication, but it operates at a different workflow boundary from the stated need to minimize steady-state disaster recovery costs where hours of recovery are acceptable.

Question 589

An incident-response engineer is responsible for a compound requirement: (1) limit the changes an automated incident runbook can make; (2) review a sensitive operational change before executing its runbook. Which TWO controls provide the requested functions? Choose TWO.

  1. Require a Systems Manager Change Manager approval for high-risk production automation
  2. Use an AWS AppConfig deployment strategy with automatic rollback alarms
  3. Trigger SSM Automation from EventBridge for a specific incident event
  4. Use an SSM Automation role with a permissions boundary or narrow IAM policy
  5. Use Systems Manager Run Command with tag-based targets for an emergency fix

Explanation

Correct Answers

A:

The corresponding obligation is to review a sensitive operational change before executing its runbook. Change Manager supports governed change requests and approval workflows for operations; that behavior is the reason this action belongs in the selected answer set.

D:

Dedicated execution roles and least-privilege policies bound the authority of automated changes; this fulfills the stated requirement to limit the changes an automated incident runbook can make; the operational limitation is that the automation must be constrained to the exact API actions and resources it repairs.

Incorrect Answers

B:

It supports a separate administrative task, namely to revert a dynamic feature flag after application health degrades. AppConfig can roll back a configuration deployment when monitored CloudWatch alarms indicate failure; the prompt's required outcomes are not achieved by substituting this control.

C:

An EventBridge rule can start Systems Manager Automation documents as supported targets. If the requirement were to run a documented multi-step configuration repair after a matching event, that would matter. The requested outcomes are separate from the one this option addresses.

E:

This mechanism supports the ability to apply a one-off configuration command to all affected managed instances: run Command executes approved documents on selected managed nodes without direct interactive host access. It would not satisfy a different obligation just by appearing in the same workflow.

Question 590

An incident-response team is resolving a multi-part production requirement: (1) revert a dynamic feature flag after application health degrades; (2) limit the changes an automated incident runbook can make. Which TWO proposals directly implement the required capabilities? Choose TWO.

  1. Use CodeDeploy CloudWatch-alarm integration for automatic deployment rollback
  2. Perform an Auto Scaling instance refresh after updating a launch template
  3. Use an SSM Automation role with a permissions boundary or narrow IAM policy
  4. Require a Systems Manager Change Manager approval for high-risk production automation
  5. Use an AWS AppConfig deployment strategy with automatic rollback alarms

Explanation

Correct Answers

C:

Dedicated execution roles and least-privilege policies bound the authority of automated changes; this fulfills the stated requirement to limit the changes an automated incident runbook can make; the operational limitation is that the automation must be constrained to the exact API actions and resources it repairs; in this design the separate acceptance test is to revert a dynamic feature flag after application health degrades.

E:

AppConfig can roll back a configuration deployment when monitored CloudWatch alarms indicate failure; among the listed outcomes, it addresses revert a dynamic feature flag after application health degrades, rather than merely contributing a related signal or support step.

Incorrect Answers

A:

It supports a separate administrative task, namely to reverse a release that triggers the defined customer error alarm. CodeDeploy can stop and roll back eligible deployments when configured CloudWatch alarms enter ALARM; the prompt's required outcomes are not achieved by substituting this control.

B:

Instance refresh gradually replaces existing Auto Scaling instances according to updated configuration; if the requirement were to roll out a corrected launch template to already-running fleet instances, that would matter. The requested outcomes are separate from the one this option addresses.

D:

This mechanism supports the ability to review a sensitive operational change before executing its runbook: change Manager supports governed change requests and approval workflows for operations. It would not satisfy a different obligation just by appearing in the same workflow.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests