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 33

Question 320

After implementing a proposed fix, the team reviews: Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected. Which result would BEST confirm that the risk is addressed?

  1. A stopped publisher produces a timely actionable signal rather than false healthy status.
  2. A known past change is located with principal, time and affected resource.
  3. Only vulnerable image digests are flagged and retested after remediation.
  4. A duplicate alarm event causes no duplicate destructive action and notification is consistent.

Explanation

Correct Answer

C:

Only vulnerable image digests are flagged and retested after remediation. The approved action is: Track affected images and update or replace those artifacts through governed pipelines. The risk principle is: Findings require accurate resource scope, severity and remediation tracking.

Incorrect Answers

A:

A stopped publisher produces a timely actionable signal rather than false healthy status. This instead addresses a different case: A high-severity payment error alarm stays green when the application stops publishing error metrics during an outage. For the stated situation (Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected.), the better verification is: Only vulnerable image digests are flagged and retested after remediation. The deciding distinction is: Findings require accurate resource scope, severity and remediation tracking.

B:

A known past change is located with principal, time and affected resource. This instead addresses a different case: The platform team needs to analyze months of historical organization CloudTrail records across accounts to detect policy changes. For the stated situation (Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected.), the better verification is: Only vulnerable image digests are flagged and retested after remediation. The deciding distinction is: Findings require accurate resource scope, severity and remediation tracking.

D:

A duplicate alarm event causes no duplicate destructive action and notification is consistent. This instead addresses a different case: An alarm invokes a Lambda that restarts services and pages staff, but retries sometimes perform the restart twice and send conflicting messages. For the stated situation (Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected.), the better verification is: Only vulnerable image digests are flagged and retested after remediation. The deciding distinction is: Findings require accurate resource scope, severity and remediation tracking.

Question 321

Before changing production, engineers find: A table is accidentally overwritten and operators can restore only yesterday's full snapshot, losing recent transactions. Which investigation should the engineer perform FIRST?

  1. Map recovery dependencies, state transitions, approvals and rollback criteria.
  2. Inspect bucket versioning, Object Lock governance or compliance mode, policies and retention.
  3. Review processing time distribution, visibility settings and duplicate business actions.
  4. Inspect automated backup settings, log retention, restore window and business RPO.

Explanation

Correct Answer

D:

Inspect automated backup settings, log retention, restore window and business RPO. The governing principle is: Point-in-time recovery depends on backup retention and database capabilities, not just one manual snapshot. The next controlled engineering decision is: Enable supported point-in-time recovery and rehearse restoration of an isolated database.

Incorrect Answers

A:

Map recovery dependencies, state transitions, approvals and rollback criteria. 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 table is accidentally overwritten and operators can restore only yesterday's full snapshot, losing recent transactions.), the better investigation is: Inspect automated backup settings, log retention, restore window and business RPO. The deciding distinction is: Point-in-time recovery depends on backup retention and database capabilities, not just one manual snapshot.

B:

Inspect bucket versioning, Object Lock governance or compliance mode, policies and retention. This instead addresses a different case: A regulated dataset is protected by S3 copies, but the only operator can permanently delete versions during an incident. For the stated situation (A table is accidentally overwritten and operators can restore only yesterday's full snapshot, losing recent transactions.), the better investigation is: Inspect automated backup settings, log retention, restore window and business RPO. The deciding distinction is: Point-in-time recovery depends on backup retention and database capabilities, not just one manual snapshot.

C:

Review processing time distribution, visibility settings and duplicate business actions. This instead addresses a different case: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active. For the stated situation (A table is accidentally overwritten and operators can restore only yesterday's full snapshot, losing recent transactions.), the better investigation is: Inspect automated backup settings, log retention, restore window and business RPO. The deciding distinction is: Point-in-time recovery depends on backup retention and database capabilities, not just one manual snapshot.

Question 322

The DevOps team must resolve this scenario: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. Which engineering change is MOST appropriate?

  1. Use appropriate source change triggers and path filters with explicit handling of shared dependencies.
  2. Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts.
  3. Require trusted image provenance validation before promoting production task revisions.
  4. Publish a versioned Lambda layer and deploy function versions referencing the approved layer.

Explanation

Correct Answer

B:

Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts. Its validation is: A rollback drill can retrieve the required prior image while unused versions still expire. The principle is: Artifact lifecycle rules must retain versions required for rollback and audit.

Incorrect Answers

A:

Use appropriate source change triggers and path filters with explicit handling of shared dependencies. 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 deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night.), the better engineering action is: Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts. The deciding distinction is: Artifact lifecycle rules must retain versions required for rollback and audit.

C:

Require trusted image provenance validation before promoting production task revisions. This instead addresses a different case: A registry contains internal and third-party images, and the deployment job cannot distinguish approved signed builds from untrusted tags. For the stated situation (A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night.), the better engineering action is: Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts. The deciding distinction is: Artifact lifecycle rules must retain versions required for rollback and audit.

D:

Publish a versioned Lambda layer and deploy function versions referencing the approved layer. This instead addresses a different case: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions. For the stated situation (A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night.), the better engineering action is: Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts. The deciding distinction is: Artifact lifecycle rules must retain versions required for rollback and audit.

Question 323

After implementing a proposed fix, the team reviews: An ECS fleet includes both x86_64 and Arm64 capacity, but a pipeline publishes only an x86 image under a generic tag. Which result would BEST confirm that the risk is addressed?

  1. An earlier deployment can still retrieve its exact verified image digest.
  2. A canary failure restores the alias to the last healthy function version.
  3. The build resolves approved versions and rejects an unauthorized dependency source.
  4. Controlled deployments schedule successfully on each approved platform and run matching binaries.

Explanation

Correct Answer

D:

Controlled deployments schedule successfully on each approved platform and run matching binaries. The approved action is: Publish verified architecture-specific images or a multi-architecture manifest as appropriate. The risk principle is: Build artifacts must match the target compute architecture and runtime requirements.

Incorrect Answers

A:

An earlier deployment can still retrieve its exact verified image digest. 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 verification is: Controlled deployments schedule successfully on each approved platform and run matching binaries. The deciding distinction is: Build artifacts must match the target compute architecture and runtime requirements.

B:

A canary failure restores the alias to the last healthy function version. This instead addresses a different case: A Lambda function update introduces intermittent errors that appear only under a small share of real requests. 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 verification is: Controlled deployments schedule successfully on each approved platform and run matching binaries. The deciding distinction is: Build artifacts must match the target compute architecture and runtime requirements.

C:

The build resolves approved versions and rejects an unauthorized dependency source. This instead addresses a different case: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required. 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 verification is: Controlled deployments schedule successfully on each approved platform and run matching binaries. The deciding distinction is: Build artifacts must match the target compute architecture and runtime requirements.

Question 324

An AWS platform team investigates this condition: A central S3 audit bucket receives CloudTrail from most accounts but one member account fails because a KMS policy condition excludes its trail. Which DevOps principle BEST explains the core problem?

  1. Compliance monitoring needs organization-level collection and aggregation at appropriate scope.
  2. AWS WAF application-layer rules can reduce abusive requests independently of network ACLs.
  3. Network flow telemetry can reveal accepted and rejected flow metadata when configured correctly.
  4. Central security logging depends on correct service delivery permissions for every intended account.

Explanation

Correct Answer

D:

Central security logging depends on correct service delivery permissions for every intended account. Relevant first evidence: Inspect CloudTrail delivery status, bucket policy, KMS encryption context and condition keys. The resulting controlled response is: Correct narrowly scoped policy conditions for the approved organization trail.

Incorrect Answers

A:

Compliance monitoring needs organization-level collection and aggregation at appropriate scope. This instead addresses a different case: Governance wants one view of noncompliant encrypted volumes across every AWS Organization account and Region. For the stated situation (A central S3 audit bucket receives CloudTrail from most accounts but one member account fails because a KMS policy condition excludes its trail.), the better principle is: Central security logging depends on correct service delivery permissions for every intended account. The deciding distinction is: Central security logging depends on correct service delivery permissions for every intended account.

B:

AWS WAF application-layer rules can reduce abusive requests independently of network ACLs. This instead addresses a different case: A public application faces high-volume abusive HTTP requests that pass the ALB security group and overwhelm login processing. 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 principle is: Central security logging depends on correct service delivery permissions for every intended account. The deciding distinction is: Central security logging depends on correct service delivery permissions for every intended account.

C:

Network flow telemetry can reveal accepted and rejected flow metadata when configured correctly. This instead addresses a different case: Security detects unauthorized port scans but cannot determine which source attempted connections to a sensitive subnet. 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 principle is: Central security logging depends on correct service delivery permissions for every intended account. The deciding distinction is: Central security logging depends on correct service delivery permissions for every intended account.

Question 325

A DevOps team is reviewing: Integration tests frequently overwrite production queues because staging jobs use a copied production endpoint variable. Which TWO complementary actions should it take? Select TWO answers.

  1. Add producer-consumer compatibility checks to the CI pipeline.
  2. Inspect account IDs, test endpoints, IAM permissions and environment variable provenance.
  3. Add controlled authenticated canary tests for critical paths and fail deployment on business failures.
  4. Inspect package manager configuration, external connections and CodeArtifact permissions.
  5. Run integration tests in a segregated account with constrained resource access.

Explanation

Correct Answers

B:

Inspect account IDs, test endpoints, IAM permissions and environment variable provenance. This is a required diagnostic evidence step for the stated situation: Integration tests frequently overwrite production queues because staging jobs use a copied production endpoint variable. The complementary correct action is: Run integration tests in a segregated account with constrained resource access. Both follow the principle: Automated test environments should be isolated from production resources by identity and configuration.

E:

Run integration tests in a segregated account with constrained resource access. This is a required controlled engineering action for the stated situation: Integration tests frequently overwrite production queues because staging jobs use a copied production endpoint variable. The complementary correct action is: Inspect account IDs, test endpoints, IAM permissions and environment variable provenance. Both follow the principle: Automated test environments should be isolated from production resources by identity and configuration.

Incorrect Answers

A:

Add producer-consumer compatibility checks to the CI pipeline. This is suitable for another situation: An updated ECS application changes a JSON field name; the deployment succeeds while downstream order processors begin dropping events. In this case, engineers instead need the paired investigation (Inspect account IDs, test endpoints, IAM permissions and environment variable provenance.) and design change (Run integration tests in a segregated account with constrained resource access.). These two steps address: Integration tests frequently overwrite production queues because staging jobs use a copied production endpoint variable.

C:

Add controlled authenticated canary tests for critical paths and fail deployment on business failures. This is suitable for another situation: After a deployment, the homepage returns HTTP 200 while checkout is broken for authenticated customers. In this case, engineers instead need the paired investigation (Inspect account IDs, test endpoints, IAM permissions and environment variable provenance.) and design change (Run integration tests in a segregated account with constrained resource access.). These two steps address: Integration tests frequently overwrite production queues because staging jobs use a copied production endpoint variable.

D:

Inspect package manager configuration, external connections and CodeArtifact permissions. This is suitable for another situation: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required. In this case, engineers instead need the paired investigation (Inspect account IDs, test endpoints, IAM permissions and environment variable provenance.) and design change (Run integration tests in a segregated account with constrained resource access.). These two steps address: Integration tests frequently overwrite production queues because staging jobs use a copied production endpoint variable.

Question 326

Before changing production, engineers find: Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access. Which investigation should the engineer perform FIRST?

  1. Review organization trail destinations, log archive permissions and retention control.
  2. Review principal ARN, IAM allow, bucket policy, KMS policy and any explicit deny.
  3. Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution.
  4. Review principal type, authentication context and sensitive IAM policy conditions.

Explanation

Correct Answer

C:

Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution. The governing principle is: Privileged access should be time bounded, attributable and justified by operational need. The next controlled engineering decision is: Implement a controlled short-lived privileged role assumption with audit and review.

Incorrect Answers

A:

Review organization trail destinations, log archive permissions and retention control. This instead addresses a different case: An administrator can modify production resources and delete the only CloudTrail delivery bucket objects using the same role. For the stated situation (Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access.), the better investigation is: Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution. The deciding distinction is: Privileged access should be time bounded, attributable and justified by operational need.

B:

Review principal ARN, IAM allow, bucket policy, KMS policy and any explicit deny. This instead addresses a different case: A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account. For the stated situation (Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access.), the better investigation is: Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution. The deciding distinction is: Privileged access should be time bounded, attributable and justified by operational need.

D:

Review principal type, authentication context and sensitive IAM policy conditions. This instead addresses a different case: Human operators access high-risk account settings without multifactor authentication, even though a company policy mandates it. For the stated situation (Production operators use permanently attached administrator policies to fix rare outages instead of using approved on-demand access.), the better investigation is: Inspect role assignments, session duration, emergency change tickets and CloudTrail attribution. The deciding distinction is: Privileged access should be time bounded, attributable and justified by operational need.

Question 327

A DevOps team is reviewing: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice. Which TWO complementary actions should it take? Select TWO answers.

  1. Implement a durable idempotency key and conditional write or transaction guard.
  2. Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope.
  3. Examine event identifiers, retry behavior, transactional storage and duplicate records.
  4. Schedule compliant patching through approved maintenance windows and targeted baselines.
  5. Inspect managed instance registration, SSM Inventory collection and software reports.

Explanation

Correct Answers

A:

Implement a durable idempotency key and conditional write or transaction guard. This is a required controlled engineering action for the stated situation: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice. The complementary correct action is: Examine event identifiers, retry behavior, transactional storage and duplicate records. Both follow the principle: At-least-once event processing requires idempotent operations and a stable request identity.

C:

Examine event identifiers, retry behavior, transactional storage and duplicate records. This is a required diagnostic evidence step for the stated situation: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice. The complementary correct action is: Implement a durable idempotency key and conditional write or transaction guard. Both follow the principle: At-least-once event processing requires idempotent operations and a stable request identity.

Incorrect Answers

B:

Apply reviewed region-deny guardrails with necessary exceptions at appropriate OU scope. This is suitable for another situation: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions. In this case, engineers instead need the paired investigation (Examine event identifiers, retry behavior, transactional storage and duplicate records.) and design change (Implement a durable idempotency key and conditional write or transaction guard.). These two steps address: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice.

D:

Schedule compliant patching through approved maintenance windows and targeted baselines. This is suitable for another situation: A fleet must receive OS security patches only during approved windows, with controlled reboots and exception reporting. In this case, engineers instead need the paired investigation (Examine event identifiers, retry behavior, transactional storage and duplicate records.) and design change (Implement a durable idempotency key and conditional write or transaction guard.). These two steps address: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice.

E:

Inspect managed instance registration, SSM Inventory collection and software reports. This is suitable for another situation: Operations estimates patch compliance from EC2 tags but has no verified installed software inventory. In this case, engineers instead need the paired investigation (Examine event identifiers, retry behavior, transactional storage and duplicate records.) and design change (Implement a durable idempotency key and conditional write or transaction guard.). These two steps address: An S3 ObjectCreated event invokes a Lambda that retries a billing update after a transient error and charges the same customer twice.

Question 328

An AWS platform team investigates this condition: Multiple environments share unqualified /db/password parameter names and a production application accidentally reads a staging secret. Which DevOps principle BEST explains the core problem?

  1. Reusable code should encode secure defaults and controlled override rules.
  2. Account movement can change inherited guardrails and service-managed StackSets targets.
  3. IaC refactors should identify replacement and deletion consequences before execution.
  4. Parameter naming and permissions must isolate environment configuration.

Explanation

Correct Answer

D:

Parameter naming and permissions must isolate environment configuration. Relevant first evidence: Review parameter paths, KMS encryption settings and consuming IAM roles. The resulting controlled response is: Use scoped paths or separate accounts with least-privilege parameter read access.

Incorrect Answers

A:

Reusable code should encode secure defaults and controlled override rules. 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 (Multiple environments share unqualified /db/password parameter names and a production application accidentally reads a staging secret.), the better principle is: Parameter naming and permissions must isolate environment configuration. The deciding distinction is: Parameter naming and permissions must isolate environment configuration.

B:

Account movement can change inherited guardrails and service-managed StackSets targets. This instead addresses a different case: A team moves an account to a new OU and expects an existing StackSets-managed baseline to remain unchanged without review. For the stated situation (Multiple environments share unqualified /db/password parameter names and a production application accidentally reads a staging secret.), the better principle is: Parameter naming and permissions must isolate environment configuration. The deciding distinction is: Parameter naming and permissions must isolate environment configuration.

C:

IaC refactors should identify replacement and deletion consequences before execution. This instead addresses a different case: A template refactor changes an S3 bucket logical ID, risking replacement of a bucket containing business records. For the stated situation (Multiple environments share unqualified /db/password parameter names and a production application accidentally reads a staging secret.), the better principle is: Parameter naming and permissions must isolate environment configuration. The deciding distinction is: Parameter naming and permissions must isolate environment configuration.

Question 329

An AWS platform team investigates this condition: A release pipeline runs in one Region but must deploy a serverless service to a second Region with artifacts available for that target. Which DevOps principle BEST explains the core problem?

  1. Shared dependencies should be versioned and referenced deliberately in serverless releases.
  2. Pipeline triggers should select relevant branch and file changes without missing dependencies.
  3. Cross-account delivery should assume narrowly scoped roles in each target account.
  4. Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles.

Explanation

Correct Answer

D:

Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles. Relevant first evidence: Review action region, artifact store configuration, KMS grants and destination execution permissions. The resulting controlled response is: Configure required cross-Region artifact store and least-privilege deployment action settings.

Incorrect Answers

A:

Shared dependencies should be versioned and referenced deliberately in serverless releases. This instead addresses a different case: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions. For the stated situation (A release pipeline runs in one Region but must deploy a serverless service to a second Region with artifacts available for that target.), the better principle is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles. The deciding distinction is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles.

B:

Pipeline triggers should select relevant branch and file changes without missing dependencies. 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 release pipeline runs in one Region but must deploy a serverless service to a second Region with artifacts available for that target.), the better principle is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles. The deciding distinction is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles.

C:

Cross-account delivery should assume narrowly scoped roles in each target account. 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 (A release pipeline runs in one Region but must deploy a serverless service to a second Region with artifacts available for that target.), the better principle is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles. The deciding distinction is: Cross-Region pipeline actions need correctly configured regional artifact storage and deployment roles.

Question 330

The DevOps team must resolve this scenario: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor. Which engineering change is MOST appropriate?

  1. Run integration tests in a segregated account with constrained resource access.
  2. Align target-group checks with a reliable application readiness endpoint and reachable port.
  3. Ensure tests exit nonzero on failures and publish test reports in the build workflow.
  4. Create and inspect a change set before controlled production execution.

Explanation

Correct Answer

D:

Create and inspect a change set before controlled production execution. Its validation is: A destructive replacement requires explicit approval and safe migration planning. The principle is: Infrastructure changes should be previewed and checked for destructive resource effects.

Incorrect Answers

A:

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 (A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor.), the better engineering action is: Create and inspect a change set before controlled production execution. The deciding distinction is: Infrastructure changes should be previewed and checked for destructive resource effects.

B:

Align target-group checks with a reliable application readiness endpoint and reachable port. This instead addresses a different case: An ECS task starts successfully but is continually removed from service because its target group health check targets a nonexistent path. For the stated situation (A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor.), the better engineering action is: Create and inspect a change set before controlled production execution. The deciding distinction is: Infrastructure changes should be previewed and checked for destructive resource effects.

C:

Ensure tests exit nonzero on failures and publish test reports in the build workflow. This instead addresses a different case: CodeBuild exits zero after a testing script prints failing assertions, and no test result report is retained. For the stated situation (A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor.), the better engineering action is: Create and inspect a change set before controlled production execution. The deciding distinction is: Infrastructure changes should be previewed and checked for destructive resource effects.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests