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 3

Question 20

The DevOps team must resolve this scenario: An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database. Which engineering change is MOST appropriate?

  1. Instrument valid Embedded Metric Format or approved custom metric publication.
  2. Enable appropriately scoped VPC Flow Logs to a secure central destination.
  3. Forward container logs with cluster, namespace, pod and deployment identifiers.
  4. Configure a supported CloudWatch Logs subscription to the approved analytics pipeline.

Explanation

Correct Answer

A:

Instrument valid Embedded Metric Format or approved custom metric publication. Its validation is: A test trace produces a valid metric time series linked to the correct service dimensions. The principle is: Application telemetry can publish CloudWatch metrics through structured embedded metric or explicit custom metric patterns.

Incorrect Answers

B:

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 (An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database.), the better engineering action is: Instrument valid Embedded Metric Format or approved custom metric publication. The deciding distinction is: Application telemetry can publish CloudWatch metrics through structured embedded metric or explicit custom metric patterns.

C:

Forward container logs with cluster, namespace, pod and deployment identifiers. This instead addresses a different case: EKS pods restart after a rollout, and their transient filesystem logs disappear before investigators collect them. 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 engineering action is: Instrument valid Embedded Metric Format or approved custom metric publication. The deciding distinction is: Application telemetry can publish CloudWatch metrics through structured embedded metric or explicit custom metric patterns.

D:

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 (An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database.), the better engineering action is: Instrument valid Embedded Metric Format or approved custom metric publication. The deciding distinction is: Application telemetry can publish CloudWatch metrics through structured embedded metric or explicit custom metric patterns.

Question 21

After implementing a proposed fix, the team reviews: A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure. Which result would BEST confirm that the risk is addressed?

  1. An out-of-scope Region deployment request is rejected with an audit record.
  2. A rollback returns traffic to the exact pre-release immutable version.
  3. The corrected ApplicationStart hook exits successfully and target health becomes normal.
  4. Old and new tasks can write valid rows during the transition and rollback remains feasible.

Explanation

Correct Answer

C:

The corrected ApplicationStart hook exits successfully and target health becomes normal. The approved action is: Correct the failing hook or dependency and redeploy using the supported EC2 deployment sequence. The risk principle is: Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure.

Incorrect Answers

A:

An out-of-scope Region deployment request is rejected with an audit record. This instead addresses a different case: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction. For the stated situation (A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure.), the better verification is: The corrected ApplicationStart hook exits successfully and target health becomes normal. The deciding distinction is: Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure.

B:

A rollback returns traffic to the exact pre-release immutable version. This instead addresses a different case: A Lambda release is invoked through an alias but the deployment pipeline overwrites the prior version identifier in its rollback records. For the stated situation (A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure.), the better verification is: The corrected ApplicationStart hook exits successfully and target health becomes normal. The deciding distinction is: Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure.

D:

Old and new tasks can write valid rows during the transition and rollback remains feasible. 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 (A CodeDeploy in-place EC2 release fails during ApplicationStart, but the team incorrectly treats the issue as an Auto Scaling failure.), the better verification is: The corrected ApplicationStart hook exits successfully and target health becomes normal. The deciding distinction is: Application lifecycle hook and agent logs are primary evidence for an EC2 CodeDeploy failure.

Question 22

After implementing a proposed fix, the team reviews: An application switches its ALB target group to a new version while both versions connect to a shared relational schema. Which result would BEST confirm that the risk is addressed?

  1. Both versions operate safely during the switch and an aborted release can restore prior traffic.
  2. A simulated rollout maintains minimum ready pods and passes service availability thresholds.
  3. A failed test task set does not receive live production traffic and old tasks remain usable.
  4. A deliberately invalid database identity fails the gate before production promotion.

Explanation

Correct Answer

A:

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

Incorrect Answers

B:

A simulated rollout maintains minimum ready pods and passes service availability thresholds. This instead addresses a different case: An EKS rolling deployment scales down all API pods at once, causing requests to fail despite multiple nodes. 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 verification is: Both versions operate safely during the switch and an aborted release can restore prior traffic. The deciding distinction is: Traffic shifting must account for backward-compatible shared-state dependencies.

C:

A failed test task set does not receive live production traffic and old tasks remain usable. 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 verification is: Both versions operate safely during the switch and an aborted release can restore prior traffic. The deciding distinction is: Traffic shifting must account for backward-compatible shared-state dependencies.

D:

A deliberately invalid database identity fails the gate before production promotion. This instead addresses a different case: Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database. 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 verification is: Both versions operate safely during the switch and an aborted release can restore prior traffic. The deciding distinction is: Traffic shifting must account for backward-compatible shared-state dependencies.

Question 23

After implementing a proposed fix, the team reviews: Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code. Which result would BEST confirm that the risk is addressed?

  1. Old and new eligible events are processed or deliberately rejected with traceable errors.
  2. A replacement task pulls the pinned image and reaches healthy running state.
  3. Representative load shows reduced deadlocks and successful committed transactions.
  4. A postincident timeline distinguishes provider impairment from deployment regression.

Explanation

Correct Answer

D:

A postincident timeline distinguishes provider impairment from deployment regression. The approved action is: Document service-impacting provider conditions and take bounded regional failover actions. The risk principle is: Root cause analysis should correlate AWS Health events with application, network and deployment telemetry.

Incorrect Answers

A:

Old and new eligible events are processed or deliberately rejected with traceable errors. 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 (Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code.), the better verification is: A postincident timeline distinguishes provider impairment from deployment regression. The deciding distinction is: Root cause analysis should correlate AWS Health events with application, network and deployment telemetry.

B:

A replacement task pulls the pinned image and reaches healthy running state. This instead addresses a different case: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct. For the stated situation (Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code.), the better verification is: A postincident timeline distinguishes provider impairment from deployment regression. The deciding distinction is: Root cause analysis should correlate AWS Health events with application, network and deployment telemetry.

C:

Representative load shows reduced deadlocks and successful committed transactions. 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 (Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code.), the better verification is: A postincident timeline distinguishes provider impairment from deployment regression. The deciding distinction is: Root cause analysis should correlate AWS Health events with application, network and deployment telemetry.

Question 24

The DevOps team must resolve this scenario: An Auto Scaling group repeatedly fails to launch enough instances in one AZ despite other AZs having capacity. Which engineering change is MOST appropriate?

  1. Diversify capacity pools or update launch configuration consistent with requirements.
  2. Correct the execution role or ECR/network access while preserving intended image provenance.
  3. Route qualifying findings through EventBridge to the authorized incident workflow.
  4. Correct the blocking dependency and continue rollback using supported CloudFormation recovery.

Explanation

Correct Answer

A:

Diversify capacity pools or update launch configuration consistent with requirements. Its validation is: A simulated scale-out can launch healthy capacity without dependence on one exhausted pool. The principle is: Capacity failures require examining availability zones, allocation strategy and quotas.

Incorrect Answers

B:

Correct the execution role or ECR/network access while preserving intended image provenance. This instead addresses a different case: New ECS tasks repeatedly remain PENDING with CannotPullContainerError even though the application binary is correct. For the stated situation (An Auto Scaling group repeatedly fails to launch enough instances in one AZ despite other AZs having capacity.), the better engineering action is: Diversify capacity pools or update launch configuration consistent with requirements. The deciding distinction is: Capacity failures require examining availability zones, allocation strategy and quotas.

C:

Route qualifying findings through EventBridge to the authorized incident workflow. This instead addresses a different case: A GuardDuty finding appears in one account, but the incident team sees it only after manually checking the service console. For the stated situation (An Auto Scaling group repeatedly fails to launch enough instances in one AZ despite other AZs having capacity.), the better engineering action is: Diversify capacity pools or update launch configuration consistent with requirements. The deciding distinction is: Capacity failures require examining availability zones, allocation strategy and quotas.

D:

Correct the blocking dependency and continue rollback using supported CloudFormation recovery. This instead addresses a different case: A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored. For the stated situation (An Auto Scaling group repeatedly fails to launch enough instances in one AZ despite other AZs having capacity.), the better engineering action is: Diversify capacity pools or update launch configuration consistent with requirements. The deciding distinction is: Capacity failures require examining availability zones, allocation strategy and quotas.

Question 25

Before changing production, engineers find: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. Which investigation should the engineer perform FIRST?

  1. Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths.
  2. Inspect secret version stages, rotation workflow and application cache behavior.
  3. Review principal type, authentication context and sensitive IAM policy conditions.
  4. Inspect request patterns, rule priorities, WAF logs and legitimate traffic impact.

Explanation

Correct Answer

B:

Inspect secret version stages, rotation workflow and application cache behavior. The governing principle is: Machine credentials should be centrally rotated with coordinated client refresh and access scoping. The next controlled engineering decision is: Implement safe Secrets Manager rotation and compatible runtime secret refresh.

Incorrect Answers

A:

Inspect role-creation permissions, boundary attachment requirements and privilege escalation paths. This instead addresses a different case: A platform group allows developers to create application IAM roles, but one developer creates a new role granting AdministratorAccess. For the stated situation (Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change.), the better investigation is: Inspect secret version stages, rotation workflow and application cache behavior. The deciding distinction is: Machine credentials should be centrally rotated with coordinated client refresh and access scoping.

C:

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 (Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change.), the better investigation is: Inspect secret version stages, rotation workflow and application cache behavior. The deciding distinction is: Machine credentials should be centrally rotated with coordinated client refresh and access scoping.

D:

Inspect request patterns, rule priorities, WAF logs and legitimate traffic impact. 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 (Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change.), the better investigation is: Inspect secret version stages, rotation workflow and application cache behavior. The deciding distinction is: Machine credentials should be centrally rotated with coordinated client refresh and access scoping.

Question 26

The DevOps team must resolve this scenario: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions. Which engineering change is MOST appropriate?

  1. Use EC2 Image Builder to build and test a versioned, hardened AMI for deployment.
  2. Constrain deployment roles and policy conditions to approved accounts and Regions.
  3. Deploy pinned S3 object versions or digests after controlled artifact publication.
  4. Publish a versioned Lambda layer and deploy function versions referencing the approved layer.

Explanation

Correct Answer

D:

Publish a versioned Lambda layer and deploy function versions referencing the approved layer. Its validation is: Production invokes the intended compatible layer version with a documented rollback path. The principle is: Shared dependencies should be versioned and referenced deliberately in serverless releases.

Incorrect Answers

A:

Use EC2 Image Builder to build and test a versioned, hardened AMI for deployment. This instead addresses a different case: Production EC2 Auto Scaling launches instances from an AMI built manually months earlier with inconsistent patch levels. For the stated situation (An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions.), the better engineering action is: Publish a versioned Lambda layer and deploy function versions referencing the approved layer. The deciding distinction is: Shared dependencies should be versioned and referenced deliberately in serverless releases.

B:

Constrain deployment roles and policy conditions to approved accounts and Regions. This instead addresses a different case: A deployment pipeline has approvals for one Region but a wrong parameter lets the same artifact create resources in an unapproved jurisdiction. For the stated situation (An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions.), the better engineering action is: Publish a versioned Lambda layer and deploy function versions referencing the approved layer. The deciding distinction is: Shared dependencies should be versioned and referenced deliberately in serverless releases.

C:

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 (An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions.), the better engineering action is: Publish a versioned Lambda layer and deploy function versions referencing the approved layer. The deciding distinction is: Shared dependencies should be versioned and referenced deliberately in serverless releases.

Question 27

An AWS platform team investigates this condition: A secondary-region service is healthy but Route 53 sends users to a failed primary endpoint because its failover record has no meaningful health check. Which DevOps principle BEST explains the core problem?

  1. Cross-Region resilience must include regional identity, secret and cryptographic dependencies.
  2. Serverless scaling must respect downstream rate limits and concurrency budgets.
  3. DNS failover needs accurate health evaluation and correctly associated routing records.
  4. Active-active replicated data needs explicit conflict resolution and application reconciliation semantics.

Explanation

Correct Answer

C:

DNS failover needs accurate health evaluation and correctly associated routing records. Relevant first evidence: Inspect Route 53 health check settings, record sets, TTL and primary/secondary target state. The resulting controlled response is: Configure failover routing records with valid health checks and appropriate backup endpoint.

Incorrect Answers

A:

Cross-Region resilience must include regional identity, secret and cryptographic dependencies. This instead addresses a different case: 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. For the stated situation (A secondary-region service is healthy but Route 53 sends users to a failed primary endpoint because its failover record has no meaningful health check.), the better principle is: DNS failover needs accurate health evaluation and correctly associated routing records. The deciding distinction is: DNS failover needs accurate health evaluation and correctly associated routing records.

B:

Serverless scaling must respect downstream rate limits and concurrency budgets. This instead addresses a different case: A public API invokes Lambda and saturates an external payment service when automatic concurrency grows after a marketing event. For the stated situation (A secondary-region service is healthy but Route 53 sends users to a failed primary endpoint because its failover record has no meaningful health check.), the better principle is: DNS failover needs accurate health evaluation and correctly associated routing records. The deciding distinction is: DNS failover needs accurate health evaluation and correctly associated routing records.

D:

Active-active replicated data needs explicit conflict resolution and application reconciliation semantics. This instead addresses a different case: A multi-Region shopping app writes the same item in two Regions and occasionally overwrites updates unexpectedly. For the stated situation (A secondary-region service is healthy but Route 53 sends users to a failed primary endpoint because its failover record has no meaningful health check.), the better principle is: DNS failover needs accurate health evaluation and correctly associated routing records. The deciding distinction is: DNS failover needs accurate health evaluation and correctly associated routing records.

Question 28

An AWS platform team investigates this condition: A dashboard aggregates all Lambda error counts into one line and cannot reveal which function causes the failures. Which DevOps principle BEST explains the core problem?

  1. Metrics must preserve useful dimensions for diagnostic isolation.
  2. Central log delivery requires compatible bucket policies and KMS key permissions for service principals.
  3. Configuration compliance events can trigger managed event routing and bounded remediation.
  4. Network flow evidence must be collected at relevant scope with protected destination and retention.

Explanation

Correct Answer

A:

Metrics must preserve useful dimensions for diagnostic isolation. Relevant first evidence: Inspect CloudWatch namespaces, dimensions, function names and alarm aggregation. The resulting controlled response is: Create per-function metric queries and alarms using appropriate dimensions.

Incorrect Answers

B:

Central log delivery requires compatible bucket policies and KMS key permissions for service principals. This instead addresses a different case: Member accounts send CloudTrail logs to a central S3 bucket but delivery fails after the bucket switches to a new customer managed KMS key. For the stated situation (A dashboard aggregates all Lambda error counts into one line and cannot reveal which function causes the failures.), the better principle is: Metrics must preserve useful dimensions for diagnostic isolation. The deciding distinction is: Metrics must preserve useful dimensions for diagnostic isolation.

C:

Configuration compliance events can trigger managed event routing and bounded remediation. This instead addresses a different case: Security operations wants alerts whenever Config detects that approved encryption settings are disabled on new storage resources. For the stated situation (A dashboard aggregates all Lambda error counts into one line and cannot reveal which function causes the failures.), the better principle is: Metrics must preserve useful dimensions for diagnostic isolation. The deciding distinction is: Metrics must preserve useful dimensions for diagnostic isolation.

D:

Network flow evidence must be collected at relevant scope with protected destination and retention. 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 (A dashboard aggregates all Lambda error counts into one line and cannot reveal which function causes the failures.), the better principle is: Metrics must preserve useful dimensions for diagnostic isolation. The deciding distinction is: Metrics must preserve useful dimensions for diagnostic isolation.

Question 29

The DevOps team must resolve this scenario: A team attaches an AWS Organizations SCP allowing S3 access and assumes member-account workloads now have permission to list all buckets. Which engineering change is MOST appropriate?

  1. Adopt a documented tag taxonomy with organization tag policies and deployment checks.
  2. Provide explicit least-privilege IAM permissions while retaining appropriate SCP limits.
  3. Attach organization-wide or OU-targeted Config checks and remediations to account onboarding.
  4. Enable inventory collection and central reporting for in-scope managed nodes.

Explanation

Correct Answer

B:

Provide explicit least-privilege IAM permissions while retaining appropriate SCP limits. Its validation is: An authorized test role can access permitted buckets, and disallowed actions remain blocked. The principle is: SCPs establish maximum permissions and do not grant access by themselves.

Incorrect Answers

A:

Adopt a documented tag taxonomy with organization tag policies and deployment checks. This instead addresses a different case: Chargeback reports omit resources because each team uses different tag keys and case variants. For the stated situation (A team attaches an AWS Organizations SCP allowing S3 access and assumes member-account workloads now have permission to list all buckets.), the better engineering action is: Provide explicit least-privilege IAM permissions while retaining appropriate SCP limits. The deciding distinction is: SCPs establish maximum permissions and do not grant access by themselves.

C:

Attach organization-wide or OU-targeted Config checks and remediations to account onboarding. This instead addresses a different case: AWS Organizations account vending creates accounts without Config rules checking EBS encryption and S3 protection. For the stated situation (A team attaches an AWS Organizations SCP allowing S3 access and assumes member-account workloads now have permission to list all buckets.), the better engineering action is: Provide explicit least-privilege IAM permissions while retaining appropriate SCP limits. The deciding distinction is: SCPs establish maximum permissions and do not grant access by themselves.

D:

Enable inventory collection and central reporting for in-scope managed nodes. This instead addresses a different case: Operations estimates patch compliance from EC2 tags but has no verified installed software inventory. For the stated situation (A team attaches an AWS Organizations SCP allowing S3 access and assumes member-account workloads now have permission to list all buckets.), the better engineering action is: Provide explicit least-privilege IAM permissions while retaining appropriate SCP limits. The deciding distinction is: SCPs establish maximum permissions and do not grant access by themselves.

Question 30

The DevOps team must resolve this scenario: AWS Config finds an EC2 instance without the approved monitoring agent, but the repair Lambda has permission to modify every resource in the account. Which engineering change is MOST appropriate?

  1. Use stable device partition keys where ordering is required, with monitored throughput.
  2. Connect relevant metrics to a bounded Auto Scaling policy with controlled thresholds.
  3. Use valid renewal procedures and monitored replacement for imported certificates.
  4. Use a controlled Systems Manager automation targeted only to eligible noncompliant nodes.

Explanation

Correct Answer

D:

Use a controlled Systems Manager automation targeted only to eligible noncompliant nodes. Its validation is: A test missing-agent instance is corrected while unrelated resources remain untouched. The principle is: Event-based remediation should be scoped to the affected resource and run with least privilege.

Incorrect Answers

A:

Use stable device partition keys where ordering is required, with monitored throughput. 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 (AWS Config finds an EC2 instance without the approved monitoring agent, but the repair Lambda has permission to modify every resource in the account.), the better engineering action is: Use a controlled Systems Manager automation targeted only to eligible noncompliant nodes. The deciding distinction is: Event-based remediation should be scoped to the affected resource and run with least privilege.

B:

Connect relevant metrics to a bounded Auto Scaling policy with controlled thresholds. This instead addresses a different case: A consumer service has rapidly increasing queue lag, and responders manually launch instances rather than using a safe dynamic policy. For the stated situation (AWS Config finds an EC2 instance without the approved monitoring agent, but the repair Lambda has permission to modify every resource in the account.), the better engineering action is: Use a controlled Systems Manager automation targeted only to eligible noncompliant nodes. The deciding distinction is: Event-based remediation should be scoped to the affected resource and run with least privilege.

C:

Use valid renewal procedures and monitored replacement for imported certificates. This instead addresses a different case: An ACM-managed certificate is nearing expiration, but an application relies on manually imported certificates whose renewal notifications are ignored. For the stated situation (AWS Config finds an EC2 instance without the approved monitoring agent, but the repair Lambda has permission to modify every resource in the account.), the better engineering action is: Use a controlled Systems Manager automation targeted only to eligible noncompliant nodes. The deciding distinction is: Event-based remediation should be scoped to the affected resource and run with least privilege.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests