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 95

Question 940

After implementing a proposed fix, the team reviews: A mobile API intermittently returns HTTP 429 during marketing peaks, but its Lambda error metric stays nearly zero. Which result would BEST confirm that the risk is addressed?

  1. New pods become ready without repeated restarts and service traffic succeeds.
  2. A representative end-to-end request completes within API and business latency budgets.
  3. A load test distinguishes deliberate 429 protection from unexpected backend failure.
  4. A matching test event invokes the response and an unrelated event does not.

Explanation

Correct Answer

C:

A load test distinguishes deliberate 429 protection from unexpected backend failure. The approved action is: Tune supported throttling quotas or implement client backoff and capacity planning. The risk principle is: Request throttling may occur at API Gateway before integration invocation.

Incorrect Answers

A:

New pods become ready without repeated restarts and service traffic succeeds. This instead addresses a different case: An EKS deployment enters CrashLoopBackOff after a config release, although the cluster nodes and pods have adequate CPU. For the stated situation (A mobile API intermittently returns HTTP 429 during marketing peaks, but its Lambda error metric stays nearly zero.), the better verification is: A load test distinguishes deliberate 429 protection from unexpected backend failure. The deciding distinction is: Request throttling may occur at API Gateway before integration invocation.

B:

A representative end-to-end request completes within API and business latency budgets. This instead addresses a different case: An API Gateway operation returns 504 and the Lambda function times out only after calling a VPC-hosted database. For the stated situation (A mobile API intermittently returns HTTP 429 during marketing peaks, but its Lambda error metric stays nearly zero.), the better verification is: A load test distinguishes deliberate 429 protection from unexpected backend failure. The deciding distinction is: Request throttling may occur at API Gateway before integration invocation.

D:

A matching test event invokes the response and an unrelated event does not. This instead addresses a different case: A security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls. For the stated situation (A mobile API intermittently returns HTTP 429 during marketing peaks, but its Lambda error metric stays nearly zero.), the better verification is: A load test distinguishes deliberate 429 protection from unexpected backend failure. The deciding distinction is: Request throttling may occur at API Gateway before integration invocation.

Question 941

A DevOps team is reviewing: Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path. Which TWO complementary actions should it take? Select TWO answers.

  1. Design approved AWS Network Firewall routing and rules for inspected outbound paths.
  2. Use ACM or a secure secret/key service appropriate to the termination model.
  3. Review VPC route tables, firewall endpoint placement and egress flow records.
  4. Add key deletion approval and dependency verification safeguards to cleanup automation.
  5. Inspect secret version stages, rotation workflow and application cache behavior.

Explanation

Correct Answers

A:

Design approved AWS Network Firewall routing and rules for inspected outbound paths. This is a required controlled engineering action for the stated situation: Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path. The complementary correct action is: Review VPC route tables, firewall endpoint placement and egress flow records. Both follow the principle: Network security depends on actual traffic routing through the chosen enforcement point.

C:

Review VPC route tables, firewall endpoint placement and egress flow records. This is a required diagnostic evidence step for the stated situation: Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path. The complementary correct action is: Design approved AWS Network Firewall routing and rules for inspected outbound paths. Both follow the principle: Network security depends on actual traffic routing through the chosen enforcement point.

Incorrect Answers

B:

Use ACM or a secure secret/key service appropriate to the termination model. This is suitable for another situation: A custom TLS termination service stores its private key in an unencrypted public container image layer. In this case, engineers instead need the paired investigation (Review VPC route tables, firewall endpoint placement and egress flow records.) and design change (Design approved AWS Network Firewall routing and rules for inspected outbound paths.). These two steps address: Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path.

D:

Add key deletion approval and dependency verification safeguards to cleanup automation. This is suitable for another situation: An automated cleanup tool schedules deletion of a KMS key that encrypts backups needed to satisfy long retention. In this case, engineers instead need the paired investigation (Review VPC route tables, firewall endpoint placement and egress flow records.) and design change (Design approved AWS Network Firewall routing and rules for inspected outbound paths.). These two steps address: Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path.

E:

Inspect secret version stages, rotation workflow and application cache behavior. This is suitable for another situation: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. In this case, engineers instead need the paired investigation (Review VPC route tables, firewall endpoint placement and egress flow records.) and design change (Design approved AWS Network Firewall routing and rules for inspected outbound paths.). These two steps address: Security policy requires outbound traffic inspection, but private subnets route directly through NAT without the designated inspection path.

Question 942

Before changing production, engineers find: A security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls. Which investigation should the engineer perform FIRST?

  1. Review delivery guarantees, subscriptions, DLQs and consumer coupling.
  2. Inspect AWS Health event scope, affected entities and incident routing coverage.
  3. Inspect EventBridge event patterns, sample AWS event payloads and Lambda invocations.
  4. Inspect rotation function stages, secret version labels and application cache lifecycle.

Explanation

Correct Answer

C:

Inspect EventBridge event patterns, sample AWS event payloads and Lambda invocations. The governing principle is: Event routing should filter on relevant sources, detail types and expected event properties. The next controlled engineering decision is: Create selective event patterns matching only approved incident conditions.

Incorrect Answers

A:

Review delivery guarantees, subscriptions, DLQs and consumer coupling. This instead addresses a different case: One order-created event needs to inform billing, fulfillment and analytics independently, but a direct Lambda chain loses downstream events when one service is unavailable. For the stated situation (A security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls.), the better investigation is: Inspect EventBridge event patterns, sample AWS event payloads and Lambda invocations. The deciding distinction is: Event routing should filter on relevant sources, detail types and expected event properties.

B:

Inspect AWS Health event scope, affected entities and incident routing coverage. This instead addresses a different case: An AWS Health event affects a critical enterprise database in an otherwise quiet account, but the team monitors only application CloudWatch alarms. For the stated situation (A security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls.), the better investigation is: Inspect EventBridge event patterns, sample AWS event payloads and Lambda invocations. The deciding distinction is: Event routing should filter on relevant sources, detail types and expected event properties.

D:

Inspect rotation function stages, secret version labels and application cache lifecycle. 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 security automation rule currently runs for every CloudTrail event, flooding a response Lambda with unrelated calls.), the better investigation is: Inspect EventBridge event patterns, sample AWS event payloads and Lambda invocations. The deciding distinction is: Event routing should filter on relevant sources, detail types and expected event properties.

Question 943

Before changing production, engineers find: Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets. Which investigation should the engineer perform FIRST?

  1. Review metric namespace filters, stream role, delivery stream and external endpoint requirements.
  2. Inspect flow log coverage, filter type, destination access and retention requirements.
  3. Inspect log JSON structure, embedded metric declarations and namespace configuration.
  4. Inspect CloudWatch Synthetics canary steps, credential handling and network reachability.

Explanation

Correct Answer

B:

Inspect flow log coverage, filter type, destination access and retention requirements. The governing principle is: Network flow evidence must be collected at relevant scope with protected destination and retention. The next controlled engineering decision is: Enable appropriately scoped VPC Flow Logs to a secure central destination.

Incorrect Answers

A:

Review metric namespace filters, stream role, delivery stream and external endpoint requirements. This instead addresses a different case: An enterprise needs near-real-time CloudWatch metric delivery to a central external analytics platform but polling every account exceeds API limits. For the stated situation (Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets.), the better investigation is: Inspect flow log coverage, filter type, destination access and retention requirements. The deciding distinction is: Network flow evidence must be collected at relevant scope with protected destination and retention.

C:

Inspect log JSON structure, embedded metric declarations and namespace configuration. This instead addresses a different case: An application emits useful latency values inside structured logs but operators need searchable and alarmable measurements without building a bespoke database. For the stated situation (Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets.), the better investigation is: Inspect flow log coverage, filter type, destination access and retention requirements. The deciding distinction is: Network flow evidence must be collected at relevant scope with protected destination and retention.

D:

Inspect CloudWatch Synthetics canary steps, credential handling and network reachability. This instead addresses a different case: An external application returns 200 for its home page even as the login endpoint has expired certificates and cannot authenticate users. For the stated situation (Security investigators cannot reconstruct a suspected data exfiltration path because VPC Flow Logs were never enabled for regulated subnets.), the better investigation is: Inspect flow log coverage, filter type, destination access and retention requirements. The deciding distinction is: Network flow evidence must be collected at relevant scope with protected destination and retention.

Question 944

The DevOps team must resolve this scenario: A production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic. Which engineering change is MOST appropriate?

  1. Integrate deployment alarms and an automated rollback path for failed acceptance windows.
  2. Enable appropriate image tag immutability or deploy by digest with controlled image retention.
  3. Use appropriate source change triggers and path filters with explicit handling of shared dependencies.
  4. Use restricted provider connection permissions and pipeline-level source authorization controls.

Explanation

Correct Answer

A:

Integrate deployment alarms and an automated rollback path for failed acceptance windows. Its validation is: A deliberately unhealthy release triggers rollback to the prior verified revision. The principle is: Release success should depend on monitored application health and recoverable deployment state.

Incorrect Answers

B:

Enable appropriate image tag immutability or deploy by digest with controlled image retention. 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 (A production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic.), the better engineering action is: Integrate deployment alarms and an automated rollback path for failed acceptance windows. The deciding distinction is: Release success should depend on monitored application health and recoverable deployment state.

C:

Use appropriate source change triggers and path filters with explicit handling of shared dependencies. This instead addresses a different case: A monorepo contains infrastructure, mobile and billing folders, but every README edit launches all three expensive production pipelines. For the stated situation (A production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic.), the better engineering action is: Integrate deployment alarms and an automated rollback path for failed acceptance windows. The deciding distinction is: Release success should depend on monitored application health and recoverable deployment state.

D:

Use restricted provider connection permissions and pipeline-level source authorization controls. 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 production delivery pipeline remains green after a deployment even though health checks fail during post-deploy traffic.), the better engineering action is: Integrate deployment alarms and an automated rollback path for failed acceptance windows. The deciding distinction is: Release success should depend on monitored application health and recoverable deployment state.

Question 945

An AWS platform team investigates this condition: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active. Which DevOps principle BEST explains the core problem?

  1. Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.
  2. Scaling policies must account for instance startup and warmup behavior.
  3. Queue consumer visibility and processing design must account for task duration and idempotency.
  4. Container service scaling should use load-appropriate metrics and capacity limits.

Explanation

Correct Answer

C:

Queue consumer visibility and processing design must account for task duration and idempotency. Relevant first evidence: Review processing time distribution, visibility settings and duplicate business actions. The resulting controlled response is: Adjust visibility timeout or extend it safely, with idempotent task handling.

Incorrect Answers

A:

Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported. This instead addresses a different case: A critical RDS database runs on one instance and must recover automatically from underlying infrastructure failure without manual restoration. For the stated situation (Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active.), the better principle is: Queue consumer visibility and processing design must account for task duration and idempotency. The deciding distinction is: Queue consumer visibility and processing design must account for task duration and idempotency.

B:

Scaling policies must account for instance startup and warmup behavior. This instead addresses a different case: An EC2 Auto Scaling policy sees high CPU during boot and launches many extra instances before new nodes can serve traffic. For the stated situation (Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active.), the better principle is: Queue consumer visibility and processing design must account for task duration and idempotency. The deciding distinction is: Queue consumer visibility and processing design must account for task duration and idempotency.

D:

Container service scaling should use load-appropriate metrics and capacity limits. This instead addresses a different case: An ECS Fargate application scales tasks manually and saturates its ALB during promotional traffic spikes. For the stated situation (Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active.), the better principle is: Queue consumer visibility and processing design must account for task duration and idempotency. The deciding distinction is: Queue consumer visibility and processing design must account for task duration and idempotency.

Question 946

A DevOps team is reviewing: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active. Which TWO complementary actions should it take? Select TWO answers.

  1. Inspect instance warmup, health readiness, scaling events and CPU trends.
  2. Configure ECS Service Auto Scaling with appropriate target tracking and bounds.
  3. Inspect automated backup settings, log retention, restore window and business RPO.
  4. Adjust visibility timeout or extend it safely, with idempotent task handling.
  5. Review processing time distribution, visibility settings and duplicate business actions.

Explanation

Correct Answers

D:

Adjust visibility timeout or extend it safely, with idempotent task handling. This is a required controlled engineering action for the stated situation: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active. The complementary correct action is: Review processing time distribution, visibility settings and duplicate business actions. Both follow the principle: Queue consumer visibility and processing design must account for task duration and idempotency.

E:

Review processing time distribution, visibility settings and duplicate business actions. This is a required diagnostic evidence step for the stated situation: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active. The complementary correct action is: Adjust visibility timeout or extend it safely, with idempotent task handling. Both follow the principle: Queue consumer visibility and processing design must account for task duration and idempotency.

Incorrect Answers

A:

Inspect instance warmup, health readiness, scaling events and CPU trends. This is suitable for another situation: An EC2 Auto Scaling policy sees high CPU during boot and launches many extra instances before new nodes can serve traffic. In this case, engineers instead need the paired investigation (Review processing time distribution, visibility settings and duplicate business actions.) and design change (Adjust visibility timeout or extend it safely, with idempotent task handling.). These two steps address: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active.

B:

Configure ECS Service Auto Scaling with appropriate target tracking and bounds. This is suitable for another situation: An ECS Fargate application scales tasks manually and saturates its ALB during promotional traffic spikes. In this case, engineers instead need the paired investigation (Review processing time distribution, visibility settings and duplicate business actions.) and design change (Adjust visibility timeout or extend it safely, with idempotent task handling.). These two steps address: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active.

C:

Inspect automated backup settings, log retention, restore window and business RPO. This is suitable for another situation: A table is accidentally overwritten and operators can restore only yesterday's full snapshot, losing recent transactions. In this case, engineers instead need the paired investigation (Review processing time distribution, visibility settings and duplicate business actions.) and design change (Adjust visibility timeout or extend it safely, with idempotent task handling.). These two steps address: Message consumers regularly process tasks longer than the SQS visibility timeout, causing duplicate deliveries while the first worker is active.

Question 947

The DevOps team must resolve this scenario: A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account. Which engineering change is MOST appropriate?

  1. Use appropriate tag-aware policies with guarded tagging permissions.
  2. Implement safe Secrets Manager rotation and compatible runtime secret refresh.
  3. Configure an organization Config aggregator and required centrally managed rule coverage.
  4. Add narrowly scoped cross-account bucket and necessary key grants in both authorization planes.

Explanation

Correct Answer

D:

Add narrowly scoped cross-account bucket and necessary key grants in both authorization planes. Its validation is: An intended object is readable and unauthorized prefixes remain denied. The principle is: Cross-account resource access requires compatible identity permissions and resource-side authorization.

Incorrect Answers

A:

Use appropriate tag-aware policies with guarded tagging permissions. This instead addresses a different case: A shared ECS deployment role can update any workload in the account despite developers owning separate applications. For the stated situation (A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account.), the better engineering action is: Add narrowly scoped cross-account bucket and necessary key grants in both authorization planes. The deciding distinction is: Cross-account resource access requires compatible identity permissions and resource-side authorization.

B:

Implement safe Secrets Manager rotation and compatible runtime secret refresh. This instead addresses a different case: Multiple application instances embed a database password that is rotated manually, causing widespread outages after each change. For the stated situation (A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account.), the better engineering action is: Add narrowly scoped cross-account bucket and necessary key grants in both authorization planes. The deciding distinction is: Cross-account resource access requires compatible identity permissions and resource-side authorization.

C:

Configure an organization Config aggregator and required centrally managed rule coverage. This instead addresses a different case: Governance wants one view of noncompliant encrypted volumes across every AWS Organization account and Region. For the stated situation (A Lambda role has s3:GetObject but gets AccessDenied reading a bucket in another account.), the better engineering action is: Add narrowly scoped cross-account bucket and necessary key grants in both authorization planes. The deciding distinction is: Cross-account resource access requires compatible identity permissions and resource-side authorization.

Question 948

A DevOps team is reviewing: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required. Which TWO complementary actions should it take? Select TWO answers.

  1. Use dependency lockfiles and deterministic build inputs with immutable package storage.
  2. Inspect package manager configuration, external connections and CodeArtifact permissions.
  3. Review bucket policy, encryption settings, KMS grants and pipeline roles.
  4. Inspect consumer contract tests, deployment sequencing and service version dependencies.
  5. Route dependencies through approved CodeArtifact repositories with controlled upstream access.

Explanation

Correct Answers

B:

Inspect package manager configuration, external connections and CodeArtifact permissions. This is a required diagnostic evidence step for the stated situation: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required. The complementary correct action is: Route dependencies through approved CodeArtifact repositories with controlled upstream access. Both follow the principle: Dependency provenance and repository policy should be enforced during builds.

E:

Route dependencies through approved CodeArtifact repositories with controlled upstream access. This is a required controlled engineering action for the stated situation: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required. The complementary correct action is: Inspect package manager configuration, external connections and CodeArtifact permissions. Both follow the principle: Dependency provenance and repository policy should be enforced during builds.

Incorrect Answers

A:

Use dependency lockfiles and deterministic build inputs with immutable package storage. This is suitable for another situation: Two identical source commits produce different Lambda packages because the build downloads the newest transitive dependencies each day. In this case, engineers instead need the paired investigation (Inspect package manager configuration, external connections and CodeArtifact permissions.) and design change (Route dependencies through approved CodeArtifact repositories with controlled upstream access.). These two steps address: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required.

C:

Review bucket policy, encryption settings, KMS grants and pipeline roles. This is suitable for another situation: Deployment artifacts containing sensitive configuration are stored in an S3 bucket with broad read access and no enforced encryption policy. In this case, engineers instead need the paired investigation (Inspect package manager configuration, external connections and CodeArtifact permissions.) and design change (Route dependencies through approved CodeArtifact repositories with controlled upstream access.). These two steps address: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required.

D:

Inspect consumer contract tests, deployment sequencing and service version dependencies. This is suitable for another situation: A customer checkout API and its consumer contract must change together, but independent pipelines deploy incompatible revisions without a compatibility gate. In this case, engineers instead need the paired investigation (Inspect package manager configuration, external connections and CodeArtifact permissions.) and design change (Route dependencies through approved CodeArtifact repositories with controlled upstream access.). These two steps address: A CodeBuild project downloads packages from unrestricted public registries even though an internal vetted package repository is required.

Question 949

Before changing production, engineers find: A production IAM role grants expanded privileges despite the approved CloudFormation template declaring limited access. Which investigation should the engineer perform FIRST?

  1. Inspect request patterns, rule priorities, WAF logs and legitimate traffic impact.
  2. Inspect detector enablement, Security Hub integration, EventBridge rules and delegated admin.
  3. Review stack drift status, CloudTrail changes and IAM effective policy.
  4. Inspect Config recorders, aggregation sources, rules and delegated management.

Explanation

Correct Answer

C:

Review stack drift status, CloudTrail changes and IAM effective policy. The governing principle is: Drift checks and authorization records can reveal out-of-band permission changes. The next controlled engineering decision is: Automate drift detection, alerting and approved reconciliation for critical stacks.

Incorrect Answers

A:

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 (A production IAM role grants expanded privileges despite the approved CloudFormation template declaring limited access.), the better investigation is: Review stack drift status, CloudTrail changes and IAM effective policy. The deciding distinction is: Drift checks and authorization records can reveal out-of-band permission changes.

B:

Inspect detector enablement, Security Hub integration, EventBridge rules and delegated admin. This instead addresses a different case: A suspicious EC2 credential event generates a GuardDuty finding but never reaches the central analyst workflow. For the stated situation (A production IAM role grants expanded privileges despite the approved CloudFormation template declaring limited access.), the better investigation is: Review stack drift status, CloudTrail changes and IAM effective policy. The deciding distinction is: Drift checks and authorization records can reveal out-of-band permission changes.

D:

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 (A production IAM role grants expanded privileges despite the approved CloudFormation template declaring limited access.), the better investigation is: Review stack drift status, CloudTrail changes and IAM effective policy. The deciding distinction is: Drift checks and authorization records can reveal out-of-band permission changes.

Question 950

Before changing production, engineers find: Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database. Which investigation should the engineer perform FIRST?

  1. Inspect shell error handling, test process exit codes, buildspec commands and report-group output.
  2. Inspect workload profile, load generator placement, request latencies and scaling metrics.
  3. Review staged connection settings, test secrets, IAM role access and failed connection traces.
  4. Review signing keys, image digests, publication roles and deployment verification policy.

Explanation

Correct Answer

C:

Review staged connection settings, test secrets, IAM role access and failed connection traces. The governing principle is: Integration testing must exercise dependent services and environment configuration, not just isolated functions. The next controlled engineering decision is: Add an isolated integration stage with representative database access and verifiable test assertions.

Incorrect Answers

A:

Inspect shell error handling, test process exit codes, buildspec commands and report-group output. This instead addresses a different case: CodeBuild exits zero after a testing script prints failing assertions, and no test result report is retained. For the stated situation (Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database.), the better investigation is: Review staged connection settings, test secrets, IAM role access and failed connection traces. The deciding distinction is: Integration testing must exercise dependent services and environment configuration, not just isolated functions.

B:

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 (Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database.), the better investigation is: Review staged connection settings, test secrets, IAM role access and failed connection traces. The deciding distinction is: Integration testing must exercise dependent services and environment configuration, not just isolated functions.

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 (Unit tests pass but a newly deployed Lambda service cannot authenticate to the staging RDS database.), the better investigation is: Review staged connection settings, test secrets, IAM role access and failed connection traces. The deciding distinction is: Integration testing must exercise dependent services and environment configuration, not just isolated functions.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests