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 76

Question 750

A DevOps team is reviewing: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source. Which TWO complementary actions should it take? Select TWO answers.

  1. Review repository protection rules, pull-request triggers and build pass requirements.
  2. Deploy to a bounded canary or targeted cohort and expand only after validated signals.
  3. Trigger CodeBuild tests on pull requests and make their status mandatory for merge.
  4. Review generated CloudFormation change sets, deletion or replacement actions and approval policy.
  5. Publish verified architecture-specific images or a multi-architecture manifest as appropriate.

Explanation

Correct Answers

A:

Review repository protection rules, pull-request triggers and build pass requirements. This is a required diagnostic evidence step for the stated situation: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source. The complementary correct action is: Trigger CodeBuild tests on pull requests and make their status mandatory for merge. Both follow the principle: Continuous integration should gate protected branches on automated test results before merge.

C:

Trigger CodeBuild tests on pull requests and make their status mandatory for merge. This is a required controlled engineering action for the stated situation: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source. The complementary correct action is: Review repository protection rules, pull-request triggers and build pass requirements. Both follow the principle: Continuous integration should gate protected branches on automated test results before merge.

Incorrect Answers

B:

Deploy to a bounded canary or targeted cohort and expand only after validated signals. This is suitable for another situation: A new payment option passes staging but causes failures only for a small set of customer geographies. In this case, engineers instead need the paired investigation (Review repository protection rules, pull-request triggers and build pass requirements.) and design change (Trigger CodeBuild tests on pull requests and make their status mandatory for merge.). These two steps address: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source.

D:

Review generated CloudFormation change sets, deletion or replacement actions and approval policy. This is suitable for another situation: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor. In this case, engineers instead need the paired investigation (Review repository protection rules, pull-request triggers and build pass requirements.) and design change (Trigger CodeBuild tests on pull requests and make their status mandatory for merge.). These two steps address: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source.

E:

Publish verified architecture-specific images or a multi-architecture manifest as appropriate. This is suitable for another situation: An ECS fleet includes both x86_64 and Arm64 capacity, but a pipeline publishes only an x86 image under a generic tag. In this case, engineers instead need the paired investigation (Review repository protection rules, pull-request triggers and build pass requirements.) and design change (Trigger CodeBuild tests on pull requests and make their status mandatory for merge.). These two steps address: Developers merge feature branches into main before CodeBuild checks run, allowing a failing package into the release source.

Question 751

After implementing a proposed fix, the team reviews: A reusable AWS CDK construct creates S3 buckets with public access enabled unless individual teams remember to override the setting. Which result would BEST confirm that the risk is addressed?

  1. A management event in a new member account arrives at the controlled log archive.
  2. A repeat drift check reports consistent properties and a controlled change trail.
  3. Fresh stacks from the approved construct reject unauthorized public bucket access.
  4. A clean stack creation succeeds repeatedly without timing-dependent manual retries.

Explanation

Correct Answer

C:

Fresh stacks from the approved construct reject unauthorized public bucket access. The approved action is: Update the construct to enforce Block Public Access and appropriate encryption by default. The risk principle is: Reusable code should encode secure defaults and controlled override rules.

Incorrect Answers

A:

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 reusable AWS CDK construct creates S3 buckets with public access enabled unless individual teams remember to override the setting.), the better verification is: Fresh stacks from the approved construct reject unauthorized public bucket access. The deciding distinction is: Reusable code should encode secure defaults and controlled override rules.

B:

A repeat drift check reports consistent properties and a controlled change trail. This instead addresses a different case: A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template. For the stated situation (A reusable AWS CDK construct creates S3 buckets with public access enabled unless individual teams remember to override the setting.), the better verification is: Fresh stacks from the approved construct reject unauthorized public bucket access. The deciding distinction is: Reusable code should encode secure defaults and controlled override rules.

D:

A clean stack creation succeeds repeatedly without timing-dependent manual retries. This instead addresses a different case: A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order. For the stated situation (A reusable AWS CDK construct creates S3 buckets with public access enabled unless individual teams remember to override the setting.), the better verification is: Fresh stacks from the approved construct reject unauthorized public bucket access. The deciding distinction is: Reusable code should encode secure defaults and controlled override rules.

Question 752

An engineering review identifies: An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database. Which shortcut is MOST unsafe for this exact condition?

  1. Assume default EC2 CPUUtilization reports guest free memory accurately.
  2. Run many separate uncoordinated Lambda retries with no event identity.
  3. Rely on application logs to reconstruct every accepted and rejected VPC packet flow.
  4. Assume any numeric field inside JSON automatically becomes a CloudWatch metric.

Explanation

Correct Answer

D:

Assume any numeric field inside JSON automatically becomes a CloudWatch metric. The case is: An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database. A safer engineering response is: Instrument valid Embedded Metric Format or approved custom metric publication. The deciding principle is: Application telemetry can publish CloudWatch metrics through structured embedded metric or explicit custom metric patterns.

Incorrect Answers

A:

Assume default EC2 CPUUtilization reports guest free memory accurately. This instead addresses a different case: An EC2 application runs out of memory while CPU remains low, but CloudWatch dashboards contain only default EC2 CPU metrics. For the stated situation (An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database.), the better unsafe assumption to reject is: Assume any numeric field inside JSON automatically becomes a CloudWatch metric. The deciding distinction is: Application telemetry can publish CloudWatch metrics through structured embedded metric or explicit custom metric patterns.

B:

Run many separate uncoordinated Lambda retries with no event identity. 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 (An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database.), the better unsafe assumption to reject is: Assume any numeric field inside JSON automatically becomes a CloudWatch metric. The deciding distinction is: Application telemetry can publish CloudWatch metrics through structured embedded metric or explicit custom metric patterns.

C:

Rely on application logs to reconstruct every accepted and rejected VPC packet flow. This instead addresses a different case: Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets. For the stated situation (An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database.), the better unsafe assumption to reject is: Assume any numeric field inside JSON automatically becomes a CloudWatch metric. The deciding distinction is: Application telemetry can publish CloudWatch metrics through structured embedded metric or explicit custom metric patterns.

Question 753

Before changing production, engineers find: A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night. Which investigation should the engineer perform FIRST?

  1. Inspect package manager configuration, external connections and CodeArtifact permissions.
  2. Inspect account IDs, test endpoints, IAM permissions and environment variable provenance.
  3. Check release history, lifecycle expiration rules, active references and recovery windows.
  4. Review AMI build recipe, update schedule, patch evidence and launch template versions.

Explanation

Correct Answer

C:

Check release history, lifecycle expiration rules, active references and recovery windows. The governing principle is: Artifact lifecycle rules must retain versions required for rollback and audit. The next controlled engineering decision is: Define retention exemptions or tag policies that protect deployed and rollback candidate artifacts.

Incorrect Answers

A:

Inspect package manager configuration, external connections and CodeArtifact permissions. 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 (A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night.), the better investigation is: Check release history, lifecycle expiration rules, active references and recovery windows. The deciding distinction is: Artifact lifecycle rules must retain versions required for rollback and audit.

B:

Inspect account IDs, test endpoints, IAM permissions and environment variable provenance. 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 deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night.), the better investigation is: Check release history, lifecycle expiration rules, active references and recovery windows. The deciding distinction is: Artifact lifecycle rules must retain versions required for rollback and audit.

D:

Review AMI build recipe, update schedule, patch evidence and launch template versions. 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 (A deployment rolls back to a prior ECR image digest that was deleted by an aggressive lifecycle policy the previous night.), the better investigation is: Check release history, lifecycle expiration rules, active references and recovery windows. The deciding distinction is: Artifact lifecycle rules must retain versions required for rollback and audit.

Question 754

An AWS platform team investigates this condition: A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate. Which DevOps principle BEST explains the core problem?

  1. Multi-service releases need explicit interface compatibility, version and rollout coordination.
  2. Cross-account delivery should assume narrowly scoped roles in each target account.
  3. Source integrations must authenticate appropriately and isolate authorization by repository and workload.
  4. Infrastructure images should be rebuilt and validated through a repeatable automated process.

Explanation

Correct Answer

A:

Multi-service releases need explicit interface compatibility, version and rollout coordination. Relevant first evidence: Inspect consumer contract tests, deployment sequencing and service version dependencies. The resulting controlled response is: Introduce contract testing and backward-compatible staged promotion between affected pipelines.

Incorrect Answers

B:

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 customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate.), the better principle is: Multi-service releases need explicit interface compatibility, version and rollout coordination. The deciding distinction is: Multi-service releases need explicit interface compatibility, version and rollout coordination.

C:

Source integrations must authenticate appropriately and isolate authorization by repository and workload. 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 principle is: Multi-service releases need explicit interface compatibility, version and rollout coordination. The deciding distinction is: Multi-service releases need explicit interface compatibility, version and rollout coordination.

D:

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 (A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate.), the better principle is: Multi-service releases need explicit interface compatibility, version and rollout coordination. The deciding distinction is: Multi-service releases need explicit interface compatibility, version and rollout coordination.

Question 755

An AWS platform team investigates this condition: A GuardDuty finding appears in one account, but the incident team sees it only after manually checking the service console. Which DevOps principle BEST explains the core problem?

  1. Security findings need reliable event routing with context and severity-based action.
  2. Credential rotation must coordinate secret state with application connection refresh and validation.
  3. Event contracts and consumers need version-aware validation and safe schema evolution.
  4. External event ingress must authenticate and deduplicate repeated delivery attempts.

Explanation

Correct Answer

A:

Security findings need reliable event routing with context and severity-based action. Relevant first evidence: Review GuardDuty event detail, EventBridge filters, targets and incident ownership. The resulting controlled response is: Route qualifying findings through EventBridge to the authorized incident workflow.

Incorrect Answers

B:

Credential rotation must coordinate secret state with application connection refresh and validation. This instead addresses a different case: A scheduled Secrets Manager rotation updates a credential, but its consumer application continues using the revoked password and fails authentication. For the stated situation (A GuardDuty finding appears in one account, but the incident team sees it only after manually checking the service console.), the better principle is: Security findings need reliable event routing with context and severity-based action. The deciding distinction is: Security findings need reliable event routing with context and severity-based action.

C:

Event contracts and consumers need version-aware validation and safe schema evolution. This instead addresses a different case: A producer changes the event payload field name and consumers silently ignore new events while their SQS queues fill. For the stated situation (A GuardDuty finding appears in one account, but the incident team sees it only after manually checking the service console.), the better principle is: Security findings need reliable event routing with context and severity-based action. The deciding distinction is: Security findings need reliable event routing with context and severity-based action.

D:

External event ingress must authenticate and deduplicate repeated delivery attempts. This instead addresses a different case: A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs. For the stated situation (A GuardDuty finding appears in one account, but the incident team sees it only after manually checking the service console.), the better principle is: Security findings need reliable event routing with context and severity-based action. The deciding distinction is: Security findings need reliable event routing with context and severity-based action.

Question 756

The DevOps team must resolve this scenario: An application switches its ALB target group to a new version while both versions connect to a shared relational schema. Which engineering change is MOST appropriate?

  1. Configure a blue/green ECS deployment with validation traffic and automatic rollback conditions.
  2. Coordinate expand-and-contract schema changes with the blue/green traffic strategy.
  3. Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate.
  4. Use dependency lockfiles and deterministic build inputs with immutable package storage.

Explanation

Correct Answer

B:

Coordinate expand-and-contract schema changes with the blue/green traffic strategy. Its validation is: Both versions operate safely during the switch and an aborted release can restore prior traffic. The principle is: Traffic shifting must account for backward-compatible shared-state dependencies.

Incorrect Answers

A:

Configure a blue/green ECS deployment with validation traffic and automatic rollback conditions. This instead addresses a different case: An ECS service release must let QA validate a new task set before production traffic shifts, with rollback if alarms breach a threshold. For the stated situation (An application switches its ALB target group to a new version while both versions connect to a shared relational schema.), the better engineering action is: Coordinate expand-and-contract schema changes with the blue/green traffic strategy. The deciding distinction is: Traffic shifting must account for backward-compatible shared-state dependencies.

C:

Throttle rollout and implement suitable connection management such as RDS Proxy where appropriate. 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 (An application switches its ALB target group to a new version while both versions connect to a shared relational schema.), the better engineering action is: Coordinate expand-and-contract schema changes with the blue/green traffic strategy. The deciding distinction is: Traffic shifting must account for backward-compatible shared-state dependencies.

D:

Use dependency lockfiles and deterministic build inputs with immutable package storage. This instead addresses a different case: Two identical source commits produce different Lambda packages because the build downloads the newest transitive dependencies each day. For the stated situation (An application switches its ALB target group to a new version while both versions connect to a shared relational schema.), the better engineering action is: Coordinate expand-and-contract schema changes with the blue/green traffic strategy. The deciding distinction is: Traffic shifting must account for backward-compatible shared-state dependencies.

Question 757

Before changing production, engineers find: An EC2 application runs out of memory while CPU remains low, but CloudWatch dashboards contain only default EC2 CPU metrics. Which investigation should the engineer perform FIRST?

  1. Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors.
  2. Inspect AWS Health event source, EventBridge rules, targets and account aggregation.
  3. Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms.
  4. Inspect CloudWatch namespaces, dimensions, function names and alarm aggregation.

Explanation

Correct Answer

C:

Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms. The governing principle is: Guest operating system memory usage generally requires a configured agent or custom metric publisher. The next controlled engineering decision is: Configure CloudWatch agent collection of memory metrics and a justified alarm threshold.

Incorrect Answers

A:

Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors. 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 (An EC2 application runs out of memory while CPU remains low, but CloudWatch dashboards contain only default EC2 CPU metrics.), the better investigation is: Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms. The deciding distinction is: Guest operating system memory usage generally requires a configured agent or custom metric publisher.

B:

Inspect AWS Health event source, EventBridge rules, targets and account aggregation. This instead addresses a different case: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it. For the stated situation (An EC2 application runs out of memory while CPU remains low, but CloudWatch dashboards contain only default EC2 CPU metrics.), the better investigation is: Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms. The deciding distinction is: Guest operating system memory usage generally requires a configured agent or custom metric publisher.

D:

Inspect CloudWatch namespaces, dimensions, function names and alarm aggregation. This instead addresses a different case: A dashboard aggregates all Lambda error counts into one line and cannot reveal which function causes the failures. For the stated situation (An EC2 application runs out of memory while CPU remains low, but CloudWatch dashboards contain only default EC2 CPU metrics.), the better investigation is: Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms. The deciding distinction is: Guest operating system memory usage generally requires a configured agent or custom metric publisher.

Question 758

A DevOps team is reviewing: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor. Which TWO complementary actions should it take? Select TWO answers.

  1. Use expand-and-contract migration with staged validation of both old and new applications.
  2. Choose a pipeline execution mode or deployment lock appropriate to the shared environment.
  3. Review generated CloudFormation change sets, deletion or replacement actions and approval policy.
  4. Create and inspect a change set before controlled production execution.
  5. Inspect workload profile, load generator placement, request latencies and scaling metrics.

Explanation

Correct Answers

C:

Review generated CloudFormation change sets, deletion or replacement actions and approval policy. This is a required diagnostic evidence step for the stated situation: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor. The complementary correct action is: Create and inspect a change set before controlled production execution. Both follow the principle: Infrastructure changes should be previewed and checked for destructive resource effects.

D:

Create and inspect a change set before controlled production execution. This is a required controlled engineering action for the stated situation: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor. The complementary correct action is: Review generated CloudFormation change sets, deletion or replacement actions and approval policy. Both follow the principle: Infrastructure changes should be previewed and checked for destructive resource effects.

Incorrect Answers

A:

Use expand-and-contract migration with staged validation of both old and new applications. This is suitable for another situation: A new release adds a non-null column while old application instances still write rows during a blue/green deployment. In this case, engineers instead need the paired investigation (Review generated CloudFormation change sets, deletion or replacement actions and approval policy.) and design change (Create and inspect a change set before controlled production execution.). These two steps address: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor.

B:

Choose a pipeline execution mode or deployment lock appropriate to the shared environment. This is suitable for another situation: Two successive commits trigger deployments against the same production stack, and the earlier execution finishes after the newer release. In this case, engineers instead need the paired investigation (Review generated CloudFormation change sets, deletion or replacement actions and approval policy.) and design change (Create and inspect a change set before controlled production execution.). These two steps address: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor.

E:

Inspect workload profile, load generator placement, request latencies and scaling metrics. This is suitable for another situation: A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand. In this case, engineers instead need the paired investigation (Review generated CloudFormation change sets, deletion or replacement actions and approval policy.) and design change (Create and inspect a change set before controlled production execution.). These two steps address: A pipeline applies a template change that silently replaces a stateful database resource during a minor refactor.

Question 759

An AWS platform team investigates this condition: A predictable daily traffic peak starts before the reactive Auto Scaling policy can launch sufficient EC2 instances. Which DevOps principle BEST explains the core problem?

  1. Near-real-time log integration requires a correctly configured subscription destination and permissions.
  2. Predictable demand can be addressed with scheduled or predictive capacity planning.
  3. Supported EC2 recovery alarms can automate appropriate recovery responses to infrastructure issues.
  4. Operational events need managed cross-account routing and accountable notification paths.

Explanation

Correct Answer

B:

Predictable demand can be addressed with scheduled or predictive capacity planning. Relevant first evidence: Review demand cycle, instance warmup, scaling latency and seasonal variability. The resulting controlled response is: Configure suitable scheduled or predictive scaling alongside reactive controls.

Incorrect Answers

A:

Near-real-time log integration requires a correctly configured subscription destination and permissions. 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 (A predictable daily traffic peak starts before the reactive Auto Scaling policy can launch sufficient EC2 instances.), the better principle is: Predictable demand can be addressed with scheduled or predictive capacity planning. The deciding distinction is: Predictable demand can be addressed with scheduled or predictive capacity planning.

C:

Supported EC2 recovery alarms can automate appropriate recovery responses to infrastructure issues. 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 (A predictable daily traffic peak starts before the reactive Auto Scaling policy can launch sufficient EC2 instances.), the better principle is: Predictable demand can be addressed with scheduled or predictive capacity planning. The deciding distinction is: Predictable demand can be addressed with scheduled or predictive capacity planning.

D:

Operational events need managed cross-account routing and accountable notification paths. This instead addresses a different case: A regional AWS Health event indicates maintenance of a service used by five accounts, but no on-call team receives it. For the stated situation (A predictable daily traffic peak starts before the reactive Auto Scaling policy can launch sufficient EC2 instances.), the better principle is: Predictable demand can be addressed with scheduled or predictive capacity planning. The deciding distinction is: Predictable demand can be addressed with scheduled or predictive capacity planning.

Question 760

Before changing production, engineers find: An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes. Which investigation should the engineer perform FIRST?

  1. Inspect ALB target-group path, task port, security group rules and service events.
  2. Review instance user data, launch template versions, AMIs and out-of-band modifications.
  3. Inspect ECS task definition secrets, IAM grants and account-specific parameter names.
  4. Inspect workload profile, load generator placement, request latencies and scaling metrics.

Explanation

Correct Answer

B:

Review instance user data, launch template versions, AMIs and out-of-band modifications. The governing principle is: Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift. The next controlled engineering decision is: Build a verified image and roll the Auto Scaling group with instance refresh or a controlled deployment.

Incorrect Answers

A:

Inspect ALB target-group path, task port, security group rules and service events. 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 (An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes.), the better investigation is: Review instance user data, launch template versions, AMIs and out-of-band modifications. The deciding distinction is: Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift.

C:

Inspect ECS task definition secrets, IAM grants and account-specific parameter names. This instead addresses a different case: A containerized service works in staging but production fails because a required secret name was hardcoded to the staging account. For the stated situation (An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes.), the better investigation is: Review instance user data, launch template versions, AMIs and out-of-band modifications. The deciding distinction is: Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift.

D:

Inspect workload profile, load generator placement, request latencies and scaling metrics. This instead addresses a different case: A service passes one-user functional tests yet violates its 99th percentile latency target at peak checkout demand. For the stated situation (An operations team changes configuration in running EC2 instances manually, and Auto Scaling replacement instances lose those changes.), the better investigation is: Review instance user data, launch template versions, AMIs and out-of-band modifications. The deciding distinction is: Immutable delivery should replace instances from a versioned launch template and image rather than relying on manual drift.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests