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.

Question 591

An observability review exposes two requirements in the same release: page operators only when multiple correlated alarms indicate a real incident; in addition, alert on unexpected deviations without relying on a single fixed threshold. Which paired set of AWS controls meets both requirements?

  1. Configure CloudWatch composite alarms to combine related signal states; configure a CloudWatch anomaly detection band on a seasonal metric
  2. Use VPC Flow Logs for network traffic acceptance and rejection evidence; use metric math to alarm on ALB 5xx errors as a request ratio
  3. Use AWS Config resource timelines to inspect configuration history; configure a CloudWatch anomaly detection band on a seasonal metric
  4. Configure CloudWatch composite alarms to combine related signal states; use Security Hub findings to correlate security signals from enabled integrations

Explanation

Correct Answer

A:

Composite alarms evaluate the Boolean state of underlying alarms before transitioning. This handles the first acceptance condition, subject to the boundary that the notification should depend on a logical combination of existing alarm states. The remaining condition is handled separately: CloudWatch anomaly detection models expected patterns and allows alarms on deviations from the band, with the alert must adapt to learned metric behavior within selected confidence settings.

Incorrect Answers

B:

These are legitimate AWS controls for different outcomes: VPC Flow Logs record flow metadata such as source, destination, port, and accept or reject action, whereas CloudWatch metric math combines compatible metrics to evaluate derived rates or ratios. The problem instead requires the ability to page operators only when multiple correlated alarms indicate a real incident and to alert on unexpected deviations without relying on a single fixed threshold.

C:

This combination solves only the latter acceptance test. The substituted first control supports find when an infrastructure resource drifted from its previous configuration: AWS Config configuration history tracks supported resource state changes over time; it does not implement page operators only when multiple correlated alarms indicate a real incident.

D:

The first half is appropriate: Composite alarms evaluate the Boolean state of underlying alarms before transitioning. However, Security Hub normalizes supported security findings and provides centralized prioritization workflows; that serves a different objective (prioritize security risks across multiple supported detection services) and leaves the explicit need to alert on unexpected deviations without relying on a single fixed threshold unmet.

Question 592

Investigators observe: A regional outage makes all same-Region recovery points inaccessible. Engineers still need to preserve recoverable backups outside the source Region. Which corrective action is most appropriate?

  1. Copy supported AWS Backup recovery points to another Region
  2. Define AWS Backup plans and selections using resource tags
  3. Use RDS automated backups for point-in-time recovery within retention
  4. Use AWS Elastic Disaster Recovery replication and recovery launch plans

Explanation

Correct Answer

A:

AWS Backup copy rules replicate supported recovery points to destination vaults in other Regions; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: destination vault and encryption arrangements must meet cross-Region requirements.

Incorrect Answers

B:

Although AWS Backup plans and tag-based selections assign eligible resources to backup rules, the scenario does not ask for apply centralized backup schedules to eligible resources as fleets change. It requires the ability to preserve recoverable backups outside the source Region, which is a separate responsibility.

C:

RDS automated backups support point-in-time restore using retained backup data and transaction logs; this can help teams restore a supported relational database to a selected time before an accidental modification, but the reported workflow needs to preserve recoverable backups outside the source Region. It does not perform that required function.

D:

That service solves a different operating problem: the need to reduce recovery time for supported server workloads using block-level replication; its behavior is that elastic Disaster Recovery continuously replicates supported source-server data for recovery launches into AWS; the requested outcome remains preserve recoverable backups outside the source Region.

Question 593

A new AWS operations standard requires the ability to anticipate regular load variations using observed historical demand and reduce scale-out readiness time for an application with lengthy initialization in the same operating environment. Which proposed pair delivers both?

  1. Use SQS backlog per worker as a target tracking metric; use scheduled scaling for recurring predictable demand
  2. Use predictive scaling with EC2 Auto Scaling for suitable historical patterns; configure Auto Scaling warm pools for slow-starting instances
  3. Use predictive scaling with EC2 Auto Scaling for suitable historical patterns; use DynamoDB auto scaling for provisioned read and write capacity
  4. Enable ECS Service Auto Scaling for task count; configure Auto Scaling warm pools for slow-starting instances

Explanation

Correct Answer

B:

For the requirement to anticipate regular load variations using observed historical demand, predictive scaling forecasts capacity demand from load history and can schedule scaling ahead of it. For the requirement to reduce scale-out readiness time for an application with lengthy initialization, an Auto Scaling warm pool holds initialized instances in a supported state for later scale-out. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

A:

These are legitimate AWS controls for different outcomes: backlog per instance estimates the pressure on worker capacity for queue-driven scaling, whereas scheduled actions change Auto Scaling desired or min and max capacity at specified times. The problem instead requires the ability to anticipate regular load variations using observed historical demand and to reduce scale-out readiness time for an application with lengthy initialization.

C:

The first half is appropriate: Predictive scaling forecasts capacity demand from load history and can schedule scaling ahead of it. However, DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets; that serves a different objective (adapt provisioned throughput targets to changing demand) and leaves the explicit need to reduce scale-out readiness time for an application with lengthy initialization unmet.

D:

The second implementation is relevant; the problem is the first. Application Auto Scaling can control ECS service desired count from target tracking or step policies; it can help adjust running service task capacity based on a CloudWatch target metric, whereas the stated first requirement is to anticipate regular load variations using observed historical demand.

Question 594

The platform engineering team selects this control: Enable automatic deployment for an OU-targeted CloudFormation StackSet. What associated scope or dependency matters most when using it to apply baseline stacks when new accounts join a targeted organizational unit?

  1. Retention must be declared in the infrastructure template, not as a manual reminder
  2. Accounts that enter or leave a target OU should follow explicit stack lifecycle policy
  3. Reusable components should remain stacks with their own update boundaries
  4. One parameterized template should selectively include appropriate resources
  5. The audit must compare actual supported resource properties with expected template state

Explanation

Correct Answer

B:

The implementation has to honor the exact constraint: accounts that enter or leave a target OU should follow explicit stack lifecycle policy; stackSet automatic deployment creates or removes managed instances as accounts move into or out of targeted OUs.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to prevent a persistent data resource from being removed when its stack is deleted. It concerns the Retain policy keeps a supported resource after CloudFormation removes its stack ownership, whereas this question tests the prerequisite of the named control.

C:

This condition governs the different mechanism used to compose a large deployment from smaller lifecycle-managed CloudFormation templates; nested stacks allow a parent stack to reference reusable child templates through stack resources; for the selected control, the relevant boundary is instead that accounts that enter or leave a target OU should follow explicit stack lifecycle policy.

D:

Conditions can determine resource creation and property values based on template parameters and functions; its own dependency is that one parameterized template should selectively include appropriate resources; those details concern the separate objective of being able to provision a resource only when an environment parameter meets a defined requirement, rather than to the named control required to apply baseline stacks when new accounts join a targeted organizational unit.

E:

The proposed condition makes sense in an implementation designed to identify unmanaged configuration changes made outside the IaC deployment. It concerns drift detection compares actual and expected configurations for supported resources and properties, whereas this question tests the prerequisite of the named control.

Question 595

The production plan uses this approach: Use an Aurora Global Database with secondary Region clusters. The goal is to provide low-latency cross-Region database reads and a regional recovery path. Which prerequisite or limitation should receive focused review?

  1. Users should be routed by latency rather than a fixed weighted percentage
  2. The front door should retain stable global IPs while adjusting endpoint routing
  3. Replication may be asynchronous and failover requires appropriate application orchestration
  4. A planned regional recovery strategy must account for replication lag and switchover behavior

Explanation

Correct Answer

D:

A planned regional recovery strategy must account for replication lag and switchover behavior. Without this, choosing the named service is not enough to produce the promised outcome; aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery.

Incorrect Answers

A:

This proposed constraint belongs to a separate objective: users should be routed by latency rather than a fixed weighted percentage. The corresponding goal is to direct global clients toward the Region with better measured network latency, not the selected architecture's goal to provide low-latency cross-Region database reads and a regional recovery path.

B:

This condition governs the different mechanism used to provide static anycast entry points and health-aware regional application routing. Global Accelerator routes TCP or UDP traffic through static anycast addresses to healthy configured endpoints; for the selected control, the relevant boundary is instead that a planned regional recovery strategy must account for replication lag and switchover behavior.

C:

Cross-Region read replicas copy database changes asynchronously and can be promoted under supported conditions; its own dependency is that replication may be asynchronous and failover requires appropriate application orchestration; those details concern the separate objective of being able to provide off-Region read capacity and a possible promotion-based recovery option, rather than to the named control required to provide low-latency cross-Region database reads and a regional recovery path.

Question 596

One team is accountable for the AWS workflow to start an incident workflow after a restricted AWS configuration API call. A second acceptance condition requires it to accept operational events from multiple workload accounts into a central responder account. Which combination should be approved?

  1. Use an EventBridge rule matching a specific CloudTrail API event pattern; use an SQS redrive policy and dead-letter queue for failed events
  2. Use an EventBridge rule matching a specific CloudTrail API event pattern; use Kinesis Data Streams for ordered partition-based event processing
  3. Use EventBridge Pipes to filter and enrich events from a supported source; use EventBridge rule retry settings and an SQS dead-letter queue for failed targets
  4. Use EventBridge archive and replay for selected critical events; use an EventBridge organization event bus with cross-account permissions
  5. Use an EventBridge rule matching a specific CloudTrail API event pattern; use an EventBridge organization event bus with cross-account permissions

Explanation

Correct Answer

E:

EventBridge matches supported API activity events and invokes selected event targets; EventBridge event bus resource policies control cross-account event ingestion and routing. The first control satisfies the need to start an incident workflow after a restricted AWS configuration API call; the second addresses the need to accept operational events from multiple workload accounts into a central responder account. Rules must filter on the desired API event fields and target an authorized workflow; the receiving bus policy must explicitly permit approved source-account principals.

Incorrect Answers

A:

An SQS redrive policy sends messages to a DLQ after the receive count exceeds its threshold. That alternative supports the ability to isolate repeatedly unprocessable events without blocking successful work, but it is not the requested second outcome (accept operational events from multiple workload accounts into a central responder account). Even though the first half addresses start an incident workflow after a restricted AWS configuration API call, this pair is incomplete.

B:

Combining a suitable first control with this second one misses the secondary acceptance criterion; Kinesis Data Streams partitions records by key and retains them for consumers to read over time; it helps ingest a high-volume event stream with multiple independently scaled consumers rather than accept operational events from multiple workload accounts into a central responder account.

C:

Neither control directly supplies both requested behaviors. EventBridge Pipes connects supported sources to targets with optional filter and enrichment steps; EventBridge rules can use retry policies and DLQ targets to preserve failed deliveries. Those mechanisms address different objectives. The specified capabilities are to start an incident workflow after a restricted AWS configuration API call and to accept operational events from multiple workload accounts into a central responder account.

D:

The second implementation is relevant; the problem is the first. EventBridge archives can retain selected events for later replay to an event bus. It can help reprocess a historical event period after a corrected incident workflow is deployed, whereas the stated first requirement is to start an incident workflow after a restricted AWS configuration API call.

Question 597

A team is designing a reusable delivery pattern. It must deploy exactly the image bytes tested during CI; it must also remove unneeded old images without deleting current release references. Which paired configuration is appropriate?

  1. Use EC2 Image Builder pipelines to produce hardened AMIs; configure an ECR lifecycle policy to expire unwanted image versions
  2. Export a CodeBuild artifact using buildspec artifact paths; enable S3 replication for approved build objects that must be available cross-Region
  3. Pin image promotion to an ECR image digest instead of a mutable tag; configure an ECR lifecycle policy to expire unwanted image versions
  4. Pin image promotion to an ECR image digest instead of a mutable tag; enable ECR image tag immutability for release repositories

Explanation

Correct Answer

C:

Image digests identify content; mutable tags can be repointed and are unsuitable as sole provenance; this handles the first acceptance condition, subject to the boundary that release identity must be immutable even when friendly tags are moved; the remaining condition is handled separately: ECR lifecycle rules automate image expiration according to matching criteria, with retention should be based on tag status, age, or count instead of manual deletion.

Incorrect Answers

A:

Image Builder creates, customizes, tests, and distributes repeatable machine images from recipes; that is intended to automate repeatable golden-image builds with validation tests, not to deploy exactly the image bytes tested during CI; the second half can meet the requirement to remove unneeded old images without deleting current release references, but the first is still missing.

B:

These are legitimate AWS controls for different outcomes: the buildspec artifacts section chooses files to package and publish as build outputs, whereas S3 replication rules copy eligible objects between versioned buckets with suitable destination and permissions. The problem instead requires the ability to deploy exactly the image bytes tested during CI and to remove unneeded old images without deleting current release references.

D:

The first half is appropriate: Image digests identify content; mutable tags can be repointed and are unsuitable as sole provenance. However, ECR tag immutability prevents image tags from being overwritten in repositories configured for it; that serves a different objective (prevent existing release tags from silently being overwritten) and leaves the explicit need to remove unneeded old images without deleting current release references unmet.

Question 598

The platform engineering group cannot close its release review until both of these are possible: set a maximum permission boundary for member-account principals; report and enforce valid tag keys or values across organizational accounts where supported. Which implementation pair satisfies the review?

  1. Use cross-account STS AssumeRole for automated administration; use AWS Control Tower Account Factory to provision governed accounts
  2. Attach an Organizations SCP to a production OU; use Organizations tag policies to standardize supported resource tags
  3. Attach an Organizations SCP to a production OU; configure Security Hub organization integration and central settings policies
  4. Use Control Tower landing-zone controls for preventive and detective governance; use Organizations tag policies to standardize supported resource tags

Explanation

Correct Answer

B:

Service control policies limit the maximum permissions of affected account principals but do not grant rights; this handles the first acceptance condition, subject to the boundary that the restriction must apply above individual IAM identity policy grants. The remaining condition is handled separately: tag policies define permitted capitalization and values and can enforce supported tagging operations, with the policy must govern tag conventions rather than grant IAM access.

Incorrect Answers

A:

The pair changes the problem instead of completing it. One option addresses let central automation perform scoped tasks in governed member accounts; the other addresses create new workload accounts with standardized landing-zone controls. The release, however, needs to set a maximum permission boundary for member-account principals as well as report and enforce valid tag keys or values across organizational accounts where supported.

C:

Security Hub central configuration can apply supported policies across an organization hierarchy; that alternative supports the ability to standardize security finding aggregation and enabled standards across accounts, but it is not the requested second outcome (report and enforce valid tag keys or values across organizational accounts where supported). Even though the first half addresses set a maximum permission boundary for member-account principals, this pair is incomplete.

D:

This combination solves only the latter acceptance test. The substituted first control supports establish managed governance expectations when onboarding accounts: control Tower controls can enforce or detect supported rules across enrolled organizational units; it does not implement set a maximum permission boundary for member-account principals.

Question 599

The operations backlog groups related changes into one implementation window: (1) organize nonsecret configuration keys by environment and application namespace; (2) block unintended replacement or deletion of protected resources during stack updates. Which TWO controls directly meet the listed goals? Choose TWO.

  1. Use Systems Manager Parameter Store hierarchical paths for application settings
  2. Use AWS CloudFormation Change Sets before updating a stack
  3. Use CloudFormation stack policies to protect critical resources from updates
  4. Apply CloudFormation Conditions to optional template resources
  5. Use CloudFormation hooks to validate resource configuration during stack operations

Explanation

Correct Answers

A:

This covers the specific result to organize nonsecret configuration keys by environment and application namespace: parameter Store names can use hierarchies and IAM permissions for managed configuration lookup. Consumers need path-scoped access rather than duplicating values in source.

C:

The corresponding obligation is to block unintended replacement or deletion of protected resources during stack updates. A stack policy can deny update actions on selected logical resources unless appropriately overridden; that behavior is the reason this action belongs in the selected answer set.

Incorrect Answers

B:

A change set previews how CloudFormation intends to modify or replace resources before execution; that would be appropriate to inspect the proposed resource replacements and updates before executing infrastructure changes, but this is a different objective from the numbered obligations in the stem.

D:

It supports a separate administrative task, namely to provision a resource only when an environment parameter meets a defined requirement. Conditions can determine resource creation and property values based on template parameters and functions; the prompt's required outcomes are not achieved by substituting this control.

E:

CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types; if the requirement were to intercept stack resource operations that violate central deployment rules, that would matter. The requested outcomes are separate from the one this option addresses.

Question 600

An operations runbook has 3 acceptance criteria: (1) send a small fraction of user traffic to a replacement task set before full cutover; (2) replace an entire instance release without modifying the current live fleet; (3) validate that a new service release responds correctly before ending the deployment. Which THREE AWS actions satisfy these requirements? Choose THREE.

  1. Enable provisioned concurrency on the Lambda alias or published version
  2. Run a post-deploy smoke test against an ALB health-checked endpoint
  3. Choose a supported ECS canary traffic-shift configuration
  4. Publish a Lambda version and route clients through an alias
  5. Use CodeDeploy Lambda canary deployment with an alias
  6. Use CodeDeploy blue/green deployment with a replacement EC2 Auto Scaling group

Explanation

Correct Answers

B:

The corresponding obligation is to validate that a new service release responds correctly before ending the deployment. A smoke test targets live application behavior after rollout and can trigger deployment failure handling; that behavior is the reason this action belongs in the selected answer set.

C:

Canary deployment configurations shift an initial percentage before the remaining cutover. Among the listed outcomes, it addresses send a small fraction of user traffic to a replacement task set before full cutover, rather than merely contributing a related signal or support step.

F:

The corresponding obligation is 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; that behavior is the reason this action belongs in the selected answer set.

Incorrect Answers

A:

Provisioned concurrency keeps initialized Lambda execution environments ready for supported versions or aliases; that would be appropriate to reduce cold-start latency for a predictable high-priority request path, but this is a different objective from the numbered obligations in the stem.

D:

A published Lambda version snapshots code and configuration; an alias can reference the selected version; if the requirement were to release immutable Lambda code while keeping callers on a stable function reference, that would matter. The requested outcomes are separate from the one this option addresses.

E:

CodeDeploy can update Lambda alias traffic weights using canary configurations. That would be appropriate to expose a small percentage of Lambda invocations to a new version before full promotion, but this is a different objective from the numbered obligations in the stem.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests