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 81

Question 800

The DevOps team must resolve this scenario: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source. Which engineering change is MOST appropriate?

  1. Build a verified image and roll the Auto Scaling group with instance refresh or a controlled deployment.
  2. Run a controlled performance stage with agreed throughput and latency gates.
  3. Run integration tests in a segregated account with constrained resource access.
  4. Trigger CodeBuild tests on pull requests and make their status mandatory for merge.

Explanation

Correct Answer

D:

Trigger CodeBuild tests on pull requests and make their status mandatory for merge. Its validation is: A failing pull request cannot merge, while a passing reviewed change can. The principle is: Continuous integration should gate protected branches on automated test results before merge.

Incorrect Answers

A:

Build a verified image and roll the Auto Scaling group with instance refresh or a controlled deployment. This instead addresses a different case: An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes. For the stated situation (Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source.), the better engineering action is: Trigger CodeBuild tests on pull requests and make their status mandatory for merge. The deciding distinction is: Continuous integration should gate protected branches on automated test results before merge.

B:

Run a controlled performance stage with agreed throughput and latency gates. This instead addresses a different case: A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand. For the stated situation (Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source.), the better engineering action is: Trigger CodeBuild tests on pull requests and make their status mandatory for merge. The deciding distinction is: Continuous integration should gate protected branches on automated test results before merge.

C:

Run integration tests in a segregated account with constrained resource access. This instead addresses a different case: Integration tests frequently overwrite production queues because staging jobs use a copied production endpoint variable. For the stated situation (Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source.), the better engineering action is: Trigger CodeBuild tests on pull requests and make their status mandatory for merge. The deciding distinction is: Continuous integration should gate protected branches on automated test results before merge.

Question 801

The DevOps team must resolve this scenario: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records. Which engineering change is MOST appropriate?

  1. Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows.
  2. Configure S3 replication with required permissions and encryption handling.
  3. Create an application-aware recovery sequence with replay safety and reconciled checkpoints.
  4. Use protected cross-account or cross-Region backups with appropriately isolated recovery roles.

Explanation

Correct Answer

C:

Create an application-aware recovery sequence with replay safety and reconciled checkpoints. Its validation is: A drill restores an entire order and payment flow without missing or duplicated settlement. The principle is: Recovery needs application consistency and coordinated replay across dependent state.

Incorrect Answers

A:

Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows. This instead addresses a different case: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps. For the stated situation (A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records.), the better engineering action is: Create an application-aware recovery sequence with replay safety and reconciled checkpoints. The deciding distinction is: Recovery needs application consistency and coordinated replay across dependent state.

B:

Configure S3 replication with required permissions and encryption handling. This instead addresses a different case: A document service requires copies in a separate Region, but new objects stay only in the source S3 bucket. For the stated situation (A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records.), the better engineering action is: Create an application-aware recovery sequence with replay safety and reconciled checkpoints. The deciding distinction is: Recovery needs application consistency and coordinated replay across dependent state.

D:

Use protected cross-account or cross-Region backups with appropriately isolated recovery roles. This instead addresses a different case: Ransomware could delete backups because production administrators have the same permissions on the only backup vault. For the stated situation (A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records.), the better engineering action is: Create an application-aware recovery sequence with replay safety and reconciled checkpoints. The deciding distinction is: Recovery needs application consistency and coordinated replay across dependent state.

Question 802

A DevOps team is reviewing: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny. Which TWO complementary actions should it take? Select TWO answers.

  1. Review principal ARN, IAM allow, bucket policy, KMS policy and any explicit deny.
  2. Inspect Access Analyzer findings, service last accessed data and CloudTrail usage.
  3. Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation.
  4. Inspect session duration, approval stage placement and credential acquisition logic.
  5. Inspect inherited SCPs, IAM identity policy and the denied API condition.

Explanation

Correct Answers

C:

Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation. This is a required controlled engineering action for the stated situation: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny. The complementary correct action is: Inspect inherited SCPs, IAM identity policy and the denied API condition. Both follow the principle: Organization guardrails limit effective permissions regardless of broad account IAM Allow.

E:

Inspect inherited SCPs, IAM identity policy and the denied API condition. This is a required diagnostic evidence step for the stated situation: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny. The complementary correct action is: Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation. Both follow the principle: Organization guardrails limit effective permissions regardless of broad account IAM Allow.

Incorrect Answers

A:

Review principal ARN, IAM allow, bucket policy, KMS policy and any explicit deny. This is suitable for another situation: A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account. In this case, engineers instead need the paired investigation (Inspect inherited SCPs, IAM identity policy and the denied API condition.) and design change (Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation.). These two steps address: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny.

B:

Inspect Access Analyzer findings, service last accessed data and CloudTrail usage. This is suitable for another situation: A workload role has accumulated broad services permissions over years, and governance wants evidence to narrow them safely. In this case, engineers instead need the paired investigation (Inspect inherited SCPs, IAM identity policy and the denied API condition.) and design change (Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation.). These two steps address: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny.

D:

Inspect session duration, approval stage placement and credential acquisition logic. This is suitable for another situation: A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails. In this case, engineers instead need the paired investigation (Inspect inherited SCPs, IAM identity policy and the denied API condition.) and design change (Adjust the approved OU guardrail or permitted design rather than bypassing IAM evaluation.). These two steps address: A developer's administrator IAM policy still fails to launch an unapproved service because an OU SCP contains an explicit deny.

Question 803

After implementing a proposed fix, the team reviews: During a regional outage, aggressive retry loops cause all recovered services to overload the backup database within minutes. Which result would BEST confirm that the risk is addressed?

  1. A controlled AZ fault leaves approved customer transactions available within the target.
  2. A drill restores an entire order and payment flow without missing or duplicated settlement.
  3. A failover exercise restores service without a secondary overload cascade.
  4. A restore drill measures recovered transaction currency within five minutes.

Explanation

Correct Answer

C:

A failover exercise restores service without a secondary overload cascade. The approved action is: Introduce bounded exponential backoff, jitter, throttling and staged traffic restoration. The risk principle is: Recovery must include downstream capacity limits, backoff and graceful degradation.

Incorrect Answers

A:

A controlled AZ fault leaves approved customer transactions available within the target. This instead addresses a different case: A production ALB forwards traffic only to instances in one Availability Zone even though the application requires tolerance of an AZ outage. For the stated situation (During a regional outage, aggressive retry loops cause all recovered services to overload the backup database within minutes.), the better verification is: A failover exercise restores service without a secondary overload cascade. The deciding distinction is: Recovery must include downstream capacity limits, backoff and graceful degradation.

B:

A drill restores an entire order and payment flow without missing or duplicated settlement. This instead addresses a different case: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records. For the stated situation (During a regional outage, aggressive retry loops cause all recovered services to overload the backup database within minutes.), the better verification is: A failover exercise restores service without a secondary overload cascade. The deciding distinction is: Recovery must include downstream capacity limits, backoff and graceful degradation.

D:

A restore drill measures recovered transaction currency within five minutes. This instead addresses a different case: A finance team requires five minutes of maximum data loss, but its AWS Backup job runs only once daily. For the stated situation (During a regional outage, aggressive retry loops cause all recovered services to overload the backup database within minutes.), the better verification is: A failover exercise restores service without a secondary overload cascade. The deciding distinction is: Recovery must include downstream capacity limits, backoff and graceful degradation.

Question 804

Before changing production, engineers find: An ALB intermittently rejects requests, but access logs are absent because the configured S3 bucket policy denies delivery. Which investigation should the engineer perform FIRST?

  1. Inspect AWS Health event source, EventBridge rules, targets and account aggregation.
  2. Inspect load balancer access log settings, S3 policy, Region and delivery status.
  3. Review log group retention settings, use case, compliance period and log costs.
  4. Inspect CloudTrail delivery errors, destination bucket policy and KMS key policy.

Explanation

Correct Answer

B:

Inspect load balancer access log settings, S3 policy, Region and delivery status. The governing principle is: ALB log delivery must have an authorized S3 destination and valid prefix permissions. The next controlled engineering decision is: Set approved bucket access and logging settings without broad public permissions.

Incorrect Answers

A:

Inspect AWS Health event source, EventBridge rules, targets and account aggregation. This instead addresses a different case: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it. For the stated situation (An ALB intermittently rejects requests, but access logs are absent because the configured S3 bucket policy denies delivery.), the better investigation is: Inspect load balancer access log settings, S3 policy, Region and delivery status. The deciding distinction is: ALB log delivery must have an authorized S3 destination and valid prefix permissions.

C:

Review log group retention settings, use case, compliance period and log costs. This instead addresses a different case: A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception. For the stated situation (An ALB intermittently rejects requests, but access logs are absent because the configured S3 bucket policy denies delivery.), the better investigation is: Inspect load balancer access log settings, S3 policy, Region and delivery status. The deciding distinction is: ALB log delivery must have an authorized S3 destination and valid prefix permissions.

D:

Inspect CloudTrail delivery errors, destination bucket policy and KMS key policy. This instead addresses a different case: Member accounts send CloudTrail logs to a central S3 bucket but delivery fails after the bucket switches to a new customer managed KMS key. For the stated situation (An ALB intermittently rejects requests, but access logs are absent because the configured S3 bucket policy denies delivery.), the better investigation is: Inspect load balancer access log settings, S3 policy, Region and delivery status. The deciding distinction is: ALB log delivery must have an authorized S3 destination and valid prefix permissions.

Question 805

The DevOps team must resolve this scenario: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct. Which engineering change is MOST appropriate?

  1. Correct the execution role or ECR/network access while preserving intended image provenance.
  2. Correct the blocking dependency and continue rollback using supported CloudFormation recovery.
  3. Document service-impacting provider conditions and take bounded regional failover actions.
  4. Configure an appropriate SQS DLQ with alerting and governed redrive procedure.

Explanation

Correct Answer

A:

Correct the execution role or ECR/network access while preserving intended image provenance. Its validation is: A replacement task pulls the pinned image and reaches healthy running state. The principle is: Container deployment failures may result from registry authentication and network access rather than code.

Incorrect Answers

B:

Correct the blocking dependency and continue rollback using supported CloudFormation recovery. This instead addresses a different case: A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored. For the stated situation (New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct.), the better engineering action is: Correct the execution role or ECR/network access while preserving intended image provenance. The deciding distinction is: Container deployment failures may result from registry authentication and network access rather than code.

C:

Document service-impacting provider conditions and take bounded regional failover actions. This instead addresses a different case: Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code. For the stated situation (New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct.), the better engineering action is: Correct the execution role or ECR/network access while preserving intended image provenance. The deciding distinction is: Container deployment failures may result from registry authentication and network access rather than code.

D:

Configure an appropriate SQS DLQ with alerting and governed redrive procedure. This instead addresses a different case: A broken message repeatedly fails an event-driven worker and blocks useful progress while on-call has no way to inspect it. For the stated situation (New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct.), the better engineering action is: Correct the execution role or ECR/network access while preserving intended image provenance. The deciding distinction is: Container deployment failures may result from registry authentication and network access rather than code.

Question 806

After implementing a proposed fix, the team reviews: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. Which result would BEST confirm that the risk is addressed?

  1. A member-account test finding appears at the approved central monitoring account.
  2. An intentionally mislabelled shared resource is excluded and cleanup actions remain auditable.
  3. The workflow can recover from a worker timeout without restarting completed destructive tasks.
  4. A test run affects only approved instances and stops within the configured error threshold.

Explanation

Correct Answer

C:

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

Incorrect Answers

A:

A member-account test finding appears at the approved central monitoring account. This instead addresses a different case: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure. For the stated situation (A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress.), the better verification is: The workflow can recover from a worker timeout without restarting completed destructive tasks. The deciding distinction is: Long-running workflows should use durable orchestration rather than a single Lambda invocation.

B:

An intentionally mislabelled shared resource is excluded and cleanup actions remain auditable. This instead addresses a different case: A Lambda cleans abandoned development stacks nightly but occasionally deletes shared production KMS keys due to an imprecise tag query. For the stated situation (A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress.), the better verification is: The workflow can recover from a worker timeout without restarting completed destructive tasks. The deciding distinction is: Long-running workflows should use durable orchestration rather than a single Lambda invocation.

D:

A test run affects only approved instances and stops within the configured error threshold. This instead addresses a different case: A fleet automation document runs shell commands as root across all tagged instances with no peer review or limit on execution concurrency. For the stated situation (A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress.), the better verification is: The workflow can recover from a worker timeout without restarting completed destructive tasks. The deciding distinction is: Long-running workflows should use durable orchestration rather than a single Lambda invocation.

Question 807

After implementing a proposed fix, the team reviews: A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low. Which result would BEST confirm that the risk is addressed?

  1. Load tests stay within payment provider quotas while preserving request handling guarantees.
  2. A controlled failover keeps recovery within the agreed service interruption objective.
  3. Geographically representative tests meet target latency without violating data rules.
  4. A burst of messages adds consumers and keeps queue age within agreed limits.

Explanation

Correct Answer

D:

A burst of messages adds consumers and keeps queue age within agreed limits. The approved action is: Implement scalable worker capacity tied to backlog-per-worker or age-based demand signals. The risk principle is: Scaling should reflect actual workload demand and processing time, not unrelated utilization alone.

Incorrect Answers

A:

Load tests stay within payment provider quotas while preserving request handling guarantees. This instead addresses a different case: A public API invokes Lambda and saturates an external payment service when automatic concurrency grows after a marketing event. For the stated situation (A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low.), the better verification is: A burst of messages adds consumers and keeps queue age within agreed limits. The deciding distinction is: Scaling should reflect actual workload demand and processing time, not unrelated utilization alone.

B:

A controlled failover keeps recovery within the agreed service interruption objective. This instead addresses a different case: A critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration. For the stated situation (A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low.), the better verification is: A burst of messages adds consumers and keeps queue age within agreed limits. The deciding distinction is: Scaling should reflect actual workload demand and processing time, not unrelated utilization alone.

C:

Geographically representative tests meet target latency without violating data rules. This instead addresses a different case: A regional API has users worldwide and latency spikes for distant users even when application instances have spare capacity. For the stated situation (A worker fleet uses CPU utilization to scale even though pending SQS message backlog increases rapidly while CPU remains low.), the better verification is: A burst of messages adds consumers and keeps queue age within agreed limits. The deciding distinction is: Scaling should reflect actual workload demand and processing time, not unrelated utilization alone.

Question 808

A DevOps team is reviewing: A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline. Which TWO complementary actions should it take? Select TWO answers.

  1. Update the construct to enforce Block Public Access and appropriate encryption by default.
  2. Adopt a documented tag taxonomy with organization tag policies and deployment checks.
  3. Enable termination protection and suitable resource retention or backup controls with restricted delete rights.
  4. Inspect stack termination protection, DeletionPolicy and cleanup job permissions.
  5. Model the dependency in the stack and ensure required resources exist before dependent operations.

Explanation

Correct Answers

C:

Enable termination protection and suitable resource retention or backup controls with restricted delete rights. This is a required controlled engineering action for the stated situation: A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline. The complementary correct action is: Inspect stack termination protection, DeletionPolicy and cleanup job permissions. Both follow the principle: Critical stateful stacks need deletion safeguards independent of ordinary deployment success.

D:

Inspect stack termination protection, DeletionPolicy and cleanup job permissions. This is a required diagnostic evidence step for the stated situation: A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline. The complementary correct action is: Enable termination protection and suitable resource retention or backup controls with restricted delete rights. Both follow the principle: Critical stateful stacks need deletion safeguards independent of ordinary deployment success.

Incorrect Answers

A:

Update the construct to enforce Block Public Access and appropriate encryption by default. 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 termination protection, DeletionPolicy and cleanup job permissions.) and design change (Enable termination protection and suitable resource retention or backup controls with restricted delete rights.). These two steps address: A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline.

B:

Adopt a documented tag taxonomy with organization tag policies and deployment checks. This is suitable for another situation: Chargeback reports omit resources because each team uses different tag keys and case variants. In this case, engineers instead need the paired investigation (Inspect stack termination protection, DeletionPolicy and cleanup job permissions.) and design change (Enable termination protection and suitable resource retention or backup controls with restricted delete rights.). These two steps address: A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline.

E:

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 stack termination protection, DeletionPolicy and cleanup job permissions.) and design change (Enable termination protection and suitable resource retention or backup controls with restricted delete rights.). These two steps address: A production database is managed in a stack whose deletion could be triggered by an overly broad cleanup pipeline.

Question 809

Before changing production, engineers find: A scheduled Secrets Manager rotation updates a credential, but its consumer application continues using the revoked password and fails authentication. Which investigation should the engineer perform FIRST?

  1. Inspect redrive policy, maxReceiveCount, retention and consumer failures.
  2. Inspect rotation function stages, secret version labels and application cache lifecycle.
  3. Inspect EventBridge event pattern, action-induced events and invocation counts.
  4. Inspect queue age, processing throughput, instance warmup and policy limits.

Explanation

Correct Answer

B:

Inspect rotation function stages, secret version labels and application cache lifecycle. The governing principle is: Credential rotation must coordinate secret state with application connection refresh and validation. The next controlled engineering decision is: Correct rotation and refresh behavior with a tested coordinated client retry path.

Incorrect Answers

A:

Inspect redrive policy, maxReceiveCount, retention and consumer failures. This instead addresses a different case: A broken message repeatedly fails an event-driven worker and blocks useful progress while on-call has no way to inspect it. For the stated situation (A scheduled Secrets Manager rotation updates a credential, but its consumer application continues using the revoked password and fails authentication.), the better investigation is: Inspect rotation function stages, secret version labels and application cache lifecycle. The deciding distinction is: Credential rotation must coordinate secret state with application connection refresh and validation.

C:

Inspect EventBridge event pattern, action-induced events and invocation counts. This instead addresses a different case: An event rule starts a Lambda that tags an EC2 resource, and the resulting CloudTrail tagging event triggers the same Lambda repeatedly. For the stated situation (A scheduled Secrets Manager rotation updates a credential, but its consumer application continues using the revoked password and fails authentication.), the better investigation is: Inspect rotation function stages, secret version labels and application cache lifecycle. The deciding distinction is: Credential rotation must coordinate secret state with application connection refresh and validation.

D:

Inspect queue age, processing throughput, instance warmup and policy limits. This instead addresses a different case: A consumer service has rapidly increasing queue lag, and responders manually launch instances rather than using a safe dynamic policy. For the stated situation (A scheduled Secrets Manager rotation updates a credential, but its consumer application continues using the revoked password and fails authentication.), the better investigation is: Inspect rotation function stages, secret version labels and application cache lifecycle. The deciding distinction is: Credential rotation must coordinate secret state with application connection refresh and validation.

Question 810

A DevOps team is reviewing: Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access. Which TWO complementary actions should it take? Select TWO answers.

  1. Request fresh short-lived credentials only when the gated deployment action begins.
  2. Implement a controlled short-lived privileged role assumption with audit and review.
  3. Enable sufficient flow log scope with protected centralized analysis.
  4. Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution.
  5. Replace stored access keys with a least-privilege EC2 instance profile role.

Explanation

Correct Answers

B:

Implement a controlled short-lived privileged role assumption with audit and review. This is a required controlled engineering action for the stated situation: Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access. The complementary correct action is: Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution. Both follow the principle: Privileged access should be time bounded, attributable and justified by operational need.

D:

Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution. This is a required diagnostic evidence step for the stated situation: Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access. The complementary correct action is: Implement a controlled short-lived privileged role assumption with audit and review. Both follow the principle: Privileged access should be time bounded, attributable and justified by operational need.

Incorrect Answers

A:

Request fresh short-lived credentials only when the gated deployment action begins. This is suitable for another situation: A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails. In this case, engineers instead need the paired investigation (Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution.) and design change (Implement a controlled short-lived privileged role assumption with audit and review.). These two steps address: Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access.

C:

Enable sufficient flow log scope with protected centralized analysis. This is suitable for another situation: Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet. In this case, engineers instead need the paired investigation (Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution.) and design change (Implement a controlled short-lived privileged role assumption with audit and review.). These two steps address: Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access.

E:

Replace stored access keys with a least-privilege EC2 instance profile role. This is suitable for another situation: An EC2 application stores a permanent IAM access key in a local configuration file to upload reports to S3. In this case, engineers instead need the paired investigation (Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution.) and design change (Implement a controlled short-lived privileged role assumption with audit and review.). These two steps address: Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests