cert
cert-1
cert-2

Pass Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AWS Certified DevOps Engineer - Professional DOP-C02 Exam - Verified By Experts
AWS Certified DevOps Engineer - Professional DOP-C02 Premium Bundle
$14.99

AWS Certified DevOps Engineer - Professional DOP-C02 Premium Bundle

$74.99
$89.98
  • Premium File 480 Questions & Answers. Last update: Nov 08, 2026
  • Training Course 242 Video Lectures
 
$89.98
$74.99
accept 62 downloads in last 7 days
block-screenshots
Purchase Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Exam Training Products Individually
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Premium File
Premium File 480 Q&A
$76.99$69.99
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Video Training Course
Training Course 242 Lectures
$21.99 $19.99
Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 84

Question 830

A DevOps team is reviewing: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired. Which TWO complementary actions should it take? Select TWO answers.

  1. Model the dependency in the stack and ensure required resources exist before dependent operations.
  2. Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.
  3. Review SSM agent registration, associations, instance profiles and compliance reporting.
  4. Inspect execution history, schedule ownership, IAM rights and failure destinations.
  5. Orchestrate tasks with Step Functions including bounded retries and catch paths.

Explanation

Correct Answers

B:

Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy. This is a required controlled engineering action for the stated situation: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired. The complementary correct action is: Inspect execution history, schedule ownership, IAM rights and failure destinations. Both follow the principle: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.

D:

Inspect execution history, schedule ownership, IAM rights and failure destinations. This is a required diagnostic evidence step for the stated situation: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired. The complementary correct action is: Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy. Both follow the principle: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.

Incorrect Answers

A:

Model the dependency in the stack and ensure required resources exist before dependent operations. This is suitable for another situation: A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order. In this case, engineers instead need the paired investigation (Inspect execution history, schedule ownership, IAM rights and failure destinations.) and design change (Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.). These two steps address: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.

C:

Review SSM agent registration, associations, instance profiles and compliance reporting. This is suitable for another situation: A managed EC2 fleet often loses an approved monitoring agent after instance replacement. In this case, engineers instead need the paired investigation (Inspect execution history, schedule ownership, IAM rights and failure destinations.) and design change (Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.). These two steps address: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.

E:

Orchestrate tasks with Step Functions including bounded retries and catch paths. This is suitable for another situation: A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out. In this case, engineers instead need the paired investigation (Inspect execution history, schedule ownership, IAM rights and failure destinations.) and design change (Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.). These two steps address: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.

Question 831

The DevOps team must resolve this scenario: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder. Which engineering change is MOST appropriate?

  1. Coordinate expand-and-contract schema changes with the blue/green traffic strategy.
  2. Set appropriate rolling update bounds, readiness probes and availability policies.
  3. Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate.
  4. Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts.

Explanation

Correct Answer

C:

Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate. Its validation is: Peak deployment traffic stays within database connection limits with recoverable rollback. The principle is: Rollout concurrency and downstream capacity must be included in deployment strategy.

Incorrect Answers

A:

Coordinate expand-and-contract schema changes with the blue/green traffic strategy. This instead addresses a different case: An application switches its ALB target group to a new version while both versions connect to a shared relational schema. For the stated situation (A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder.), the better engineering action is: Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate. The deciding distinction is: Rollout concurrency and downstream capacity must be included in deployment strategy.

B:

Set appropriate rolling update bounds, readiness probes and availability policies. This instead addresses a different case: An EKS rolling deployment scales down all API pods at once, causing requests to fail despite multiple nodes. For the stated situation (A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder.), the better engineering action is: Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate. The deciding distinction is: Rollout concurrency and downstream capacity must be included in deployment strategy.

D:

Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts. This instead addresses a different case: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. For the stated situation (A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder.), the better engineering action is: Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate. The deciding distinction is: Rollout concurrency and downstream capacity must be included in deployment strategy.

Question 832

A DevOps team is reviewing: A production alarm starts an infrastructure rebuild immediately even during a payroll settlement window where failover can corrupt in-flight transactions. Which TWO complementary actions should it take? Select TWO answers.

  1. Use a controlled approved remediation action or rollback of the unauthorized rule.
  2. Correct rotation and refresh behavior with a tested coordinated client retry path.
  3. Inspect build logs, artifact S3 bucket, KMS key policy and CodeBuild role permissions.
  4. Use conditional automation and human approval for high-risk stateful remediation.
  5. Review alarm condition, transaction criticality, runbook approvals and current service health.

Explanation

Correct Answers

D:

Use conditional automation and human approval for high-risk stateful remediation. This is a required controlled engineering action for the stated situation: A production alarm starts an infrastructure rebuild immediately even during a payroll settlement window where failover can corrupt in-flight transactions. The complementary correct action is: Review alarm condition, transaction criticality, runbook approvals and current service health. Both follow the principle: Remediation decisions must respect approved change safety, business state and rollback constraints.

E:

Review alarm condition, transaction criticality, runbook approvals and current service health. This is a required diagnostic evidence step for the stated situation: A production alarm starts an infrastructure rebuild immediately even during a payroll settlement window where failover can corrupt in-flight transactions. The complementary correct action is: Use conditional automation and human approval for high-risk stateful remediation. Both follow the principle: Remediation decisions must respect approved change safety, business state and rollback constraints.

Incorrect Answers

A:

Use a controlled approved remediation action or rollback of the unauthorized rule. This is suitable for another situation: Operations edits a firewall security group to add temporary unrestricted access but forgets to remove it after an emergency. In this case, engineers instead need the paired investigation (Review alarm condition, transaction criticality, runbook approvals and current service health.) and design change (Use conditional automation and human approval for high-risk stateful remediation.). These two steps address: A production alarm starts an infrastructure rebuild immediately even during a payroll settlement window where failover can corrupt in-flight transactions.

B:

Correct rotation and refresh behavior with a tested coordinated client retry path. This is suitable for another situation: A scheduled Secrets Manager rotation updates a credential, but its consumer application continues using the revoked password and fails authentication. In this case, engineers instead need the paired investigation (Review alarm condition, transaction criticality, runbook approvals and current service health.) and design change (Use conditional automation and human approval for high-risk stateful remediation.). These two steps address: A production alarm starts an infrastructure rebuild immediately even during a payroll settlement window where failover can corrupt in-flight transactions.

C:

Inspect build logs, artifact S3 bucket, KMS key policy and CodeBuild role permissions. This is suitable for another situation: A pipeline fails at CodeBuild DOWNLOAD_SOURCE with AccessDenied after a KMS key policy change. In this case, engineers instead need the paired investigation (Review alarm condition, transaction criticality, runbook approvals and current service health.) and design change (Use conditional automation and human approval for high-risk stateful remediation.). These two steps address: A production alarm starts an infrastructure rebuild immediately even during a payroll settlement window where failover can corrupt in-flight transactions.

Question 833

A DevOps team is reviewing: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting. Which TWO complementary actions should it take? Select TWO answers.

  1. Schedule compliant patching through approved maintenance windows and targeted baselines.
  2. Inspect SAM template resources, generated roles and manually added triggers.
  3. Inspect SSM Patch Manager baselines, patch groups, reboot options and maintenance windows.
  4. Enable inventory collection and central reporting for in-scope managed nodes.
  5. Create a Systems Manager State Manager association installing and checking the required agent.

Explanation

Correct Answers

A:

Schedule compliant patching through approved maintenance windows and targeted baselines. This is a required controlled engineering action for the stated situation: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting. The complementary correct action is: Inspect SSM Patch Manager baselines, patch groups, reboot options and maintenance windows. Both follow the principle: Patch automation should account for maintenance schedules, baselines and operational safety.

C:

Inspect SSM Patch Manager baselines, patch groups, reboot options and maintenance windows. This is a required diagnostic evidence step for the stated situation: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting. The complementary correct action is: Schedule compliant patching through approved maintenance windows and targeted baselines. Both follow the principle: Patch automation should account for maintenance schedules, baselines and operational safety.

Incorrect Answers

B:

Inspect SAM template resources, generated roles and manually added triggers. This is suitable for another situation: Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences. In this case, engineers instead need the paired investigation (Inspect SSM Patch Manager baselines, patch groups, reboot options and maintenance windows.) and design change (Schedule compliant patching through approved maintenance windows and targeted baselines.). These two steps address: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting.

D:

Enable inventory collection and central reporting for in-scope managed nodes. This is suitable for another situation: Operations estimates patch compliance from EC2 tags but has no verified installed software inventory. In this case, engineers instead need the paired investigation (Inspect SSM Patch Manager baselines, patch groups, reboot options and maintenance windows.) and design change (Schedule compliant patching through approved maintenance windows and targeted baselines.). These two steps address: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting.

E:

Create a Systems Manager State Manager association installing and checking the required agent. This is suitable for another situation: A managed EC2 fleet often loses an approved monitoring agent after instance replacement. In this case, engineers instead need the paired investigation (Inspect SSM Patch Manager baselines, patch groups, reboot options and maintenance windows.) and design change (Schedule compliant patching through approved maintenance windows and targeted baselines.). These two steps address: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting.

Question 834

Before changing production, engineers find: A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected. Which investigation should the engineer perform FIRST?

  1. Inspect Inspector finding resources, image digests, package versions and exposure.
  2. Review CodeDeploy deployment group alarms, target health and service error signals.
  3. Inspect historical CPU seasonality, anomaly band and alert validation cases.
  4. Inspect fields for status code, revision, trace ID and service name.

Explanation

Correct Answer

C:

Inspect historical CPU seasonality, anomaly band and alert validation cases. The governing principle is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives. The next controlled engineering decision is: Configure CloudWatch anomaly detection with evaluated bounds and meaningful context.

Incorrect Answers

A:

Inspect Inspector finding resources, image digests, package versions and exposure. This instead addresses a different case: Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected. For the stated situation (A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected.), the better investigation is: Inspect historical CPU seasonality, anomaly band and alert validation cases. The deciding distinction is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives.

B:

Review CodeDeploy deployment group alarms, target health and service error signals. This instead addresses a different case: A new ECS task definition produces errors after traffic shift, but the deployment continues to completion because alarms are not associated with the release. For the stated situation (A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected.), the better investigation is: Inspect historical CPU seasonality, anomaly band and alert validation cases. The deciding distinction is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives.

D:

Inspect fields for status code, revision, trace ID and service name. This instead addresses a different case: A burst of HTTP 500s appears in logs, but operators query raw text and cannot correlate failures by deployment revision. For the stated situation (A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected.), the better investigation is: Inspect historical CPU seasonality, anomaly band and alert validation cases. The deciding distinction is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives.

Question 835

The DevOps team must resolve this scenario: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. Which engineering change is MOST appropriate?

  1. Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope.
  2. Schedule compliant patching through approved maintenance windows and targeted baselines.
  3. Implement a durable idempotency key and conditional write or transaction guard.
  4. Split work into durable Step Functions state transitions or supported managed operations.

Explanation

Correct Answer

D:

Split work into durable Step Functions state transitions or supported managed operations. Its validation is: The workflow can recover from a worker timeout without restarting completed destructive tasks. The principle is: Long-running workflows should use durable orchestration rather than a single Lambda invocation.

Incorrect Answers

A:

Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope. This instead addresses a different case: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions. For the stated situation (A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress.), the better engineering action is: Split work into durable Step Functions state transitions or supported managed operations. The deciding distinction is: Long-running workflows should use durable orchestration rather than a single Lambda invocation.

B:

Schedule compliant patching through approved maintenance windows and targeted baselines. This instead addresses a different case: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting. For the stated situation (A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress.), the better engineering action is: Split work into durable Step Functions state transitions or supported managed operations. The deciding distinction is: Long-running workflows should use durable orchestration rather than a single Lambda invocation.

C:

Implement a durable idempotency key and conditional write or transaction guard. This instead addresses a different case: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice. For the stated situation (A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress.), the better engineering action is: Split work into durable Step Functions state transitions or supported managed operations. The deciding distinction is: Long-running workflows should use durable orchestration rather than a single Lambda invocation.

Question 836

After implementing a proposed fix, the team reviews: A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account. Which result would BEST confirm that the risk is addressed?

  1. A member-account noncompliant test volume appears in the aggregated view.
  2. One application team can deploy its own service and is denied another team's service.
  3. An intended object is readable and unauthorized prefixes remain denied.
  4. A password-only privileged session cannot perform the protected action.

Explanation

Correct Answer

C:

An intended object is readable and unauthorized prefixes remain denied. The approved action is: Add narrowly scoped cross-account bucket and necessary key grants in both authorization planes. The risk principle is: Cross-account resource access requires compatible identity permissions and resource-side authorization.

Incorrect Answers

A:

A member-account noncompliant test volume appears in the aggregated view. This instead addresses a different case: Governance wants one view of noncompliant encrypted volumes across every AWS Organization account and Region. For the stated situation (A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account.), the better verification is: An intended object is readable and unauthorized prefixes remain denied. The deciding distinction is: Cross-account resource access requires compatible identity permissions and resource-side authorization.

B:

One application team can deploy its own service and is denied another team's service. This instead addresses a different case: A shared ECS deployment role can update any workload in the account despite developers owning separate applications. For the stated situation (A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account.), the better verification is: An intended object is readable and unauthorized prefixes remain denied. The deciding distinction is: Cross-account resource access requires compatible identity permissions and resource-side authorization.

D:

A password-only privileged session cannot perform the protected action. This instead addresses a different case: Human operators access high-risk account settings without multifactor authentication, even though a company policy mandates it. For the stated situation (A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account.), the better verification is: An intended object is readable and unauthorized prefixes remain denied. The deciding distinction is: Cross-account resource access requires compatible identity permissions and resource-side authorization.

Question 837

Before changing production, engineers find: Two identical source commits produce different Lambda packages because the build downloads the newest transitive dependencies each day. Which investigation should the engineer perform FIRST?

  1. Inspect command verbosity, secret injection, log visibility and token usage.
  2. Review pipeline execution mode, target resource conflicts and deployment ordering evidence.
  3. Inspect image manifest, platform architecture, task definition and placement failures.
  4. Inspect lock files, dependency solver output and artifact digests across runs.

Explanation

Correct Answer

D:

Inspect lock files, dependency solver output and artifact digests across runs. The governing principle is: Reproducible builds require pinned dependencies and verifiable artifact identities. The next controlled engineering decision is: Use dependency lockfiles and deterministic build inputs with immutable package storage.

Incorrect Answers

A:

Inspect command verbosity, secret injection, log visibility and token usage. This instead addresses a different case: A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package. For the stated situation (Two identical source commits produce different Lambda packages because the build downloads the newest transitive dependencies each day.), the better investigation is: Inspect lock files, dependency solver output and artifact digests across runs. The deciding distinction is: Reproducible builds require pinned dependencies and verifiable artifact identities.

B:

Review pipeline execution mode, target resource conflicts and deployment ordering evidence. This instead addresses a different case: Two successive commits trigger deployments against the same production stack, and the earlier execution finishes after the newer release. For the stated situation (Two identical source commits produce different Lambda packages because the build downloads the newest transitive dependencies each day.), the better investigation is: Inspect lock files, dependency solver output and artifact digests across runs. The deciding distinction is: Reproducible builds require pinned dependencies and verifiable artifact identities.

C:

Inspect image manifest, platform architecture, task definition and placement failures. This instead addresses a different case: An ECS fleet includes both x86_64 and Arm64 capacity, but a pipeline publishes only an x86 image under a generic tag. For the stated situation (Two identical source commits produce different Lambda packages because the build downloads the newest transitive dependencies each day.), the better investigation is: Inspect lock files, dependency solver output and artifact digests across runs. The deciding distinction is: Reproducible builds require pinned dependencies and verifiable artifact identities.

Question 838

The DevOps team must resolve this scenario: An application has slow checkout requests only when external credit checks are called, but aggregate ALB metrics cannot locate the dependency. Which engineering change is MOST appropriate?

  1. Configure CloudWatch anomaly detection with evaluated bounds and meaningful context.
  2. Use an appropriate Athena-backed query or CloudTrail Lake pattern to search retained audit events.
  3. Instrument affected services and analyze slow traces to isolate the expensive dependency.
  4. Enable appropriately scoped VPC Flow Logs to a secure central destination.

Explanation

Correct Answer

C:

Instrument affected services and analyze slow traces to isolate the expensive dependency. Its validation is: A controlled slow call is visible in the external dependency segment with measured duration. The principle is: Trace spans can isolate latency contributions across distributed calls.

Incorrect Answers

A:

Configure CloudWatch anomaly detection with evaluated bounds and meaningful context. This instead addresses a different case: A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected. For the stated situation (An application has slow checkout requests only when external credit checks are called, but aggregate ALB metrics cannot locate the dependency.), the better engineering action is: Instrument affected services and analyze slow traces to isolate the expensive dependency. The deciding distinction is: Trace spans can isolate latency contributions across distributed calls.

B:

Use an appropriate Athena-backed query or CloudTrail Lake pattern to search retained audit events. This instead addresses a different case: The platform team needs to analyze months of historical organization CloudTrail records across accounts to detect policy changes. For the stated situation (An application has slow checkout requests only when external credit checks are called, but aggregate ALB metrics cannot locate the dependency.), the better engineering action is: Instrument affected services and analyze slow traces to isolate the expensive dependency. The deciding distinction is: Trace spans can isolate latency contributions across distributed calls.

D:

Enable appropriately scoped VPC Flow Logs to a secure central destination. This instead addresses a different case: Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets. For the stated situation (An application has slow checkout requests only when external credit checks are called, but aggregate ALB metrics cannot locate the dependency.), the better engineering action is: Instrument affected services and analyze slow traces to isolate the expensive dependency. The deciding distinction is: Trace spans can isolate latency contributions across distributed calls.

Question 839

A DevOps team is reviewing: An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover. Which TWO complementary actions should it take? Select TWO answers.

  1. Inspect stack events, failed resources, execution role permissions and rollback status.
  2. Correct the permission or invalid change and use the supported stack recovery or update workflow.
  3. Review synthesized CloudFormation, construct defaults, bucket policies and deployed exceptions.
  4. Model function, API integration and minimum IAM permissions in the versioned SAM template.
  5. Review source and destination OUs, StackSets auto-deployment and SCP effective controls.

Explanation

Correct Answers

A:

Inspect stack events, failed resources, execution role permissions and rollback status. This is a required diagnostic evidence step for the stated situation: An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover. The complementary correct action is: Correct the permission or invalid change and use the supported stack recovery or update workflow. Both follow the principle: A failed IaC update should be diagnosed and recovered without destroying existing service state.

B:

Correct the permission or invalid change and use the supported stack recovery or update workflow. This is a required controlled engineering action for the stated situation: An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover. The complementary correct action is: Inspect stack events, failed resources, execution role permissions and rollback status. Both follow the principle: A failed IaC update should be diagnosed and recovered without destroying existing service state.

Incorrect Answers

C:

Review synthesized CloudFormation, construct defaults, bucket policies and deployed exceptions. This is suitable for another situation: A reusable AWS CDK construct creates S3 buckets with public access enabled unless individual teams remember to override the setting. In this case, engineers instead need the paired investigation (Inspect stack events, failed resources, execution role permissions and rollback status.) and design change (Correct the permission or invalid change and use the supported stack recovery or update workflow.). These two steps address: An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover.

D:

Model function, API integration and minimum IAM permissions in the versioned SAM template. This is suitable for another situation: Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences. In this case, engineers instead need the paired investigation (Inspect stack events, failed resources, execution role permissions and rollback status.) and design change (Correct the permission or invalid change and use the supported stack recovery or update workflow.). These two steps address: An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover.

E:

Review source and destination OUs, StackSets auto-deployment and SCP effective controls. This is suitable for another situation: A team moves an account to a new OU and expects an existing StackSets-managed baseline to remain unchanged without review. In this case, engineers instead need the paired investigation (Inspect stack events, failed resources, execution role permissions and rollback status.) and design change (Correct the permission or invalid change and use the supported stack recovery or update workflow.). These two steps address: An automated CloudFormation update rolls back because a new IAM permission is denied, but the team plans to delete the entire production stack to recover.

Question 840

After implementing a proposed fix, the team reviews: A container image with a known critical OS vulnerability is built and deployed because only compilation and unit testing are gated. Which result would BEST confirm that the risk is addressed?

  1. Old and new tasks can write valid rows during the transition and rollback remains feasible.
  2. A test image with a policy-prohibited finding is rejected before production deployment.
  3. A rollback drill can retrieve the required prior image while unused versions still expire.
  4. A destructive replacement requires explicit approval and safe migration planning.

Explanation

Correct Answer

B:

A test image with a policy-prohibited finding is rejected before production deployment. The approved action is: Integrate supported image vulnerability scanning and a risk-based release gate. The risk principle is: Security assessment should be incorporated at a stage where an unsafe artifact can be blocked.

Incorrect Answers

A:

Old and new tasks can write valid rows during the transition and rollback remains feasible. This instead addresses a different case: A new release adds a non-null column while old application instances still write rows during a blue/green deployment. For the stated situation (A container image with a known critical OS vulnerability is built and deployed because only compilation and unit testing are gated.), the better verification is: A test image with a policy-prohibited finding is rejected before production deployment. The deciding distinction is: Security assessment should be incorporated at a stage where an unsafe artifact can be blocked.

C:

A rollback drill can retrieve the required prior image while unused versions still expire. This instead addresses a different case: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. For the stated situation (A container image with a known critical OS vulnerability is built and deployed because only compilation and unit testing are gated.), the better verification is: A test image with a policy-prohibited finding is rejected before production deployment. The deciding distinction is: Security assessment should be incorporated at a stage where an unsafe artifact can be blocked.

D:

A destructive replacement requires explicit approval and safe migration planning. This instead addresses a different case: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor. For the stated situation (A container image with a known critical OS vulnerability is built and deployed because only compilation and unit testing are gated.), the better verification is: A test image with a policy-prohibited finding is rejected before production deployment. The deciding distinction is: Security assessment should be incorporated at a stage where an unsafe artifact can be blocked.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests