Question 720

Investigators observe: Separate CPU and latency alarms repeatedly page for transient one-metric spikes. Engineers still need to page operators only when multiple correlated alarms indicate a real incident. Which corrective action is most appropriate?

  1. Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
  2. Configure CloudWatch composite alarms to combine related signal states
  3. Use VPC Flow Logs for network traffic acceptance and rejection evidence
  4. Use CloudWatch dashboard widgets for a shared service SLO view

Explanation

Correct Answer

B:

To page operators only when multiple correlated alarms indicate a real incident, the architecture relies on this AWS behavior: composite alarms evaluate the Boolean state of underlying alarms before transitioning. The notification should depend on a logical combination of existing alarm states.

Incorrect Answers

A:

Evaluation periods and datapoints-to-alarm control how many recent breaches cause an alarm state; this can help teams avoid triggering rollbacks on one isolated noisy metric datapoint, but the reported workflow needs to page operators only when multiple correlated alarms indicate a real incident. It does not perform that required function.

C:

The choice is useful when engineers need to determine whether recorded network flows were accepted or rejected at an interface: VPC Flow Logs record flow metadata such as source, destination, port, and accept or reject action. It would not establish the control needed to page operators only when multiple correlated alarms indicate a real incident.

D:

CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view; this is a reasonable option when the requirement is to show latency, errors, and saturation to incident responders in one panel, but it operates at a different workflow boundary from the stated need to page operators only when multiple correlated alarms indicate a real incident.

Question 721

During root-cause analysis, the team identifies the following: A log group cannot deliver to the central account because the destination rejects the sender. To centralize matching account log streams into a designated log-processing account, what should be configured?

  1. Use CloudWatch Logs Insights for interactive log analysis
  2. Configure CloudWatch Logs cross-account subscription delivery through supported destination policies
  3. Configure CloudWatch Logs subscription filters to stream events to an eligible destination
  4. Use CloudWatch Logs Live Tail for short-lived streaming troubleshooting
  5. Associate a customer managed KMS key with a CloudWatch Logs log group

Explanation

Correct Answer

B:

CloudWatch Logs destinations and resource policies authorize supported cross-account subscription flows; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: cross-account resource authorization must be explicit for the destination.

Incorrect Answers

A:

That service solves a different operating problem: the need to query structured error events across log groups during incidents; its behavior is that CloudWatch Logs Insights runs interactive queries over selected CloudWatch log groups; the requested outcome remains centralize matching account log streams into a designated log-processing account.

C:

Subscription filters route new matching CloudWatch Logs events to supported streaming or processing destinations; this is a reasonable option when the requirement is to process matching log records as they arrive instead of polling stored logs, but it operates at a different workflow boundary from the stated need to centralize matching account log streams into a designated log-processing account.

D:

Choosing this would aim to watch incoming application events while reproducing a production issue instead of centralize matching account log streams into a designated log-processing account. Live Tail streams recently ingested matching log events from supported log groups; it cannot replace the mechanism specified by the incident evidence.

E:

Although CloudWatch Logs supports customer-managed KMS key association for eligible log groups, the scenario does not ask for control at-rest log encryption under an explicitly governed encryption key. It requires the ability to centralize matching account log streams into a designated log-processing account, which is a separate responsibility.

Question 722

The architecture record specifies: Apply an IAM permissions boundary to delegated role creation. To support the goal to allow a development platform team to create roles without granting unlimited privileges, which consideration should the engineer validate?

  1. The maximum permissions of created roles must be bounded independently of identity policy allows
  2. Per-workload identity should restrict permissions to the required AWS APIs
  3. The condition must apply to supported request paths and account for AWS service-to-service exceptions
  4. The customer role should verify an agreed external identifier supplied by the trusted provider

Explanation

Correct Answer

A:

The maximum permissions of created roles must be bounded independently of identity policy allows; without this, choosing the named service is not enough to produce the promised outcome. Permissions boundaries constrain the effective identity permissions of a user or role without granting access.

Incorrect Answers

B:

This proposed constraint belongs to a separate objective: per-workload identity should restrict permissions to the required AWS APIs; the corresponding goal is to grant a Kubernetes workload AWS permissions without using the node IAM role, not the selected architecture's goal to allow a development platform team to create roles without granting unlimited privileges.

C:

This condition governs the different mechanism used to deny access to a sensitive resource unless requests use an approved VPC endpoint. The source VPC endpoint condition can constrain eligible requests to a designated private endpoint path; for the selected control, the relevant boundary is instead that the maximum permissions of created roles must be bounded independently of identity policy allows.

D:

The sts:ExternalId condition helps a provider distinguish authorized cross-account assume-role requests; its own dependency is that the customer role should verify an agreed external identifier supplied by the trusted provider; those details concern the separate objective of being able to reduce confused-deputy risk when a SaaS vendor assumes customer roles, rather than to the named control required to allow a development platform team to create roles without granting unlimited privileges.

Question 723

A release design adopts this mechanism: Use VPC Flow Logs for network traffic acceptance and rejection evidence. Which implementation detail is most relevant to its proposed use to determine whether recorded network flows were accepted or rejected at an interface?

  1. The analysis should avoid downloading every object to a workstation
  2. The check must exercise actual HTTP or browser behavior on a defined schedule
  3. Investigators need event identity, timestamp, request parameters, and source context
  4. The display should combine application and infrastructure indicators for the same system
  5. Flow metadata does not include full packet payloads or application semantics
  6. Queries should extract stable fields rather than rely on visual scrolling

Explanation

Correct Answer

E:

The implementation has to honor the exact constraint: flow metadata does not include full packet payloads or application semantics; VPC Flow Logs record flow metadata such as source, destination, port, and accept or reject action.

Incorrect Answers

A:

This proposed constraint belongs to a separate objective: the analysis should avoid downloading every object to a workstation; the corresponding goal is to investigate historical audit events across a large retained log archive, not the selected architecture's goal to determine whether recorded network flows were accepted or rejected at an interface.

B:

This condition governs the different mechanism used to detect external failures in a multi-step website journey before users report them; synthetics canaries execute scripts and publish availability and step-level results; for the selected control, the relevant boundary is instead that flow metadata does not include full packet payloads or application semantics.

C:

CloudTrail records supported management API events that can identify who made a change. Its own dependency is that investigators need event identity, timestamp, request parameters, and source context; those details concern the separate objective of being able to identify the principal and API call that modified a security policy, rather than to the named control required to determine whether recorded network flows were accepted or rejected at an interface.

D:

The proposed condition makes sense in an implementation designed to show latency, errors, and saturation to incident responders in one panel; it concerns CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view, whereas this question tests the prerequisite of the named control; the specified requirement instead is to determine whether recorded network flows were accepted or rejected at an interface.

F:

This condition governs the different mechanism used to filter application logs by request ID and aggregate failing endpoint counts; logs Insights provides parsing, filtering, statistics, and time grouping for log data; for the selected control, the relevant boundary is instead that flow metadata does not include full packet payloads or application semantics.

Question 724

An operational design is incomplete until it can reduce cold-start latency for a predictable high-priority request path and expose a small percentage of Lambda invocations to a new version before full promotion. Which two-part implementation fills both gaps?

  1. Choose CodeDeploy in-place deployment with minimum healthy hosts; publish a Lambda version and route clients through an alias
  2. Enable provisioned concurrency on the Lambda alias or published version; install and run the CodeDeploy agent on target EC2 instances
  3. Set appropriate ECS deployment minimum healthy percent and maximum percent; use CodeDeploy Lambda canary deployment with an alias
  4. Enable provisioned concurrency on the Lambda alias or published version; use CodeDeploy Lambda canary deployment with an alias

Explanation

Correct Answer

D:

Provisioned concurrency keeps initialized Lambda execution environments ready for supported versions or aliases; this handles the first acceptance condition, subject to the boundary that capacity must be prepared for the immutable version behind the release alias. The remaining condition is handled separately: CodeDeploy can update Lambda alias traffic weights using canary configurations, with a timed first increment is required before the rest of traffic shifts.

Incorrect Answers

A:

The pair changes the problem instead of completing it. One option addresses update an existing EC2 fleet in batches while preserving required available capacity; the other addresses release immutable Lambda code while keeping callers on a stable function reference. The release, however, needs to reduce cold-start latency for a predictable high-priority request path as well as expose a small percentage of Lambda invocations to a new version before full promotion.

B:

The first half is appropriate: Provisioned concurrency keeps initialized Lambda execution environments ready for supported versions or aliases. However, the CodeDeploy agent polls for work and runs lifecycle instructions on managed EC2 or on-premises hosts; that serves a different objective (make instances eligible to receive CodeDeploy lifecycle instructions) and leaves the explicit need to expose a small percentage of Lambda invocations to a new version before full promotion unmet.

C:

The second implementation is relevant; the problem is the first. ECS deployment percentages bound the numbers of running and pending tasks during a rolling update; it can help control the capacity margin during rolling task replacement, whereas the stated first requirement is to reduce cold-start latency for a predictable high-priority request path.

Question 725

An internal reliability review requests these controls: (1) investigate which web ACL rule is denying legitimate client requests; (2) prove whether delivered trail log objects have been tampered with. Which TWO proposed actions belong in the implementation? Choose TWO.

  1. Enable CloudTrail log file integrity validation and validate digest signatures
  2. Use Security Hub automation rules for finding-state prioritization
  3. Use IAM Access Analyzer external access findings for resource policies
  4. Route GuardDuty findings through EventBridge to a security workflow
  5. Use AWS WAF logging to analyze blocked HTTP requests

Explanation

Correct Answers

A:

The corresponding obligation is to prove whether delivered trail log objects have been tampered with. CloudTrail integrity validation supports cryptographic verification of delivered log file digests; that behavior is the reason this action belongs in the selected answer set.

E:

The corresponding obligation is to investigate which web ACL rule is denying legitimate client requests. AWS WAF logs contain supported request and rule evaluation information for configured web ACLs; that behavior is the reason this action belongs in the selected answer set.

Incorrect Answers

B:

It supports a separate administrative task, namely to normalize and triage recurring findings according to defined central criteria. Security Hub automation rules can update selected finding fields when findings match configured criteria; the prompt's required outcomes are not achieved by substituting this control.

C:

IAM Access Analyzer can flag supported resources whose policies allow external access. If the requirement were to identify resource-based policies granting access outside the expected trust zone, that would matter. The requested outcomes are separate from the one this option addresses.

D:

GuardDuty emits supported findings to EventBridge for targeted notification and automation. That would be appropriate to trigger containment review when a high-severity credential threat appears, but this is a different objective from the numbered obligations in the stem.

Question 726

After a configuration change, the delivery engineering team sees this issue: A runbook changes unexpectedly between fleet executions with no version selection. What best restores the ability to publish a reviewed command document and execute a pinned approved version?

  1. Deploy dynamic configuration using AWS AppConfig gradual rollout
  2. Use CloudFormation dynamic references for protected parameter values
  3. Use Systems Manager Parameter Store hierarchical paths for application settings
  4. Use SSM document version control for repeatable operational scripts
  5. Use Systems Manager State Manager associations for desired-state enforcement
  6. Use AWS SAM transform resources for Lambda and API infrastructure

Explanation

Correct Answer

D:

SSM documents support versioned content and associations can refer to defined document versions; it enables the necessary capability to publish a reviewed command document and execute a pinned approved version rather than only providing an adjacent operational control. Operators must distinguish draft and approved automation document versions.

Incorrect Answers

A:

AppConfig deployment strategies gradually distribute hosted or sourced configuration and can roll back on alarms; this can help teams release feature flags independently from application code with automatic rollback on alarms, but the reported workflow needs to publish a reviewed command document and execute a pinned approved version. It does not perform that required function.

B:

That service solves a different operating problem: the need to avoid hardcoding a sensitive input in reusable infrastructure templates; its behavior is that dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager; the requested outcome remains publish a reviewed command document and execute a pinned approved version.

C:

The choice is useful when engineers need to organize nonsecret configuration keys by environment and application namespace: parameter Store names can use hierarchies and IAM permissions for managed configuration lookup; it would not establish the control needed to publish a reviewed command document and execute a pinned approved version.

E:

Choosing this would aim to keep managed instances configured with a prescribed agent and operating setting instead of publish a reviewed command document and execute a pinned approved version; state Manager associations apply a defined configuration on a schedule to selected managed resources; it cannot replace the mechanism specified by the incident evidence.

F:

Although AWS SAM expands serverless resource declarations into supported CloudFormation resources during transformation, the scenario does not ask for describe serverless functions and their event sources concisely in an IaC template; it requires the ability to publish a reviewed command document and execute a pinned approved version, which is a separate responsibility.

Question 727

An incident record says: Provisioned request limits cause throttling as demand surges above configured capacity. To restore the capability to avoid manual throughput planning when read and write request rates change sharply, which change addresses the root cause?

  1. Enable Amazon RDS Multi-AZ high availability for a supported DB engine
  2. Use Aurora reader instances in separate Availability Zones
  3. Use Route 53 latency routing for healthy regional endpoints
  4. Use EFS mount targets in each client Availability Zone
  5. Use DynamoDB on-demand capacity for variable request demand

Explanation

Correct Answer

E:

To avoid manual throughput planning when read and write request rates change sharply, the architecture relies on this AWS behavior: DynamoDB on-demand mode automatically manages throughput capacity for variable workloads within service limits. The database service should adjust capacity without preconfigured RCU and WCU targets.

Incorrect Answers

A:

That service solves a different operating problem: the need to provide automatic database failover after a primary Availability Zone outage. Its behavior is that RDS Multi-AZ deployments maintain a standby or multi-instance arrangement for managed failover. The requested outcome remains avoid manual throughput planning when read and write request rates change sharply.

B:

The choice is useful when engineers need to improve Aurora read availability and provide additional managed failover candidates: aurora Replicas share cluster storage and can serve reads or be promoted during supported failovers; it would not establish the control needed to avoid manual throughput planning when read and write request rates change sharply.

C:

Route 53 latency policies select records based on measured latency among configured Regions. This is a reasonable option when the requirement is to direct global clients toward the Region with better measured network latency, but it operates at a different workflow boundary from the stated need to avoid manual throughput planning when read and write request rates change sharply.

D:

Choosing this would aim to allow Linux application instances in multiple zones to access a common managed file system instead of avoid manual throughput planning when read and write request rates change sharply; EFS mount targets provide VPC network access to a Regional shared file system from selected zones; it cannot replace the mechanism specified by the incident evidence.

Question 728

After a configuration change, the service maintenance group sees this issue: An integration test fails but a release still begins because the check is not a blocking pipeline action. What best restores the ability to stop an unsafe revision before it can reach the deployment stage?

  1. Configure an EventBridge rule for an event-driven pipeline execution
  2. Use distinct CodePipeline stages with a separate integration test action
  3. Use a deployment action with a production-account IAM role
  4. Use an AWS Step Functions state machine to coordinate conditional release tasks

Explanation

Correct Answer

B:

A failed test action makes the stage fail and prevents subsequent deployment stages from proceeding; it enables the necessary capability to stop an unsafe revision before it can reach the deployment stage rather than only providing an adjacent operational control. Failure must prevent later actions rather than merely send a notification.

Incorrect Answers

A:

The choice is useful when engineers need to trigger a deployment workflow when a matching AWS service event occurs: EventBridge event patterns select the desired events and route them to a supported automation target. It would not establish the control needed to stop an unsafe revision before it can reach the deployment stage.

C:

Choosing this would aim to isolate permissions between staging and production delivery instead of stop an unsafe revision before it can reach the deployment stage; role separation allows each pipeline action to run under the permissions approved for its target environment; it cannot replace the mechanism specified by the incident evidence.

D:

Although Step Functions models a durable workflow with service integrations, conditional paths, waits, and retries, the scenario does not ask for orchestrate multiple release checks with retries, branches, and explicit failure states. It requires the ability to stop an unsafe revision before it can reach the deployment stage, which is a separate responsibility.

Question 729

Before the next release, the approved AWS design must address 3 obligations: (1) publish guest memory and disk-usage metrics not available from default EC2 metrics; (2) detect tampering with delivered CloudTrail log files; (3) retain bulk historical logs at lower long-term storage cost. Which THREE actions should be included? Choose THREE.

  1. Deliver S3 server access logs or application exports through lifecycle-managed buckets
  2. Associate a customer managed KMS key with a CloudWatch Logs log group
  3. Install and configure the unified CloudWatch agent on EC2
  4. Enable CloudTrail log file integrity validation for audit log chains
  5. Encrypt long-term S3 log objects with a customer managed KMS key
  6. Configure HTTPS or TLS for log delivery clients

Explanation

Correct Answers

A:

The corresponding obligation is to retain bulk historical logs at lower long-term storage cost. S3 lifecycle rules transition or expire suitable log objects based on approved retention requirements; that behavior is the reason this action belongs in the selected answer set.

C:

This covers the specific result to publish guest memory and disk-usage metrics not available from default EC2 metrics: the CloudWatch agent collects supported host metrics and logs beyond the standard EC2 metric set. A least-privilege instance role must authorize the agent to publish custom telemetry.

D:

CloudTrail log file integrity validation delivers digest files that can verify delivered logs; this fulfills the stated requirement to detect tampering with delivered CloudTrail log files; the operational limitation is that the validation process must use the related signed digest chain; in this design the separate acceptance test is to retain bulk historical logs at lower long-term storage cost.

Incorrect Answers

B:

It supports a separate administrative task, namely to control at-rest log encryption under an explicitly governed encryption key. CloudWatch Logs supports customer-managed KMS key association for eligible log groups. The prompt's required outcomes are not achieved by substituting this control.

E:

This mechanism supports the ability to protect exported audit objects with a controlled at-rest encryption boundary: S3 SSE-KMS encrypts objects using AWS KMS keys with separate data and key-access controls. It would not satisfy a different obligation just by appearing in the same workflow.

F:

It supports a separate administrative task, namely to protect sensitive telemetry while it travels from producers to ingestion endpoints. TLS protects log transport over supported network paths against plaintext interception. The prompt's required outcomes are not achieved by substituting this control.

Question 730

The security engineering team selects this control: Instrument the actual application error path with structured logs and trace IDs. What associated scope or dependency matters most when using it to diagnose which business operation produces sporadic application exceptions?

  1. An engineer must find failing request fields without exposing sensitive payloads
  2. Flow metadata does not include full packet payloads or application semantics
  3. A trace identifier should flow through supported service integrations and headers
  4. Queries should extract stable fields rather than rely on visual scrolling

Explanation

Correct Answer

A:

An engineer must find failing request fields without exposing sensitive payloads. Without this, choosing the named service is not enough to produce the promised outcome; application tracing and correlated structured logs reveal failures not expressed by host utilization metrics.

Incorrect Answers

B:

This proposed constraint belongs to a separate objective: flow metadata does not include full packet payloads or application semantics. The corresponding goal is to determine whether recorded network flows were accepted or rejected at an interface, not the selected architecture's goal to diagnose which business operation produces sporadic application exceptions.

C:

This condition governs the different mechanism used to link asynchronous or downstream operations to the originating request trace. Trace context propagation relates spans across a distributed request path. For the selected control, the relevant boundary is instead that an engineer must find failing request fields without exposing sensitive payloads.

D:

Logs Insights provides parsing, filtering, statistics, and time grouping for log data. Its own dependency is that queries should extract stable fields rather than rely on visual scrolling; those details concern the separate objective of being able to filter application logs by request ID and aggregate failing endpoint counts, rather than to the named control required to diagnose which business operation produces sporadic application exceptions.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests