Question 850

An engineer is addressing a two-part incident-response requirement: review the actual resource mutations before applying a critical IaC patch, without losing the ability to restore a resource's intended IaC state after manual infrastructure changes. Which set of actions is suitable?

  1. Use a CloudFormation Change Set for emergency infrastructure adjustments; apply CloudFormation drift remediation through a reviewed template update
  2. Trigger SSM Automation from EventBridge for a specific incident event; apply CloudFormation drift remediation through a reviewed template update
  3. Use a CloudFormation Change Set for emergency infrastructure adjustments; configure an EventBridge-triggered Lambda to quarantine a newly exposed resource
  4. Use EC2 Auto Scaling health replacement for unhealthy fleet members; require a Systems Manager Change Manager approval for high-risk production automation

Explanation

Correct Answer

A:

For the requirement to review the actual resource mutations before applying a critical IaC patch, CloudFormation Change Sets preview resource actions including potential replacements before execution; for the requirement to restore a resource's intended IaC state after manual infrastructure changes, a reviewed stack update can bring supported drifted resources back toward declared template state; both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

B:

An EventBridge rule can start Systems Manager Automation documents as supported targets. That is intended to run a documented multi-step configuration repair after a matching event, not to review the actual resource mutations before applying a critical IaC patch; the second half can meet the requirement to restore a resource's intended IaC state after manual infrastructure changes, but the first is still missing.

C:

EventBridge invokes a Lambda target whose code can apply scoped AWS API changes when a rule matches; that alternative supports the ability to apply a narrow automated containment action after an unsafe resource change event, but it is not the requested second outcome (restore a resource's intended IaC state after manual infrastructure changes). Even though the first half addresses review the actual resource mutations before applying a critical IaC patch, this pair is incomplete.

D:

The pair changes the problem instead of completing it. One option addresses automatically replace failed instances without requiring manual restarts; the other addresses review a sensitive operational change before executing its runbook. The release, however, needs to review the actual resource mutations before applying a critical IaC patch as well as restore a resource's intended IaC state after manual infrastructure changes.

Question 851

An automated check detects: A CI pipeline accepts a policy with excessive wildcard resources and actions. Which remediation directly supports the requirement to identify broad or risky IAM policy patterns before deployment?

  1. Use session policies when assuming a role for a narrowly scoped job
  2. Use IAM database authentication for a supported RDS engine and client
  3. Use IAM Access Analyzer policy validation and least-privilege findings
  4. Use a resource-based policy on an S3 bucket for a cross-account principal

Explanation

Correct Answer

C:

IAM Access Analyzer validates policies and can surface security and best-practice findings. It restores the ability to identify broad or risky IAM policy patterns before deployment, provided the implementation also observes that policy analysis should run before changes reach a sensitive account.

Incorrect Answers

A:

Although STS session policies intersect with the role's permissions to further restrict an assumed-role session, the scenario does not ask for further limit temporary role credentials to the resources needed by one execution. It requires the ability to identify broad or risky IAM policy patterns before deployment, which is a separate responsibility.

B:

IAM database authentication generates short-lived authentication tokens for supported RDS database engines; this can help teams reduce reliance on stored passwords for supported database connections, but the reported workflow needs to identify broad or risky IAM policy patterns before deployment. It does not perform that required function.

D:

The choice is useful when engineers need to authorize a designated external role to access a narrow set of objects: an S3 bucket policy can grant a specified external principal access to selected object ARNs. It would not establish the control needed to identify broad or risky IAM policy patterns before deployment.

Question 852

A team is designing a reusable reliability pattern. It must provide automatic database failover after a primary Availability Zone outage; it must also provide off-Region read capacity and a possible promotion-based recovery option. Which paired configuration is appropriate?

  1. Use EFS mount targets in each client Availability Zone; deploy an Application Load Balancer across at least two Availability Zones
  2. Enable Amazon RDS Multi-AZ high availability for a supported DB engine; use an RDS cross-Region read replica where the engine supports it
  3. Use a multi-AZ EC2 Auto Scaling group behind a target group; use an RDS cross-Region read replica where the engine supports it
  4. Enable Amazon RDS Multi-AZ high availability for a supported DB engine; use an Aurora Global Database with secondary Region clusters

Explanation

Correct Answer

B:

The first outcome depends on the behavior that RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover. Separately, cross-Region read replicas copy database changes asynchronously and can be promoted under supported conditions. Together these meet the two requested outcomes, with the operational limits that the application should keep using its database endpoint after managed failover and replication may be asynchronous and failover requires appropriate application orchestration.

Incorrect Answers

A:

Neither control directly supplies both requested behaviors. EFS mount targets provide VPC network access to a Regional shared file system from selected zones; an ALB can distribute requests to healthy registered targets across enabled Availability Zones. Those mechanisms address different objectives. The specified capabilities are to provide automatic database failover after a primary Availability Zone outage and to provide off-Region read capacity and a possible promotion-based recovery option.

C:

This combination solves only the latter acceptance test. The substituted first control supports replace failed web hosts and distribute capacity across Availability Zones: EC2 Auto Scaling manages desired instances across configured subnets and uses health checks for replacement. It does not implement provide automatic database failover after a primary Availability Zone outage.

D:

The first half is appropriate: RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover; however, aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery; that serves a different objective (provide low-latency cross-Region database reads and a regional recovery path) and leaves the explicit need to provide off-Region read capacity and a possible promotion-based recovery option unmet.

Question 853

The architecture record specifies: Use an SNS topic with independent SQS subscriptions for event fan-out. To support the goal to deliver each incident notification to separate durable processing teams, which consideration should the engineer validate?

  1. Rules must filter on the desired API event fields and target an authorized workflow
  2. Ordering must be preserved within each identified message group
  3. Every subscribed processing system needs its own durable copy of the event
  4. Account health events need event-driven notification and contextual routing
  5. Events must retain ordering within partition keys and be recoverable during retention

Explanation

Correct Answer

C:

The implementation has to honor the exact constraint: every subscribed processing system needs its own durable copy of the event. SNS fan-out to multiple SQS queues gives each subscribed queue an independent message stream.

Incorrect Answers

A:

EventBridge matches supported API activity events and invokes selected event targets. Its own dependency is that rules must filter on the desired API event fields and target an authorized workflow. Those details concern the separate objective of being able to start an incident workflow after a restricted AWS configuration API call, rather than to the named control required to deliver each incident notification to separate durable processing teams.

B:

The proposed condition makes sense in an implementation designed to process change events in order for each governed resource. It concerns SQS FIFO queues preserve order within message groups with managed deduplication semantics, whereas this question tests the prerequisite of the named control.

D:

This condition governs the different mechanism used to initiate targeted response to an AWS-managed service event affecting the account. Supported AWS Health events appear on EventBridge and can trigger notification or workflows. For the selected control, the relevant boundary is instead that every subscribed processing system needs its own durable copy of the event.

E:

Kinesis Data Streams partitions records by key and retains them for consumers to read over time; its own dependency is that events must retain ordering within partition keys and be recoverable during retention. Those details concern the separate objective of being able to ingest a high-volume event stream with multiple independently scaled consumers, rather than to the named control required to deliver each incident notification to separate durable processing teams.

Question 854

The cloud operations group proposes this implementation: Use an ECS task IAM role rather than the ECS task execution role for application API access. Its intended result is to authorize container business logic to read only its specific AWS resources. Which implementation consideration is most specific to that choice?

  1. Per-workload identity should restrict permissions to the required AWS APIs
  2. The function's execution identity should avoid global administrator actions
  3. The assumed session must not gain permissions beyond the base role
  4. Runtime application privileges should be isolated from ECS agent execution privileges
  5. Cross-account access must be permitted by the relevant resource authorization model

Explanation

Correct Answer

D:

The requested behavior is to authorize container business logic to read only its specific AWS resources, and runtime application privileges should be isolated from ECS agent execution privileges. The underlying AWS behavior is that ECS task roles grant permissions to containers; execution roles support image pulls, logs, and task startup.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to grant a Kubernetes workload AWS permissions without using the node IAM role; it concerns EKS workload identity mechanisms associate an AWS IAM role with a Kubernetes service account or pod, whereas this question tests the prerequisite of the named control; the specified requirement instead is to authorize container business logic to read only its specific AWS resources.

B:

This proposed constraint belongs to a separate objective: the function's execution identity should avoid global administrator actions; the corresponding goal is to allow a Lambda handler to read a specific secret and publish required logs, not the selected architecture's goal to authorize container business logic to read only its specific AWS resources.

C:

This condition governs the different mechanism used to further limit temporary role credentials to the resources needed by one execution; STS session policies intersect with the role's permissions to further restrict an assumed-role session; for the selected control, the relevant boundary is instead that runtime application privileges should be isolated from ECS agent execution privileges.

E:

The proposed condition makes sense in an implementation designed to authorize a designated external role to access a narrow set of objects; it concerns an S3 bucket policy can grant a specified external principal access to selected object ARNs, whereas this question tests the prerequisite of the named control; the specified requirement instead is to authorize container business logic to read only its specific AWS resources.

Question 855

A technical change review names the selected control as follows: Use EC2 Image Builder distribution settings for target Regions and accounts. To publish a validated AMI to workloads outside its build account, which constraint must be addressed for this design?

  1. Published instance images must undergo defined components and tests
  2. The image build should follow a repeatable managed pipeline
  3. The verifier must trust the signing identity rather than a filename or tag
  4. Destination encryption and replication roles must be configured for the target bucket
  5. Image availability must be arranged across destination accounts and Regions

Explanation

Correct Answer

E:

The implementation has to honor the exact constraint: image availability must be arranged across destination accounts and Regions; image Builder distribution configurations control supported AMI copies and sharing after creation.

Incorrect Answers

A:

This proposed constraint belongs to a separate objective: published instance images must undergo defined components and tests; the corresponding goal is to automate repeatable golden-image builds with validation tests, not the selected architecture's goal to publish a validated AMI to workloads outside its build account.

B:

This condition governs the different mechanism used to automate container base-image patching and validation for approved images; image Builder supports container recipes and workflows to build and test image outputs; for the selected control, the relevant boundary is instead that image availability must be arranged across destination accounts and Regions.

C:

Cryptographic signatures and trusted verification bind an approved artifact to its signing provenance; its own dependency is that the verifier must trust the signing identity rather than a filename or tag. Those details concern the separate objective of being able to detect tampering between build completion and production deployment, rather than to the named control required to publish a validated AMI to workloads outside its build account.

D:

The proposed condition makes sense in an implementation designed to copy versioned release bundles into a secondary Region's artifact bucket. It concerns S3 replication rules copy eligible objects between versioned buckets with suitable destination and permissions, whereas this question tests the prerequisite of the named control.

Question 856

An engineer will implement the following change: Configure a cross-Region artifact store for the target action Region. Which operational boundary most directly applies to the intended outcome to run a deployment action in a different AWS Region from its pipeline?

  1. The target account must retain control over the deployment role permissions
  2. The message should contain context for the paused approval rather than generic pipeline logs
  3. The grant must be limited to the pipeline artifact location rather than every bucket
  4. Artifact storage must be available in every Region where pipeline actions require it

Explanation

Correct Answer

D:

The implementation has to honor the exact constraint: artifact storage must be available in every Region where pipeline actions require it. Cross-Region CodePipeline actions need an artifact store in each relevant action Region.

Incorrect Answers

A:

This condition governs the different mechanism used to deploy an artifact from the delivery account into a separately governed workload account; a trusted IAM role in the destination account authorizes the pipeline to perform scoped deployment actions via STS; for the selected control, the relevant boundary is instead that artifact storage must be available in every Region where pipeline actions require it.

B:

The manual approval action can publish an approval notification to an SNS topic for human review; its own dependency is that the message should contain context for the paused approval rather than generic pipeline logs; those details concern the separate objective of being able to notify release owners that production is awaiting an approval action, rather than to the named control required to run a deployment action in a different AWS Region from its pipeline.

C:

The proposed condition makes sense in an implementation designed to permit a cross-account deployment action to retrieve the intended pipeline artifact objects. It concerns a resource-based bucket policy can authorize the trusted destination principal to read specific artifact objects, whereas this question tests the prerequisite of the named control.

Question 857

The site reliability team proposes this implementation: Use a CodePipeline approval stage with a designated SNS notification. Its intended result is to notify release owners that production is awaiting an approval action. Which implementation consideration is most specific to that choice?

  1. Artifact storage must be available in every Region where pipeline actions require it
  2. The message should contain context for the paused approval rather than generic pipeline logs
  3. The target account must retain control over the deployment role permissions
  4. A release operator must choose from controlled parameters without altering source files
  5. The approver must see contextual information and approve the pending pipeline execution

Explanation

Correct Answer

B:

The message should contain context for the paused approval rather than generic pipeline logs. Without this, choosing the named service is not enough to produce the promised outcome; the manual approval action can publish an approval notification to an SNS topic for human review.

Incorrect Answers

A:

Cross-Region CodePipeline actions need an artifact store in each relevant action Region. Its own dependency is that artifact storage must be available in every Region where pipeline actions require it; those details concern the separate objective of being able to run a deployment action in a different AWS Region from its pipeline, rather than to the named control required to notify release owners that production is awaiting an approval action.

C:

This proposed constraint belongs to a separate objective: the target account must retain control over the deployment role permissions; the corresponding goal is to deploy an artifact from the delivery account into a separately governed workload account, not the selected architecture's goal to notify release owners that production is awaiting an approval action.

D:

This condition governs the different mechanism used to pass an approved environment-specific value into a reusable pipeline action. Pipeline variables expose execution-specific values to actions that support variable substitution; for the selected control, the relevant boundary is instead that the message should contain context for the paused approval rather than generic pipeline logs.

E:

A CodePipeline manual approval action pauses stage progression until approval, rejection, or timeout; its own dependency is that the approver must see contextual information and approve the pending pipeline execution; those details concern the separate objective of being able to require a human release decision after staging tests and before production changes, rather than to the named control required to notify release owners that production is awaiting an approval action.

Question 858

The architecture record specifies: Trigger SSM Automation from EventBridge for a specific incident event. To support the goal to run a documented multi-step configuration repair after a matching event, which consideration should the engineer validate?

  1. The remediation role needs permissions limited to the intended security group change
  2. The target setting must be rechecked on a defined association schedule
  3. The event rule should invoke a scoped runbook instead of an unmanaged shell script
  4. The change must be tracked with an approval workflow and appropriate permissions
  5. The handler must verify event identity and use least-privilege remediation permissions

Explanation

Correct Answer

C:

The event rule should invoke a scoped runbook instead of an unmanaged shell script. That is the governing deployment boundary for the selected control: an EventBridge rule can start Systems Manager Automation documents as supported targets. If the boundary is missed, the design can fail to run a documented multi-step configuration repair after a matching event.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to repair noncompliant security group rules after policy evaluation. It concerns config remediation can invoke Systems Manager Automation to correct supported rule findings, whereas this question tests the prerequisite of the named control.

B:

This proposed constraint belongs to a separate objective: the target setting must be rechecked on a defined association schedule. The corresponding goal is to restore approved daemon settings when a node falls out of compliance, not the selected architecture's goal to run a documented multi-step configuration repair after a matching event.

D:

Change Manager supports governed change requests and approval workflows for operations. Its own dependency is that the change must be tracked with an approval workflow and appropriate permissions; those details concern the separate objective of being able to review a sensitive operational change before executing its runbook, rather than to the named control required to run a documented multi-step configuration repair after a matching event.

E:

The proposed condition makes sense in an implementation designed to apply a narrow automated containment action after an unsafe resource change event. It concerns EventBridge invokes a Lambda target whose code can apply scoped AWS API changes when a rule matches, whereas this question tests the prerequisite of the named control.

Question 859

A production ticket contains this symptom: DNS considers the regional endpoint healthy while its required dependent systems are unavailable. The desired behavior is to reflect the combined state of several application dependencies in DNS failover decisions. What should be fixed?

  1. Use EventBridge rules to route AWS Health account events to response automation
  2. Use Route 53 calculated health checks for composite regional availability
  3. Use an ALB target group health check for backend service readiness
  4. Use CloudWatch Contributor Insights for supported high-cardinality usage analysis

Explanation

Correct Answer

B:

Calculated Route 53 health checks can evaluate a configured number of healthy child checks. In this case the control is appropriate because it supports reflect the combined state of several application dependencies in DNS failover decisions. Availability policy must combine relevant child checks rather than a single TCP probe.

Incorrect Answers

A:

That service solves a different operating problem: the need to notify the operations account when an AWS service issue affects the workload; its behavior is that EventBridge receives supported AWS Health events and routes matching events to configured targets; the requested outcome remains reflect the combined state of several application dependencies in DNS failover decisions.

C:

ALB target groups mark eligible targets unhealthy and exclude them from normal request routing; this is a reasonable option when the requirement is to exclude backend nodes that cannot serve required application requests, but it operates at a different workflow boundary from the stated need to reflect the combined state of several application dependencies in DNS failover decisions.

D:

Choosing this would aim to identify the top contributors to a metric or structured log workload instead of reflect the combined state of several application dependencies in DNS failover decisions. Contributor Insights rules analyze supported log or metric inputs to identify top contributing entities; it cannot replace the mechanism specified by the incident evidence.

Question 860

A cross-team infrastructure plan specifies 2 measurable outcomes: (1) reduce database read pressure for frequently requested reusable data; (2) scale pod replicas for demand without changing each pod's compute limits. Which TWO solutions address them? Choose TWO.

  1. Configure Auto Scaling warm pools for slow-starting instances
  2. Configure EC2 target tracking scaling on an application-relevant metric
  3. Configure Kubernetes Horizontal Pod Autoscaler with relevant metrics
  4. Use scheduled scaling for recurring predictable demand
  5. Use ElastiCache for repeated hot-key application lookups

Explanation

Correct Answers

C:

HPA adjusts the replica count of supported Kubernetes workloads from configured metrics. Among the listed outcomes, it addresses scale pod replicas for demand without changing each pod's compute limits, rather than merely contributing a related signal or support step.

E:

An in-memory cache serves hot keys without a round trip to the primary database for every read; this fulfills the stated requirement to reduce database read pressure for frequently requested reusable data. The operational limitation is that application cache invalidation and expiration must be designed explicitly.

Incorrect Answers

A:

An Auto Scaling warm pool holds initialized instances in a supported state for later scale-out; that would be appropriate to reduce scale-out readiness time for an application with lengthy initialization, but this is a different objective from the numbered obligations in the stem.

B:

This mechanism supports the ability to automatically change fleet capacity to maintain a target utilization level: target tracking policies adjust desired capacity around a configured metric target. It would not satisfy a different obligation just by appearing in the same workflow.

D:

Scheduled actions change Auto Scaling desired or min and max capacity at specified times. If the requirement were to preprovision EC2 capacity before a known daily traffic increase, that would matter. The requested outcomes are separate from the one this option addresses.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests