Question 1010

A release design adopts this mechanism: Use EventBridge rules to route AWS Health account events to response automation. Which implementation detail is most relevant to its proposed use to notify the operations account when an AWS service issue affects the workload?

  1. The target needs an appropriate invocation role and bounded event selection
  2. The message must preserve event ID, resource, and state fields while removing noise
  3. The system must evaluate resource configuration against a known rule
  4. Health checks should use an endpoint and thresholds suited to the backend
  5. The rule must match the relevant event type and route only useful events

Explanation

Correct Answer

E:

The rule must match the relevant event type and route only useful events. Without this, choosing the named service is not enough to produce the promised outcome; EventBridge receives supported AWS Health events and routes matching events to configured targets.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to launch a defined remediation runbook when a matching service event occurs. It concerns EventBridge can invoke supported Systems Manager Automation runbooks from matching events, whereas this question tests the prerequisite of the named control.

B:

This proposed constraint belongs to a separate objective: the message must preserve event ID, resource, and state fields while removing noise; the corresponding goal is to send only relevant event details to responders rather than an entire event payload, not the selected architecture's goal to notify the operations account when an AWS service issue affects the workload.

C:

This condition governs the different mechanism used to identify noncompliant resources without depending on log-string alerts; config rules assess supported resource settings and publish compliant or noncompliant evaluations; for the selected control, the relevant boundary is instead that the rule must match the relevant event type and route only useful events.

D:

ALB target groups mark eligible targets unhealthy and exclude them from normal request routing; its own dependency is that health checks should use an endpoint and thresholds suited to the backend. Those details concern the separate objective of being able to exclude backend nodes that cannot serve required application requests, rather than to the named control required to notify the operations account when an AWS service issue affects the workload.

Question 1011

The next AWS platform release needs to remediate eligible noncompliant resources using a controlled runbook while also being able to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook. Which pairing best supports that release?

  1. Use an SQS dead-letter queue for repeatedly failing asynchronous work; use Systems Manager Automation runbooks for multi-step operational remediation
  2. Attach an SSM Automation remediation action to an AWS Config rule; use Systems Manager Automation runbooks for multi-step operational remediation
  3. Attach an SSM Automation remediation action to an AWS Config rule; use Systems Manager Patch Manager and patch baselines
  4. Use Systems Manager Run Command for scoped remote command execution; use Lambda reserved concurrency to limit simultaneous remediation functions

Explanation

Correct Answer

B:

Config remediation configurations can invoke Systems Manager Automation documents for matching findings; automation runbooks execute structured steps and AWS service operations with defined permissions. The first control satisfies the need to remediate eligible noncompliant resources using a controlled runbook; the second addresses the need to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook. Remediation must invoke a scoped automation role and handle failed attempts; the workflow needs controlled execution steps and an assumable automation role.

Incorrect Answers

A:

SQS redrive policies move repeatedly unsuccessfully processed messages to a designated dead-letter queue; that is intended to isolate messages that exceed the permitted receive-attempt count, not to remediate eligible noncompliant resources using a controlled runbook; the second half can meet the requirement to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook, but the first is still missing.

C:

Combining a suitable first control with this second one misses the secondary acceptance criterion; patch Manager applies selected baselines to supported managed nodes for scan or install operations; it helps scan and install operating-system updates according to approved patch classifications rather than combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook.

D:

Neither control directly supplies both requested behaviors. Run Command dispatches supported command documents to selected managed nodes and records execution results; reserved concurrency sets a function-level limit and allocation of simultaneous Lambda executions. Those mechanisms address different objectives. The specified capabilities are to remediate eligible noncompliant resources using a controlled runbook and to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook.

Question 1012

An observability change request has linked acceptance tests: the system must launch a defined remediation runbook when a matching service event occurs, and it must correct an eligible configuration violation soon after detection. Which two controls should the engineers combine?

  1. Configure an EventBridge rule with an SSM Automation target; use an AWS Config managed rule to detect a specific resource misconfiguration
  2. Use CloudWatch alarm actions to invoke supported Auto Scaling policies; use an ALB target group health check for backend service readiness
  3. Use EventBridge input transformation before notifying an operations target; attach automatic AWS Config remediation to an SSM Automation document
  4. Configure an EventBridge rule with an SSM Automation target; attach automatic AWS Config remediation to an SSM Automation document

Explanation

Correct Answer

D:

EventBridge can invoke supported Systems Manager Automation runbooks from matching events. This handles the first acceptance condition, subject to the boundary that the target needs an appropriate invocation role and bounded event selection. The remaining condition is handled separately: config automatic remediation can invoke Systems Manager Automation for noncompliant resources, with the remediation action needs authorized and bounded automated permissions.

Incorrect Answers

A:

Combining a suitable first control with this second one misses the secondary acceptance criterion; config rules assess supported resource settings and publish compliant or noncompliant evaluations; it helps identify noncompliant resources without depending on log-string alerts rather than correct an eligible configuration violation soon after detection.

B:

Neither control directly supplies both requested behaviors. Step or simple scaling policies can be driven by CloudWatch alarm transitions; ALB target groups mark eligible targets unhealthy and exclude them from normal request routing. Those mechanisms address different objectives. The specified capabilities are to launch a defined remediation runbook when a matching service event occurs and to correct an eligible configuration violation soon after detection.

C:

The second implementation is relevant; the problem is the first. EventBridge input transformers construct custom target payloads from matched event fields. It can help send only relevant event details to responders rather than an entire event payload, whereas the stated first requirement is to launch a defined remediation runbook when a matching service event occurs.

Question 1013

A team is designing a reusable delivery pattern. It must detect tampering between build completion and production deployment; it must also prevent existing release tags from silently being overwritten. Which paired configuration is appropriate?

  1. Use an EC2 Image Builder container recipe to generate a hardened container image; configure ECR replication to authorized Regions or accounts
  2. Pin image promotion to an ECR image digest instead of a mutable tag; enable ECR image tag immutability for release repositories
  3. Sign and verify release artifacts through a controlled integrity process; use EC2 Image Builder pipelines to produce hardened AMIs
  4. Sign and verify release artifacts through a controlled integrity process; enable ECR image tag immutability for release repositories
  5. Sign and verify release artifacts through a controlled integrity process; enable ECR scan-on-push or enhanced scanning according to policy

Explanation

Correct Answer

D:

Cryptographic signatures and trusted verification bind an approved artifact to its signing provenance; ECR tag immutability prevents image tags from being overwritten in repositories configured for it. The first control satisfies the need to detect tampering between build completion and production deployment; the second addresses the need to prevent existing release tags from silently being overwritten. The verifier must trust the signing identity rather than a filename or tag; approved deployment references must not be retargeted through tag updates.

Incorrect Answers

A:

These are legitimate AWS controls for different outcomes: image Builder supports container recipes and workflows to build and test image outputs, whereas ECR replication copies matching repository images to configured destination registries and Regions. The problem instead requires the ability to detect tampering between build completion and production deployment and to prevent existing release tags from silently being overwritten.

B:

This combination solves only the latter acceptance test. The substituted first control supports deploy exactly the image bytes tested during CI: image digests identify content; mutable tags can be repointed and are unsuitable as sole provenance; it does not implement detect tampering between build completion and production deployment.

C:

The first half is appropriate: Cryptographic signatures and trusted verification bind an approved artifact to its signing provenance. However, image Builder creates, customizes, tests, and distributes repeatable machine images from recipes; that serves a different objective (automate repeatable golden-image builds with validation tests) and leaves the explicit need to prevent existing release tags from silently being overwritten unmet.

E:

Combining a suitable first control with this second one misses the secondary acceptance criterion; ECR scanning integrates container vulnerability findings with repository images and security workflows; it helps surface vulnerable container packages before images are approved rather than prevent existing release tags from silently being overwritten.

Question 1014

An incident record says: Developers maintain extensive raw CloudFormation boilerplate for simple Lambda event wiring. To restore the capability to describe serverless functions and their event sources concisely in an IaC template, which change addresses the root cause?

  1. Use AWS SAM transform resources for Lambda and API infrastructure
  2. Use CloudFormation dynamic references for protected parameter values
  3. Use a nested CloudFormation stack for a reusable infrastructure component
  4. Use AWS CloudFormation Change Sets before updating a stack

Explanation

Correct Answer

A:

AWS SAM expands serverless resource declarations into supported CloudFormation resources during transformation; it enables the necessary capability to describe serverless functions and their event sources concisely in an IaC template rather than only providing an adjacent operational control. The deployment must still produce CloudFormation-managed infrastructure.

Incorrect Answers

B:

That service solves a different operating problem: the need to avoid hardcoding a sensitive input in reusable infrastructure templates; its behavior is that dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager; the requested outcome remains describe serverless functions and their event sources concisely in an IaC template.

C:

The choice is useful when engineers need 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. It would not establish the control needed to describe serverless functions and their event sources concisely in an IaC template.

D:

A change set previews how CloudFormation intends to modify or replace resources before execution; this is a reasonable option when the requirement is to inspect the proposed resource replacements and updates before executing infrastructure changes, but it operates at a different workflow boundary from the stated need to describe serverless functions and their event sources concisely in an IaC template.

Question 1015

A release design adopts this mechanism: Configure ECR replication to authorized Regions or accounts. Which implementation detail is most relevant to its proposed use to preposition container images in the registries used by regional deployments?

  1. Image access must use IAM-aware authorization instead of an anonymous public registry
  2. Distribution must follow a defined replication configuration
  3. Retention should be based on tag status, age, or count instead of manual deletion
  4. The verifier must trust the signing identity rather than a filename or tag

Explanation

Correct Answer

B:

Distribution must follow a defined replication configuration. That is the governing deployment boundary for the selected control: ECR replication copies matching repository images to configured destination registries and Regions. If the boundary is missed, the design can fail to preposition container images in the registries used by regional deployments.

Incorrect Answers

A:

This proposed constraint belongs to a separate objective: image access must use IAM-aware authorization instead of an anonymous public registry; the corresponding goal is to store deployable OCI images with private access for ECS workloads, not the selected architecture's goal to preposition container images in the registries used by regional deployments.

C:

ECR lifecycle rules automate image expiration according to matching criteria. Its own dependency is that retention should be based on tag status, age, or count instead of manual deletion; those details concern the separate objective of being able to remove unneeded old images without deleting current release references, rather than to the named control required to preposition container images in the registries used by regional deployments.

D:

The proposed condition makes sense in an implementation designed to detect tampering between build completion and production deployment. It concerns cryptographic signatures and trusted verification bind an approved artifact to its signing provenance, whereas this question tests the prerequisite of the named control.

Question 1016

The architecture record specifies: Configure CloudWatch composite alarms to combine related signal states. To support the goal to page operators only when multiple correlated alarms indicate a real incident, which consideration should the engineer validate?

  1. The check must exercise actual HTTP or browser behavior on a defined schedule
  2. The notification should depend on a logical combination of existing alarm states
  3. Error counts must be normalized by matching request volume
  4. Aggregated findings must retain product identity, severity, and resource details

Explanation

Correct Answer

B:

The requested behavior is to page operators only when multiple correlated alarms indicate a real incident, and the notification should depend on a logical combination of existing alarm states. The underlying AWS behavior is that composite alarms evaluate the Boolean state of underlying alarms before transitioning.

Incorrect Answers

A:

This condition governs the different mechanism used to detect external failures in a multi-step website journey before users report them; synthetics canaries execute scripts and publish availability and step-level results; for the selected control, the relevant boundary is instead that the notification should depend on a logical combination of existing alarm states.

C:

The proposed condition makes sense in an implementation designed to detect user-visible error-rate regression independent of total request volume; it concerns CloudWatch metric math combines compatible metrics to evaluate derived rates or ratios, whereas this question tests the prerequisite of the named control; the specified requirement instead is to page operators only when multiple correlated alarms indicate a real incident.

D:

This proposed constraint belongs to a separate objective: aggregated findings must retain product identity, severity, and resource details. The corresponding goal is to prioritize security risks across multiple supported detection services, not the selected architecture's goal to page operators only when multiple correlated alarms indicate a real incident.

Question 1017

The architecture record specifies: Use CloudFront origins with origin failover for eligible requests. To support the goal to keep cacheable web content reachable if the primary origin fails, which consideration should the engineer validate?

  1. The database service should adjust capacity without preconfigured RCU and WCU targets
  2. Failover should work within the supported origin group request types and status codes
  3. The application should keep using its database endpoint after managed failover
  4. The health endpoint should reflect readiness for the routed workload

Explanation

Correct Answer

B:

Failover should work within the supported origin group request types and status codes. Without this, choosing the named service is not enough to produce the promised outcome; CloudFront origin groups can switch eligible requests to a secondary origin on configured primary failures.

Incorrect Answers

A:

DynamoDB on-demand mode automatically manages throughput capacity for variable workloads within service limits; its own dependency is that the database service should adjust capacity without preconfigured RCU and WCU targets. Those details concern the separate objective of being able to avoid manual throughput planning when read and write request rates change sharply, rather than to the named control required to keep cacheable web content reachable if the primary origin fails.

C:

This proposed constraint belongs to a separate objective: the application should keep using its database endpoint after managed failover. The corresponding goal is to provide automatic database failover after a primary Availability Zone outage, not the selected architecture's goal to keep cacheable web content reachable if the primary origin fails.

D:

This condition governs the different mechanism used to stop sending new traffic to application instances that fail readiness checks; target group health checks determine which registered targets receive load balancer traffic; for the selected control, the relevant boundary is instead that failover should work within the supported origin group request types and status codes.

Question 1018

The architecture record specifies: Review CodeBuild CloudWatch logs and build phase status. To support the goal to identify the first shell command or dependency failure in a failing build, which consideration should the engineer validate?

  1. Capacity metrics must be compared against throttling and request patterns
  2. The investigation needs command output and the build phase that returned a failure
  3. The failing invocation and configured function timeout must be compared
  4. The cause may be in hook exit status or the agent's local execution logs

Explanation

Correct Answer

B:

The implementation has to honor the exact constraint: the investigation needs command output and the build phase that returned a failure. CodeBuild build logs and phase contexts expose command errors and environment failures.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to determine whether database request limits cause application retry storms. It concerns DynamoDB metrics identify throttled reads and writes and provisioned or consumed capacity behavior, whereas this question tests the prerequisite of the named control.

C:

This condition governs the different mechanism used to explain missing API responses from a new Lambda deployment; Lambda logs include invocation results, duration, timeout messages, and runtime failures; for the selected control, the relevant boundary is instead that the investigation needs command output and the build phase that returned a failure.

D:

CodeDeploy agent and deployment logs record instance-level lifecycle command behavior. Its own dependency is that the cause may be in hook exit status or the agent's local execution logs. Those details concern the separate objective of being able to diagnose why an instance deployment fails during a lifecycle hook, rather than to the named control required to identify the first shell command or dependency failure in a failing build.

Question 1019

Before approving an automated rollout, the security team must explore linked entity behaviors around a suspicious IAM principal and trigger containment review when a high-severity credential threat appears. Which combination covers the two distinct controls?

  1. Use Amazon Detective for investigation of related security activity; route GuardDuty findings through EventBridge to a security workflow
  2. Use Security Hub automation rules for finding-state prioritization; use VPC Flow Logs to investigate rejected network flows
  3. Use CloudFormation drift detection to spot out-of-band stack edits; route GuardDuty findings through EventBridge to a security workflow
  4. Use Amazon Detective for investigation of related security activity; create an organization CloudTrail trail to a separately secured S3 logging bucket

Explanation

Correct Answer

A:

Detective assists security investigations by correlating supported activity and entity relationships; this handles the first acceptance condition, subject to the boundary that responders need graph-style relationships rather than an additional blocking firewall rule. The remaining condition is handled separately: GuardDuty emits supported findings to EventBridge for targeted notification and automation, with the rule should select findings with the intended severity and account context.

Incorrect Answers

B:

The pair changes the problem instead of completing it. One option addresses normalize and triage recurring findings according to defined central criteria; the other addresses identify source, destination, and action details for a suspected network denial. The release, however, needs to explore linked entity behaviors around a suspicious IAM principal as well as trigger containment review when a high-severity credential threat appears.

C:

Drift detection checks supported stack resource configuration against the declared IaC state. That is intended to identify resource properties that no longer match the approved template, not to explore linked entity behaviors around a suspicious IAM principal. The second half can meet the requirement to trigger containment review when a high-severity credential threat appears, but the first is still missing.

D:

An organization trail delivers supported account activity events centrally for member accounts; that alternative supports the ability to retain management API events from all AWS Organizations member accounts, but it is not the requested second outcome (trigger containment review when a high-severity credential threat appears). Even though the first half addresses explore linked entity behaviors around a suspicious IAM principal, this pair is incomplete.

Question 1020

A reliability change request has linked acceptance tests: the system must add cluster nodes when pods cannot schedule due to insufficient capacity, and it must coordinate ECS service task placement with managed EC2 capacity. Which two controls should the engineers combine?

  1. Use scheduled scaling for recurring predictable demand; place CloudFront caching ahead of read-heavy static content origins
  2. Use ElastiCache for repeated hot-key application lookups; use an ECS capacity provider strategy for EC2 cluster capacity
  3. Configure Karpenter or a supported EKS node autoscaler for unschedulable pods; use SQS backlog per worker as a target tracking metric
  4. Configure Karpenter or a supported EKS node autoscaler for unschedulable pods; use an ECS capacity provider strategy for EC2 cluster capacity

Explanation

Correct Answer

D:

Node autoscalers provision or adjust worker capacity in response to pending pods and cluster constraints; this handles the first acceptance condition, subject to the boundary that node provisioning must respond to Kubernetes scheduling constraints. The remaining condition is handled separately: ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity, with compute scale-out must track container placement demand.

Incorrect Answers

A:

Neither control directly supplies both requested behaviors. Scheduled actions change Auto Scaling desired or min and max capacity at specified times; CloudFront caches eligible objects at edge locations to reduce repeated origin requests and user latency. Those mechanisms address different objectives. The specified capabilities are to add cluster nodes when pods cannot schedule due to insufficient capacity and to coordinate ECS service task placement with managed EC2 capacity.

B:

The second implementation is relevant; the problem is the first. An in-memory cache serves hot keys without a round trip to the primary database for every read; it can help reduce database read pressure for frequently requested reusable data, whereas the stated first requirement is to add cluster nodes when pods cannot schedule due to insufficient capacity.

C:

Combining a suitable first control with this second one misses the secondary acceptance criterion; backlog per instance estimates the pressure on worker capacity for queue-driven scaling; it helps scale message-processing workers with the backlog relative to active capacity rather than coordinate ECS service task placement with managed EC2 capacity.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests