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 24

Question 230

Before changing production, engineers find: A production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic. Which investigation should the engineer perform FIRST?

  1. Compare staging and production package hashes, dependency resolution and pipeline stage contracts.
  2. Review deployment alarm configuration, canary outcomes, rollback settings and traffic metrics.
  3. Trace pipeline stages, approval authorization, test outputs and required change windows.
  4. Review signing keys, image digests, publication roles and deployment verification policy.

Explanation

Correct Answer

B:

Review deployment alarm configuration, canary outcomes, rollback settings and traffic metrics. The governing principle is: Release success should depend on monitored application health and recoverable deployment state. The next controlled engineering decision is: Integrate deployment alarms and an automated rollback path for failed acceptance windows.

Incorrect Answers

A:

Compare staging and production package hashes, dependency resolution and pipeline stage contracts. This instead addresses a different case: Each environment rebuilds an application from its Git branch, making production binaries differ from staging even when the commit matches. For the stated situation (A production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic.), the better investigation is: Review deployment alarm configuration, canary outcomes, rollback settings and traffic metrics. The deciding distinction is: Release success should depend on monitored application health and recoverable deployment state.

C:

Trace pipeline stages, approval authorization, test outputs and required change windows. This instead addresses a different case: A critical payments service is automatically promoted from a successful staging build directly into production without business acceptance. For the stated situation (A production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic.), the better investigation is: Review deployment alarm configuration, canary outcomes, rollback settings and traffic metrics. The deciding distinction is: Release success should depend on monitored application health and recoverable deployment state.

D:

Review signing keys, image digests, publication roles and deployment verification policy. 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 production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic.), the better investigation is: Review deployment alarm configuration, canary outcomes, rollback settings and traffic metrics. The deciding distinction is: Release success should depend on monitored application health and recoverable deployment state.

Question 231

An AWS platform team investigates this condition: Amazon Inspector reports a critical package CVE on a small set of container images, but the security board assumes all images are affected. Which DevOps principle BEST explains the core problem?

  1. Missing metric data needs treatment consistent with the failure mode and alarm semantics.
  2. Findings require accurate resource scope, severity and remediation tracking.
  3. Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives.
  4. Queue monitoring must track oldest message age and dead-letter handling, not count alone.

Explanation

Correct Answer

B:

Findings require accurate resource scope, severity and remediation tracking. Relevant first evidence: Inspect Inspector finding resources, image digests, package versions and exposure. The resulting controlled response is: Track affected images and update or replace those artifacts through governed pipelines.

Incorrect Answers

A:

Missing metric data needs treatment consistent with the failure mode and alarm semantics. 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 principle is: Findings require accurate resource scope, severity and remediation tracking. The deciding distinction is: Findings require accurate resource scope, severity and remediation tracking.

C:

Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives. This instead addresses a different case: A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected. 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 principle is: Findings require accurate resource scope, severity and remediation tracking. The deciding distinction is: Findings require accurate resource scope, severity and remediation tracking.

D:

Queue monitoring must track oldest message age and dead-letter handling, not count alone. This instead addresses a different case: A queue's depth remains modest but its oldest message waits 40 minutes because one poison message repeatedly fails processing. 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 principle is: Findings require accurate resource scope, severity and remediation tracking. The deciding distinction is: Findings require accurate resource scope, severity and remediation tracking.

Question 232

Before changing production, engineers find: A new ECS task definition produces errors after traffic shift, but the deployment continues to completion because alarms are not associated with the release. Which investigation should the engineer perform FIRST?

  1. Review alarm dependencies, parent symptoms and notification routing.
  2. Inspect fields for status code, revision, trace ID and service name.
  3. Review CodeDeploy deployment group alarms, target health and service error signals.
  4. Inspect read/write capacity utilization, throttle metrics and scaling settings.

Explanation

Correct Answer

C:

Review CodeDeploy deployment group alarms, target health and service error signals. The governing principle is: Delivery should link actionable CloudWatch alarms to supported deployment rollback actions. The next controlled engineering decision is: Associate deployment-specific health alarms and enable appropriate automated rollback.

Incorrect Answers

A:

Review alarm dependencies, parent symptoms and notification routing. This instead addresses a different case: Five related alarms page the same team simultaneously for a single database outage, overwhelming responders. For the stated situation (A new ECS task definition produces errors after traffic shift, but the deployment continues to completion because alarms are not associated with the release.), the better investigation is: Review CodeDeploy deployment group alarms, target health and service error signals. The deciding distinction is: Delivery should link actionable CloudWatch alarms to supported deployment rollback actions.

B:

Inspect fields for status code, revision, trace ID and service name. This instead addresses a different case: A burst of HTTP 500s appears in logs, but operators query raw text and cannot correlate failures by deployment revision. For the stated situation (A new ECS task definition produces errors after traffic shift, but the deployment continues to completion because alarms are not associated with the release.), the better investigation is: Review CodeDeploy deployment group alarms, target health and service error signals. The deciding distinction is: Delivery should link actionable CloudWatch alarms to supported deployment rollback actions.

D:

Inspect read/write capacity utilization, throttle metrics and scaling settings. This instead addresses a different case: A provisioned DynamoDB table experiences frequent throttling without any configured application alarm. For the stated situation (A new ECS task definition produces errors after traffic shift, but the deployment continues to completion because alarms are not associated with the release.), the better investigation is: Review CodeDeploy deployment group alarms, target health and service error signals. The deciding distinction is: Delivery should link actionable CloudWatch alarms to supported deployment rollback actions.

Question 233

Before changing production, engineers find: The security team needs immediate notification if any member account root principal creates an access key or changes account settings. Which investigation should the engineer perform FIRST?

  1. Inspect Config recorders, aggregation sources, rules and delegated management.
  2. Inspect VPC Flow Logs enablement, records, ENIs and destination retention.
  3. Review trust policy principal, external ID use, STS records and least-privilege permissions.
  4. Inspect organization CloudTrail coverage, event patterns and root principal fields.

Explanation

Correct Answer

D:

Inspect organization CloudTrail coverage, event patterns and root principal fields. The governing principle is: High-risk root activity should be centrally detected from reliably recorded audit events. The next controlled engineering decision is: Use an EventBridge or suitable centralized CloudTrail event detection and escalation.

Incorrect Answers

A:

Inspect Config recorders, aggregation sources, rules and delegated management. 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 (The security team needs immediate notification if any member account root principal creates an access key or changes account settings.), the better investigation is: Inspect organization CloudTrail coverage, event patterns and root principal fields. The deciding distinction is: High-risk root activity should be centrally detected from reliably recorded audit events.

B:

Inspect VPC Flow Logs enablement, records, ENIs and destination retention. 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 (The security team needs immediate notification if any member account root principal creates an access key or changes account settings.), the better investigation is: Inspect organization CloudTrail coverage, event patterns and root principal fields. The deciding distinction is: High-risk root activity should be centrally detected from reliably recorded audit events.

C:

Review trust policy principal, external ID use, STS records and least-privilege permissions. This instead addresses a different case: A deployment service assumes a role in a third-party account, but the trust policy permits any AWS principal in the partner account. For the stated situation (The security team needs immediate notification if any member account root principal creates an access key or changes account settings.), the better investigation is: Inspect organization CloudTrail coverage, event patterns and root principal fields. The deciding distinction is: High-risk root activity should be centrally detected from reliably recorded audit events.

Question 234

An AWS platform team investigates this condition: A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected. Which DevOps principle BEST explains the core problem?

  1. Configuration compliance events can trigger managed event routing and bounded remediation.
  2. Ephemeral workloads need centralized logs and stable metadata for post-failure analysis.
  3. CloudTrail management events can attribute configuration changes when logged and retained appropriately.
  4. Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives.

Explanation

Correct Answer

D:

Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives. Relevant first evidence: Inspect historical CPU seasonality, anomaly band and alert validation cases. The resulting controlled response is: Configure CloudWatch anomaly detection with evaluated bounds and meaningful context.

Incorrect Answers

A:

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 seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected.), the better principle is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives. The deciding distinction is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives.

B:

Ephemeral workloads need centralized logs and stable metadata for post-failure analysis. 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 (A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected.), the better principle is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives. The deciding distinction is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives.

C:

CloudTrail management events can attribute configuration changes when logged and retained appropriately. This instead addresses a different case: A production security group unexpectedly allows SSH from the internet, and teams disagree who changed it. For the stated situation (A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected.), the better principle is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives. The deciding distinction is: Dynamic baseline alarms can detect unusual deviations when static thresholds create chronic false positives.

Question 235

After implementing a proposed fix, the team reviews: An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions. Which result would BEST confirm that the risk is addressed?

  1. An authorized dry run produces no token in captured logs and fetch still succeeds.
  2. An earlier deployment can still retrieve its exact verified image digest.
  3. Production invokes the intended compatible layer version with a documented rollback path.
  4. A cohort-specific fault pauses expansion and triggers supported rollback.

Explanation

Correct Answer

C:

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

Incorrect Answers

A:

An authorized dry run produces no token in captured logs and fetch still succeeds. This instead addresses a different case: A diagnostic CodeBuild command prints an authentication token to CloudWatch Logs before fetching a private package. 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 verification is: Production invokes the intended compatible layer version with a documented rollback path. The deciding distinction is: Shared dependencies should be versioned and referenced deliberately in serverless releases.

B:

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 application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions.), the better verification is: Production invokes the intended compatible layer version with a documented rollback path. The deciding distinction is: Shared dependencies should be versioned and referenced deliberately in serverless releases.

D:

A cohort-specific fault pauses expansion and triggers supported rollback. This instead addresses a different case: A new payment option passes staging but causes failures only for a small set of customer geographies. For the stated situation (An application repeatedly packages a huge unchanged runtime dependency into every Lambda release, increasing rollout time and inconsistent versions.), the better verification is: Production invokes the intended compatible layer version with a documented rollback path. The deciding distinction is: Shared dependencies should be versioned and referenced deliberately in serverless releases.

Question 236

A DevOps team is reviewing: An EC2 application runs out of memory while CPU remains low, but CloudWatch dashboards contain only default EC2 CPU metrics. Which TWO complementary actions should it take? Select TWO answers.

  1. Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors.
  2. Review AWS Config resource timeline and recorded CloudTrail changes for the period.
  3. Configure CloudWatch agent collection of memory metrics and a justified alarm threshold.
  4. Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms.
  5. Review metric namespace filters, stream role, delivery stream and external endpoint requirements.

Explanation

Correct Answers

C:

Configure CloudWatch agent collection of memory metrics and a justified alarm threshold. This is a required controlled engineering action 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 complementary correct action is: Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms. Both follow the principle: Guest operating system memory usage generally requires a configured agent or custom metric publisher.

D:

Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms. This is a required diagnostic evidence step 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 complementary correct action is: Configure CloudWatch agent collection of memory metrics and a justified alarm threshold. Both follow the principle: Guest operating system memory usage generally requires a configured agent or custom metric publisher.

Incorrect Answers

A:

Inspect subscription filters, destination ARN, Lambda/Kinesis processing and delivery errors. This is suitable for another situation: CloudWatch Logs receives application errors but the incident analytics system never sees them because the log stream is not forwarded. In this case, engineers instead need the paired investigation (Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms.) and design change (Configure CloudWatch agent collection of memory metrics and a justified alarm threshold.). These two steps address: An EC2 application runs out of memory while CPU remains low, but CloudWatch dashboards contain only default EC2 CPU metrics.

B:

Review AWS Config resource timeline and recorded CloudTrail changes for the period. This is suitable for another situation: A tagged production S3 bucket is currently private, but auditors need to know whether it was public during a past incident window. In this case, engineers instead need the paired investigation (Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms.) and design change (Configure CloudWatch agent collection of memory metrics and a justified alarm threshold.). These two steps address: An EC2 application runs out of memory while CPU remains low, but CloudWatch dashboards contain only default EC2 CPU metrics.

E:

Review metric namespace filters, stream role, delivery stream and external endpoint requirements. This is suitable for another situation: An enterprise needs near-real-time CloudWatch metric delivery to a central external analytics platform but polling every account exceeds API limits. In this case, engineers instead need the paired investigation (Inspect installed CloudWatch agent, metric namespace, dimensions and memory alarms.) and design change (Configure CloudWatch agent collection of memory metrics and a justified alarm threshold.). These two steps address: An EC2 application runs out of memory while CPU remains low, but CloudWatch dashboards contain only default EC2 CPU metrics.

Question 237

A DevOps team is reviewing: An automation starts on a fixed schedule even though the required S3 data file often arrives late, causing incomplete daily reports. Which TWO complementary actions should it take? Select TWO answers.

  1. Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites.
  2. Route qualifying findings through EventBridge to the authorized incident workflow.
  3. Diversify capacity pools or update launch configuration consistent with requirements.
  4. Inspect event identifiers, destination conditional writes and retry behavior.
  5. Trigger processing from verified object-available events with idempotent validation.

Explanation

Correct Answers

A:

Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites. This is a required diagnostic evidence step for the stated situation: An automation starts on a fixed schedule even though the required S3 data file often arrives late, causing incomplete daily reports. The complementary correct action is: Trigger processing from verified object-available events with idempotent validation. Both follow the principle: Workflows dependent on resource arrivals should use suitable events and readiness checks.

E:

Trigger processing from verified object-available events with idempotent validation. This is a required controlled engineering action for the stated situation: An automation starts on a fixed schedule even though the required S3 data file often arrives late, causing incomplete daily reports. The complementary correct action is: Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites. Both follow the principle: Workflows dependent on resource arrivals should use suitable events and readiness checks.

Incorrect Answers

B:

Route qualifying findings through EventBridge to the authorized incident workflow. This is suitable for another situation: A GuardDuty finding appears in one account, but the incident team sees it only after manually checking the service console. In this case, engineers instead need the paired investigation (Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites.) and design change (Trigger processing from verified object-available events with idempotent validation.). These two steps address: An automation starts on a fixed schedule even though the required S3 data file often arrives late, causing incomplete daily reports.

C:

Diversify capacity pools or update launch configuration consistent with requirements. This is suitable for another situation: An Auto Scaling group repeatedly fails to launch enough instances in one AZ despite other AZs having capacity. In this case, engineers instead need the paired investigation (Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites.) and design change (Trigger processing from verified object-available events with idempotent validation.). These two steps address: An automation starts on a fixed schedule even though the required S3 data file often arrives late, causing incomplete daily reports.

D:

Inspect event identifiers, destination conditional writes and retry behavior. This is suitable for another situation: An S3 upload event triggers a Lambda that copies customer records, and retries create duplicate records in a destination store. In this case, engineers instead need the paired investigation (Review S3 object delivery patterns, EventBridge trigger timing and job prerequisites.) and design change (Trigger processing from verified object-available events with idempotent validation.). These two steps address: An automation starts on a fixed schedule even though the required S3 data file often arrives late, causing incomplete daily reports.

Question 238

An AWS platform team investigates this condition: Development accounts and regulated production accounts need distinct guardrails, but a single organization-wide policy blocks legitimate development experiments. Which DevOps principle BEST explains the core problem?

  1. OU hierarchy and controls should reflect different business risk profiles without losing required common protections.
  2. Complex automation benefits from explicit state transitions, retries, timeouts and compensation.
  3. Multi-account security governance needs centralized delegated administration and aggregated visibility.
  4. Organization controls should constrain sensitive service actions to approved Regions where practical.

Explanation

Correct Answer

A:

OU hierarchy and controls should reflect different business risk profiles without losing required common protections. Relevant first evidence: Review account inventory, OU membership, inheritance and exceptions. The resulting controlled response is: Organize accounts by approved governance boundaries and attach tailored SCPs or guardrails.

Incorrect Answers

B:

Complex automation benefits from explicit state transitions, retries, timeouts and compensation. This instead addresses a different case: A manual checklist coordinates data migration, validation, and customer notification, but operators skip steps when a Lambda function times out. For the stated situation (Development accounts and regulated production accounts need distinct guardrails, but a single organization-wide policy blocks legitimate development experiments.), the better principle is: OU hierarchy and controls should reflect different business risk profiles without losing required common protections. The deciding distinction is: OU hierarchy and controls should reflect different business risk profiles without losing required common protections.

C:

Multi-account security governance needs centralized delegated administration and aggregated visibility. This instead addresses a different case: Security Hub findings remain isolated in 40 member accounts and security operations cannot reliably track enterprise-wide exposure. For the stated situation (Development accounts and regulated production accounts need distinct guardrails, but a single organization-wide policy blocks legitimate development experiments.), the better principle is: OU hierarchy and controls should reflect different business risk profiles without losing required common protections. The deciding distinction is: OU hierarchy and controls should reflect different business risk profiles without losing required common protections.

D:

Organization controls should constrain sensitive service actions to approved Regions where practical. This instead addresses a different case: A multinational OU has a data residency rule, but new accounts can deploy regulated S3 resources in arbitrary Regions. For the stated situation (Development accounts and regulated production accounts need distinct guardrails, but a single organization-wide policy blocks legitimate development experiments.), the better principle is: OU hierarchy and controls should reflect different business risk profiles without losing required common protections. The deciding distinction is: OU hierarchy and controls should reflect different business risk profiles without losing required common protections.

Question 239

A DevOps team is reviewing: EKS pods restart after a rollout, and their transient filesystem logs disappear before investigators collect them. Which TWO complementary actions should it take? Select TWO answers.

  1. Review Fluent Bit or approved collector delivery, pod labels and restart events.
  2. Inspect centralized CloudTrail object layout, partitioning and access permissions.
  3. Forward container logs with cluster, namespace, pod and deployment identifiers.
  4. Inspect tracing activation, propagation headers, service map and correlated request IDs.
  5. Configure CloudWatch anomaly detection with evaluated bounds and meaningful context.

Explanation

Correct Answers

A:

Review Fluent Bit or approved collector delivery, pod labels and restart events. This is a required diagnostic evidence step for the stated situation: EKS pods restart after a rollout, and their transient filesystem logs disappear before investigators collect them. The complementary correct action is: Forward container logs with cluster, namespace, pod and deployment identifiers. Both follow the principle: Ephemeral workloads need centralized logs and stable metadata for post-failure analysis.

C:

Forward container logs with cluster, namespace, pod and deployment identifiers. This is a required controlled engineering action for the stated situation: EKS pods restart after a rollout, and their transient filesystem logs disappear before investigators collect them. The complementary correct action is: Review Fluent Bit or approved collector delivery, pod labels and restart events. Both follow the principle: Ephemeral workloads need centralized logs and stable metadata for post-failure analysis.

Incorrect Answers

B:

Inspect centralized CloudTrail object layout, partitioning and access permissions. This is suitable for another situation: The platform team needs to analyze months of historical organization CloudTrail records across accounts to detect policy changes. In this case, engineers instead need the paired investigation (Review Fluent Bit or approved collector delivery, pod labels and restart events.) and design change (Forward container logs with cluster, namespace, pod and deployment identifiers.). These two steps address: EKS pods restart after a rollout, and their transient filesystem logs disappear before investigators collect them.

D:

Inspect tracing activation, propagation headers, service map and correlated request IDs. This is suitable for another situation: API Gateway, Lambda and downstream services emit logs, but operators cannot correlate one slow customer request across service hops. In this case, engineers instead need the paired investigation (Review Fluent Bit or approved collector delivery, pod labels and restart events.) and design change (Forward container logs with cluster, namespace, pod and deployment identifiers.). These two steps address: EKS pods restart after a rollout, and their transient filesystem logs disappear before investigators collect them.

E:

Configure CloudWatch anomaly detection with evaluated bounds and meaningful context. This is suitable for another situation: A seasonal shopping workload triggers fixed CPU threshold alerts every evening although nightly traffic is normal and expected. In this case, engineers instead need the paired investigation (Review Fluent Bit or approved collector delivery, pod labels and restart events.) and design change (Forward container logs with cluster, namespace, pod and deployment identifiers.). These two steps address: EKS pods restart after a rollout, and their transient filesystem logs disappear before investigators collect them.

Question 240

Before changing production, engineers find: An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update. Which investigation should the engineer perform FIRST?

  1. Inspect key usage, aliases, pending deletion, backup dependencies and retention policy.
  2. Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy.
  3. Inspect module defaults, S3 public access settings and Config findings.
  4. Inspect Inspector scanning coverage, asset inventory, findings and patch deployment.

Explanation

Correct Answer

B:

Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy. The governing principle is: Access to SSE-KMS objects requires suitable S3 and KMS authorization. The next controlled engineering decision is: Grant only the necessary KMS decrypt permissions to the intended application role.

Incorrect Answers

A:

Inspect key usage, aliases, pending deletion, backup dependencies and retention policy. This instead addresses a different case: An automated cleanup tool schedules deletion of a KMS key that encrypts backups needed to satisfy long retention. For the stated situation (An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update.), the better investigation is: Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy. The deciding distinction is: Access to SSE-KMS objects requires suitable S3 and KMS authorization.

C:

Inspect module defaults, S3 public access settings and Config findings. This instead addresses a different case: New project buckets frequently become publicly readable because an IaC module omits S3 Block Public Access. For the stated situation (An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update.), the better investigation is: Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy. The deciding distinction is: Access to SSE-KMS objects requires suitable S3 and KMS authorization.

D:

Inspect Inspector scanning coverage, asset inventory, findings and patch deployment. This instead addresses a different case: A new AMI enters production with an outdated system package, but the organization runs vulnerability assessments only once annually. For the stated situation (An application has s3:GetObject permission but cannot read encrypted objects after a KMS key policy update.), the better investigation is: Inspect KMS key policy, IAM Decrypt grant, encryption context and bucket policy. The deciding distinction is: Access to SSE-KMS objects requires suitable S3 and KMS authorization.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests