Amazon AWS Certified DevOps Engineer - Professional DOP-C02 Practice Test 100
Question 990
After implementing a proposed fix, the team reviews: 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 result would BEST confirm that the risk is addressed?
- A recovery test restores data to an approved timestamp before the accidental update.
- Concurrent writes are reconciled according to documented business semantics.
- A controlled failover keeps recovery within the agreed service interruption objective.
- A primary fault causes DNS answers to move to a healthy secondary target within expectations.
Explanation
Correct Answer
D:A primary fault causes DNS answers to move to a healthy secondary target within expectations. The approved action is: Configure failover routing records with valid health checks and appropriate backup endpoint. The risk principle is: DNS failover needs accurate health evaluation and correctly associated routing records.
Incorrect Answers
A:A recovery test restores data to an approved timestamp before the accidental update. This instead addresses a different case: A table is accidentally overwritten and operators can restore only yesterday's full snapshot, losing recent transactions. 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 verification is: A primary fault causes DNS answers to move to a healthy secondary target within expectations. The deciding distinction is: DNS failover needs accurate health evaluation and correctly associated routing records.
B:Concurrent writes are reconciled according to documented business 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 verification is: A primary fault causes DNS answers to move to a healthy secondary target within expectations. The deciding distinction is: DNS failover needs accurate health evaluation and correctly associated routing records.
C:A controlled failover keeps recovery within the agreed service interruption objective. 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 (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 verification is: A primary fault causes DNS answers to move to a healthy secondary target within expectations. The deciding distinction is: DNS failover needs accurate health evaluation and correctly associated routing records.
Question 991
After implementing a proposed fix, the team reviews: An ACM-managed certificate is nearing expiration, but an application relies on manually imported certificates whose renewal notifications are ignored. Which result would BEST confirm that the risk is addressed?
- A dry run changes the intended test instance and leaves healthy fleet instances reachable.
- The service presents a current trusted certificate before expiry without unexpected interruption.
- An affected account event is visible to authorized operators with timely service context.
- The workflow defers unsafe destruction during critical processing and records authorization.
Explanation
Correct Answer
B:The service presents a current trusted certificate before expiry without unexpected interruption. The approved action is: Use valid renewal procedures and monitored replacement for imported certificates. The risk principle is: Certificate lifecycle automation must match certificate origin and supported renewal method.
Incorrect Answers
A:A dry run changes the intended test instance and leaves healthy fleet instances reachable. This instead addresses a different case: An incident automation should isolate one compromised EC2 instance, but its script selects every instance in the same environment tag. For the stated situation (An ACM-managed certificate is nearing expiration, but an application relies on manually imported certificates whose renewal notifications are ignored.), the better verification is: The service presents a current trusted certificate before expiry without unexpected interruption. The deciding distinction is: Certificate lifecycle automation must match certificate origin and supported renewal method.
C:An affected account event is visible to authorized operators with timely service context. 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 (An ACM-managed certificate is nearing expiration, but an application relies on manually imported certificates whose renewal notifications are ignored.), the better verification is: The service presents a current trusted certificate before expiry without unexpected interruption. The deciding distinction is: Certificate lifecycle automation must match certificate origin and supported renewal method.
D:The workflow defers unsafe destruction during critical processing and records authorization. This instead addresses a different case: A production alarm starts an infrastructure rebuild immediately even during a payroll settlement window where failover can corrupt in-flight transactions. For the stated situation (An ACM-managed certificate is nearing expiration, but an application relies on manually imported certificates whose renewal notifications are ignored.), the better verification is: The service presents a current trusted certificate before expiry without unexpected interruption. The deciding distinction is: Certificate lifecycle automation must match certificate origin and supported renewal method.
Question 992
The DevOps team must resolve this scenario: A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored. Which engineering change is MOST appropriate?
- Use stable device partition keys where ordering is required, with monitored throughput.
- Document service-impacting provider conditions and take bounded regional failover actions.
- Correct the blocking dependency and continue rollback using supported CloudFormation recovery.
- Restore required narrowly scoped decrypt and object-read permissions.
Explanation
Correct Answer
C:Correct the blocking dependency and continue rollback using supported CloudFormation recovery. Its validation is: The stack returns to a stable state without losing approved persistent resources. The principle is: Failure investigation should use CloudFormation stack events and supported recovery operations.
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 (A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored.), the better engineering action is: Correct the blocking dependency and continue rollback using supported CloudFormation recovery. The deciding distinction is: Failure investigation should use CloudFormation stack events and supported recovery operations.
B:Document service-impacting provider conditions and take bounded regional failover actions. This instead addresses a different case: Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code. For the stated situation (A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored.), the better engineering action is: Correct the blocking dependency and continue rollback using supported CloudFormation recovery. The deciding distinction is: Failure investigation should use CloudFormation stack events and supported recovery operations.
D:Restore required narrowly scoped decrypt and object-read permissions. This instead addresses a different case: A pipeline fails at CodeBuild DOWNLOAD_SOURCE with AccessDenied after a KMS key policy change. For the stated situation (A production stack enters UPDATE_ROLLBACK_FAILED after a deleted external resource cannot be restored.), the better engineering action is: Correct the blocking dependency and continue rollback using supported CloudFormation recovery. The deciding distinction is: Failure investigation should use CloudFormation stack events and supported recovery operations.
Question 993
An AWS platform team investigates this condition: A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion. Which DevOps principle BEST explains the core problem?
- DNS failover needs accurate health evaluation and correctly associated routing records.
- Managed Multi-AZ database deployment provides synchronous standby and automatic infrastructure failover where supported.
- Warm standby requires pre-deployed usable components sufficient for stated recovery time.
- Availability requires both managed database failover and application-side transient fault handling.
Explanation
Correct Answer
D:Availability requires both managed database failover and application-side transient fault handling. Relevant first evidence: Review writer failover tests, connection pools, DNS refresh and retry strategy. The resulting controlled response is: Implement bounded retries and use appropriate cluster endpoints around database failover.
Incorrect Answers
A:DNS failover needs accurate health evaluation and correctly associated routing records. This instead addresses a different case: 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. For the stated situation (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better principle is: Availability requires both managed database failover and application-side transient fault handling. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.
B: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 (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better principle is: Availability requires both managed database failover and application-side transient fault handling. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.
C:Warm standby requires pre-deployed usable components sufficient for stated recovery time. This instead addresses a different case: A standby Region has copied AMIs but no provisioned database capacity and cannot accept traffic for hours. For the stated situation (A critical Aurora service stores data reliably but a client uses a short hardcoded connection timeout and does not retry after writer promotion.), the better principle is: Availability requires both managed database failover and application-side transient fault handling. The deciding distinction is: Availability requires both managed database failover and application-side transient fault handling.
Question 994
After implementing a proposed fix, the team reviews: A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs. Which result would BEST confirm that the risk is addressed?
- Events from one device are observed in order and high-throughput devices are handled safely.
- A simulated analytics outage does not prevent billing and fulfillment processing.
- The service presents a current trusted certificate before expiry without unexpected interruption.
- Repeated signed delivery produces one fulfillment operation, while invalid signatures fail.
Explanation
Correct Answer
D:Repeated signed delivery produces one fulfillment operation, while invalid signatures fail. The approved action is: Validate the webhook signature and store an idempotency key before issuing jobs. The risk principle is: External event ingress must authenticate and deduplicate repeated delivery attempts.
Incorrect Answers
A:Events from one device are observed in order and high-throughput devices are handled safely. 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 (A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs.), the better verification is: Repeated signed delivery produces one fulfillment operation, while invalid signatures fail. The deciding distinction is: External event ingress must authenticate and deduplicate repeated delivery attempts.
B:A simulated analytics outage does not prevent billing and fulfillment processing. 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 partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs.), the better verification is: Repeated signed delivery produces one fulfillment operation, while invalid signatures fail. The deciding distinction is: External event ingress must authenticate and deduplicate repeated delivery attempts.
C:The service presents a current trusted certificate before expiry without unexpected interruption. 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 (A partner sends the same signed webhook three times after a network timeout, and an AWS ingestion function creates three fulfillment jobs.), the better verification is: Repeated signed delivery produces one fulfillment operation, while invalid signatures fail. The deciding distinction is: External event ingress must authenticate and deduplicate repeated delivery attempts.
Question 995
Before changing production, engineers find: Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code. Which investigation should the engineer perform FIRST?
- Inspect Kubernetes describe/logs, image version, configuration and probe failures.
- Inspect relevant AWS Health notices, affected resources, deploy timestamps and CloudWatch metrics.
- Review CloudTrail change events, Config rule status, approval records and owner.
- Inspect task execution role, ECR image digest, VPC endpoints, NAT and task event errors.
Explanation
Correct Answer
B:Inspect relevant AWS Health notices, affected resources, deploy timestamps and CloudWatch metrics. The governing principle is: Root cause analysis should correlate AWS Health events with application, network and deployment telemetry. The next controlled engineering decision is: Document service-impacting provider conditions and take bounded regional failover actions.
Incorrect Answers
A:Inspect Kubernetes describe/logs, image version, configuration and probe failures. 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 (Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code.), the better investigation is: Inspect relevant AWS Health notices, affected resources, deploy timestamps and CloudWatch metrics. The deciding distinction is: Root cause analysis should correlate AWS Health events with application, network and deployment telemetry.
C:Review CloudTrail change events, Config rule status, approval records and owner. This instead addresses a different case: Operations edits a firewall security group to add temporary unrestricted access but forgets to remove it after an emergency. For the stated situation (Following an AWS service impairment, application timeouts increase in one Region but operators repeatedly redeploy healthy code.), the better investigation is: Inspect relevant AWS Health notices, affected resources, deploy timestamps and CloudWatch metrics. The deciding distinction is: Root cause analysis should correlate AWS Health events with application, network and deployment telemetry.
D:Inspect task execution role, ECR image digest, VPC endpoints, NAT and task event errors. 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 investigation is: Inspect relevant AWS Health notices, affected resources, deploy timestamps and CloudWatch metrics. The deciding distinction is: Root cause analysis should correlate AWS Health events with application, network and deployment telemetry.
Question 996
After implementing a proposed fix, the team reviews: A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired. Which result would BEST confirm that the risk is addressed?
- A replaced node converges to the approved agent state and compliance is measurable.
- A scheduled invocation occurs after the old server is terminated and failures are detectable.
- The workflow can recover from a worker timeout without restarting completed destructive tasks.
- A repeat drift check reports consistent properties and a controlled change trail.
Explanation
Correct Answer
B:A scheduled invocation occurs after the old server is terminated and failures are detectable. The approved action is: Use EventBridge Scheduler or approved managed scheduling with alerting and retry policy. The risk principle is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.
Incorrect Answers
A:A replaced node converges to the approved agent state and compliance is measurable. This instead addresses a different case: A managed EC2 fleet often loses an approved monitoring agent after instance replacement. For the stated situation (A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.), the better verification is: A scheduled invocation occurs after the old server is terminated and failures are detectable. The deciding distinction is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.
C:The workflow can recover from a worker timeout without restarting completed destructive tasks. This instead addresses a different case: A Lambda invoked for a multi-hour infrastructure migration times out before tasks finish and loses progress. For the stated situation (A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.), the better verification is: A scheduled invocation occurs after the old server is terminated and failures are detectable. The deciding distinction is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.
D:A repeat drift check reports consistent properties and a controlled change trail. This instead addresses a different case: A CloudFormation-managed security group was changed directly in the console, and the next stack update behaves differently from the approved template. For the stated situation (A production housekeeping Lambda is triggered by a local server cron job and silently stops after that server is retired.), the better verification is: A scheduled invocation occurs after the old server is terminated and failures are detectable. The deciding distinction is: Scheduled cloud jobs should use managed scheduling with monitoring and defined retry handling.
Question 997
After implementing a proposed fix, the team reviews: Five related alarms page the same team simultaneously for a single database outage, overwhelming responders. Which result would BEST confirm that the risk is addressed?
- A deliberately failing message is isolated and material backlog delay triggers alerting.
- A test network flow is represented in accessible records with relevant interface information.
- A simulated supported infrastructure impairment triggers the documented recovery workflow.
- One modeled database outage raises a coherent actionable incident instead of five independent pages.
Explanation
Correct Answer
D:One modeled database outage raises a coherent actionable incident instead of five independent pages. The approved action is: Use CloudWatch composite alarm logic with deliberate suppression or grouping. The risk principle is: Composite alarms can group related signals into meaningful incident notifications.
Incorrect Answers
A:A deliberately failing message is isolated and material backlog delay triggers alerting. 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 (Five related alarms page the same team simultaneously for a single database outage, overwhelming responders.), the better verification is: One modeled database outage raises a coherent actionable incident instead of five independent pages. The deciding distinction is: Composite alarms can group related signals into meaningful incident notifications.
B:A test network flow is represented in accessible records with relevant interface information. 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 (Five related alarms page the same team simultaneously for a single database outage, overwhelming responders.), the better verification is: One modeled database outage raises a coherent actionable incident instead of five independent pages. The deciding distinction is: Composite alarms can group related signals into meaningful incident notifications.
C:A simulated supported infrastructure impairment triggers the documented recovery workflow. This instead addresses a different case: A critical single EC2 instance occasionally fails hardware health checks, but operators discover the outage only when customers complain. For the stated situation (Five related alarms page the same team simultaneously for a single database outage, overwhelming responders.), the better verification is: One modeled database outage raises a coherent actionable incident instead of five independent pages. The deciding distinction is: Composite alarms can group related signals into meaningful incident notifications.
Question 998
An engineering review identifies: A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order. Which shortcut is MOST unsafe for this exact condition?
- Store one root account access key for every deployment automation job.
- Add a warning comment telling every consumer to secure the bucket manually.
- Copy-paste the latest template into each repository without tracking its provenance.
- Add arbitrary sleep commands after deployment instead of expressing true dependencies.
Explanation
Correct Answer
D:Add arbitrary sleep commands after deployment instead of expressing true dependencies. The case is: A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order. A safer engineering response is: Model the dependency in the stack and ensure required resources exist before dependent operations. The deciding principle is: IaC must express resource relationships and wait for required dependencies before use.
Incorrect Answers
A:Store one root account access key for every deployment automation job. This instead addresses a different case: A central deployment role uses a shared user access key to write objects to member-account buckets. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better unsafe assumption to reject is: Add arbitrary sleep commands after deployment instead of expressing true dependencies. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.
B:Add a warning comment telling every consumer to secure the bucket manually. This instead addresses a different case: A reusable AWS CDK construct creates S3 buckets with public access enabled unless individual teams remember to override the setting. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better unsafe assumption to reject is: Add arbitrary sleep commands after deployment instead of expressing true dependencies. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.
C:Copy-paste the latest template into each repository without tracking its provenance. This instead addresses a different case: Five application teams copy and edit the same network subnet definitions in separate CloudFormation stacks, causing inconsistent security controls. For the stated situation (A stack update frequently fails because an IAM policy and a Lambda function using the policy are created in an unsafe order.), the better unsafe assumption to reject is: Add arbitrary sleep commands after deployment instead of expressing true dependencies. The deciding distinction is: IaC must express resource relationships and wait for required dependencies before use.
Question 999
An AWS platform team investigates this condition: A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception. Which DevOps principle BEST explains the core problem?
- Log-group retention should reflect business, legal and investigation requirements.
- Metric streams support managed delivery of selected CloudWatch metrics to supported downstream paths.
- Structured logs and Logs Insights queries enable fast grouping by useful dimensions.
- Central log delivery requires compatible bucket policies and KMS key permissions for service principals.
Explanation
Correct Answer
A:Log-group retention should reflect business, legal and investigation requirements. Relevant first evidence: Review log group retention settings, use case, compliance period and log costs. The resulting controlled response is: Set an approved retention period and route long-term audit logs to suitable protected storage if needed.
Incorrect Answers
B:Metric streams support managed delivery of selected CloudWatch metrics to supported downstream paths. 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 (A development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception.), the better principle is: Log-group retention should reflect business, legal and investigation requirements. The deciding distinction is: Log-group retention should reflect business, legal and investigation requirements.
C:Structured logs and Logs Insights queries enable fast grouping by useful dimensions. 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 development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception.), the better principle is: Log-group retention should reflect business, legal and investigation requirements. The deciding distinction is: Log-group retention should reflect business, legal and investigation requirements.
D: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 development application sends verbose logs to CloudWatch Logs indefinitely, creating growing cost and a retention-policy exception.), the better principle is: Log-group retention should reflect business, legal and investigation requirements. The deciding distinction is: Log-group retention should reflect business, legal and investigation requirements.
Question 1000
An AWS platform team investigates this condition: A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records. Which DevOps principle BEST explains the core problem?
- Recovery needs application consistency and coordinated replay across dependent state.
- Serverless scaling must respect downstream rate limits and concurrency budgets.
- Recovery point objectives must be validated against actual protection frequency and replication behavior.
- Recovery copies should be protected against compromised primary account identities.
Explanation
Correct Answer
A:Recovery needs application consistency and coordinated replay across dependent state. Relevant first evidence: Review transaction ordering, backup points, queue offsets and reconciliation design. The resulting controlled response is: Create an application-aware recovery sequence with replay safety and reconciled checkpoints.
Incorrect Answers
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 multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records.), the better principle is: Recovery needs application consistency and coordinated replay across dependent state. The deciding distinction is: Recovery needs application consistency and coordinated replay across dependent state.
C:Recovery point objectives must be validated against actual protection frequency and replication behavior. This instead addresses a different case: A finance team requires five minutes of maximum data loss, but its AWS Backup job runs only once daily. For the stated situation (A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records.), the better principle is: Recovery needs application consistency and coordinated replay across dependent state. The deciding distinction is: Recovery needs application consistency and coordinated replay across dependent state.
D:Recovery copies should be protected against compromised primary account identities. This instead addresses a different case: Ransomware could delete backups because production administrators have the same permissions on the only backup vault. For the stated situation (A multi-service order platform restores database and queue snapshots from mismatched times, creating duplicate settlement records.), the better principle is: Recovery needs application consistency and coordinated replay across dependent state. The deciding distinction is: Recovery needs application consistency and coordinated replay across dependent state.