Question 790
The architecture record specifies: Return a nonzero exit code when a blocking automated test fails. To support the goal to stop a pipeline build action when the test runner detects a regression, which consideration should the engineer validate?
- User-journey availability should be measured beyond instance resource metrics
- The matrix results must be tied to one reviewable build request
- The report file path and test report format must match buildspec configuration
- Fast deterministic tests must block downstream promotion when they fail
- Later deployment stages must not run after a failing quality gate
Explanation
Correct Answer
E:Later deployment stages must not run after a failing quality gate. Without this, choosing the named service is not enough to produce the promised outcome; CodeBuild determines command success from process exit status unless buildspec failure handling overrides it.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to exercise a critical HTTP journey regularly with externally visible outcomes; it concerns CloudWatch Synthetics canaries run scheduled scripts against endpoints and report pass or failure measurements, whereas this question tests the prerequisite of the named control; the specified requirement instead is to stop a pipeline build action when the test runner detects a regression.
B:This proposed constraint belongs to a separate objective: the matrix results must be tied to one reviewable build request; the corresponding goal is to run compatible test variations in parallel and consolidate their outcomes, not the selected architecture's goal to stop a pipeline build action when the test runner detects a regression.
C:This condition governs the different mechanism used to expose test-suite pass rates and failing cases for each build execution; CodeBuild reads supported report files from configured paths and associates results with report groups; for the selected control, the relevant boundary is instead that later deployment stages must not run after a failing quality gate.
D:Unit tests in an early build action reduce feedback latency and stop faulty revisions before expensive stages; its own dependency is that fast deterministic tests must block downstream promotion when they fail. Those details concern the separate objective of being able to reject code-level regressions rapidly before creating production artifacts, rather than to the named control required to stop a pipeline build action when the test runner detects a regression.
Question 791
Before approving an automated rollout, the observability team must send only relevant event details to responders rather than an entire event payload and launch a defined remediation runbook when a matching service event occurs. Which combination covers the two distinct controls?
- Use CloudWatch alarms on DynamoDB throttled requests; use CloudWatch Contributor Insights for supported high-cardinality usage analysis
- Use EventBridge input transformation before notifying an operations target; configure an EventBridge rule with an SSM Automation target
- Use EventBridge input transformation before notifying an operations target; use Route 53 calculated health checks for composite regional availability
- Use CloudWatch alarm actions to invoke supported Auto Scaling policies; configure an EventBridge rule with an SSM Automation target
- Use EventBridge input transformation before notifying an operations target; use a CloudWatch metric filter and alarm for unusual log events
Explanation
Correct Answer
B:EventBridge input transformers construct custom target payloads from matched event fields; EventBridge can invoke supported Systems Manager Automation runbooks from matching events. The first control satisfies the need to send only relevant event details to responders rather than an entire event payload; the second addresses the need to launch a defined remediation runbook when a matching service event occurs. The message must preserve event ID, resource, and state fields while removing noise; the target needs an appropriate invocation role and bounded event selection.
Incorrect Answers
A:These are legitimate AWS controls for different outcomes: DynamoDB CloudWatch metrics expose throttled requests and relevant read or write capacity behavior, whereas contributor Insights rules analyze supported log or metric inputs to identify top contributing entities. The problem instead requires the ability to send only relevant event details to responders rather than an entire event payload and to launch a defined remediation runbook when a matching service event occurs.
C:The first half is appropriate: EventBridge input transformers construct custom target payloads from matched event fields. However, calculated Route 53 health checks can evaluate a configured number of healthy child checks; that serves a different objective (reflect the combined state of several application dependencies in DNS failover decisions) and leaves the explicit need to launch a defined remediation runbook when a matching service event occurs unmet.
D:The second implementation is relevant; the problem is the first. Step or simple scaling policies can be driven by CloudWatch alarm transitions. It can help adjust worker fleet capacity when a workload metric crosses a defined level, whereas the stated first requirement is to send only relevant event details to responders rather than an entire event payload.
E:Combining a suitable first control with this second one misses the secondary acceptance criterion; a metric filter emits values from matching logs that a CloudWatch alarm can evaluate; it helps raise an incident when a known error token appears repeatedly in application logs rather than launch a defined remediation runbook when a matching service event occurs.
Question 792
A production ticket contains this symptom: A Lambda handler loops until a resource becomes ready and then times out. The desired behavior is to recheck an AWS service state after provisioning without busy-waiting. What should be fixed?
- Use SNS with appropriate subscription filter policies
- Use Step Functions Choice states for severity-dependent incident routing
- Use an EventBridge rule matching a specific CloudTrail API event pattern
- Use Step Functions wait and retry policies for delayed dependent checks
- Use EventBridge rule retry settings and an SQS dead-letter queue for failed targets
Explanation
Correct Answer
D:Step Functions supports Wait states and task retry policies outside a single Lambda runtime. In this case the control is appropriate because it supports recheck an AWS service state after provisioning without busy-waiting. The workflow needs durable waits and controlled retry intervals.
Incorrect Answers
A:SNS subscription filters select which published messages each subscriber receives. This can help teams send only security-relevant messages to the security response queue, but the reported workflow needs to recheck an AWS service state after provisioning without busy-waiting. It does not perform that required function.
B:That service solves a different operating problem: the need to branch remediation based on incident severity and resource classification. Its behavior is that choice states route state machine execution according to supported data conditions. The requested outcome remains recheck an AWS service state after provisioning without busy-waiting.
C:The choice is useful when engineers need to start an incident workflow after a restricted AWS configuration API call: EventBridge matches supported API activity events and invokes selected event targets. It would not establish the control needed to recheck an AWS service state after provisioning without busy-waiting.
E:Choosing this would aim to retain failed event delivery attempts for later investigation instead of recheck an AWS service state after provisioning without busy-waiting. EventBridge rules can use retry policies and DLQ targets to preserve failed deliveries; it cannot replace the mechanism specified by the incident evidence.
Question 793
The delivery engineering team selects this control: Use an AWS Config aggregator for resource-compliance reporting. What associated scope or dependency matters most when using it to centralize supported configuration and compliance summaries from accounts and Regions?
- The aggregator needs authorized sources and configuration recording in source accounts
- The event selectors should limit costly high-volume events to in-scope resources
- The collector must listen for the existing protocol and publish metric data with proper permissions
- The data must be protected in transit independently from at-rest bucket encryption
Explanation
Correct Answer
A:The requested behavior is to centralize supported configuration and compliance summaries from accounts and Regions, and the aggregator needs authorized sources and configuration recording in source accounts. The underlying AWS behavior is that AWS Config aggregators consolidate resource configuration and compliance data from configured sources.
Incorrect Answers
B:The proposed condition makes sense in an implementation designed to record relevant object-level API activity rather than only account management events. It concerns CloudTrail data events capture selected data-plane operations, such as S3 object API calls, whereas this question tests the prerequisite of the named control.
C:This proposed constraint belongs to a separate objective: the collector must listen for the existing protocol and publish metric data with proper permissions. The corresponding goal is to bridge existing application metric protocols into CloudWatch, not the selected architecture's goal to centralize supported configuration and compliance summaries from accounts and Regions.
D:This condition governs the different mechanism used to protect sensitive telemetry while it travels from producers to ingestion endpoints; TLS protects log transport over supported network paths against plaintext interception; for the selected control, the relevant boundary is instead that the aggregator needs authorized sources and configuration recording in source accounts.
Question 794
The service maintenance group reports the following failure: Tests complete but the team cannot inspect report summaries in the build service. Which action directly restores the requirement to publish structured test reports that reviewers can inspect after a CI run?
- Use an AWS CDK pipeline with dedicated synth and deployment steps
- Restrict build credentials to a CodeBuild service role with least privilege
- Enable CodeBuild local caching for reusable build dependencies
- Enable CodeBuild report groups for automated test results
Explanation
Correct Answer
D:CodeBuild report groups ingest supported test and code-coverage files generated during a build; that directly addresses the observed failure in the scenario. The configuration still has to respect this constraint: results must remain associated with their build executions.
Incorrect Answers
A:The choice is useful when engineers need to automate build and deployment of CDK infrastructure changes with reviewable application source: CDK Pipelines synthesize application definitions into cloud assemblies and orchestrate subsequent stack deployments. It would not establish the control needed to publish structured test reports that reviewers can inspect after a CI run.
B:CodeBuild runs under its assigned IAM service role, which needs access to referenced buckets, logs, and relevant keys; this is a reasonable option when the requirement is to let automated builds read only the required inputs and publish expected outputs, but it operates at a different workflow boundary from the stated need to publish structured test reports that reviewers can inspect after a CI run.
C:Choosing this would aim to reduce time spent re-fetching dependencies in repeated builds on compatible environments instead of publish structured test reports that reviewers can inspect after a CI run. Local caches can reuse permitted source or dependency data on a build host, subject to environment and cache limitations; it cannot replace the mechanism specified by the incident evidence.
Question 795
The application owner proposes this implementation: Implement stateless application nodes with session state in a shared store. Its intended result is to allow requests to move among instances without losing user session context. Which implementation consideration is most specific to that choice?
- The design must reconcile multi-Region replicated changes rather than use a read-only replica
- DNS failover must rely on health evaluation and account for cache TTL behavior
- Clients should mount EFS through a mount target reachable from their zone
- Users should be routed by latency rather than a fixed weighted percentage
- Application sessions must survive instance replacement and Availability Zone movement
Explanation
Correct Answer
E:The implementation has to honor the exact constraint: application sessions must survive instance replacement and Availability Zone movement; externalizing session data removes per-instance affinity as a correctness requirement for request handling.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: the design must reconcile multi-Region replicated changes rather than use a read-only replica; the corresponding goal is to allow application writes in more than one AWS Region with replication, not the selected architecture's goal to allow requests to move among instances without losing user session context.
B:This condition governs the different mechanism used to route clients to a standby endpoint when the primary endpoint becomes unhealthy; Route 53 failover routing selects primary or secondary records according to configured health status; for the selected control, the relevant boundary is instead that application sessions must survive instance replacement and Availability Zone movement.
C:EFS mount targets provide VPC network access to a Regional shared file system from selected zones; its own dependency is that clients should mount EFS through a mount target reachable from their zone; those details concern the separate objective of being able to allow Linux application instances in multiple zones to access a common managed file system, rather than to the named control required to allow requests to move among instances without losing user session context.
D:The proposed condition makes sense in an implementation designed to direct global clients toward the Region with better measured network latency; it concerns Route 53 latency policies select records based on measured latency among configured Regions, whereas this question tests the prerequisite of the named control; the specified requirement instead is to allow requests to move among instances without losing user session context.
Question 796
A platform migration has these separately testable requirements: (1) keep managed instances configured with a prescribed agent and operating setting; (2) let application teams self-service compliant infrastructure without broad template authoring access. Choose TWO actions that satisfy the requirements. Choose TWO.
- Use AWS CloudFormation Change Sets before updating a stack
- Publish approved infrastructure products through AWS Service Catalog
- Enable automatic deployment for an OU-targeted CloudFormation StackSet
- Use Systems Manager State Manager associations for desired-state enforcement
- Use CloudFormation stack policies to protect critical resources from updates
- Define an AWS CDK construct for a reusable platform pattern
Explanation
Correct Answers
B:The corresponding obligation is to let application teams self-service compliant infrastructure without broad template authoring access; service Catalog portfolios expose governed infrastructure products to authorized consumers; that behavior is the reason this action belongs in the selected answer set; in this design the separate acceptance test is to keep managed instances configured with a prescribed agent and operating setting.
D:This covers the specific result to keep managed instances configured with a prescribed agent and operating setting: state Manager associations apply a defined configuration on a schedule to selected managed resources. The fix must recur against tagged managed nodes without opening inbound SSH.
Incorrect Answers
A:A change set previews how CloudFormation intends to modify or replace resources before execution; that would be appropriate to inspect the proposed resource replacements and updates before executing infrastructure changes, but this is a different objective from the numbered obligations in the stem; the specified requirement instead is to let application teams self-service compliant infrastructure without broad template authoring access.
C:It supports a separate administrative task, namely to apply baseline stacks when new accounts join a targeted organizational unit. StackSet automatic deployment creates or removes managed instances as accounts move into or out of targeted OUs; the prompt's required outcomes are not achieved by substituting this control.
E:A stack policy can deny update actions on selected logical resources unless appropriately overridden; that would be appropriate to block unintended replacement or deletion of protected resources during stack updates, but this is a different objective from the numbered obligations in the stem.
F:This mechanism supports the ability to package a standardized multi-resource infrastructure pattern into application code: CDK constructs encapsulate infrastructure resources and synthesize AWS CloudFormation definitions. It would not satisfy a different obligation just by appearing in the same workflow.
Question 797
A team is designing a reusable observability pattern. It must raise an incident when a known error token appears repeatedly in application logs; it must also adjust worker fleet capacity when a workload metric crosses a defined level. Which paired configuration is appropriate?
- Use a CloudWatch alarm action for supported EC2 automatic recovery; use CloudWatch alarm actions to invoke supported Auto Scaling policies
- Use CloudWatch Contributor Insights for supported high-cardinality usage analysis; use EventBridge rules to route AWS Health account events to response automation
- Use a CloudWatch metric filter and alarm for unusual log events; use CloudWatch alarm actions to invoke supported Auto Scaling policies
- Use a CloudWatch metric filter and alarm for unusual log events; 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. This handles the first acceptance condition, subject to the boundary that the filter pattern must match the incoming event shape; the remaining condition is handled separately: step or simple scaling policies can be driven by CloudWatch alarm transitions, with alarm thresholds must correspond to the associated scaling-policy behavior.
Incorrect Answers
A:The second implementation is relevant; the problem is the first. Supported CloudWatch alarm actions can request EC2 instance recovery for qualifying status-check failures; it can help recover an eligible impaired instance when a system-status check indicates host failure, whereas the stated first requirement is to raise an incident when a known error token appears repeatedly in application logs.
B:The pair changes the problem instead of completing it. One option addresses identify the top contributors to a metric or structured log workload; the other addresses notify the operations account when an AWS service issue affects the workload. The release, however, needs to raise an incident when a known error token appears repeatedly in application logs as well as adjust worker fleet capacity when a workload metric crosses a defined level.
D:Config rules assess supported resource settings and publish compliant or noncompliant evaluations; that alternative supports the ability to identify noncompliant resources without depending on log-string alerts, but it is not the requested second outcome (adjust worker fleet capacity when a workload metric crosses a defined level). Even though the first half addresses raise an incident when a known error token appears repeatedly in application logs, this pair is incomplete.
Question 798
A release design adopts this mechanism: Publish PutMetricData custom metrics with stable dimensions. Which implementation detail is most relevant to its proposed use to track a domain-specific success count broken down by deployed service?
- A least-privilege instance role must authorize the agent to publish custom telemetry
- The log payload must follow the EMF schema for metrics extraction
- A correlation ID must be propagated consistently through application calls
- The validation process must use the related signed digest chain
- Dimensions must be controlled to avoid excessive custom metric cardinality and cost
Explanation
Correct Answer
E:Dimensions must be controlled to avoid excessive custom metric cardinality and cost. Without this, choosing the named service is not enough to produce the promised outcome; CloudWatch custom metrics accept namespace, metric name, dimensions, values, and timestamps for aggregation.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to publish guest memory and disk-usage metrics not available from default EC2 metrics. It concerns the CloudWatch agent collects supported host metrics and logs beyond the standard EC2 metric set, whereas this question tests the prerequisite of the named control.
B:This proposed constraint belongs to a separate objective: the log payload must follow the EMF schema for metrics extraction. The corresponding goal is to emit high-cardinality application measurements together with diagnostic context, not the selected architecture's goal to track a domain-specific success count broken down by deployed service.
C:This condition governs the different mechanism used to correlate requests across independent container services in a central log search. Structured log fields and propagated request IDs enable targeted multi-service incident investigation; for the selected control, the relevant boundary is instead that dimensions must be controlled to avoid excessive custom metric cardinality and cost.
D:CloudTrail log file integrity validation delivers digest files that can verify delivered logs. Its own dependency is that the validation process must use the related signed digest chain. Those details concern the separate objective of being able to detect tampering with delivered CloudTrail log files, rather than to the named control required to track a domain-specific success count broken down by deployed service.
Question 799
Investigators observe: A secondary Region has no readable copy of the primary database between backups. Engineers still need to provide off-Region read capacity and a possible promotion-based recovery option. Which corrective action is most appropriate?
- Use an Aurora Global Database with secondary Region clusters
- Use an RDS cross-Region read replica where the engine supports it
- Enable S3 Cross-Region Replication for selected versioned objects
- Use Aurora reader instances in separate Availability Zones
Explanation
Correct Answer
B:Cross-Region read replicas copy database changes asynchronously and can be promoted under supported conditions; in this case the control is appropriate because it supports provide off-Region read capacity and a possible promotion-based recovery option. Replication may be asynchronous and failover requires appropriate application orchestration.
Incorrect Answers
A:That service solves a different operating problem: the need to provide low-latency cross-Region database reads and a regional recovery path. Its behavior is that aurora Global Database replicates from a primary cluster to secondary regional clusters for reads and recovery. The requested outcome remains provide off-Region read capacity and a possible promotion-based recovery option.
C:S3 replication asynchronously copies eligible object versions to configured destination buckets; this is a reasonable option when the requirement is to retain replicated application objects in a separate disaster-recovery Region, but it operates at a different workflow boundary from the stated need to provide off-Region read capacity and a possible promotion-based recovery option.
D:Choosing this would aim to improve Aurora read availability and provide additional managed failover candidates instead of provide off-Region read capacity and a possible promotion-based recovery option; aurora Replicas share cluster storage and can serve reads or be promoted during supported failovers; it cannot replace the mechanism specified by the incident evidence.
Question 800
The production plan uses this approach: Use CodeBuild batch builds for a supported test matrix. The goal is to run compatible test variations in parallel and consolidate their outcomes. Which prerequisite or limitation should receive focused review?
- The matrix results must be tied to one reviewable build request
- User-journey availability should be measured beyond instance resource metrics
- Validation must execute for proposed revisions and feed status to the review process
- Authorization checks must include explicit denied or ungranted actions
Explanation
Correct Answer
A:The matrix results must be tied to one reviewable build request. That is the governing deployment boundary for the selected control: batch builds support coordinated multiple build configurations and associated aggregate status. If the boundary is missed, the design can fail to run compatible test variations in parallel and consolidate their outcomes.
Incorrect Answers
B:CloudWatch Synthetics canaries run scheduled scripts against endpoints and report pass or failure measurements; its own dependency is that user-journey availability should be measured beyond instance resource metrics. Those details concern the separate objective of being able to exercise a critical HTTP journey regularly with externally visible outcomes, rather than to the named control required to run compatible test variations in parallel and consolidate their outcomes.
C:The proposed condition makes sense in an implementation designed to evaluate a proposed change before it merges into a protected branch. It concerns PR-triggered builds can test changes earlier than post-merge releases and support branch protection workflows, whereas this question tests the prerequisite of the named control.
D:This proposed constraint belongs to a separate objective: authorization checks must include explicit denied or ungranted actions. The corresponding goal is to verify the release role cannot perform actions outside its approved scope, not the selected architecture's goal to run compatible test variations in parallel and consolidate their outcomes.