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 65

Question 640

After implementing a proposed fix, the team reviews: A central S3 audit bucket receives CloudTrail from most accounts but one member account fails because a KMS policy condition excludes its trail. Which result would BEST confirm that the risk is addressed?

  1. A controlled management event from the affected account arrives in the archive.
  2. A deliberately vulnerable test image is found and corrected through a tracked release.
  3. A test rotation preserves authorized access and invalidates the prior credential on schedule.
  4. A sample finding appears centrally with originating account and severity.

Explanation

Correct Answer

A:

A controlled management event from the affected account arrives in the archive. The approved action is: Correct narrowly scoped policy conditions for the approved organization trail. The risk principle is: Central security logging depends on correct service delivery permissions for every intended account.

Incorrect Answers

B:

A deliberately vulnerable test image is found and corrected through a tracked release. This instead addresses a different case: A new AMI enters production with an outdated system package, but the organization runs vulnerability assessments only once annually. For the stated situation (A central S3 audit bucket receives CloudTrail from most accounts but one member account fails because a KMS policy condition excludes its trail.), the better verification is: A controlled management event from the affected account arrives in the archive. The deciding distinction is: Central security logging depends on correct service delivery permissions for every intended account.

C:

A test rotation preserves authorized access and invalidates the prior credential on schedule. This instead addresses a different case: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. For the stated situation (A central S3 audit bucket receives CloudTrail from most accounts but one member account fails because a KMS policy condition excludes its trail.), the better verification is: A controlled management event from the affected account arrives in the archive. The deciding distinction is: Central security logging depends on correct service delivery permissions for every intended account.

D:

A sample finding appears centrally with originating account and severity. This instead addresses a different case: A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow. For the stated situation (A central S3 audit bucket receives CloudTrail from most accounts but one member account fails because a KMS policy condition excludes its trail.), the better verification is: A controlled management event from the affected account arrives in the archive. The deciding distinction is: Central security logging depends on correct service delivery permissions for every intended account.

Question 641

Before changing production, engineers find: A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory. Which investigation should the engineer perform FIRST?

  1. Measure task duration, timeouts, retry safety and progress checkpoints.
  2. Review synthesized CloudFormation, construct defaults, bucket policies and deployed exceptions.
  3. Review agent connectivity, hybrid activation, licensing requirements and node enrollment.
  4. Examine event identifiers, retry behavior, transactional storage and duplicate records.

Explanation

Correct Answer

C:

Review agent connectivity, hybrid activation, licensing requirements and node enrollment. The governing principle is: Hybrid systems can be managed through supported SSM activation and scoped policies where reachable. The next controlled engineering decision is: Register supported hybrid nodes in Systems Manager and assign compliant patch baselines.

Incorrect Answers

A:

Measure task duration, timeouts, retry safety and progress checkpoints. This instead addresses a different case: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. For the stated situation (A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory.), the better investigation is: Review agent connectivity, hybrid activation, licensing requirements and node enrollment. The deciding distinction is: Hybrid systems can be managed through supported SSM activation and scoped policies where reachable.

B:

Review synthesized CloudFormation, construct defaults, bucket policies and deployed exceptions. This instead addresses a different case: A reusable AWS CDK construct creates S3 buckets with public access enabled unless individual teams remember to override the setting. For the stated situation (A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory.), the better investigation is: Review agent connectivity, hybrid activation, licensing requirements and node enrollment. The deciding distinction is: Hybrid systems can be managed through supported SSM activation and scoped policies where reachable.

D:

Examine event identifiers, retry behavior, transactional storage and duplicate records. 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 datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory.), the better investigation is: Review agent connectivity, hybrid activation, licensing requirements and node enrollment. The deciding distinction is: Hybrid systems can be managed through supported SSM activation and scoped policies where reachable.

Question 642

A DevOps team is reviewing: A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails. Which TWO complementary actions should it take? Select TWO answers.

  1. Add narrowly scoped cross-account bucket and necessary key grants in both authorization planes.
  2. Request fresh short-lived credentials only when the gated deployment action begins.
  3. Replace stored access keys with a least-privilege EC2 instance profile role.
  4. Deliver CloudTrail logs to a separate protected account with controlled immutable retention where needed.
  5. Inspect session duration, approval stage placement and credential acquisition logic.

Explanation

Correct Answers

B:

Request fresh short-lived credentials only when the gated deployment action begins. This is a required controlled engineering action for the stated 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. The complementary correct action is: Inspect session duration, approval stage placement and credential acquisition logic. Both follow the principle: Temporary credential lifetime and retrieval must match execution and approval workflow timing.

E:

Inspect session duration, approval stage placement and credential acquisition logic. This is a required diagnostic evidence step for the stated 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. The complementary correct action is: Request fresh short-lived credentials only when the gated deployment action begins. Both follow the principle: Temporary credential lifetime and retrieval must match execution and approval workflow timing.

Incorrect Answers

A:

Add narrowly scoped cross-account bucket and necessary key grants in both authorization planes. 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 session duration, approval stage placement and credential acquisition logic.) and design change (Request fresh short-lived credentials only when the gated deployment action begins.). These two steps address: A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails.

C:

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 session duration, approval stage placement and credential acquisition logic.) and design change (Request fresh short-lived credentials only when the gated deployment action begins.). These two steps address: A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails.

D:

Deliver CloudTrail logs to a separate protected account with controlled immutable retention where needed. This is suitable for another situation: An administrator can modify production resources and delete the only CloudTrail delivery bucket objects using the same role. In this case, engineers instead need the paired investigation (Inspect session duration, approval stage placement and credential acquisition logic.) and design change (Request fresh short-lived credentials only when the gated deployment action begins.). These two steps address: A pipeline uses STS credentials to deploy a stack, but those credentials expire during a long manual approval pause and the deployment later fails.

Question 643

An AWS platform team investigates this condition: An ECS fleet includes both x86_64 and Arm64 capacity, but a pipeline publishes only an x86 image under a generic tag. Which DevOps principle BEST explains the core problem?

  1. Release testing should include representative cohorts and post-traffic observation before full rollout.
  2. Infrastructure images should be rebuilt and validated through a repeatable automated process.
  3. Build artifacts must match the target compute architecture and runtime requirements.
  4. Release artifacts need immutable identifiers and protected retention for reproducibility.

Explanation

Correct Answer

C:

Build artifacts must match the target compute architecture and runtime requirements. Relevant first evidence: Inspect image manifest, platform architecture, task definition and placement failures. The resulting controlled response is: Publish verified architecture-specific images or a multi-architecture manifest as appropriate.

Incorrect Answers

A:

Release testing should include representative cohorts and post-traffic observation before full rollout. This instead addresses a different case: A new payment option passes staging but causes failures only for a small set of customer geographies. For the stated situation (An ECS fleet includes both x86_64 and Arm64 capacity, but a pipeline publishes only an x86 image under a generic tag.), the better principle is: Build artifacts must match the target compute architecture and runtime requirements. The deciding distinction is: Build artifacts must match the target compute architecture and runtime requirements.

B:

Infrastructure images should be rebuilt and validated through a repeatable automated process. This instead addresses a different case: Production EC2 Auto Scaling launches instances from an AMI built manually months earlier with inconsistent patch levels. For the stated situation (An ECS fleet includes both x86_64 and Arm64 capacity, but a pipeline publishes only an x86 image under a generic tag.), the better principle is: Build artifacts must match the target compute architecture and runtime requirements. The deciding distinction is: Build artifacts must match the target compute architecture and runtime requirements.

D:

Release artifacts need immutable identifiers and protected retention for reproducibility. This instead addresses a different case: A container image tag is overwritten weekly, so audit teams cannot reproduce the exact build used for an earlier release. For the stated situation (An ECS fleet includes both x86_64 and Arm64 capacity, but a pipeline publishes only an x86 image under a generic tag.), the better principle is: Build artifacts must match the target compute architecture and runtime requirements. The deciding distinction is: Build artifacts must match the target compute architecture and runtime requirements.

Question 644

After implementing a proposed fix, the team reviews: A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order. Which result would BEST confirm that the risk is addressed?

  1. A newly added test account receives the approved stack and OU removal behavior follows policy.
  2. A clean stack creation succeeds repeatedly without timing-dependent manual retries.
  3. A management event in a new member account arrives at the controlled log archive.
  4. A new test environment provisions the function and trigger without console-only steps.

Explanation

Correct Answer

B:

A clean stack creation succeeds repeatedly without timing-dependent manual retries. The approved action is: Model the dependency in the stack and ensure required resources exist before dependent operations. The risk principle is: IaC must express resource relationships and wait for required dependencies before use.

Incorrect Answers

A:

A newly added test account receives the approved stack and OU removal behavior follows policy. This instead addresses a different case: A central platform team needs to roll out an approved Config rule to newly joined accounts across multiple Regions without manual role creation each time. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better verification is: A clean stack creation succeeds repeatedly without timing-dependent manual retries. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.

C:

A management event in a new member account arrives at the controlled log archive. This instead addresses a different case: A newly onboarded account does not forward CloudTrail management activity to the security archive account. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better verification is: A clean stack creation succeeds repeatedly without timing-dependent manual retries. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.

D:

A new test environment provisions the function and trigger without console-only steps. This instead addresses a different case: Developers manually create Lambda permissions and API Gateway integrations after deploying a packaged application, causing environment differences. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better verification is: A clean stack creation succeeds repeatedly without timing-dependent manual retries. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.

Question 645

The DevOps team must resolve this scenario: A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out. Which engineering change is MOST appropriate?

  1. Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope.
  2. Orchestrate tasks with Step Functions including bounded retries and catch paths.
  3. Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy.
  4. Schedule compliant patching through approved maintenance windows and targeted baselines.

Explanation

Correct Answer

B:

Orchestrate tasks with Step Functions including bounded retries and catch paths. Its validation is: A simulated timeout follows the expected recovery or compensation path without skipped stages. The principle is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

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 manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out.), the better engineering action is: Orchestrate tasks with Step Functions including bounded retries and catch paths. The deciding distinction is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

C:

Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy. This instead addresses a different case: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired. For the stated situation (A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out.), the better engineering action is: Orchestrate tasks with Step Functions including bounded retries and catch paths. The deciding distinction is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

D:

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 manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out.), the better engineering action is: Orchestrate tasks with Step Functions including bounded retries and catch paths. The deciding distinction is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

Question 646

After implementing a proposed fix, the team reviews: A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand. Which result would BEST confirm that the risk is addressed?

  1. A broken checkout fails release validation despite a healthy root URL response.
  2. The pipeline blocks release when representative p99 latency exceeds the approved objective.
  3. A failing pull request cannot merge, while a passing reviewed change can.
  4. An unrelated change does not deploy billing, while a relevant shared component still triggers required tests.

Explanation

Correct Answer

B:

The pipeline blocks release when representative p99 latency exceeds the approved objective. The approved action is: Run a controlled performance stage with agreed throughput and latency gates. The risk principle is: Performance acceptance must use representative concurrency and measured service-level thresholds.

Incorrect Answers

A:

A broken checkout fails release validation despite a healthy root URL response. This instead addresses a different case: After a deployment, the homepage returns HTTP 200 while checkout is broken for authenticated customers. For the stated situation (A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand.), the better verification is: The pipeline blocks release when representative p99 latency exceeds the approved objective. The deciding distinction is: Performance acceptance must use representative concurrency and measured service-level thresholds.

C:

A failing pull request cannot merge, while a passing reviewed change can. This instead addresses a different case: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source. For the stated situation (A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand.), the better verification is: The pipeline blocks release when representative p99 latency exceeds the approved objective. The deciding distinction is: Performance acceptance must use representative concurrency and measured service-level thresholds.

D:

An unrelated change does not deploy billing, while a relevant shared component still triggers required tests. This instead addresses a different case: A monorepo contains infrastructure, mobile and billing folders, but every README edit launches all three expensive production pipelines. For the stated situation (A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand.), the better verification is: The pipeline blocks release when representative p99 latency exceeds the approved objective. The deciding distinction is: Performance acceptance must use representative concurrency and measured service-level thresholds.

Question 647

The DevOps team must resolve this scenario: A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion. Which engineering change is MOST appropriate?

  1. Spread healthy application targets and sufficient capacity across at least two appropriate AZs.
  2. Implement bounded retries and use appropriate cluster endpoints around database failover.
  3. Configure failover routing records with valid health checks and appropriate backup endpoint.
  4. Configure appropriate CloudFront origin failover using a viable secondary origin.

Explanation

Correct Answer

B:

Implement bounded retries and use appropriate cluster endpoints around database failover. Its validation is: A planned failover produces only acceptable transient errors and service recovers. The principle is: Availability requires both managed database failover and application-side transient fault handling.

Incorrect Answers

A:

Spread healthy application targets and sufficient capacity across at least two appropriate AZs. 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 (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better engineering action is: Implement bounded retries and use appropriate cluster endpoints around database failover. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.

C:

Configure failover routing records with valid health checks and appropriate backup endpoint. This instead addresses a different case: A secondary-region service is healthy but Route 53 sends users to a failed primary endpoint because its failover record has no meaningful health check. For the stated situation (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better engineering action is: Implement bounded retries and use appropriate cluster endpoints around database failover. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.

D:

Configure appropriate CloudFront origin failover using a viable secondary origin. This instead addresses a different case: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket. For the stated situation (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better engineering action is: Implement bounded retries and use appropriate cluster endpoints around database failover. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.

Question 648

Before changing production, engineers find: An API Gateway operation returns 504 and the Lambda function times out only after calling a VPC-hosted database. Which investigation should the engineer perform FIRST?

  1. Inspect Auto Scaling activity history, placement errors, launch template and allowed subnets.
  2. Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites.
  3. Inspect build logs, artifact S3 bucket, KMS key policy and CodeBuild role permissions.
  4. Review Lambda duration, VPC route/security groups, database metrics and X-Ray traces.

Explanation

Correct Answer

D:

Review Lambda duration, VPC route/security groups, database metrics and X-Ray traces. The governing principle is: Timeout diagnosis should separate function execution, network reachability and downstream latency. The next controlled engineering decision is: Correct the measured network or query bottleneck and choose an appropriate timeout.

Incorrect Answers

A:

Inspect Auto Scaling activity history, placement errors, launch template and allowed subnets. This instead addresses a different case: An Auto Scaling group repeatedly fails to launch enough instances in one AZ despite other AZs having capacity. For the stated situation (An API Gateway operation returns 504 and the Lambda function times out only after calling a VPC-hosted database.), the better investigation is: Review Lambda duration, VPC route/security groups, database metrics and X-Ray traces. The deciding distinction is: Timeout diagnosis should separate function execution, network reachability and downstream latency.

B:

Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites. This instead addresses a different case: An automation starts on a fixed schedule even though the required S3 data file often arrives late, causing incomplete daily reports. For the stated situation (An API Gateway operation returns 504 and the Lambda function times out only after calling a VPC-hosted database.), the better investigation is: Review Lambda duration, VPC route/security groups, database metrics and X-Ray traces. The deciding distinction is: Timeout diagnosis should separate function execution, network reachability and downstream latency.

C:

Inspect build logs, artifact S3 bucket, KMS key policy and CodeBuild role permissions. This instead addresses a different case: A pipeline fails at CodeBuild DOWNLOAD_SOURCE with AccessDenied after a KMS key policy change. For the stated situation (An API Gateway operation returns 504 and the Lambda function times out only after calling a VPC-hosted database.), the better investigation is: Review Lambda duration, VPC route/security groups, database metrics and X-Ray traces. The deciding distinction is: Timeout diagnosis should separate function execution, network reachability and downstream latency.

Question 649

The DevOps team must resolve this scenario: A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps. Which engineering change is MOST appropriate?

  1. Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows.
  2. Pre-provision foundational networking and validate recoverable capacity expansion.
  3. Define least-privilege emergency DNS roles and practice failover under expected conditions.
  4. Configure suitable warmup and scaling policies so boot activity is not misread as demand.

Explanation

Correct Answer

A:

Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows. Its validation is: A recovery simulation restores service consistently with recorded RTO and dependencies. The principle is: Disaster recovery needs repeatable orchestration and measured test evidence.

Incorrect Answers

B:

Pre-provision foundational networking and validate recoverable capacity expansion. This instead addresses a different case: A pilot-light disaster recovery setup replicates data but recovery scripts try to restore full production capacity into an undersized subnet with insufficient IPs. For the stated situation (A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps.), the better engineering action is: Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows. The deciding distinction is: Disaster recovery needs repeatable orchestration and measured test evidence.

C:

Define least-privilege emergency DNS roles and practice failover under expected conditions. This instead addresses a different case: The secondary service is healthy, but a disaster exercise reveals operators cannot change DNS because the failover role lacks permission. For the stated situation (A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps.), the better engineering action is: Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows. The deciding distinction is: Disaster recovery needs repeatable orchestration and measured test evidence.

D:

Configure suitable warmup and scaling policies so boot activity is not misread as demand. This instead addresses a different case: An EC2 Auto Scaling policy sees high CPU during boot and launches many extra instances before new nodes can serve traffic. For the stated situation (A failover runbook manually changes 14 DNS and compute settings in a fixed order; quarterly drills frequently skip steps.), the better engineering action is: Automate suitable recovery steps with controlled Step Functions or Systems Manager workflows. The deciding distinction is: Disaster recovery needs repeatable orchestration and measured test evidence.

Question 650

The DevOps team must resolve this scenario: Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database. Which engineering change is MOST appropriate?

  1. Use expand-and-contract migration with staged validation of both old and new applications.
  2. Add an isolated integration stage with representative database access and verifiable test assertions.
  3. Run integration tests in a segregated account with constrained resource access.
  4. Configure a target-account deployment role trusted by the tooling role, with minimum required actions.

Explanation

Correct Answer

B:

Add an isolated integration stage with representative database access and verifiable test assertions. Its validation is: A deliberately invalid database identity fails the gate before production promotion. The principle is: Integration testing must exercise dependent services and environment configuration, not just isolated functions.

Incorrect Answers

A:

Use expand-and-contract migration with staged validation of both old and new applications. 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 (Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database.), the better engineering action is: Add an isolated integration stage with representative database access and verifiable test assertions. The deciding distinction is: Integration testing must exercise dependent services and environment configuration, not just isolated functions.

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 (Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database.), the better engineering action is: Add an isolated integration stage with representative database access and verifiable test assertions. The deciding distinction is: Integration testing must exercise dependent services and environment configuration, not just isolated functions.

D:

Configure a target-account deployment role trusted by the tooling role, with minimum required actions. This instead addresses a different case: A delivery pipeline in a tooling account must deploy CloudFormation into isolated production accounts without storing long-term access keys. For the stated situation (Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database.), the better engineering action is: Add an isolated integration stage with representative database access and verifiable test assertions. The deciding distinction is: Integration testing must exercise dependent services and environment configuration, not just isolated functions.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests