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.

Question 861

The infrastructure automation group reports the following failure: A target rejects incident events during an outage and they disappear after retries. Which action directly restores the requirement to retain failed event delivery attempts for later investigation?

  1. Use AWS Health events through EventBridge for account-impact notifications
  2. Use EventBridge rule retry settings and an SQS dead-letter queue for failed targets
  3. Use an SQS redrive policy and dead-letter queue for failed events
  4. Use SNS with appropriate subscription filter policies

Explanation

Correct Answer

B:

EventBridge rules can use retry policies and DLQ targets to preserve failed deliveries; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: delivery failures must be captured without silently dropping critical events.

Incorrect Answers

A:

Supported AWS Health events appear on EventBridge and can trigger notification or workflows. This is a reasonable option when the requirement is to initiate targeted response to an AWS-managed service event affecting the account, but it operates at a different workflow boundary from the stated need to retain failed event delivery attempts for later investigation.

C:

Although an SQS redrive policy sends messages to a DLQ after the receive count exceeds its threshold, the scenario does not ask for isolate repeatedly unprocessable events without blocking successful work. It requires the ability to retain failed event delivery attempts for later investigation, which is a separate responsibility.

D:

SNS subscription filters select which published messages each subscriber receives. This can help teams send only security-relevant messages to the security response queue, but the reported workflow needs to retain failed event delivery attempts for later investigation. It does not perform that required function.

Question 862

An operational design is incomplete until it can automate TLS certificate provisioning for an AWS-managed load balancer and allow private subnet workloads to reach S3 without NAT for supported traffic. Which two-part implementation fills both gaps?

  1. Request an ACM-issued public certificate for a supported HTTPS endpoint; use an S3 gateway VPC endpoint and appropriate bucket policy constraints
  2. Request an ACM-issued public certificate for a supported HTTPS endpoint; apply S3 Block Public Access at the account or bucket scope
  3. Use customer managed KMS keys with explicitly scoped key policies; use CloudHSM when exclusive customer control of HSM key management is required
  4. Use AWS Config rule evaluations with automatic remediation for policy violations; use an S3 gateway VPC endpoint and appropriate bucket policy constraints

Explanation

Correct Answer

A:

For the requirement to automate TLS certificate provisioning for an AWS-managed load balancer, AWS Certificate Manager provisions and renews eligible certificates for integrated AWS services; for the requirement to allow private subnet workloads to reach S3 without NAT for supported traffic, S3 gateway endpoints use VPC route entries to access S3 privately from eligible subnets. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

B:

The first half is appropriate: AWS Certificate Manager provisions and renews eligible certificates for integrated AWS services. However, S3 Block Public Access settings override relevant public permissions for supported access paths; that serves a different objective (prevent accidental public grants on sensitive S3 buckets) and leaves the explicit need to allow private subnet workloads to reach S3 without NAT for supported traffic unmet.

C:

These are legitimate AWS controls for different outcomes: KMS key policies and grants determine who can use a protected customer managed key, whereas cloudHSM offers dedicated hardware security modules operated under the customer's control plane. The problem instead requires the ability to automate TLS certificate provisioning for an AWS-managed load balancer and to allow private subnet workloads to reach S3 without NAT for supported traffic.

D:

This combination solves only the latter acceptance test. The substituted first control supports restore supported misconfigured resource settings when drift is detected: AWS Config rules evaluate configurations and can integrate with Systems Manager remediation. It does not implement automate TLS certificate provisioning for an AWS-managed load balancer.

Question 863

The release manager reports the following failure: A newly deployed ALB in a member account is missing the central WAF protection baseline. Which action directly restores the requirement to enforce an approved web ACL policy on supported public application endpoints across member accounts?

  1. Use AWS Firewall Manager organization security policies for WAF protections
  2. Use AWS Config rule evaluations with automatic remediation for policy violations
  3. Use Amazon Macie for sensitive-data discovery in S3
  4. Request an ACM-issued public certificate for a supported HTTPS endpoint

Explanation

Correct Answer

A:

Firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources; it restores the ability to enforce an approved web ACL policy on supported public application endpoints across member accounts, provided the implementation also observes that the policy must target supported resources through Organizations and configured security administration.

Incorrect Answers

B:

AWS Config rules evaluate configurations and can integrate with Systems Manager remediation. This can help teams restore supported misconfigured resource settings when drift is detected, but the reported workflow needs to enforce an approved web ACL policy on supported public application endpoints across member accounts. It does not perform that required function.

C:

That service solves a different operating problem: the need to identify S3 objects that potentially contain sensitive information; its behavior is that Macie uses automated discovery and classification to identify sensitive data in supported S3 objects; the requested outcome remains enforce an approved web ACL policy on supported public application endpoints across member accounts.

D:

The choice is useful when engineers need to automate TLS certificate provisioning for an AWS-managed load balancer: AWS Certificate Manager provisions and renews eligible certificates for integrated AWS services; it would not establish the control needed to enforce an approved web ACL policy on supported public application endpoints across member accounts.

Question 864

A technical change review names the selected control as follows: Export a CodeBuild artifact using buildspec artifact paths. To include compiled outputs rather than the entire source tree in a pipeline artifact, which constraint must be addressed for this design?

  1. Image availability must be arranged across destination accounts and Regions
  2. The image build should follow a repeatable managed pipeline
  3. Artifact durability and version history must support restoration of approved revisions
  4. The downstream action must receive the files produced by build commands

Explanation

Correct Answer

D:

The implementation has to honor the exact constraint: the downstream action must receive the files produced by build commands. The buildspec artifacts section chooses files to package and publish as build outputs.

Incorrect Answers

A:

This condition governs the different mechanism used to publish a validated AMI to workloads outside its build account; image Builder distribution configurations control supported AMI copies and sharing after creation; for the selected control, the relevant boundary is instead that the downstream action must receive the files produced by build commands.

B:

Image Builder supports container recipes and workflows to build and test image outputs. Its own dependency is that the image build should follow a repeatable managed pipeline. Those details concern the separate objective of being able to automate container base-image patching and validation for approved images, rather than to the named control required to include compiled outputs rather than the entire source tree in a pipeline artifact.

C:

The proposed condition makes sense in an implementation designed to retain retrievable, auditable application bundles for instance deployments. It concerns S3 versioning preserves object versions; bucket encryption and scoped policies protect deployment bundles, whereas this question tests the prerequisite of the named control.

Question 865

An operational design is incomplete until it can coordinate ECS service task placement with managed EC2 capacity and adjust running service task capacity based on a CloudWatch target metric. Which two-part implementation fills both gaps?

  1. Use an ECS capacity provider strategy for EC2 cluster capacity; place CloudFront caching ahead of read-heavy static content origins
  2. Use an ECS capacity provider strategy for EC2 cluster capacity; enable ECS Service Auto Scaling for task count
  3. Use an ECS capacity provider strategy for EC2 cluster capacity; configure RDS storage autoscaling with a maximum threshold
  4. Configure Auto Scaling warm pools for slow-starting instances; run stateless burst workloads on AWS Fargate
  5. Use SQS backlog per worker as a target tracking metric; enable ECS Service Auto Scaling for task count

Explanation

Correct Answer

B:

For the requirement to coordinate ECS service task placement with managed EC2 capacity, ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity. For the requirement to adjust running service task capacity based on a CloudWatch target metric, application Auto Scaling can control ECS service desired count from target tracking or step policies. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

A:

Combining a suitable first control with this second one misses the secondary acceptance criterion; CloudFront caches eligible objects at edge locations to reduce repeated origin requests and user latency; it helps offload geographically distributed static requests from the origin rather than adjust running service task capacity based on a CloudWatch target metric.

C:

RDS storage autoscaling grows allocated storage under supported conditions up to its configured maximum; that alternative supports the ability to grow database storage as data expands without frequent manual storage modifications, but it is not the requested second outcome (adjust running service task capacity based on a CloudWatch target metric). Even though the first half addresses coordinate ECS service task placement with managed EC2 capacity, this pair is incomplete.

D:

The pair changes the problem instead of completing it. One option addresses reduce scale-out readiness time for an application with lengthy initialization; the other addresses launch containers without managing EC2 hosts for short-lived jobs. The release, however, needs to coordinate ECS service task placement with managed EC2 capacity as well as adjust running service task capacity based on a CloudWatch target metric.

E:

Backlog per instance estimates the pressure on worker capacity for queue-driven scaling. That is intended to scale message-processing workers with the backlog relative to active capacity, not to coordinate ECS service task placement with managed EC2 capacity. The second half can meet the requirement to adjust running service task capacity based on a CloudWatch target metric, but the first is still missing.

Question 866

An incident-response change request has linked acceptance tests: the system must process change events in order for each governed resource, and it must prevent a valid long-running worker task from being processed concurrently. Which two controls should the engineers combine?

  1. Use an SQS FIFO queue when processing order per message group matters; use S3 Event Notifications to enqueue object-processing work
  2. Use EventBridge Pipes to filter and enrich events from a supported source; use an EventBridge organization event bus with cross-account permissions
  3. Use Step Functions wait and retry policies for delayed dependent checks; use SQS visibility timeouts aligned to consumer processing
  4. Use an SQS FIFO queue when processing order per message group matters; use Kinesis Data Streams for ordered partition-based event processing
  5. Use an SQS FIFO queue when processing order per message group matters; use SQS visibility timeouts aligned to consumer processing

Explanation

Correct Answer

E:

For the requirement to process change events in order for each governed resource, SQS FIFO queues preserve order within message groups with managed deduplication semantics; for the requirement to prevent a valid long-running worker task from being processed concurrently, SQS visibility timeouts temporarily hide received messages until deletion or timeout expiration. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

A:

S3 event notifications can send selected bucket events to eligible SQS, SNS, or Lambda targets; that alternative supports the ability to respond asynchronously when new diagnostic objects arrive in an S3 bucket, but it is not the requested second outcome (prevent a valid long-running worker task from being processed concurrently); even though the first half addresses process change events in order for each governed resource, this pair is incomplete.

B:

The pair changes the problem instead of completing it. One option addresses connect a managed stream or queue to a target with transformation and optional enrichment; the other addresses accept operational events from multiple workload accounts into a central responder account. The release, however, needs to process change events in order for each governed resource as well as prevent a valid long-running worker task from being processed concurrently.

C:

Step Functions supports Wait states and task retry policies outside a single Lambda runtime. That is intended to recheck an AWS service state after provisioning without busy-waiting, not to process change events in order for each governed resource. The second half can meet the requirement to prevent a valid long-running worker task from being processed concurrently, but the first is still missing.

D:

Kinesis Data Streams partitions records by key and retains them for consumers to read over time; that alternative supports the ability to ingest a high-volume event stream with multiple independently scaled consumers, but it is not the requested second outcome (prevent a valid long-running worker task from being processed concurrently); even though the first half addresses process change events in order for each governed resource, this pair is incomplete.

Question 867

The next production deployment needs 2 specific capabilities: (1) limit the changes an automated incident runbook can make; (2) reverse a release that triggers the defined customer error alarm. Select the TWO most directly applicable actions. Choose TWO.

  1. Use an SSM Automation role with a permissions boundary or narrow IAM policy
  2. Use an AWS AppConfig deployment strategy with automatic rollback alarms
  3. Attach an AWS Config remediation configuration to an SSM Automation runbook
  4. Use CodeDeploy CloudWatch-alarm integration for automatic deployment rollback
  5. Use State Manager associations to prevent recurring OS configuration drift
  6. Trigger SSM Automation from EventBridge for a specific incident event

Explanation

Correct Answers

A:

This covers the specific result to limit the changes an automated incident runbook can make: dedicated execution roles and least-privilege policies bound the authority of automated changes. The automation must be constrained to the exact API actions and resources it repairs.

D:

CodeDeploy can stop and roll back eligible deployments when configured CloudWatch alarms enter ALARM; among the listed outcomes, it addresses reverse a release that triggers the defined customer error alarm, rather than merely contributing a related signal or support step.

Incorrect Answers

B:

AppConfig can roll back a configuration deployment when monitored CloudWatch alarms indicate failure; that would be appropriate to revert a dynamic feature flag after application health degrades, but this is a different objective from the numbered obligations in the stem; the specified requirement instead is to limit the changes an automated incident runbook can make.

C:

This mechanism supports the ability to repair noncompliant security group rules after policy evaluation: config remediation can invoke Systems Manager Automation to correct supported rule findings. It would not satisfy a different obligation just by appearing in the same workflow.

E:

State Manager continuously applies declared configurations to matching managed instances. If the requirement were to restore approved daemon settings when a node falls out of compliance, that would matter. The requested outcomes are separate from the one this option addresses.

F:

An EventBridge rule can start Systems Manager Automation documents as supported targets; that would be appropriate to run a documented multi-step configuration repair after a matching event, but this is a different objective from the numbered obligations in the stem; the specified requirement instead is to limit the changes an automated incident runbook can make.

Question 868

After a configuration change, the service maintenance group sees this issue: New business units receive manually created accounts that lack the security baseline. What best restores the ability to create new workload accounts with standardized landing-zone controls?

  1. Use AWS Control Tower Account Factory to provision governed accounts
  2. Use Control Tower Account Factory for Terraform where supported by the enterprise workflow
  3. Use AWS Backup policies through Organizations for supported centralized plans
  4. Use Control Tower landing-zone controls for preventive and detective governance

Explanation

Correct Answer

A:

Account Factory provisions accounts under a landing-zone structure using configured account baselines; it restores the ability to create new workload accounts with standardized landing-zone controls, provided the implementation also observes that provisioning must follow the organization's Control Tower governance model.

Incorrect Answers

B:

Although account Factory for Terraform integrates account-vending workflows with Control Tower governance, the scenario does not ask for integrate governed account provisioning with existing Terraform-based request automation. It requires the ability to create new workload accounts with standardized landing-zone controls, which is a separate responsibility.

C:

Organizations backup policies help coordinate AWS Backup plans and selections across member accounts; this can help teams distribute common backup policy requirements to eligible member accounts, but the reported workflow needs to create new workload accounts with standardized landing-zone controls. It does not perform that required function.

D:

That service solves a different operating problem: the need to establish managed governance expectations when onboarding accounts; its behavior is that control Tower controls can enforce or detect supported rules across enrolled organizational units; the requested outcome remains create new workload accounts with standardized landing-zone controls.

Question 869

The next AWS platform release needs to notify the operations account when an AWS service issue affects the workload while also being able to launch a defined remediation runbook when a matching service event occurs. Which pairing best supports that release?

  1. Use EventBridge rules to route AWS Health account events to response automation; use an AWS Config managed rule to detect a specific resource misconfiguration
  2. Use EventBridge rules to route AWS Health account events to response automation; configure an EventBridge rule with an SSM Automation target
  3. Use a CloudWatch alarm action for supported EC2 automatic recovery; configure an EventBridge rule with an SSM Automation target
  4. Use a CloudWatch alarm for ECS CPU or memory utilization with service scaling; use CloudWatch alarms on DynamoDB throttled requests

Explanation

Correct Answer

B:

For the requirement to notify the operations account when an AWS service issue affects the workload, EventBridge receives supported AWS Health events and routes matching events to configured targets. For the requirement to launch a defined remediation runbook when a matching service event occurs, EventBridge can invoke supported Systems Manager Automation runbooks from matching events. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

A:

Config rules assess supported resource settings and publish compliant or noncompliant evaluations; that alternative supports the ability to identify noncompliant resources without depending on log-string alerts, but it is not the requested second outcome (launch a defined remediation runbook when a matching service event occurs). Even though the first half addresses notify the operations account when an AWS service issue affects the workload, this pair is incomplete.

C:

Supported CloudWatch alarm actions can request EC2 instance recovery for qualifying status-check failures; that is intended to recover an eligible impaired instance when a system-status check indicates host failure, not to notify the operations account when an AWS service issue affects the workload. The second half can meet the requirement to launch a defined remediation runbook when a matching service event occurs, but the first is still missing.

D:

These are legitimate AWS controls for different outcomes: application Auto Scaling policies can use CloudWatch service metrics to scale ECS task replicas, whereas DynamoDB CloudWatch metrics expose throttled requests and relevant read or write capacity behavior. The problem instead requires the ability to notify the operations account when an AWS service issue affects the workload and to launch a defined remediation runbook when a matching service event occurs.

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.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests