Question 810

The production support team proposes this implementation: Publish code coverage in CodeBuild reports without treating it as proof of behavior. Its intended result is to track executed source coverage while retaining assertions-based acceptance gates. Which implementation consideration is most specific to that choice?

  1. Experiments need explicit stop conditions and safety controls to limit blast radius
  2. The report file path and test report format must match buildspec configuration
  3. Representative load must be applied without competing with customer traffic
  4. Coverage is an informative measure, not a substitute for scenario validation

Explanation

Correct Answer

D:

The requested behavior is to track executed source coverage while retaining assertions-based acceptance gates, and coverage is an informative measure, not a substitute for scenario validation. The underlying AWS behavior is that coverage reports show which code paths execute; they cannot prove that behavior or assertions are correct.

Incorrect Answers

A:

The proposed condition makes sense in an implementation designed to validate that a multi-AZ application survives a deliberately introduced infrastructure fault; it concerns fault Injection Service can inject supported disruptions so teams can measure actual resilience behavior, whereas this question tests the prerequisite of the named control; the specified requirement instead is to track executed source coverage while retaining assertions-based acceptance gates.

B:

This proposed constraint belongs to a separate objective: the report file path and test report format must match buildspec configuration. The corresponding goal is to expose test-suite pass rates and failing cases for each build execution, not the selected architecture's goal to track executed source coverage while retaining assertions-based acceptance gates.

C:

This condition governs the different mechanism used to measure throughput and latency under expected concurrency without degrading production. Dedicated performance testing reveals scale and bottleneck behavior while isolating intentional high load; for the selected control, the relevant boundary is instead that coverage is an informative measure, not a substitute for scenario validation.

Question 811

An incident record says: A manual security group edit diverges from the CloudFormation template and stays in place. To restore the capability to restore a resource's intended IaC state after manual infrastructure changes, which change addresses the root cause?

  1. Use State Manager associations to prevent recurring OS configuration drift
  2. Perform an Auto Scaling instance refresh after updating a launch template
  3. Apply CloudFormation drift remediation through a reviewed template update
  4. Use a CloudFormation Change Set for emergency infrastructure adjustments

Explanation

Correct Answer

C:

A reviewed stack update can bring supported drifted resources back toward declared template state; it restores the ability to restore a resource's intended IaC state after manual infrastructure changes, provided the implementation also observes that the change process should reconcile desired and actual supported configuration.

Incorrect Answers

A:

That service solves a different operating problem: the need to restore approved daemon settings when a node falls out of compliance. Its behavior is that state Manager continuously applies declared configurations to matching managed instances. The requested outcome remains restore a resource's intended IaC state after manual infrastructure changes.

B:

The choice is useful when engineers need to roll out a corrected launch template to already-running fleet instances: instance refresh gradually replaces existing Auto Scaling instances according to updated configuration; it would not establish the control needed to restore a resource's intended IaC state after manual infrastructure changes.

D:

Choosing this would aim to review the actual resource mutations before applying a critical IaC patch instead of restore a resource's intended IaC state after manual infrastructure changes; CloudFormation Change Sets preview resource actions including potential replacements before execution; it cannot replace the mechanism specified by the incident evidence.

Question 812

The production plan uses this approach: Use API Gateway throttling to bound request rates to a serverless backend. The goal is to protect Lambda and downstream systems from excessive caller traffic. Which prerequisite or limitation should receive focused review?

  1. Rate and burst limits must be enforced at the API entry point
  2. Concurrency must be constrained at the function boundary
  3. Messages must remain durable while consumers scale at a sustainable rate
  4. Capacity must be ready shortly before the recurring workload starts
  5. The solution must adjust RCU and WCU settings rather than compute nodes

Explanation

Correct Answer

A:

Rate and burst limits must be enforced at the API entry point. That is the governing deployment boundary for the selected control: API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded. If the boundary is missed, the design can fail to protect Lambda and downstream systems from excessive caller traffic.

Incorrect Answers

B:

Reserved concurrency caps simultaneously executing Lambda instances for the configured function; its own dependency is that concurrency must be constrained at the function boundary. Those details concern the separate objective of being able to cap parallel invocations before a sensitive backend is saturated, rather than to the named control required to protect Lambda and downstream systems from excessive caller traffic.

C:

The proposed condition makes sense in an implementation designed to decouple transient producer spikes from a bounded worker fleet. It concerns SQS queues hold pending work and let consumers process it asynchronously with retry semantics, whereas this question tests the prerequisite of the named control.

D:

This proposed constraint belongs to a separate objective: capacity must be ready shortly before the recurring workload starts; the corresponding goal is to preprovision EC2 capacity before a known daily traffic increase, not the selected architecture's goal to protect Lambda and downstream systems from excessive caller traffic.

E:

This condition governs the different mechanism used to adapt provisioned throughput targets to changing demand. DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets; for the selected control, the relevant boundary is instead that rate and burst limits must be enforced at the API entry point.

Question 813

After a configuration change, the cloud operations group sees this issue: A compliant security group becomes noncompliant but only its current rule list is known. What best restores the ability to determine how an audited resource's settings changed over time?

  1. Enable CloudTrail log file integrity validation and validate digest signatures
  2. Run SQL queries against existing CloudTrail Lake event data stores
  3. Enable AWS Config recording and resource configuration history
  4. Use CloudFormation drift detection to spot out-of-band stack edits
  5. Use AWS Config conformance packs for grouped compliance evaluation

Explanation

Correct Answer

C:

AWS Config records supported resource configuration items and their change history. In this case the control is appropriate because it supports determine how an audited resource's settings changed over time. The evidence should preserve recorded resource state changes and their timestamps.

Incorrect Answers

A:

CloudTrail integrity validation supports cryptographic verification of delivered log file digests; this is a reasonable option when the requirement is to prove whether delivered trail log objects have been tampered with, but it operates at a different workflow boundary from the stated need to determine how an audited resource's settings changed over time.

B:

Choosing this would aim to query retained CloudTrail events without first building a custom S3 query pipeline instead of determine how an audited resource's settings changed over time; CloudTrail Lake ingests supported events into queryable event data stores; it cannot replace the mechanism specified by the incident evidence.

D:

Drift detection checks supported stack resource configuration against the declared IaC state. This can help teams identify resource properties that no longer match the approved template, but the reported workflow needs to determine how an audited resource's settings changed over time. It does not perform that required function.

E:

That service solves a different operating problem: the need to evaluate a collection of resource configuration controls against a standard. Its behavior is that conformance packs package AWS Config rules and supported remediation actions for consistent evaluation. The requested outcome remains determine how an audited resource's settings changed over time.

Question 814

An automated check detects: The trace ends at the API gateway and worker spans appear as unrelated requests. Which remediation directly supports the requirement to link asynchronous or downstream operations to the originating request trace?

  1. Instrument the actual application error path with structured logs and trace IDs
  2. Use CloudWatch Logs Insights fields and parsing for targeted error investigation
  3. Propagate trace context between microservices
  4. Use CloudWatch Synthetics canaries to validate a customer workflow
  5. Enable AWS X-Ray tracing across supported API and Lambda components

Explanation

Correct Answer

C:

To link asynchronous or downstream operations to the originating request trace, the architecture relies on this AWS behavior: trace context propagation relates spans across a distributed request path. A trace identifier should flow through supported service integrations and headers.

Incorrect Answers

A:

Choosing this would aim to diagnose which business operation produces sporadic application exceptions instead of link asynchronous or downstream operations to the originating request trace; application tracing and correlated structured logs reveal failures not expressed by host utilization metrics; it cannot replace the mechanism specified by the incident evidence.

B:

Although logs Insights provides parsing, filtering, statistics, and time grouping for log data, the scenario does not ask for filter application logs by request ID and aggregate failing endpoint counts; it requires the ability to link asynchronous or downstream operations to the originating request trace, which is a separate responsibility.

D:

That service solves a different operating problem: the need to detect external failures in a multi-step website journey before users report them; its behavior is that synthetics canaries execute scripts and publish availability and step-level results; the requested outcome remains link asynchronous or downstream operations to the originating request trace.

E:

The choice is useful when engineers need to identify which downstream call dominates end-to-end request latency: x-Ray traces and segments expose timing and dependencies across instrumented service calls. It would not establish the control needed to link asynchronous or downstream operations to the originating request trace.

Question 815

During root-cause analysis, the team identifies the following: A rare authorization error is written to CloudWatch Logs but has no alerting metric. To raise an incident when a known error token appears repeatedly in application logs, what should be configured?

  1. Attach automatic AWS Config remediation to an SSM Automation document
  2. Use CloudWatch Contributor Insights for supported high-cardinality usage analysis
  3. Use a CloudWatch metric filter and alarm for unusual log events
  4. Use CloudWatch alarm actions to invoke supported Auto Scaling policies
  5. Use an AWS Config managed rule to detect a specific resource misconfiguration

Explanation

Correct Answer

C:

A metric filter emits values from matching logs that a CloudWatch alarm can evaluate; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: the filter pattern must match the incoming event shape.

Incorrect Answers

A:

Although config automatic remediation can invoke Systems Manager Automation for noncompliant resources, the scenario does not ask for correct an eligible configuration violation soon after detection. It requires the ability to raise an incident when a known error token appears repeatedly in application logs, which is a separate responsibility.

B:

Contributor Insights rules analyze supported log or metric inputs to identify top contributing entities; this can help teams identify the top contributors to a metric or structured log workload, but the reported workflow needs to raise an incident when a known error token appears repeatedly in application logs. It does not perform that required function.

D:

The choice is useful when engineers need to adjust worker fleet capacity when a workload metric crosses a defined level: step or simple scaling policies can be driven by CloudWatch alarm transitions; it would not establish the control needed to raise an incident when a known error token appears repeatedly in application logs.

E:

Config rules assess supported resource settings and publish compliant or noncompliant evaluations; this is a reasonable option when the requirement is to identify noncompliant resources without depending on log-string alerts, but it operates at a different workflow boundary from the stated need to raise an incident when a known error token appears repeatedly in application logs.

Question 816

A reliability architecture decision must satisfy two different outcomes, not just choose one AWS feature: protect retained backup recovery points from early deletion and preserve recoverable backups outside the source Region. Which implementation does that?

  1. Use AWS Backup restore testing plans for supported resources; copy supported AWS Backup recovery points to another Region
  2. Enable AWS Backup Vault Lock in an appropriate mode; implement warm standby with reduced running capacity in a secondary Region
  3. Enable AWS Backup Vault Lock in an appropriate mode; copy supported AWS Backup recovery points to another Region
  4. Define AWS Backup plans and selections using resource tags; use RDS automated backups for point-in-time recovery within retention

Explanation

Correct Answer

C:

For the requirement to protect retained backup recovery points from early deletion, backup Vault Lock enforces supported WORM retention protections according to its configured mode; for the requirement to preserve recoverable backups outside the source Region, AWS Backup copy rules replicate supported recovery points to destination vaults in other Regions. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

A:

AWS Backup restore testing automates recovery-point selection and supported restore testing workflows; that is intended to periodically verify recoverability rather than assuming a backup job is sufficient, not to protect retained backup recovery points from early deletion; the second half can meet the requirement to preserve recoverable backups outside the source Region, but the first is still missing.

B:

Warm standby keeps a smaller but operational workload in the recovery Region. That alternative supports the ability to meet a short recovery objective while keeping DR spend below a full duplicate production stack, but it is not the requested second outcome (preserve recoverable backups outside the source Region). Even though the first half addresses protect retained backup recovery points from early deletion, this pair is incomplete.

D:

Neither control directly supplies both requested behaviors. AWS Backup plans and tag-based selections assign eligible resources to backup rules; RDS automated backups support point-in-time restore using retained backup data and transaction logs. Those mechanisms address different objectives. The specified capabilities are to protect retained backup recovery points from early deletion and to preserve recoverable backups outside the source Region.

Question 817

A release design adopts this mechanism: Use CloudWatch metric filters with alarms on sensitive security log patterns. Which implementation detail is most relevant to its proposed use to alert when repeated access-denied or suspicious authentication events enter central logs?

  1. Responders need graph-style relationships rather than an additional blocking firewall rule
  2. Evidence must include web ACL match context rather than host CPU metrics
  3. Review should use recorded access evidence and defined analysis scope
  4. The filter and alarm must use a stable field pattern and relevant count threshold
  5. The report should focus on IAM users and key use rather than role session credentials

Explanation

Correct Answer

D:

The filter and alarm must use a stable field pattern and relevant count threshold. That is the governing deployment boundary for the selected control: metric filters turn matching log events into CloudWatch measurements that can trigger alarms. If the boundary is missed, the design can fail to alert when repeated access-denied or suspicious authentication events enter central logs.

Incorrect Answers

A:

Detective assists security investigations by correlating supported activity and entity relationships; its own dependency is that responders need graph-style relationships rather than an additional blocking firewall rule. Those details concern the separate objective of being able to explore linked entity behaviors around a suspicious IAM principal, rather than to the named control required to alert when repeated access-denied or suspicious authentication events enter central logs.

B:

The proposed condition makes sense in an implementation designed to investigate which web ACL rule is denying legitimate client requests. It concerns AWS WAF logs contain supported request and rule evaluation information for configured web ACLs, whereas this question tests the prerequisite of the named control.

C:

This proposed constraint belongs to a separate objective: review should use recorded access evidence and defined analysis scope. The corresponding goal is to find roles or permissions that have not been used within the configured scope, not the selected architecture's goal to alert when repeated access-denied or suspicious authentication events enter central logs.

E:

IAM credential reports and access-key usage metadata support audits of IAM user authentication materials; its own dependency is that the report should focus on IAM users and key use rather than role session credentials. Those details concern the separate objective of being able to identify aging IAM user credentials that require rotation or removal, rather than to the named control required to alert when repeated access-denied or suspicious authentication events enter central logs.

Question 818

The architecture record specifies: Configure organization-wide GuardDuty management through a delegated security account. To support the goal to enable consistent threat detection coverage for member accounts, which consideration should the engineer validate?

  1. New-account enablement should be managed through organization integration
  2. Human federation and account-level entitlements must be centrally managed
  3. Central reporting should aggregate source data without changing each source configuration
  4. Supported security administration should be separated from the management account

Explanation

Correct Answer

A:

New-account enablement should be managed through organization integration. Without this, choosing the named service is not enough to produce the promised outcome; GuardDuty organization administration can automatically manage protection enrollment across eligible members.

Incorrect Answers

B:

This proposed constraint belongs to a separate objective: human federation and account-level entitlements must be centrally managed. The corresponding goal is to assign consistent workforce roles to many accounts through one identity portal, not the selected architecture's goal to enable consistent threat detection coverage for member accounts.

C:

This condition governs the different mechanism used to view resource compliance and configuration state from a central operations account; a configuration aggregator consolidates supported AWS Config configuration and compliance data; for the selected control, the relevant boundary is instead that new-account enablement should be managed through organization integration.

D:

Delegated administration allows a registered member account to manage eligible service functions organization-wide; its own dependency is that supported security administration should be separated from the management account; those details concern the separate objective of being able to let a security account administer a supported service for organization members, rather than to the named control required to enable consistent threat detection coverage for member accounts.

Question 819

Before approving an automated rollout, the observability team must centralize matching account log streams into a designated log-processing account and expire routine log events after the approved operating retention period. Which combination covers the two distinct controls?

  1. Configure CloudWatch Logs cross-account subscription delivery through supported destination policies; configure HTTPS or TLS for log delivery clients
  2. Associate a customer managed KMS key with a CloudWatch Logs log group; configure CloudWatch Logs retention per application log group
  3. Configure CloudWatch Logs cross-account subscription delivery through supported destination policies; configure CloudWatch Logs retention per application log group
  4. Use CloudWatch Logs Live Tail for short-lived streaming troubleshooting; install and configure the unified CloudWatch agent on EC2

Explanation

Correct Answer

C:

The first outcome depends on the behavior that CloudWatch Logs destinations and resource policies authorize supported cross-account subscription flows. Separately, log-group retention settings automatically expire data beyond the configured retention interval. Together these meet the two requested outcomes, with the operational limits that cross-account resource authorization must be explicit for the destination and retention periods should vary by data classification and compliance obligations.

Incorrect Answers

A:

The first half is appropriate: CloudWatch Logs destinations and resource policies authorize supported cross-account subscription flows. However, TLS protects log transport over supported network paths against plaintext interception; that serves a different objective (protect sensitive telemetry while it travels from producers to ingestion endpoints) and leaves the explicit need to expire routine log events after the approved operating retention period unmet.

B:

The second implementation is relevant; the problem is the first. CloudWatch Logs supports customer-managed KMS key association for eligible log groups. It can help control at-rest log encryption under an explicitly governed encryption key, whereas the stated first requirement is to centralize matching account log streams into a designated log-processing account.

D:

Neither control directly supplies both requested behaviors. Live Tail streams recently ingested matching log events from supported log groups; the CloudWatch agent collects supported host metrics and logs beyond the standard EC2 metric set. Those mechanisms address different objectives. The specified capabilities are to centralize matching account log streams into a designated log-processing account and to expire routine log events after the approved operating retention period.

Question 820

A production ticket contains this symptom: An on-premises automation process carries a permanent AWS access key. The desired behavior is to provide temporary AWS credentials to on-premises workloads without storing IAM user keys. What should be fixed?

  1. Use IAM Roles Anywhere for eligible external workloads with X.509 identities
  2. Use a Lambda execution role scoped to required AWS APIs
  3. Use EKS IAM Roles for Service Accounts or supported EKS Pod Identity
  4. Use an IAM policy condition on aws:SourceVpce for eligible AWS service requests

Explanation

Correct Answer

A:

IAM Roles Anywhere uses trusted X.509 certificates to obtain temporary role credentials for external workloads; in this case the control is appropriate because it supports provide temporary AWS credentials to on-premises workloads without storing IAM user keys. Certificate trust anchors and profile scopes must be explicitly managed.

Incorrect Answers

B:

Although Lambda execution roles grant the AWS API permissions used by the running function, the scenario does not ask for allow a Lambda handler to read a specific secret and publish required logs. It requires the ability to provide temporary AWS credentials to on-premises workloads without storing IAM user keys, which is a separate responsibility.

C:

EKS workload identity mechanisms associate an AWS IAM role with a Kubernetes service account or pod; this can help teams grant a Kubernetes workload AWS permissions without using the node IAM role, but the reported workflow needs to provide temporary AWS credentials to on-premises workloads without storing IAM user keys. It does not perform that required function.

D:

That service solves a different operating problem: the need to deny access to a sensitive resource unless requests use an approved VPC endpoint; its behavior is that the source VPC endpoint condition can constrain eligible requests to a designated private endpoint path; the requested outcome remains provide temporary AWS credentials to on-premises workloads without storing IAM user keys.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests