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 19

Question 180

Before changing production, engineers find: A producer changes the event payload field name and consumers silently ignore new events while their SQS queues fill. Which investigation should the engineer perform FIRST?

  1. Inspect published event schemas, consumer parsers, DLQ counts and producer revisions.
  2. Inspect producer partition-key selection, shard mapping and processing checkpoints.
  3. Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites.
  4. Inspect failed logical resources, status reasons, external dependencies and stack events.

Explanation

Correct Answer

A:

Inspect published event schemas, consumer parsers, DLQ counts and producer revisions. The governing principle is: Event contracts and consumers need version-aware validation and safe schema evolution. The next controlled engineering decision is: Introduce versioned event contracts, compatibility checks and error routing.

Incorrect Answers

B:

Inspect producer partition-key selection, shard mapping and processing checkpoints. This instead addresses a different case: A telemetry consumer requires per-device ordering but producers assign random partition keys and observations arrive out of sequence. For the stated situation (A producer changes the event payload field name and consumers silently ignore new events while their SQS queues fill.), the better investigation is: Inspect published event schemas, consumer parsers, DLQ counts and producer revisions. The deciding distinction is: Event contracts and consumers need version-aware validation and safe schema evolution.

C:

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 (A producer changes the event payload field name and consumers silently ignore new events while their SQS queues fill.), the better investigation is: Inspect published event schemas, consumer parsers, DLQ counts and producer revisions. The deciding distinction is: Event contracts and consumers need version-aware validation and safe schema evolution.

D:

Inspect failed logical resources, status reasons, external dependencies and stack events. 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 (A producer changes the event payload field name and consumers silently ignore new events while their SQS queues fill.), the better investigation is: Inspect published event schemas, consumer parsers, DLQ counts and producer revisions. The deciding distinction is: Event contracts and consumers need version-aware validation and safe schema evolution.

Question 181

Before changing production, engineers find: A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored. Which investigation should the engineer perform FIRST?

  1. Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites.
  2. Review RDS Performance Insights, lock wait events, query changes and deployment timing.
  3. Inspect Kubernetes describe/logs, image version, configuration and probe failures.
  4. Inspect failed logical resources, status reasons, external dependencies and stack events.

Explanation

Correct Answer

D:

Inspect failed logical resources, status reasons, external dependencies and stack events. The governing principle is: Failure investigation should use CloudFormation stack events and supported recovery operations. The next controlled engineering decision is: Correct the blocking dependency and continue rollback using supported CloudFormation recovery.

Incorrect Answers

A:

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 (A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored.), the better investigation is: Inspect failed logical resources, status reasons, external dependencies and stack events. The deciding distinction is: Failure investigation should use CloudFormation stack events and supported recovery operations.

B:

Review RDS Performance Insights, lock wait events, query changes and deployment timing. This instead addresses a different case: A new backend version causes transaction timeouts and rising database deadlocks, while CPU utilization remains moderate. For the stated situation (A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored.), the better investigation is: Inspect failed logical resources, status reasons, external dependencies and stack events. The deciding distinction is: Failure investigation should use CloudFormation stack events and supported recovery operations.

C:

Inspect Kubernetes describe/logs, image version, configuration and probe failures. This instead addresses a different case: An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU. For the stated situation (A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored.), the better investigation is: Inspect failed logical resources, status reasons, external dependencies and stack events. The deciding distinction is: Failure investigation should use CloudFormation stack events and supported recovery operations.

Question 182

The DevOps team must resolve this scenario: A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand. Which engineering change is MOST appropriate?

  1. Add controlled authenticated canary tests for critical paths and fail deployment on business failures.
  2. Add producer-consumer compatibility checks to the CI pipeline.
  3. Run a controlled performance stage with agreed throughput and latency gates.
  4. Deploy pinned S3 object versions or digests after controlled artifact publication.

Explanation

Correct Answer

C:

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

Incorrect Answers

A:

Add controlled authenticated canary tests for critical paths and fail deployment on business failures. 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 engineering action is: Run a controlled performance stage with agreed throughput and latency gates. The deciding distinction is: Performance acceptance must use representative concurrency and measured service-level thresholds.

B:

Add producer-consumer compatibility checks to the CI pipeline. This instead addresses a different case: An updated ECS application changes a JSON field name; the deployment succeeds while downstream order processors begin dropping events. For the stated situation (A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand.), the better engineering action is: Run a controlled performance stage with agreed throughput and latency gates. The deciding distinction is: Performance acceptance must use representative concurrency and measured service-level thresholds.

D:

Deploy pinned S3 object versions or digests after controlled artifact publication. This instead addresses a different case: A deployment retrieves ZIP bundles from a common S3 prefix where operators can replace a file without updating the approved release record. For the stated situation (A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand.), the better engineering action is: Run a controlled performance stage with agreed throughput and latency gates. The deciding distinction is: Performance acceptance must use representative concurrency and measured service-level thresholds.

Question 183

After implementing a proposed fix, the team reviews: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket. Which result would BEST confirm that the risk is addressed?

  1. A new eligible encrypted object appears in the approved destination with expected metadata.
  2. A controlled AZ fault leaves approved customer transactions available within the target.
  3. A pilot-light drill scales enough instances with free addresses and meets RTO.
  4. A simulated primary origin fault serves approved content from the fallback source.

Explanation

Correct Answer

D:

A simulated primary origin fault serves approved content from the fallback source. The approved action is: Configure appropriate CloudFront origin failover using a viable secondary origin. The risk principle is: Origin failover requires genuinely independent origins and supported error conditions.

Incorrect Answers

A:

A new eligible encrypted object appears in the approved destination with expected metadata. 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 global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket.), the better verification is: A simulated primary origin fault serves approved content from the fallback source. The deciding distinction is: Origin failover requires genuinely independent origins and supported error conditions.

B:

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 (A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket.), the better verification is: A simulated primary origin fault serves approved content from the fallback source. The deciding distinction is: Origin failover requires genuinely independent origins and supported error conditions.

C:

A pilot-light drill scales enough instances with free addresses and meets RTO. 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 global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket.), the better verification is: A simulated primary origin fault serves approved content from the fallback source. The deciding distinction is: Origin failover requires genuinely independent origins and supported error conditions.

Question 184

A DevOps team is reviewing: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket. Which TWO complementary actions should it take? Select TWO answers.

  1. Inspect secret replication, KMS key design, role access and DNS/failover flows.
  2. Configure S3 replication with required permissions and encryption handling.
  3. Configure appropriate CloudFront origin failover using a viable secondary origin.
  4. Inspect origin group configuration, bucket dependencies and selected HTTP failure codes.
  5. Create an application-aware recovery sequence with replay safety and reconciled checkpoints.

Explanation

Correct Answers

C:

Configure appropriate CloudFront origin failover using a viable secondary origin. This is a required controlled engineering action for the stated situation: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket. The complementary correct action is: Inspect origin group configuration, bucket dependencies and selected HTTP failure codes. Both follow the principle: Origin failover requires genuinely independent origins and supported error conditions.

D:

Inspect origin group configuration, bucket dependencies and selected HTTP failure codes. This is a required diagnostic evidence step for the stated situation: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket. The complementary correct action is: Configure appropriate CloudFront origin failover using a viable secondary origin. Both follow the principle: Origin failover requires genuinely independent origins and supported error conditions.

Incorrect Answers

A:

Inspect secret replication, KMS key design, role access and DNS/failover flows. This is suitable for another situation: A warm standby web tier exists in a second Region but depends on secrets and KMS keys that are only accessible in the primary Region. In this case, engineers instead need the paired investigation (Inspect origin group configuration, bucket dependencies and selected HTTP failure codes.) and design change (Configure appropriate CloudFront origin failover using a viable secondary origin.). These two steps address: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket.

B:

Configure S3 replication with required permissions and encryption handling. This is suitable for another situation: A document service requires copies in a separate Region, but new objects stay only in the source S3 bucket. In this case, engineers instead need the paired investigation (Inspect origin group configuration, bucket dependencies and selected HTTP failure codes.) and design change (Configure appropriate CloudFront origin failover using a viable secondary origin.). These two steps address: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket.

E:

Create an application-aware recovery sequence with replay safety and reconciled checkpoints. This is suitable for another situation: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records. In this case, engineers instead need the paired investigation (Inspect origin group configuration, bucket dependencies and selected HTTP failure codes.) and design change (Configure appropriate CloudFront origin failover using a viable secondary origin.). These two steps address: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket.

Question 185

Before changing production, engineers find: A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket. Which investigation should the engineer perform FIRST?

  1. Review RDS deployment mode, client retry behavior, endpoint, RTO and current backups.
  2. Inspect origin group configuration, bucket dependencies and selected HTTP failure codes.
  3. Inspect cookie handling, session persistence, application state and failure tests.
  4. Inspect hit ratios, query rate, freshness needs and per-user access controls.

Explanation

Correct Answer

B:

Inspect origin group configuration, bucket dependencies and selected HTTP failure codes. The governing principle is: Origin failover requires genuinely independent origins and supported error conditions. The next controlled engineering decision is: Configure appropriate CloudFront origin failover using a viable secondary origin.

Incorrect Answers

A:

Review RDS deployment mode, client retry behavior, endpoint, RTO and current backups. 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 global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket.), the better investigation is: Inspect origin group configuration, bucket dependencies and selected HTTP failure codes. The deciding distinction is: Origin failover requires genuinely independent origins and supported error conditions.

C:

Inspect cookie handling, session persistence, application state and failure tests. This instead addresses a different case: Two application instances run in distinct AZs but all sessions are stored on one instance and users lose carts during target failures. For the stated situation (A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket.), the better investigation is: Inspect origin group configuration, bucket dependencies and selected HTTP failure codes. The deciding distinction is: Origin failover requires genuinely independent origins and supported error conditions.

D:

Inspect hit ratios, query rate, freshness needs and per-user access controls. This instead addresses a different case: An authenticated read-heavy API repeatedly queries a database for identical catalog metadata, exhausting database read capacity. For the stated situation (A global static site uses CloudFront but both primary and fallback origins point to the same unavailable S3 bucket.), the better investigation is: Inspect origin group configuration, bucket dependencies and selected HTTP failure codes. The deciding distinction is: Origin failover requires genuinely independent origins and supported error conditions.

Question 186

An AWS platform team investigates this condition: A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out. Which DevOps principle BEST explains the core problem?

  1. Hybrid systems can be managed through supported SSM activation and scoped policies where reachable.
  2. Machine-to-machine multi-account access should use STS role assumption with scoped trust.
  3. Automated resource cleanup must constrain target scope and irreversible actions.
  4. Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

Explanation

Correct Answer

D:

Complex automation benefits from explicit state transitions, retries, timeouts and compensation. Relevant first evidence: Map task dependencies, failure branches, state data and side effects. The resulting controlled response is: Orchestrate tasks with Step Functions including bounded retries and catch paths.

Incorrect Answers

A:

Hybrid systems can be managed through supported SSM activation and scoped policies where reachable. This instead addresses a different case: A datacenter fleet and EC2 instances need the same audited patch procedure, but offline servers are not in Systems Manager inventory. 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 principle is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation. The deciding distinction is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

B:

Machine-to-machine multi-account access should use STS role assumption with scoped trust. This instead addresses a different case: A central deployment role uses a shared user access key to write objects to member-account buckets. 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 principle is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation. The deciding distinction is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

C:

Automated resource cleanup must constrain target scope and irreversible actions. 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 manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out.), the better principle is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation. The deciding distinction is: Complex automation benefits from explicit state transitions, retries, timeouts and compensation.

Question 187

An engineering review identifies: A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate. Which shortcut is MOST unsafe for this exact condition?

  1. Deploy both repositories simultaneously and assume their successful builds prove compatibility.
  2. Increase Lambda concurrency without measuring database connection utilization.
  3. Give all repositories organization-wide production deployment access for simpler onboarding.
  4. Treat a successful unit-test job as the sole authorization to change regulated production.

Explanation

Correct Answer

A:

Deploy both repositories simultaneously and assume their successful builds prove compatibility. The case is: A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate. A safer engineering response is: Introduce contract testing and backward-compatible staged promotion between affected pipelines. The deciding principle is: Multi-service releases need explicit interface compatibility, version and rollout coordination.

Incorrect Answers

B:

Increase Lambda concurrency without measuring database connection utilization. This instead addresses a different case: A deployment immediately starts hundreds of Lambda workers, exhausting relational database connections and making rollback harder. For the stated situation (A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate.), the better unsafe assumption to reject is: Deploy both repositories simultaneously and assume their successful builds prove compatibility. The deciding distinction is: Multi-service releases need explicit interface compatibility, version and rollout coordination.

C:

Give all repositories organization-wide production deployment access for simpler onboarding. This instead addresses a different case: A shared CodePipeline connection to an external source provider allows unrelated projects to trigger privileged production pipelines. For the stated situation (A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate.), the better unsafe assumption to reject is: Deploy both repositories simultaneously and assume their successful builds prove compatibility. The deciding distinction is: Multi-service releases need explicit interface compatibility, version and rollout coordination.

D:

Treat a successful unit-test job as the sole authorization to change regulated production. This instead addresses a different case: A critical payments service is automatically promoted from a successful staging build directly into production without business acceptance. For the stated situation (A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate.), the better unsafe assumption to reject is: Deploy both repositories simultaneously and assume their successful builds prove compatibility. The deciding distinction is: Multi-service releases need explicit interface compatibility, version and rollout coordination.

Question 188

The DevOps team must resolve this scenario: An ECS Fargate application scales tasks manually and saturates its ALB during promotional traffic spikes. Which engineering change is MOST appropriate?

  1. Introduce bounded exponential backoff, jitter, throttling and staged traffic restoration.
  2. Configure ECS Service Auto Scaling with appropriate target tracking and bounds.
  3. Configure suitable warmup and scaling policies so boot activity is not misread as demand.
  4. Install and configure supported metrics collection and reasonable HPA thresholds.

Explanation

Correct Answer

B:

Configure ECS Service Auto Scaling with appropriate target tracking and bounds. Its validation is: Traffic replay scales tasks before latency exceeds agreed business thresholds. The principle is: Container service scaling should use load-appropriate metrics and capacity limits.

Incorrect Answers

A:

Introduce bounded exponential backoff, jitter, throttling and staged traffic restoration. This instead addresses a different case: During a regional outage, aggressive retry loops cause all recovered services to overload the backup database within minutes. For the stated situation (An ECS Fargate application scales tasks manually and saturates its ALB during promotional traffic spikes.), the better engineering action is: Configure ECS Service Auto Scaling with appropriate target tracking and bounds. The deciding distinction is: Container service scaling should use load-appropriate metrics and capacity limits.

C:

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 (An ECS Fargate application scales tasks manually and saturates its ALB during promotional traffic spikes.), the better engineering action is: Configure ECS Service Auto Scaling with appropriate target tracking and bounds. The deciding distinction is: Container service scaling should use load-appropriate metrics and capacity limits.

D:

Install and configure supported metrics collection and reasonable HPA thresholds. This instead addresses a different case: A Kubernetes horizontal pod autoscaler is configured but never scales pods because its custom metric adapter is missing. For the stated situation (An ECS Fargate application scales tasks manually and saturates its ALB during promotional traffic spikes.), the better engineering action is: Configure ECS Service Auto Scaling with appropriate target tracking and bounds. The deciding distinction is: Container service scaling should use load-appropriate metrics and capacity limits.

Question 189

The DevOps team must resolve this scenario: Member accounts send CloudTrail logs to a central S3 bucket but delivery fails after the bucket switches to a new customer managed KMS key. Which engineering change is MOST appropriate?

  1. Enable appropriately scoped VPC Flow Logs to a secure central destination.
  2. Configure a supported CloudWatch Logs subscription to the approved analytics pipeline.
  3. Configure a CloudWatch alarm with supported EC2 recovery action where appropriate.
  4. Correct least-privilege S3 and KMS grants for the organization trail destination.

Explanation

Correct Answer

D:

Correct least-privilege S3 and KMS grants for the organization trail destination. Its validation is: Test audit events resume delivery and are decryptable by approved security analysts. The principle is: Central log delivery requires compatible bucket policies and KMS key permissions for service principals.

Incorrect Answers

A:

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 (Member accounts send CloudTrail logs to a central S3 bucket but delivery fails after the bucket switches to a new customer managed KMS key.), the better engineering action is: Correct least-privilege S3 and KMS grants for the organization trail destination. The deciding distinction is: Central log delivery requires compatible bucket policies and KMS key permissions for service principals.

B:

Configure a supported CloudWatch Logs subscription to the approved analytics pipeline. This instead addresses a different case: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded. For the stated situation (Member accounts send CloudTrail logs to a central S3 bucket but delivery fails after the bucket switches to a new customer managed KMS key.), the better engineering action is: Correct least-privilege S3 and KMS grants for the organization trail destination. The deciding distinction is: Central log delivery requires compatible bucket policies and KMS key permissions for service principals.

C:

Configure a CloudWatch alarm with supported EC2 recovery action where appropriate. This instead addresses a different case: A critical single EC2 instance occasionally fails hardware health checks, but operators discover the outage only when customers complain. For the stated situation (Member accounts send CloudTrail logs to a central S3 bucket but delivery fails after the bucket switches to a new customer managed KMS key.), the better engineering action is: Correct least-privilege S3 and KMS grants for the organization trail destination. The deciding distinction is: Central log delivery requires compatible bucket policies and KMS key permissions for service principals.

Question 190

An AWS platform team investigates this condition: Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database. Which DevOps principle BEST explains the core problem?

  1. Schema migration tests must account for temporarily coexisting application versions.
  2. Artifact integrity should be verified against immutable signed or hashed release metadata.
  3. Contract tests should validate schemas and compatibility between services across versions.
  4. Integration testing must exercise dependent services and environment configuration, not just isolated functions.

Explanation

Correct Answer

D:

Integration testing must exercise dependent services and environment configuration, not just isolated functions. Relevant first evidence: Review staged connection settings, test secrets, IAM role access and failed connection traces. The resulting controlled response is: Add an isolated integration stage with representative database access and verifiable test assertions.

Incorrect Answers

A:

Schema migration tests must account for temporarily coexisting application versions. 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 principle is: Integration testing must exercise dependent services and environment configuration, not just isolated functions. The deciding distinction is: Integration testing must exercise dependent services and environment configuration, not just isolated functions.

B:

Artifact integrity should be verified against immutable signed or hashed release metadata. This instead addresses a different case: A deployment retrieves ZIP bundles from a common S3 prefix where operators can replace a file without updating the approved release record. For the stated situation (Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database.), the better principle is: Integration testing must exercise dependent services and environment configuration, not just isolated functions. The deciding distinction is: Integration testing must exercise dependent services and environment configuration, not just isolated functions.

C:

Contract tests should validate schemas and compatibility between services across versions. This instead addresses a different case: An updated ECS application changes a JSON field name; the deployment succeeds while downstream order processors begin dropping events. For the stated situation (Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database.), the better principle is: Integration testing must exercise dependent services and environment configuration, not just isolated functions. 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