Question 870

The cloud operations group selects this control: Use Route 53 latency routing for healthy regional endpoints. What associated scope or dependency matters most when using it to direct global clients toward the Region with better measured network latency?

  1. Users should be routed by latency rather than a fixed weighted percentage
  2. Replication may be asynchronous and failover requires appropriate application orchestration
  3. The design must reconcile multi-Region replicated changes rather than use a read-only replica
  4. The health endpoint should reflect readiness for the routed workload

Explanation

Correct Answer

A:

Users should be routed by latency rather than a fixed weighted percentage. Without this, choosing the named service is not enough to produce the promised outcome. Route 53 latency policies select records based on measured latency among configured Regions.

Incorrect Answers

B:

This proposed constraint belongs to a separate objective: replication may be asynchronous and failover requires appropriate application orchestration; the corresponding goal is to provide off-Region read capacity and a possible promotion-based recovery option, not the selected architecture's goal to direct global clients toward the Region with better measured network latency.

C:

This condition governs the different mechanism used to allow application writes in more than one AWS Region with replication. DynamoDB global tables replicate data among participating Regions and support multi-Region writes; for the selected control, the relevant boundary is instead that users should be routed by latency rather than a fixed weighted percentage.

D:

Target group health checks determine which registered targets receive load balancer traffic. Its own dependency is that the health endpoint should reflect readiness for the routed workload. Those details concern the separate objective of being able to stop sending new traffic to application instances that fail readiness checks, rather than to the named control required to direct global clients toward the Region with better measured network latency.

Question 871

One team is accountable for the AWS workflow to prevent log upload and retrieval over unencrypted transport. A second acceptance condition requires it to view resource compliance and configuration state from a central operations account. Which combination should be approved?

  1. Place accounts into purpose-specific organizational units; use AWS Control Tower Account Factory to provision governed accounts
  2. Use an S3 bucket policy that denies insecure transport for organization logs; use delegated administrator registration for supported organization-wide services
  3. Use an S3 bucket policy that denies insecure transport for organization logs; enable AWS Config aggregators across organization accounts and Regions
  4. Use AWS Organizations CreateAccount automation for programmatic member creation; enable AWS Config aggregators across organization accounts and Regions
  5. Use an S3 bucket policy that denies insecure transport for organization logs; use Control Tower Account Factory for Terraform where supported by the enterprise workflow

Explanation

Correct Answer

C:

The first outcome depends on the behavior that a bucket policy can deny requests when the aws:SecureTransport context indicates an insecure connection. Separately, a configuration aggregator consolidates supported AWS Config configuration and compliance data; together these meet the two requested outcomes, with the operational limits that the control must operate at the resource boundary for all requesting principals and central reporting should aggregate source data without changing each source configuration.

Incorrect Answers

A:

The pair changes the problem instead of completing it. One option addresses separate development and production accounts into different policy inheritance scopes; the other addresses create new workload accounts with standardized landing-zone controls. The release, however, needs to prevent log upload and retrieval over unencrypted transport as well as view resource compliance and configuration state from a central operations account.

B:

The first half is appropriate: A bucket policy can deny requests when the aws:SecureTransport context indicates an insecure connection; however, delegated administration allows a registered member account to manage eligible service functions organization-wide; that serves a different objective (let a security account administer a supported service for organization members) and leaves the explicit need to view resource compliance and configuration state from a central operations account unmet.

D:

This combination solves only the latter acceptance test. The substituted first control supports automate account creation and consolidate billing within an organization: organizations supports asynchronous member account creation through its account APIs; it does not implement prevent log upload and retrieval over unencrypted transport.

E:

The first half is appropriate: A bucket policy can deny requests when the aws:SecureTransport context indicates an insecure connection; however, account Factory for Terraform integrates account-vending workflows with Control Tower governance; that serves a different objective (integrate governed account provisioning with existing Terraform-based request automation) and leaves the explicit need to view resource compliance and configuration state from a central operations account unmet.

Question 872

A technical change review names the selected control as follows: Use IAM Access Analyzer unused-access analysis for stale privileges. To find roles or permissions that have not been used within the configured scope, which constraint must be addressed for this design?

  1. The process should adjust supported finding properties based on matching conditions
  2. Review should use recorded access evidence and defined analysis scope
  3. The report should focus on IAM users and key use rather than role session credentials
  4. Responders need graph-style relationships rather than an additional blocking firewall rule
  5. Integrity verification must use signed digest files, not only S3 checksums

Explanation

Correct Answer

B:

The requested behavior is to find roles or permissions that have not been used within the configured scope, and review should use recorded access evidence and defined analysis scope. The underlying AWS behavior is that unused access findings help identify unused IAM roles or unused permissions for least-privilege review.

Incorrect Answers

A:

This condition governs the different mechanism used to normalize and triage recurring findings according to defined central criteria. Security Hub automation rules can update selected finding fields when findings match configured criteria; for the selected control, the relevant boundary is instead that review should use recorded access evidence and defined analysis scope.

C:

The proposed condition makes sense in an implementation designed to identify aging IAM user credentials that require rotation or removal; it concerns IAM credential reports and access-key usage metadata support audits of IAM user authentication materials, whereas this question tests the prerequisite of the named control; the specified requirement instead is to find roles or permissions that have not been used within the configured scope.

D:

This proposed constraint belongs to a separate objective: responders need graph-style relationships rather than an additional blocking firewall rule; the corresponding goal is to explore linked entity behaviors around a suspicious IAM principal, not the selected architecture's goal to find roles or permissions that have not been used within the configured scope.

E:

This condition governs the different mechanism used to prove whether delivered trail log objects have been tampered with. CloudTrail integrity validation supports cryptographic verification of delivered log file digests; for the selected control, the relevant boundary is instead that review should use recorded access evidence and defined analysis scope.

Question 873

The application owner proposes this implementation: Enable Amazon Inspector EC2 and ECR scanning where supported. Its intended result is to identify vulnerable software packages in running compute and container images. Which implementation consideration is most specific to that choice?

  1. The policy must target supported resources through Organizations and configured security administration
  2. Routing and endpoint policy must match the supported S3 gateway endpoint model
  3. The ALB should use a managed public certificate with a valid domain validation path
  4. Security monitoring must cover accounts through organization administration
  5. Findings should identify affected software and resources for triage

Explanation

Correct Answer

E:

The requested behavior is to identify vulnerable software packages in running compute and container images, and findings should identify affected software and resources for triage. The underlying AWS behavior is that inspector continuously assesses supported compute workloads and container images for vulnerabilities.

Incorrect Answers

A:

Firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources; its own dependency is that the policy must target supported resources through Organizations and configured security administration; those details concern the separate objective of being able to enforce an approved web ACL policy on supported public application endpoints across member accounts, rather than to the named control required to identify vulnerable software packages in running compute and container images.

B:

The proposed condition makes sense in an implementation designed to allow private subnet workloads to reach S3 without NAT for supported traffic; it concerns S3 gateway endpoints use VPC route entries to access S3 privately from eligible subnets, whereas this question tests the prerequisite of the named control; the specified requirement instead is to identify vulnerable software packages in running compute and container images.

C:

This proposed constraint belongs to a separate objective: the ALB should use a managed public certificate with a valid domain validation path; the corresponding goal is to automate TLS certificate provisioning for an AWS-managed load balancer, not the selected architecture's goal to identify vulnerable software packages in running compute and container images.

D:

This condition governs the different mechanism used to surface suspicious credentials and network behavior without building a custom detector. GuardDuty analyzes supported telemetry and uses threat detection to generate security findings; for the selected control, the relevant boundary is instead that findings should identify affected software and resources for triage.

Question 874

The production support team proposes this implementation: Use an RDS cross-Region read replica where the engine supports it. Its intended result is to provide off-Region read capacity and a possible promotion-based recovery option. Which implementation consideration is most specific to that choice?

  1. The application should keep using its database endpoint after managed failover
  2. Replication may be asynchronous and failover requires appropriate application orchestration
  3. A planned regional recovery strategy must account for replication lag and switchover behavior
  4. The design must reconcile multi-Region replicated changes rather than use a read-only replica
  5. The database service should adjust capacity without preconfigured RCU and WCU targets

Explanation

Correct Answer

B:

The implementation has to honor the exact constraint: replication may be asynchronous and failover requires appropriate application orchestration; cross-Region read replicas copy database changes asynchronously and can be promoted under supported conditions.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to provide automatic database failover after a primary Availability Zone outage. It concerns RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover, whereas this question tests the prerequisite of the named control.

C:

This condition governs the different mechanism used to provide low-latency cross-Region database reads and a regional recovery path. Aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery; for the selected control, the relevant boundary is instead that replication may be asynchronous and failover requires appropriate application orchestration.

D:

DynamoDB global tables replicate data among participating Regions and support multi-Region writes; its own dependency is that the design must reconcile multi-Region replicated changes rather than use a read-only replica; those details concern the separate objective of being able to allow application writes in more than one AWS Region with replication, rather than to the named control required to provide off-Region read capacity and a possible promotion-based recovery option.

E:

The proposed condition makes sense in an implementation designed to avoid manual throughput planning when read and write request rates change sharply. It concerns DynamoDB on-demand mode automatically manages throughput capacity for variable workloads within service limits, whereas this question tests the prerequisite of the named control.

Question 875

The delivery team's change record lists two distinct deliverables: promote the exact tested package between environments rather than rebuilding source independently and run a deployment action in a different AWS Region from its pipeline. Which combination covers both deliverables?

  1. Use an immutable artifact identifier when promoting a release; configure a cross-Region artifact store for the target action Region
  2. Define build phases and commands in the CodeBuild buildspec; configure a cross-Region artifact store for the target action Region
  3. Enable CodeBuild report groups for automated test results; configure stage-level failure handling to stop and roll back supported pipeline executions
  4. Use an immutable artifact identifier when promoting a release; add an explicit manual approval action before the production deploy stage

Explanation

Correct Answer

A:

Promoting a fixed artifact identity prevents environment-specific rebuilds from silently changing the delivered bytes; this handles the first acceptance condition, subject to the boundary that release provenance must refer to a single versioned artifact or image digest. The remaining condition is handled separately: cross-Region CodePipeline actions need an artifact store in each relevant action Region, with artifact storage must be available in every Region where pipeline actions require it.

Incorrect Answers

B:

This combination solves only the latter acceptance test. The substituted first control supports run ordered install, pre-build, build, and post-build commands as part of CI: a buildspec documents lifecycle phases, shell commands, outputs, and optional reports for CodeBuild. It does not implement promote the exact tested package between environments rather than rebuilding source independently.

C:

Neither control directly supplies both requested behaviors. CodeBuild report groups ingest supported test and code-coverage files generated during a build; CodePipeline supports stage failure actions including rollback for eligible pipeline types and stages. Those mechanisms address different objectives. The specified capabilities are to promote the exact tested package between environments rather than rebuilding source independently and to run a deployment action in a different AWS Region from its pipeline.

D:

A CodePipeline manual approval action pauses stage progression until approval, rejection, or timeout; that alternative supports the ability to require a human release decision after staging tests and before production changes, but it is not the requested second outcome (run a deployment action in a different AWS Region from its pipeline). Even though the first half addresses promote the exact tested package between environments rather than rebuilding source independently, this pair is incomplete.

Question 876

The service maintenance group proposes this implementation: Use State Manager associations to prevent recurring OS configuration drift. Its intended result is to restore approved daemon settings when a node falls out of compliance. Which implementation consideration is most specific to that choice?

  1. The target setting must be rechecked on a defined association schedule
  2. The change process should reconcile desired and actual supported configuration
  3. A failed job event should create an actionable recovery workflow and alert
  4. The event rule should invoke a scoped runbook instead of an unmanaged shell script

Explanation

Correct Answer

A:

The target setting must be rechecked on a defined association schedule. That is the governing deployment boundary for the selected control: state Manager continuously applies declared configurations to matching managed instances. If the boundary is missed, the design can fail to restore approved daemon settings when a node falls out of compliance.

Incorrect Answers

B:

A reviewed stack update can bring supported drifted resources back toward declared template state; its own dependency is that the change process should reconcile desired and actual supported configuration. Those details concern the separate objective of being able to restore a resource's intended IaC state after manual infrastructure changes, rather than to the named control required to restore approved daemon settings when a node falls out of compliance.

C:

The proposed condition makes sense in an implementation designed to respond when a scheduled backup job fails before the recovery point objective is exceeded; it concerns AWS Backup job state events can feed EventBridge-driven notification and automation, whereas this question tests the prerequisite of the named control.

D:

This proposed constraint belongs to a separate objective: the event rule should invoke a scoped runbook instead of an unmanaged shell script. The corresponding goal is to run a documented multi-step configuration repair after a matching event, not the selected architecture's goal to restore approved daemon settings when a node falls out of compliance.

Question 877

During root-cause analysis, the team identifies the following: An instance batch deploy continues after production error-rate alarms enter ALARM. To halt an EC2 release when service health violates a CloudWatch alarm, what should be configured?

  1. Run a post-deploy smoke test against an ALB health-checked endpoint
  2. Attach CodeDeploy deployment alarms for automatic stop or rollback
  3. Use an appspec.yml to define CodeDeploy instance hooks
  4. Install and run the CodeDeploy agent on target EC2 instances
  5. Use CodeDeploy blue/green deployment with a replacement EC2 Auto Scaling group

Explanation

Correct Answer

B:

CodeDeploy can monitor CloudWatch alarms and stop or roll back deployments based on configured criteria; it restores the ability to halt an EC2 release when service health violates a CloudWatch alarm, provided the implementation also observes that rollback must be linked to an explicit monitored deployment failure condition.

Incorrect Answers

A:

That service solves a different operating problem: the need to validate that a new service release responds correctly before ending the deployment. Its behavior is that a smoke test targets live application behavior after rollout and can trigger deployment failure handling. The requested outcome remains halt an EC2 release when service health violates a CloudWatch alarm.

C:

An AppSpec file maps application files and lifecycle event hooks for EC2 deployments. This is a reasonable option when the requirement is to execute controlled install and validation scripts during an EC2 deployment, but it operates at a different workflow boundary from the stated need to halt an EC2 release when service health violates a CloudWatch alarm.

D:

Choosing this would aim to make instances eligible to receive CodeDeploy lifecycle instructions instead of halt an EC2 release when service health violates a CloudWatch alarm. The CodeDeploy agent polls for work and runs lifecycle instructions on managed EC2 or on-premises hosts; it cannot replace the mechanism specified by the incident evidence.

E:

Although CodeDeploy blue/green can provision replacement EC2 instances and reroute traffic after health checks, the scenario does not ask for replace an entire instance release without modifying the current live fleet; it requires the ability to halt an EC2 release when service health violates a CloudWatch alarm, which is a separate responsibility.

Question 878

A release design adopts this mechanism: Configure ECS service deployment circuit breaker and rollback. Which implementation detail is most relevant to its proposed use to automatically restore an earlier task deployment after a rolling deployment cannot stabilize?

  1. The service must detect failure to reach steady state and enable rollback
  2. The new task set must be evaluated on limited live traffic first
  3. The release must preserve enough healthy tasks while permitting replacements
  4. The rollback window must preserve the old environment for the approved interval

Explanation

Correct Answer

A:

The service must detect failure to reach steady state and enable rollback. Without this, choosing the named service is not enough to produce the promised outcome; the ECS deployment circuit breaker can mark rolling deployments failed and roll back to a prior completed deployment.

Incorrect Answers

B:

This proposed constraint belongs to a separate objective: the new task set must be evaluated on limited live traffic first. The corresponding goal is to send a small fraction of user traffic to a replacement task set before full cutover, not the selected architecture's goal to automatically restore an earlier task deployment after a rolling deployment cannot stabilize.

C:

This condition governs the different mechanism used to control the capacity margin during rolling task replacement. ECS deployment percentages bound the numbers of running and pending tasks during a rolling update; for the selected control, the relevant boundary is instead that the service must detect failure to reach steady state and enable rollback.

D:

CodeDeploy blue/green termination settings control how long the original ECS task set remains after success; its own dependency is that the rollback window must preserve the old environment for the approved interval; those details concern the separate objective of being able to retain the old ECS task set temporarily for rollback after traffic rerouting, rather than to the named control required to automatically restore an earlier task deployment after a rolling deployment cannot stabilize.

Question 879

Investigators observe: Errors across three microservices cannot be associated with one customer request. Engineers still need to correlate requests across independent container services in a central log search. Which corrective action is most appropriate?

  1. Configure CloudTrail data events for selected sensitive S3 buckets
  2. Use CloudWatch Embedded Metric Format in structured JSON logs
  3. Publish application logs in structured JSON with stable correlation identifiers
  4. Use an AWS Config aggregator for resource-compliance reporting

Explanation

Correct Answer

C:

To correlate requests across independent container services in a central log search, the architecture relies on this AWS behavior: structured log fields and propagated request IDs enable targeted multi-service incident investigation. A correlation ID must be propagated consistently through application calls.

Incorrect Answers

A:

CloudTrail data events capture selected data-plane operations, such as S3 object API calls. This is a reasonable option when the requirement is to record relevant object-level API activity rather than only account management events, but it operates at a different workflow boundary from the stated need to correlate requests across independent container services in a central log search.

B:

Choosing this would aim to emit high-cardinality application measurements together with diagnostic context instead of correlate requests across independent container services in a central log search. Embedded Metric Format embeds metric definitions in structured log events for CloudWatch extraction; it cannot replace the mechanism specified by the incident evidence.

D:

AWS Config aggregators consolidate resource configuration and compliance data from configured sources; this can help teams centralize supported configuration and compliance summaries from accounts and Regions, but the reported workflow needs to correlate requests across independent container services in a central log search. It does not perform that required function.

Question 880

The production support team proposes this implementation: Use session policies when assuming a role for a narrowly scoped job. Its intended result is to further limit temporary role credentials to the resources needed by one execution. Which implementation consideration is most specific to that choice?

  1. The assumed session must not gain permissions beyond the base role
  2. The cap must apply independently from member account IAM role grants
  3. Credentials must rotate automatically and be available through supported instance metadata
  4. The function's execution identity should avoid global administrator actions

Explanation

Correct Answer

A:

The assumed session must not gain permissions beyond the base role. That is the governing deployment boundary for the selected control: STS session policies intersect with the role's permissions to further restrict an assumed-role session. If the boundary is missed, the design can fail to further limit temporary role credentials to the resources needed by one execution.

Incorrect Answers

B:

SCPs set maximum available permissions for member-account principals but do not themselves allow actions; its own dependency is that the cap must apply independently from member account IAM role grants. Those details concern the separate objective of being able to prevent all affected principals in a production OU from performing prohibited service actions, rather than to the named control required to further limit temporary role credentials to the resources needed by one execution.

C:

The proposed condition makes sense in an implementation designed to give an EC2 application temporary credentials to call an AWS API; it concerns an EC2 instance profile provides temporary role credentials to applications running on the instance, whereas this question tests the prerequisite of the named control; the specified requirement instead is to further limit temporary role credentials to the resources needed by one execution.

D:

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 further limit temporary role credentials to the resources needed by one execution.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests