Question 310
An incident record says: A database read tier saturates under repeated lookups of unchanged reference records. To restore the capability to reduce database read pressure for frequently requested reusable data, which change addresses the root cause?
- Use DynamoDB auto scaling for provisioned read and write capacity
- Use API Gateway throttling to bound request rates to a serverless backend
- Use an ECS capacity provider strategy for EC2 cluster capacity
- Use ElastiCache for repeated hot-key application lookups
Explanation
Correct Answer
D:An in-memory cache serves hot keys without a round trip to the primary database for every read; it restores the ability to reduce database read pressure for frequently requested reusable data, provided the implementation also observes that application cache invalidation and expiration must be designed explicitly.
Incorrect Answers
A:Choosing this would aim to adapt provisioned throughput targets to changing demand instead of reduce database read pressure for frequently requested reusable data. DynamoDB Application Auto Scaling can change provisioned read or write capacity based on utilization targets; it cannot replace the mechanism specified by the incident evidence.
B:Although API Gateway throttling controls supported request rates and can return 429 responses when limits are exceeded, the scenario does not ask for protect Lambda and downstream systems from excessive caller traffic. It requires the ability to reduce database read pressure for frequently requested reusable data, which is a separate responsibility.
C:ECS capacity providers can couple task placement and managed scaling of EC2 Auto Scaling capacity; this can help teams coordinate ECS service task placement with managed EC2 capacity, but the reported workflow needs to reduce database read pressure for frequently requested reusable data. It does not perform that required function.
Question 311
The platform team's change record lists two distinct deliverables: avoid hardcoding a sensitive input in reusable infrastructure templates and reference a networking stack's output from an application stack in the same Region. Which combination covers both deliverables?
- Use CloudFormation stack policies to protect critical resources from updates; enable CloudFormation drift detection on supported stack resources
- Use CloudFormation dynamic references for protected parameter values; use AWS SAM transform resources for Lambda and API infrastructure
- Use CloudFormation rollback triggers wired to CloudWatch alarms; use CloudFormation cross-stack exports and imports for shared output values
- Use CloudFormation StackSets with service-managed permissions; use CloudFormation cross-stack exports and imports for shared output values
- Use CloudFormation dynamic references for protected parameter values; use CloudFormation resource import for supported existing resources
- Use CloudFormation dynamic references for protected parameter values; use CloudFormation cross-stack exports and imports for shared output values
Explanation
Correct Answer
F:Dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager; CloudFormation exports and Fn::ImportValue share supported values between stacks within the same account and Region. The first control satisfies the need to avoid hardcoding a sensitive input in reusable infrastructure templates; the second addresses the need to reference a networking stack's output from an application stack in the same Region. CloudFormation should resolve the protected value from its secret or parameter store; the consumer should use an explicit stack export instead of hard-coded values.
Incorrect Answers
A:These are legitimate AWS controls for different outcomes: a stack policy can deny update actions on selected logical resources unless appropriately overridden, whereas drift detection compares actual and expected configurations for supported resources and properties. The problem instead requires the ability to avoid hardcoding a sensitive input in reusable infrastructure templates and to reference a networking stack's output from an application stack in the same Region.
B:Combining a suitable first control with this second one misses the secondary acceptance criterion; AWS SAM expands serverless resource declarations into supported CloudFormation resources during transformation; it helps describe serverless functions and their event sources concisely in an IaC template rather than reference a networking stack's output from an application stack in the same Region.
C:Rollback triggers monitor configured CloudWatch alarms and can initiate rollback when a trigger alarms; that is intended to roll back a stack update when a monitored service alarm fires during its monitoring period, not to avoid hardcoding a sensitive input in reusable infrastructure templates; the second half can meet the requirement to reference a networking stack's output from an application stack in the same Region, but the first is still missing.
D:The second implementation is relevant; the problem is the first. Service-managed StackSets use AWS Organizations integration to provision stack instances across eligible accounts; it can help deploy a common baseline across organization accounts and selected Regions, whereas the stated first requirement is to avoid hardcoding a sensitive input in reusable infrastructure templates.
E:Combining a suitable first control with this second one misses the secondary acceptance criterion; resource import associates supported existing resources with logical resources in a stack template; it helps bring an already-created resource under stack management without rebuilding it rather than reference a networking stack's output from an application stack in the same Region.
Question 312
An automated check detects: A point-to-point queue cannot satisfy replay and multiple consumer requirements. Which remediation directly supports the requirement to ingest a high-volume event stream with multiple independently scaled consumers?
- Use an EventBridge organization event bus with cross-account permissions
- Use Kinesis Data Streams for ordered partition-based event processing
- Use SQS visibility timeouts aligned to consumer processing
- Use an SQS FIFO queue when processing order per message group matters
Explanation
Correct Answer
B:Kinesis Data Streams partitions records by key and retains them for consumers to read over time; it restores the ability to ingest a high-volume event stream with multiple independently scaled consumers, provided the implementation also observes that events must retain ordering within partition keys and be recoverable during retention.
Incorrect Answers
A:EventBridge event bus resource policies control cross-account event ingestion and routing. This can help teams accept operational events from multiple workload accounts into a central responder account, but the reported workflow needs to ingest a high-volume event stream with multiple independently scaled consumers. It does not perform that required function.
C:The choice is useful when engineers need to prevent a valid long-running worker task from being processed concurrently: SQS visibility timeouts temporarily hide received messages until deletion or timeout expiration. It would not establish the control needed to ingest a high-volume event stream with multiple independently scaled consumers.
D:SQS FIFO queues preserve order within message groups with managed deduplication semantics. This is a reasonable option when the requirement is to process change events in order for each governed resource, but it operates at a different workflow boundary from the stated need to ingest a high-volume event stream with multiple independently scaled consumers.
Question 313
A reliability engineer is responsible for a compound requirement: (1) avoid manual throughput planning when read and write request rates change sharply; (2) stop sending new traffic to application instances that fail readiness checks. Which TWO controls provide the requested functions? Choose TWO.
- Enable ALB target-group health checks with a representative health path
- Enable S3 Cross-Region Replication for selected versioned objects
- Use an Aurora Global Database with secondary Region clusters
- Use DynamoDB on-demand capacity for variable request demand
- Configure DynamoDB global tables for multi-Region active-active access
Explanation
Correct Answers
A:The corresponding obligation is to stop sending new traffic to application instances that fail readiness checks. Target group health checks determine which registered targets receive load balancer traffic; that behavior is the reason this action belongs in the selected answer set.
D:DynamoDB on-demand mode automatically manages throughput capacity for variable workloads within service limits; this fulfills the stated requirement to avoid manual throughput planning when read and write request rates change sharply. The operational limitation is that the database service should adjust capacity without preconfigured RCU and WCU targets.
Incorrect Answers
B:It supports a separate administrative task, namely to retain replicated application objects in a separate disaster-recovery Region. S3 replication asynchronously copies eligible object versions to configured destination buckets; the prompt's required outcomes are not achieved by substituting this control.
C:Aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery; if the requirement were to provide low-latency cross-Region database reads and a regional recovery path, that would matter. The requested outcomes are separate from the one this option addresses.
E:This mechanism supports the ability to allow application writes in more than one AWS Region with replication: DynamoDB global tables replicate data among participating Regions and support multi-Region writes. It would not satisfy a different obligation just by appearing in the same workflow.
Question 314
An incident record says: A sensitive bucket's policy allows an unknown external principal. To restore the capability to identify resource-based policies granting access outside the expected trust zone, which change addresses the root cause?
- Use IAM Access Analyzer unused-access analysis for stale privileges
- Use Amazon Macie sensitive-data findings for S3 exposure investigations
- Use CloudFormation drift detection to spot out-of-band stack edits
- Use IAM Access Analyzer external access findings for resource policies
Explanation
Correct Answer
D:IAM Access Analyzer can flag supported resources whose policies allow external access; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: the analysis should examine resource-level external access rather than package CVEs.
Incorrect Answers
A:The choice is useful when engineers need to find roles or permissions that have not been used within the configured scope: unused access findings help identify unused IAM roles or unused permissions for least-privilege review. It would not establish the control needed to identify resource-based policies granting access outside the expected trust zone.
B:Macie analyzes supported S3 objects and reports sensitive-data discovery findings. This is a reasonable option when the requirement is to identify buckets and objects that contain potentially regulated data, but it operates at a different workflow boundary from the stated need to identify resource-based policies granting access outside the expected trust zone.
C:Choosing this would aim to identify resource properties that no longer match the approved template instead of identify resource-based policies granting access outside the expected trust zone. Drift detection checks supported stack resource configuration against the declared IaC state; it cannot replace the mechanism specified by the incident evidence.
Question 315
A release design adopts this mechanism: Use an appspec.yml to define CodeDeploy instance hooks. Which implementation detail is most relevant to its proposed use to execute controlled install and validation scripts during an EC2 deployment?
- Hook scripts must run at the expected deployment lifecycle events
- A failed validation hook must stop or fail the deployment workflow
- A timed first increment is required before the rest of traffic shifts
- The deployment must leave a configured minimum number of healthy hosts
Explanation
Correct Answer
A:The implementation has to honor the exact constraint: hook scripts must run at the expected deployment lifecycle events. An AppSpec file maps application files and lifecycle event hooks for EC2 deployments.
Incorrect Answers
B:This condition governs the different mechanism used to run pre-traffic or post-traffic checks before accepting an alias cutover; Lambda deployment lifecycle hooks invoke designated validation functions for pre- and post-traffic checks; for the selected control, the relevant boundary is instead that hook scripts must run at the expected deployment lifecycle events.
C:CodeDeploy can update Lambda alias traffic weights using canary configurations. Its own dependency is that a timed first increment is required before the rest of traffic shifts. Those details concern the separate objective of being able to expose a small percentage of Lambda invocations to a new version before full promotion, rather than to the named control required to execute controlled install and validation scripts during an EC2 deployment.
D:The proposed condition makes sense in an implementation designed to update an existing EC2 fleet in batches while preserving required available capacity; it concerns CodeDeploy EC2 in-place configurations control host update concurrency using healthy-host thresholds, whereas this question tests the prerequisite of the named control.
Question 316
An automated check detects: A central SOC manually updates hundreds of identical low-risk findings every day. Which remediation directly supports the requirement to normalize and triage recurring findings according to defined central criteria?
- Use Security Hub automation rules for finding-state prioritization
- Use AWS Config conformance packs for grouped compliance evaluation
- Use IAM Access Analyzer external access findings for resource policies
- Use IAM Access Analyzer unused-access analysis for stale privileges
- Use VPC Flow Logs to investigate rejected network flows
Explanation
Correct Answer
A:To normalize and triage recurring findings according to defined central criteria, the architecture relies on this AWS behavior: Security Hub automation rules can update selected finding fields when findings match configured criteria. The process should adjust supported finding properties based on matching conditions.
Incorrect Answers
B:Although conformance packs package AWS Config rules and supported remediation actions for consistent evaluation, the scenario does not ask for evaluate a collection of resource configuration controls against a standard. It requires the ability to normalize and triage recurring findings according to defined central criteria, which is a separate responsibility.
C:IAM Access Analyzer can flag supported resources whose policies allow external access. This can help teams identify resource-based policies granting access outside the expected trust zone, but the reported workflow needs to normalize and triage recurring findings according to defined central criteria. It does not perform that required function.
D:That service solves a different operating problem: the need to find roles or permissions that have not been used within the configured scope. Its behavior is that unused access findings help identify unused IAM roles or unused permissions for least-privilege review. The requested outcome remains normalize and triage recurring findings according to defined central criteria.
E:The choice is useful when engineers need to identify source, destination, and action details for a suspected network denial: VPC Flow Logs record accepted and rejected flow metadata without capturing full packet payloads; it would not establish the control needed to normalize and triage recurring findings according to defined central criteria.
Question 317
A technical change review names the selected control as follows: Configure CloudWatch metric filters for structured application log events. To count specific error patterns without changing application metric instrumentation, which constraint must be addressed for this design?
- The response must support a query language over centrally stored log events
- The log event pattern is consistent enough to extract a metric value
- Dimensions must be controlled to avoid excessive custom metric cardinality and cost
- Retention periods should vary by data classification and compliance obligations
Explanation
Correct Answer
B:The log event pattern is consistent enough to extract a metric value. Without this, choosing the named service is not enough to produce the promised outcome; metric filters evaluate incoming CloudWatch Logs records and emit metrics for matching patterns.
Incorrect Answers
A:CloudWatch Logs Insights runs interactive queries over selected CloudWatch log groups. Its own dependency is that the response must support a query language over centrally stored log events; those details concern the separate objective of being able to query structured error events across log groups during incidents, rather than to the named control required to count specific error patterns without changing application metric instrumentation.
C:This proposed constraint belongs to a separate objective: dimensions must be controlled to avoid excessive custom metric cardinality and cost; the corresponding goal is to track a domain-specific success count broken down by deployed service, not the selected architecture's goal to count specific error patterns without changing application metric instrumentation.
D:This condition governs the different mechanism used to expire routine log events after the approved operating retention period; log-group retention settings automatically expire data beyond the configured retention interval; for the selected control, the relevant boundary is instead that the log event pattern is consistent enough to extract a metric value.
Question 318
The cloud operations group selects this control: Use Route 53 calculated health checks for composite regional availability. What associated scope or dependency matters most when using it to reflect the combined state of several application dependencies in DNS failover decisions?
- Availability policy must combine relevant child checks rather than a single TCP probe
- The system must evaluate resource configuration against a known rule
- The system needs per-contributor rankings from a suitable input data source
- The rule must match the relevant event type and route only useful events
Explanation
Correct Answer
A:Availability policy must combine relevant child checks rather than a single TCP probe. Without this, choosing the named service is not enough to produce the promised outcome. Calculated Route 53 health checks can evaluate a configured number of healthy child checks.
Incorrect Answers
B:This proposed constraint belongs to a separate objective: the system must evaluate resource configuration against a known rule. The corresponding goal is to identify noncompliant resources without depending on log-string alerts, not the selected architecture's goal to reflect the combined state of several application dependencies in DNS failover decisions.
C:This condition governs the different mechanism used to identify the top contributors to a metric or structured log workload; contributor Insights rules analyze supported log or metric inputs to identify top contributing entities; for the selected control, the relevant boundary is instead that availability policy must combine relevant child checks rather than a single TCP probe.
D:EventBridge receives supported AWS Health events and routes matching events to configured targets; its own dependency is that the rule must match the relevant event type and route only useful events; those details concern the separate objective of being able to notify the operations account when an AWS service issue affects the workload, rather than to the named control required to reflect the combined state of several application dependencies in DNS failover decisions.
Question 319
The platform engineering team reports the following failure: A CodeBuild action fails with a generic build failure reported to the pipeline. Which action directly restores the requirement to identify the first shell command or dependency failure in a failing build?
- Inspect CodePipeline stage and action execution history
- Inspect application retry behavior and SQS ApproximateAgeOfOldestMessage
- Review CodeBuild CloudWatch logs and build phase status
- Inspect CloudFormation stack events for the first failed resource
Explanation
Correct Answer
C:To identify the first shell command or dependency failure in a failing build, the architecture relies on this AWS behavior: CodeBuild build logs and phase contexts expose command errors and environment failures. The investigation needs command output and the build phase that returned a failure.
Incorrect Answers
A:That service solves a different operating problem: the need to find which pipeline action failed and review its detailed external execution link; its behavior is that CodePipeline records stage and action execution statuses and detailed links for troubleshooting; the requested outcome remains identify the first shell command or dependency failure in a failing build.
B:The choice is useful when engineers need to identify whether queue-processing latency is growing from a slow consumer: SQS age metrics help reveal processing delay that count metrics alone can obscure. It would not establish the control needed to identify the first shell command or dependency failure in a failing build.
D:Choosing this would aim to identify the underlying resource error that triggered a stack rollback instead of identify the first shell command or dependency failure in a failing build. CloudFormation stack events show per-resource transitions and service error messages; it cannot replace the mechanism specified by the incident evidence.
Question 320
The cloud operations group proposes this implementation: Maintain tested IaC and AMI releases in the disaster recovery Region. Its intended result is to recreate known-good application capacity from immutable infrastructure definitions. Which implementation consideration is most specific to that choice?
- Success must be measured from observed restoration and data loss rather than architecture diagrams
- The recovery environment must reproduce network, IAM, and compute configuration deterministically
- Recovery automation must launch additional application capacity after failover
- Object change history needs to be retained according to the bucket retention model
- Regional disaster recovery should not be triggered when native Multi-AZ failover is adequate
Explanation
Correct Answer
B:The requested behavior is to recreate known-good application capacity from immutable infrastructure definitions, and the recovery environment must reproduce network, IAM, and compute configuration deterministically. The underlying AWS behavior is that versioned IaC and images allow consistent restoration of application infrastructure.
Incorrect Answers
A:This condition governs the different mechanism used to validate recovery performance against business-approved thresholds. Controlled recovery tests expose dependencies, manual delays, and replication gaps before incidents; for the selected control, the relevant boundary is instead that the recovery environment must reproduce network, IAM, and compute configuration deterministically.
C:The proposed condition makes sense in an implementation designed to maintain replicated core data while minimizing always-on application compute cost. It concerns pilot light maintains minimal core components ready and brings up remaining tiers during recovery, whereas this question tests the prerequisite of the named control.
D:This proposed constraint belongs to a separate objective: object change history needs to be retained according to the bucket retention model; the corresponding goal is to recover an overwritten or deleted application object from an earlier version, not the selected architecture's goal to recreate known-good application capacity from immutable infrastructure definitions.
E:This condition governs the different mechanism used to restore database service availability without promoting a cross-Region read replica. RDS Multi-AZ can fail over to a maintained standby in another zone using the managed DB endpoint; for the selected control, the relevant boundary is instead that the recovery environment must reproduce network, IAM, and compute configuration deterministically.