Question 220

A release design adopts this mechanism: Use CloudWatch alarm actions to invoke supported Auto Scaling policies. Which implementation detail is most relevant to its proposed use to adjust worker fleet capacity when a workload metric crosses a defined level?

  1. Alarm thresholds must correspond to the associated scaling-policy behavior
  2. The filter pattern must match the incoming event shape
  3. The target instance and alarm must meet EC2 recovery requirements
  4. The system needs per-contributor rankings from a suitable input data source

Explanation

Correct Answer

A:

Alarm thresholds must correspond to the associated scaling-policy behavior. That is the governing deployment boundary for the selected control: step or simple scaling policies can be driven by CloudWatch alarm transitions. If the boundary is missed, the design can fail to adjust worker fleet capacity when a workload metric crosses a defined level.

Incorrect Answers

B:

A metric filter emits values from matching logs that a CloudWatch alarm can evaluate. Its own dependency is that the filter pattern must match the incoming event shape. Those details concern the separate objective of being able to raise an incident when a known error token appears repeatedly in application logs, rather than to the named control required to adjust worker fleet capacity when a workload metric crosses a defined level.

C:

The proposed condition makes sense in an implementation designed to recover an eligible impaired instance when a system-status check indicates host failure; it concerns supported CloudWatch alarm actions can request EC2 instance recovery for qualifying status-check failures, whereas this question tests the prerequisite of the named control; the specified requirement instead is to adjust worker fleet capacity when a workload metric crosses a defined level.

D:

This proposed constraint belongs to a separate objective: the system needs per-contributor rankings from a suitable input data source. The corresponding goal is to identify the top contributors to a metric or structured log workload, not the selected architecture's goal to adjust worker fleet capacity when a workload metric crosses a defined level.

Question 221

A technical change review names the selected control as follows: Run controlled load tests in a dedicated performance environment. To measure throughput and latency under expected concurrency without degrading production, which constraint must be addressed for this design?

  1. Compatibility must be verified at the producer-consumer boundary
  2. The matrix results must be tied to one reviewable build request
  3. Representative load must be applied without competing with customer traffic
  4. Fast deterministic tests must block downstream promotion when they fail

Explanation

Correct Answer

C:

The implementation has to honor the exact constraint: representative load must be applied without competing with customer traffic; dedicated performance testing reveals scale and bottleneck behavior while isolating intentional high load.

Incorrect Answers

A:

Contract tests assert expected interface behavior, revealing breaking integration changes before both services ship; its own dependency is that compatibility must be verified at the producer-consumer boundary; those details concern the separate objective of being able to detect incompatible API schema changes without requiring full production rollout, rather than to the named control required to measure throughput and latency under expected concurrency without degrading production.

B:

The proposed condition makes sense in an implementation designed to run compatible test variations in parallel and consolidate their outcomes. It concerns batch builds support coordinated multiple build configurations and associated aggregate status, whereas this question tests the prerequisite of the named control.

D:

This condition governs the different mechanism used to reject code-level regressions rapidly before creating production artifacts. Unit tests in an early build action reduce feedback latency and stop faulty revisions before expensive stages; for the selected control, the relevant boundary is instead that representative load must be applied without competing with customer traffic.

Question 222

A security architecture decision must satisfy two different outcomes, not just choose one AWS feature: retain management API events from all AWS Organizations member accounts and prove whether delivered trail log objects have been tampered with. Which implementation does that?

  1. Use Security Hub automation rules for finding-state prioritization; enable CloudTrail log file integrity validation and validate digest signatures
  2. Create an organization CloudTrail trail to a separately secured S3 logging bucket; enable CloudTrail log file integrity validation and validate digest signatures
  3. Route GuardDuty findings through EventBridge to a security workflow; use Amazon Detective for investigation of related security activity
  4. Create an organization CloudTrail trail to a separately secured S3 logging bucket; use AWS WAF logging to analyze blocked HTTP requests

Explanation

Correct Answer

B:

An organization trail delivers supported account activity events centrally for member accounts; this handles the first acceptance condition, subject to the boundary that audit log retention must be governed by an account separate from routine workload admins. The remaining condition is handled separately: CloudTrail integrity validation supports cryptographic verification of delivered log file digests, with integrity verification must use signed digest files, not only S3 checksums.

Incorrect Answers

A:

Security Hub automation rules can update selected finding fields when findings match configured criteria; that is intended to normalize and triage recurring findings according to defined central criteria, not to retain management API events from all AWS Organizations member accounts. The second half can meet the requirement to prove whether delivered trail log objects have been tampered with, but the first is still missing.

C:

The pair changes the problem instead of completing it. One option addresses trigger containment review when a high-severity credential threat appears; the other addresses explore linked entity behaviors around a suspicious IAM principal. The release, however, needs to retain management API events from all AWS Organizations member accounts as well as prove whether delivered trail log objects have been tampered with.

D:

The first half is appropriate: An organization trail delivers supported account activity events centrally for member accounts. However, AWS WAF logs contain supported request and rule evaluation information for configured web ACLs; that serves a different objective (investigate which web ACL rule is denying legitimate client requests) and leaves the explicit need to prove whether delivered trail log objects have been tampered with unmet.

Question 223

A technical change review names the selected control as follows: Use AWS Firewall Manager organization security policies for WAF protections. To enforce an approved web ACL policy on supported public application endpoints across member accounts, which constraint must be addressed for this design?

  1. Findings should identify affected software and resources for triage
  2. Traffic must actually traverse the configured firewall endpoints by appropriate routing
  3. The service owner is prepared to enable a paid advanced protection subscription
  4. The policy must target supported resources through Organizations and configured security administration

Explanation

Correct Answer

D:

The policy must target supported resources through Organizations and configured security administration; without this, choosing the named service is not enough to produce the promised outcome. Firewall Manager manages supported security policies across accounts and can apply WAF protections to in-scope resources.

Incorrect Answers

A:

This proposed constraint belongs to a separate objective: findings should identify affected software and resources for triage; the corresponding goal is to identify vulnerable software packages in running compute and container images, not the selected architecture's goal to enforce an approved web ACL policy on supported public application endpoints across member accounts.

B:

This condition governs the different mechanism used to enforce centralized network-layer filtering across selected VPC traffic paths; network Firewall inspects routed VPC traffic using stateless and stateful rule groups; for the selected control, the relevant boundary is instead that the policy must target supported resources through Organizations and configured security administration.

C:

Shield Advanced offers enhanced detection, response capabilities, and protections for supported resources; its own dependency is that the service owner is prepared to enable a paid advanced protection subscription. Those details concern the separate objective of being able to apply additional DDoS protection and response capabilities to critical endpoints, rather than to the named control required to enforce an approved web ACL policy on supported public application endpoints across member accounts.

Question 224

A production-readiness assessment calls out two missing capabilities: query retained CloudTrail events without first building a custom S3 query pipeline and prove whether delivered trail log objects have been tampered with. Choose the AWS implementation that explicitly addresses both.

  1. Route GuardDuty findings through EventBridge to a security workflow; enable CloudTrail log file integrity validation and validate digest signatures
  2. Use Amazon Detective for investigation of related security activity; use IAM credential reports and access-key last-used data for periodic access review
  3. Run SQL queries against existing CloudTrail Lake event data stores; enable CloudTrail log file integrity validation and validate digest signatures
  4. Run SQL queries against existing CloudTrail Lake event data stores; enable AWS Config recording and resource configuration history

Explanation

Correct Answer

C:

For the requirement to query retained CloudTrail events without first building a custom S3 query pipeline, CloudTrail Lake ingests supported events into queryable event data stores. For the requirement to prove whether delivered trail log objects have been tampered with, CloudTrail integrity validation supports cryptographic verification of delivered log file digests. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.

Incorrect Answers

A:

The second implementation is relevant; the problem is the first. GuardDuty emits supported findings to EventBridge for targeted notification and automation. It can help trigger containment review when a high-severity credential threat appears, whereas the stated first requirement is to query retained CloudTrail events without first building a custom S3 query pipeline.

B:

The pair changes the problem instead of completing it. One option addresses explore linked entity behaviors around a suspicious IAM principal; the other addresses identify aging IAM user credentials that require rotation or removal. The release, however, needs to query retained CloudTrail events without first building a custom S3 query pipeline as well as prove whether delivered trail log objects have been tampered with.

D:

AWS Config records supported resource configuration items and their change history. That alternative supports the ability to determine how an audited resource's settings changed over time, but it is not the requested second outcome (prove whether delivered trail log objects have been tampered with). Even though the first half addresses query retained CloudTrail events without first building a custom S3 query pipeline, this pair is incomplete.

Question 225

A release design adopts this mechanism: Use DynamoDB auto scaling for provisioned read and write capacity. Which implementation detail is most relevant to its proposed use to adapt provisioned throughput targets to changing demand?

  1. The database storage ceiling must remain within budget and service limits
  2. Rate and burst limits must be enforced at the API entry point
  3. The feature must have suitable load history and an appropriate forecasting configuration
  4. Capacity must be ready shortly before the recurring workload starts
  5. Messages must remain durable while consumers scale at a sustainable rate
  6. The solution must adjust RCU and WCU settings rather than compute nodes

Explanation

Correct Answer

F:

The solution must adjust RCU and WCU settings rather than compute nodes. Without this, choosing the named service is not enough to produce the promised outcome; DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets.

Incorrect Answers

A:

RDS storage autoscaling grows allocated storage under supported conditions up to its configured maximum; its own dependency is that the database storage ceiling must remain within budget and service limits. Those details concern the separate objective of being able to grow database storage as data expands without frequent manual storage modifications, rather than to the named control required to adapt provisioned throughput targets to changing demand.

B:

The proposed condition makes sense in an implementation designed to protect Lambda and downstream systems from excessive caller traffic. It concerns API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded, whereas this question tests the prerequisite of the named control.

C:

This proposed constraint belongs to a separate objective: the feature must have suitable load history and an appropriate forecasting configuration. The corresponding goal is to anticipate regular load variations using observed historical demand, not the selected architecture's goal to adapt provisioned throughput targets to changing demand.

D:

This condition governs the different mechanism used to preprovision EC2 capacity before a known daily traffic increase; scheduled actions change Auto Scaling desired or min and max capacity at specified times; for the selected control, the relevant boundary is instead that the solution must adjust RCU and WCU settings rather than compute nodes.

E:

SQS queues hold pending work and let consumers process it asynchronously with retry semantics. Its own dependency is that messages must remain durable while consumers scale at a sustainable rate; those details concern the separate objective of being able to decouple transient producer spikes from a bounded worker fleet, rather than to the named control required to adapt provisioned throughput targets to changing demand.

Question 226

For the current AWS workload, operators need to address the following together: (1) identify the top contributors to a metric or structured log workload; (2) identify noncompliant resources without depending on log-string alerts. Which TWO actions complete the plan? Choose TWO.

  1. Use EventBridge input transformation before notifying an operations target
  2. Use EventBridge rules to route AWS Health account events to response automation
  3. Use CloudWatch Contributor Insights for supported high-cardinality usage analysis
  4. Use an AWS Config managed rule to detect a specific resource misconfiguration
  5. Use a CloudWatch alarm action for supported EC2 automatic recovery
  6. Configure an EventBridge rule with an SSM Automation target

Explanation

Correct Answers

C:

Contributor Insights rules analyze supported log or metric inputs to identify top contributing entities; this fulfills the stated requirement to identify the top contributors to a metric or structured log workload. The operational limitation is that the system needs per-contributor rankings from a suitable input data source.

D:

The corresponding obligation is to identify noncompliant resources without depending on log-string alerts. Config rules assess supported resource settings and publish compliant or noncompliant evaluations; that behavior is the reason this action belongs in the selected answer set.

Incorrect Answers

A:

It supports a separate administrative task, namely to send only relevant event details to responders rather than an entire event payload. EventBridge input transformers construct custom target payloads from matched event fields. The prompt's required outcomes are not achieved by substituting this control.

B:

EventBridge receives supported AWS Health events and routes matching events to configured targets; if the requirement were to notify the operations account when an AWS service issue affects the workload, that would matter. The requested outcomes are separate from the one this option addresses.

E:

It supports a separate administrative task, namely to recover an eligible impaired instance when a system-status check indicates host failure. Supported CloudWatch alarm actions can request EC2 instance recovery for qualifying status-check failures; the prompt's required outcomes are not achieved by substituting this control.

F:

EventBridge can invoke supported Systems Manager Automation runbooks from matching events; if the requirement were to launch a defined remediation runbook when a matching service event occurs, that would matter; the requested outcomes are separate from the one this option addresses.

Question 227

The current plan covers only one side of the platform operating model. It needs to publish a reviewed command document and execute a pinned approved version as well as avoid hardcoding a sensitive input in reusable infrastructure templates. Which paired changes complete the design?

  1. Publish approved infrastructure products through AWS Service Catalog; use AWS CloudFormation Change Sets before updating a stack
  2. Use SSM document version control for repeatable operational scripts; use CloudFormation dynamic references for protected parameter values
  3. Use SSM document version control for repeatable operational scripts; apply CloudFormation Conditions to optional template resources
  4. Use SSM document version control for repeatable operational scripts; use CloudFormation cross-stack exports and imports for shared output values
  5. Use AWS SAM transform resources for Lambda and API infrastructure; use CloudFormation dynamic references for protected parameter values

Explanation

Correct Answer

B:

SSM documents support versioned content and associations can refer to defined document versions; dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager. The first control satisfies the need to publish a reviewed command document and execute a pinned approved version; the second addresses the need to avoid hardcoding a sensitive input in reusable infrastructure templates. Operators must distinguish draft and approved automation document versions; CloudFormation should resolve the protected value from its secret or parameter store.

Incorrect Answers

A:

These are legitimate AWS controls for different outcomes: service Catalog portfolios expose governed infrastructure products to authorized consumers, whereas a change set previews how CloudFormation intends to modify or replace resources before execution. The problem instead requires the ability to publish a reviewed command document and execute a pinned approved version and to avoid hardcoding a sensitive input in reusable infrastructure templates.

C:

The first half is appropriate: SSM documents support versioned content and associations can refer to defined document versions. However, conditions can determine resource creation and property values based on template parameters and functions; that serves a different objective (provision a resource only when an environment parameter meets a defined requirement) and leaves the explicit need to avoid hardcoding a sensitive input in reusable infrastructure templates unmet.

D:

CloudFormation exports and Fn::ImportValue share supported values between stacks within the same account and Region; that alternative supports the ability to reference a networking stack's output from an application stack in the same Region, but it is not the requested second outcome (avoid hardcoding a sensitive input in reusable infrastructure templates); even though the first half addresses publish a reviewed command document and execute a pinned approved version, this pair is incomplete.

E:

This combination solves only the latter acceptance test. The substituted first control supports describe serverless functions and their event sources concisely in an IaC template: AWS SAM expands serverless resource declarations into supported CloudFormation resources during transformation. It does not implement publish a reviewed command document and execute a pinned approved version.

Question 228

An automated check detects: A data-processing subnet sends S3 requests over a NAT gateway despite a private-only connectivity requirement. Which remediation directly supports the requirement to allow private subnet workloads to reach S3 without NAT for supported traffic?

  1. Deploy AWS Network Firewall for stateful VPC traffic inspection
  2. Request an ACM-issued public certificate for a supported HTTPS endpoint
  3. Use an S3 gateway VPC endpoint and appropriate bucket policy constraints
  4. Use AWS WAF managed rules on the web-facing ALB

Explanation

Correct Answer

C:

S3 gateway endpoints use VPC route entries to access S3 privately from eligible subnets. In this case the control is appropriate because it supports allow private subnet workloads to reach S3 without NAT for supported traffic. Routing and endpoint policy must match the supported S3 gateway endpoint model.

Incorrect Answers

A:

Network Firewall inspects routed VPC traffic using stateless and stateful rule groups. This can help teams enforce centralized network-layer filtering across selected VPC traffic paths, but the reported workflow needs to allow private subnet workloads to reach S3 without NAT for supported traffic. It does not perform that required function.

B:

That service solves a different operating problem: the need to automate TLS certificate provisioning for an AWS-managed load balancer. Its behavior is that AWS Certificate Manager provisions and renews eligible certificates for integrated AWS services. The requested outcome remains allow private subnet workloads to reach S3 without NAT for supported traffic.

D:

AWS WAF web ACLs evaluate HTTP requests against configured rules and can block matching traffic; this is a reasonable option when the requirement is to filter common malicious HTTP request patterns before they reach the application, but it operates at a different workflow boundary from the stated need to allow private subnet workloads to reach S3 without NAT for supported traffic.

Question 229

A technical change review names the selected control as follows: Choose CodeDeploy in-place deployment with minimum healthy hosts. To update an existing EC2 fleet in batches while preserving required available capacity, which constraint must be addressed for this design?

  1. The release must preserve enough healthy tasks while permitting replacements
  2. Rollback must be linked to an explicit monitored deployment failure condition
  3. Clients must invoke a stable alias while versions remain immutable
  4. The deployment must leave a configured minimum number of healthy hosts

Explanation

Correct Answer

D:

The deployment must leave a configured minimum number of healthy hosts. That is the governing deployment boundary for the selected control: CodeDeploy EC2 in-place configurations control host update concurrency using healthy-host thresholds. If the boundary is missed, the design can fail to update an existing EC2 fleet in batches while preserving required available capacity.

Incorrect Answers

A:

ECS deployment percentages bound the numbers of running and pending tasks during a rolling update; its own dependency is that the release must preserve enough healthy tasks while permitting replacements; those details concern the separate objective of being able to control the capacity margin during rolling task replacement, rather than to the named control required to update an existing EC2 fleet in batches while preserving required available capacity.

B:

The proposed condition makes sense in an implementation designed to halt an EC2 release when service health violates a CloudWatch alarm; it concerns CodeDeploy can monitor CloudWatch alarms and stop or roll back deployments based on configured criteria, whereas this question tests the prerequisite of the named control.

C:

This proposed constraint belongs to a separate objective: clients must invoke a stable alias while versions remain immutable. The corresponding goal is to release immutable Lambda code while keeping callers on a stable function reference, not the selected architecture's goal to update an existing EC2 fleet in batches while preserving required available capacity.

Question 230

An incident record says: Several commits arrive quickly and executions interfere with the required stage progression. To restore the capability to prevent newer revisions from unexpectedly superseding a release requiring sequential review, which change addresses the root cause?

  1. Use a CodePipeline execution mode suited to parallel release frequency
  2. Configure pipeline variables for explicitly parameterized executions
  3. Connect a CodePipeline source action to an approved Git provider through CodeConnections
  4. Use a CodePipeline approval stage with a designated SNS notification

Explanation

Correct Answer

A:

Pipeline execution modes determine whether newer runs supersede, queue behind, or coexist with active executions; in this case the control is appropriate because it supports prevent newer revisions from unexpectedly superseding a release requiring sequential review. A release policy must choose superseded, queued, or parallel execution behavior deliberately.

Incorrect Answers

B:

Pipeline variables expose execution-specific values to actions that support variable substitution; this is a reasonable option when the requirement is to pass an approved environment-specific value into a reusable pipeline action, but it operates at a different workflow boundary from the stated need to prevent newer revisions from unexpectedly superseding a release requiring sequential review.

C:

Choosing this would aim to start pipeline executions from commits on the approved application branch instead of prevent newer revisions from unexpectedly superseding a release requiring sequential review. The source connection supplies authorized repository events and revisions to a pipeline source action; it cannot replace the mechanism specified by the incident evidence.

D:

Although the manual approval action can publish an approval notification to an SNS topic for human review, the scenario does not ask for notify release owners that production is awaiting an approval action; it requires the ability to prevent newer revisions from unexpectedly superseding a release requiring sequential review, which is a separate responsibility.

AWS Certified DevOps Engineer - Professional DOP-C02 Practice Tests