Question 100

The release manager reports the following failure: An attacker with broad access can shorten backup retention before an incident response. Which action directly restores the requirement to protect retained backup recovery points from early deletion?

  1. Enable AWS Backup Vault Lock in an appropriate mode
  2. Use AWS Backup restore testing plans for supported resources
  3. Enable S3 versioning and implement recovery for deleted object versions
  4. Use Route 53 health-checked failover records for a pretested recovery endpoint

Explanation

Correct Answer

A:

Backup Vault Lock enforces supported WORM retention protections according to its configured mode; in this case the control is appropriate because it supports protect retained backup recovery points from early deletion. Retention enforcement must be harder to bypass than ordinary IAM permissions.

Incorrect Answers

B:

Although AWS Backup restore testing automates recovery-point selection and supported restore testing workflows, the scenario does not ask for periodically verify recoverability rather than assuming a backup job is sufficient. It requires the ability to protect retained backup recovery points from early deletion, which is a separate responsibility.

C:

S3 versioning preserves prior object versions so authorized users can restore selected versions; this can help teams recover an overwritten or deleted application object from an earlier version, but the reported workflow needs to protect retained backup recovery points from early deletion. It does not perform that required function.

D:

That service solves a different operating problem: the need to automate DNS-level cutover after the primary regional endpoint fails. Its behavior is that failover routing can resolve the standby record based on health state, subject to client caching. The requested outcome remains protect retained backup recovery points from early deletion.

Question 101

During root-cause analysis, the team identifies the following: The destination deploy role can assume its IAM role but S3 GetObject is denied for the artifact. To permit a cross-account deployment action to retrieve the intended pipeline artifact objects, what should be configured?

  1. Grant the target-account role access through the S3 artifact bucket policy
  2. Use a customer managed KMS key and grant the target deployment role decrypt permission
  3. Resolve runtime secrets from Secrets Manager during the build
  4. Configure a cross-Region artifact store for the target action Region

Explanation

Correct Answer

A:

To permit a cross-account deployment action to retrieve the intended pipeline artifact objects, the architecture relies on this AWS behavior: a resource-based bucket policy can authorize the trusted destination principal to read specific artifact objects. The grant must be limited to the pipeline artifact location rather than every bucket.

Incorrect Answers

B:

A customer managed key with suitable key policy and IAM permission supports cross-account decrypt access; this can help teams make encrypted CodePipeline artifacts usable by an authorized cross-account action, but the reported workflow needs to permit a cross-account deployment action to retrieve the intended pipeline artifact objects. It does not perform that required function.

C:

That service solves a different operating problem: the need to supply a rotating database credential to CI jobs without placing the secret in source control. Its behavior is that Secrets Manager stores secret values and supports managed rotation integrations; runtime retrieval avoids committing values. The requested outcome remains permit a cross-account deployment action to retrieve the intended pipeline artifact objects.

D:

The choice is useful when engineers need to run a deployment action in a different AWS Region from its pipeline: cross-Region CodePipeline actions need an artifact store in each relevant action Region; it would not establish the control needed to permit a cross-account deployment action to retrieve the intended pipeline artifact objects.

Question 102

An engineer will implement the following change: Use Lambda reserved concurrency to limit simultaneous remediation functions. Which operational boundary most directly applies to the intended outcome to cap the number of concurrent handlers acting on a sensitive downstream API?

  1. Each issue needs a durable operational record with ownership and resource references
  2. Inventory collection must run on nodes with the required managed-node configuration
  3. Automation must bound concurrency even when incoming event volume spikes
  4. Remediation must invoke a scoped automation role and handle failed attempts

Explanation

Correct Answer

C:

Automation must bound concurrency even when incoming event volume spikes. That is the governing deployment boundary for the selected control: reserved concurrency sets a function-level limit and allocation of simultaneous Lambda executions. If the boundary is missed, the design can fail to cap the number of concurrent handlers acting on a sensitive downstream API.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to collect recurring operational issues with linked resource context and status. It concerns OpsCenter OpsItems group investigation context and operational metadata for issue management, whereas this question tests the prerequisite of the named control.

B:

This proposed constraint belongs to a separate objective: inventory collection must run on nodes with the required managed-node configuration; the corresponding goal is to report installed applications and instance configuration across the managed fleet, not the selected architecture's goal to cap the number of concurrent handlers acting on a sensitive downstream API.

D:

Config remediation configurations can invoke Systems Manager Automation documents for matching findings; its own dependency is that remediation must invoke a scoped automation role and handle failed attempts. Those details concern the separate objective of being able to remediate eligible noncompliant resources using a controlled runbook, rather than to the named control required to cap the number of concurrent handlers acting on a sensitive downstream API.

Question 103

The production plan uses this approach: Use Systems Manager Run Command for scoped remote command execution. The goal is to run a one-time script against a tagged fleet without SSH access. Which prerequisite or limitation should receive focused review?

  1. Retries and dead-letter delivery need managed scheduling controls
  2. Targets need SSM connectivity and permissions rather than inbound administrative ports
  3. The workflow needs controlled execution steps and an assumable automation role
  4. The automation identity must be declared and trusted independently of its triggering user

Explanation

Correct Answer

B:

Targets need SSM connectivity and permissions rather than inbound administrative ports. That is the governing deployment boundary for the selected control: run Command dispatches supported command documents to selected managed nodes and records execution results. If the boundary is missed, the design can fail to run a one-time script against a tagged fleet without SSH access.

Incorrect Answers

A:

This proposed constraint belongs to a separate objective: retries and dead-letter delivery need managed scheduling controls. The corresponding goal is to invoke a service API at a one-time or recurring schedule without hosting a cron instance, not the selected architecture's goal to run a one-time script against a tagged fleet without SSH access.

C:

Automation runbooks execute structured steps and AWS service operations with defined permissions; its own dependency is that the workflow needs controlled execution steps and an assumable automation role; those details concern the separate objective of being able to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook, rather than to the named control required to run a one-time script against a tagged fleet without SSH access.

D:

The proposed condition makes sense in an implementation designed to run an approved automation document under a dedicated role rather than a user's permissions; it concerns automation can assume an assigned IAM role to run documented steps with explicit API permissions, whereas this question tests the prerequisite of the named control.

Question 104

The platform engineering group cannot close its release review until both of these are possible: describe serverless functions and their event sources concisely in an IaC template; provision a resource only when an environment parameter meets a defined requirement. Which implementation pair satisfies the review?

  1. Use AWS SAM transform resources for Lambda and API infrastructure; use Systems Manager State Manager associations for desired-state enforcement
  2. Use CloudFormation DeletionPolicy Retain on a stateful resource; apply CloudFormation Conditions to optional template resources
  3. Use AWS SAM transform resources for Lambda and API infrastructure; apply CloudFormation Conditions to optional template resources
  4. Use AWS SAM transform resources for Lambda and API infrastructure; use CDK Aspects to apply organization-wide checks or tags to constructs
  5. Use AWS CloudFormation Change Sets before updating a stack; define an AWS CDK construct for a reusable platform pattern

Explanation

Correct Answer

C:

For the requirement to describe serverless functions and their event sources concisely in an IaC template, AWS SAM expands serverless resource declarations into supported CloudFormation resources during transformation. For the requirement to provision a resource only when an environment parameter meets a defined requirement, conditions can determine resource creation and property values based on template parameters and functions; both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

A:

State Manager associations apply a defined configuration on a schedule to selected managed resources; that alternative supports the ability to keep managed instances configured with a prescribed agent and operating setting, but it is not the requested second outcome (provision a resource only when an environment parameter meets a defined requirement); even though the first half addresses describe serverless functions and their event sources concisely in an IaC template, this pair is incomplete.

B:

This combination solves only the latter acceptance test. The substituted first control supports prevent a persistent data resource from being removed when its stack is deleted: the Retain policy keeps a supported resource after CloudFormation removes its stack ownership. It does not implement describe serverless functions and their event sources concisely in an IaC template.

D:

CDK Aspects visit construct nodes to apply checks or modifications throughout a CDK application; that alternative supports the ability to enforce consistent tagging and validation across an application's CDK construct tree, but it is not the requested second outcome (provision a resource only when an environment parameter meets a defined requirement); even though the first half addresses describe serverless functions and their event sources concisely in an IaC template, this pair is incomplete.

E:

The pair changes the problem instead of completing it. One option addresses inspect the proposed resource replacements and updates before executing infrastructure changes; the other addresses package a standardized multi-resource infrastructure pattern into application code. The release, however, needs to describe serverless functions and their event sources concisely in an IaC template as well as provision a resource only when an environment parameter meets a defined requirement.

Question 105

Investigators observe: A service's CPU is healthy but its login-to-checkout path fails intermittently. Engineers still need to exercise a critical HTTP journey regularly with externally visible outcomes. Which corrective action is most appropriate?

  1. Separate performance threshold checks from functional correctness tests
  2. Use CodeBuild batch builds for a supported test matrix
  3. Use canary synthetic checks against a published test endpoint
  4. Publish code coverage in CodeBuild reports without treating it as proof of behavior

Explanation

Correct Answer

C:

CloudWatch Synthetics canaries run scheduled scripts against endpoints and report pass or failure measurements; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: user-journey availability should be measured beyond instance resource metrics.

Incorrect Answers

A:

Performance testing assesses response-time and throughput targets distinct from pass or fail functionality; this is a reasonable option when the requirement is to fail a release when latency regresses even though all APIs still return successful status codes, but it operates at a different workflow boundary from the stated need to exercise a critical HTTP journey regularly with externally visible outcomes.

B:

Choosing this would aim to run compatible test variations in parallel and consolidate their outcomes instead of exercise a critical HTTP journey regularly with externally visible outcomes. Batch builds support coordinated multiple build configurations and associated aggregate status; it cannot replace the mechanism specified by the incident evidence.

D:

Coverage reports show which code paths execute; they cannot prove that behavior or assertions are correct; this can help teams track executed source coverage while retaining assertions-based acceptance gates, but the reported workflow needs to exercise a critical HTTP journey regularly with externally visible outcomes. It does not perform that required function.

Question 106

An infrastructure proposal must demonstrate two capabilities: identify source, destination, and action details for a suspected network denial and investigate which web ACL rule is denying legitimate client requests. Which combination supplies the appropriate controls?

  1. Enable CloudTrail data events for selected S3 object operations; use CloudFormation drift detection to spot out-of-band stack edits
  2. Use VPC Flow Logs to investigate rejected network flows; use AWS WAF logging to analyze blocked HTTP requests
  3. Use VPC Flow Logs to investigate rejected network flows; create an organization CloudTrail trail to a separately secured S3 logging bucket
  4. Use CloudWatch metric filters with alarms on sensitive security log patterns; use AWS WAF logging to analyze blocked HTTP requests

Explanation

Correct Answer

B:

VPC Flow Logs record accepted and rejected flow metadata without capturing full packet payloads; this handles the first acceptance condition, subject to the boundary that the investigation must distinguish network accept or reject metadata from application logs. The remaining condition is handled separately: AWS WAF logs contain supported request and rule evaluation information for configured web ACLs, with evidence must include web ACL match context rather than host CPU metrics.

Incorrect Answers

A:

The pair changes the problem instead of completing it. One option addresses attribute reads or deletes of sensitive bucket objects to a principal; the other addresses identify resource properties that no longer match the approved template. The release, however, needs to identify source, destination, and action details for a suspected network denial as well as investigate which web ACL rule is denying legitimate client requests.

C:

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 (investigate which web ACL rule is denying legitimate client requests). Even though the first half addresses identify source, destination, and action details for a suspected network denial, this pair is incomplete.

D:

This combination solves only the latter acceptance test. The substituted first control supports alert when repeated access-denied or suspicious authentication events enter central logs: metric filters turn matching log events into CloudWatch measurements that can trigger alarms. It does not implement identify source, destination, and action details for a suspected network denial.

Question 107

An incident record says: DNS continues resolving the failed primary web endpoint during a regional outage. To restore the capability to route clients to a standby endpoint when the primary endpoint becomes unhealthy, which change addresses the root cause?

  1. Use Route 53 latency routing for healthy regional endpoints
  2. Enable ALB target-group health checks with a representative health path
  3. Use EFS mount targets in each client Availability Zone
  4. Configure Route 53 failover records with appropriate health checks
  5. Use AWS Global Accelerator with healthy regional endpoint groups

Explanation

Correct Answer

D:

Route 53 failover routing selects primary or secondary records according to configured health status; in this case the control is appropriate because it supports route clients to a standby endpoint when the primary endpoint becomes unhealthy. DNS failover must rely on health evaluation and account for cache TTL behavior.

Incorrect Answers

A:

Although Route 53 latency policies select records based on measured latency among configured Regions, the scenario does not ask for direct global clients toward the Region with better measured network latency; it requires the ability to route clients to a standby endpoint when the primary endpoint becomes unhealthy, which is a separate responsibility.

B:

Target group health checks determine which registered targets receive load balancer traffic. This can help teams stop sending new traffic to application instances that fail readiness checks, but the reported workflow needs to route clients to a standby endpoint when the primary endpoint becomes unhealthy. It does not perform that required function.

C:

That service solves a different operating problem: the need to allow Linux application instances in multiple zones to access a common managed file system. Its behavior is that EFS mount targets provide VPC network access to a Regional shared file system from selected zones. The requested outcome remains route clients to a standby endpoint when the primary endpoint becomes unhealthy.

E:

Global Accelerator routes TCP or UDP traffic through static anycast addresses to healthy configured endpoints; this is a reasonable option when the requirement is to provide static anycast entry points and health-aware regional application routing, but it operates at a different workflow boundary from the stated need to route clients to a standby endpoint when the primary endpoint becomes unhealthy.

Question 108

The production plan uses this approach: Use CloudWatch Contributor Insights for supported high-cardinality usage analysis. The goal is to identify the top contributors to a metric or structured log workload. Which prerequisite or limitation should receive focused review?

  1. The scaling control must operate on service desired task count
  2. The target instance and alarm must meet EC2 recovery requirements
  3. Availability policy must combine relevant child checks rather than a single TCP probe
  4. The system needs per-contributor rankings from a suitable input data source
  5. Alarm thresholds must correspond to the associated scaling-policy behavior

Explanation

Correct Answer

D:

The implementation has to honor the exact constraint: the system needs per-contributor rankings from a suitable input data source; contributor Insights rules analyze supported log or metric inputs to identify top contributing entities.

Incorrect Answers

A:

This condition governs the different mechanism used to adjust container capacity as aggregate task load grows; application Auto Scaling policies can use CloudWatch service metrics to scale ECS task replicas; for the selected control, the relevant boundary is instead that the system needs per-contributor rankings from a suitable input data source.

B:

Supported CloudWatch alarm actions can request EC2 instance recovery for qualifying status-check failures; its own dependency is that the target instance and alarm must meet EC2 recovery requirements. Those details concern the separate objective of being able to recover an eligible impaired instance when a system-status check indicates host failure, rather than to the named control required to identify the top contributors to a metric or structured log workload.

C:

The proposed condition makes sense in an implementation designed to reflect the combined state of several application dependencies in DNS failover decisions; it concerns calculated Route 53 health checks can evaluate a configured number of healthy child checks, whereas this question tests the prerequisite of the named control; the specified requirement instead is to identify the top contributors to a metric or structured log workload.

E:

This condition governs the different mechanism used to adjust worker fleet capacity when a workload metric crosses a defined level. Step or simple scaling policies can be driven by CloudWatch alarm transitions; for the selected control, the relevant boundary is instead that the system needs per-contributor rankings from a suitable input data source.

Question 109

The site reliability team reports the following failure: A database changes primary host but application connections fail well after the endpoint becomes healthy. Which action directly restores the requirement to explain a brief application database interruption after a Multi-AZ failover?

  1. Check Auto Scaling scaling activities and launch failures
  2. Inspect RDS failover events and connection retry handling
  3. Inspect Lambda CloudWatch logs for timeout and initialization errors
  4. Inspect DynamoDB throttling and consumed capacity metrics

Explanation

Correct Answer

B:

RDS event timelines and application connection behavior help diagnose managed failover recovery; in this case the control is appropriate because it supports explain a brief application database interruption after a Multi-AZ failover. The app should re-resolve endpoints and retry stale connections appropriately.

Incorrect Answers

A:

That service solves a different operating problem: the need to discover why an EC2 fleet fails to add replacement capacity. Its behavior is that auto Scaling activity history records scaling requests and instance launch or health-related failures. The requested outcome remains explain a brief application database interruption after a Multi-AZ failover.

C:

Lambda logs include invocation results, duration, timeout messages, and runtime failures. This is a reasonable option when the requirement is to explain missing API responses from a new Lambda deployment, but it operates at a different workflow boundary from the stated need to explain a brief application database interruption after a Multi-AZ failover.

D:

Choosing this would aim to determine whether database request limits cause application retry storms instead of explain a brief application database interruption after a Multi-AZ failover. DynamoDB metrics identify throttled reads and writes and provisioned or consumed capacity behavior; it cannot replace the mechanism specified by the incident evidence.

Question 110

A security implementation has two separate dependencies: identify S3 objects that potentially contain sensitive information, and encrypt bulk data using data keys protected by an AWS managed cryptographic boundary. Select the combination that addresses both rather than only one.

  1. Use AWS WAF managed rules on the web-facing ALB; use AWS KMS envelope encryption for sensitive application objects
  2. Use Amazon Macie for sensitive-data discovery in S3; use AWS KMS envelope encryption for sensitive application objects
  3. Use Amazon Macie for sensitive-data discovery in S3; deploy AWS Network Firewall for stateful VPC traffic inspection
  4. Use multi-Region KMS keys where the supported encryption workflow needs related keys; use AWS Shield Advanced for enhanced DDoS protection of eligible public resources

Explanation

Correct Answer

B:

Macie uses automated discovery and classification to identify sensitive data in supported S3 objects; this handles the first acceptance condition, subject to the boundary that detection should inspect eligible S3 object content and report discovered data categories. The remaining condition is handled separately: envelope encryption uses a data key for bulk data and KMS to protect or generate that key, with the design should keep plaintext data keys controlled and protect their encrypted form.

Incorrect Answers

A:

The second implementation is relevant; the problem is the first. AWS WAF web ACLs evaluate HTTP requests against configured rules and can block matching traffic; it can help filter common malicious HTTP request patterns before they reach the application, whereas the stated first requirement is to identify S3 objects that potentially contain sensitive information.

C:

The first half is appropriate: Macie uses automated discovery and classification to identify sensitive data in supported S3 objects. However, network Firewall inspects routed VPC traffic using stateless and stateful rule groups; that serves a different objective (enforce centralized network-layer filtering across selected VPC traffic paths) and leaves the explicit need to encrypt bulk data using data keys protected by an AWS managed cryptographic boundary unmet.

D:

These are legitimate AWS controls for different outcomes: multi-Region KMS keys allow related keys in selected Regions but do not make every AWS service resource global, whereas shield Advanced offers enhanced detection, response capabilities, and protections for supported resources. The problem instead requires the ability to identify S3 objects that potentially contain sensitive information and to encrypt bulk data using data keys protected by an AWS managed cryptographic boundary.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests