Question 920
A technical change review names the selected control as follows: Deploy dynamic configuration using AWS AppConfig gradual rollout. To release feature flags independently from application code with automatic rollback on alarms, which constraint must be addressed for this design?
- The fix must recur against tagged managed nodes without opening inbound SSH
- Configuration rollout must be gradual with monitored safety checks
- Platform owners must constrain which templates and versions can be provisioned
- The audit must compare actual supported resource properties with expected template state
- CloudFormation should resolve the protected value from its secret or parameter store
Explanation
Correct Answer
B:The requested behavior is to release feature flags independently from application code with automatic rollback on alarms, and configuration rollout must be gradual with monitored safety checks. The underlying AWS behavior is that AppConfig deployment strategies gradually distribute hosted or sourced configuration and can roll back on alarms.
Incorrect Answers
A:This condition governs the different mechanism used 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; for the selected control, the relevant boundary is instead that configuration rollout must be gradual with monitored safety checks.
C:The proposed condition makes sense in an implementation designed to let application teams self-service compliant infrastructure without broad template authoring access; it concerns service Catalog portfolios expose governed infrastructure products to authorized consumers, whereas this question tests the prerequisite of the named control; the specified requirement instead is to release feature flags independently from application code with automatic rollback on alarms.
D:This proposed constraint belongs to a separate objective: the audit must compare actual supported resource properties with expected template state. The corresponding goal is to identify unmanaged configuration changes made outside the IaC deployment, not the selected architecture's goal to release feature flags independently from application code with automatic rollback on alarms.
E:This condition governs the different mechanism used to avoid hardcoding a sensitive input in reusable infrastructure templates; dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager; for the selected control, the relevant boundary is instead that configuration rollout must be gradual with monitored safety checks.
Question 921
An incident-response change request has linked acceptance tests: the system must identify the first shell command or dependency failure in a failing build, and it must diagnose why an instance deployment fails during a lifecycle hook. Which two controls should the engineers combine?
- Review CodeBuild CloudWatch logs and build phase status; inspect EKS pod events and describe output for Pending pods
- Inspect RDS failover events and connection retry handling; review CodeDeploy lifecycle hook logs and agent logs on target EC2 instances
- Inspect application retry behavior and SQS ApproximateAgeOfOldestMessage; check ALB target-group health reason codes and the configured health path
- Review CodeBuild CloudWatch logs and build phase status; review CodeDeploy lifecycle hook logs and agent logs on target EC2 instances
Explanation
Correct Answer
D:CodeBuild build logs and phase contexts expose command errors and environment failures; CodeDeploy agent and deployment logs record instance-level lifecycle command behavior. The first control satisfies the need to identify the first shell command or dependency failure in a failing build; the second addresses the need to diagnose why an instance deployment fails during a lifecycle hook. The investigation needs command output and the build phase that returned a failure; the cause may be in hook exit status or the agent's local execution logs.
Incorrect Answers
A:The first half is appropriate: CodeBuild build logs and phase contexts expose command errors and environment failures. However, kubernetes scheduling events explain why pending pods cannot be assigned to nodes; that serves a different objective (diagnose Kubernetes scheduling constraints rather than application code failure) and leaves the explicit need to diagnose why an instance deployment fails during a lifecycle hook unmet.
B:The second implementation is relevant; the problem is the first. RDS event timelines and application connection behavior help diagnose managed failover recovery; it can help explain a brief application database interruption after a Multi-AZ failover, whereas the stated first requirement is to identify the first shell command or dependency failure in a failing build.
C:The pair changes the problem instead of completing it. One option addresses identify whether queue-processing latency is growing from a slow consumer; the other addresses diagnose why valid backend instances receive no load balancer traffic. The release, however, needs to identify the first shell command or dependency failure in a failing build as well as diagnose why an instance deployment fails during a lifecycle hook.
Question 922
Investigators observe: A production role policy changes unexpectedly and only the resulting state is known. Engineers still need to identify the principal and API call that modified a security policy. Which corrective action is most appropriate?
- Enable Amazon Inspector findings for supported compute workloads
- Enable AWS X-Ray tracing across supported API and Lambda components
- Use AWS Config resource timelines to inspect configuration history
- Query CloudTrail management events to attribute an unexpected IAM change
Explanation
Correct Answer
D:CloudTrail records supported management API events that can identify who made a change. In this case the control is appropriate because it supports identify the principal and API call that modified a security policy. Investigators need event identity, timestamp, request parameters, and source context.
Incorrect Answers
A:Choosing this would aim to identify software package vulnerabilities affecting deployed EC2 or container workloads instead of identify the principal and API call that modified a security policy. Inspector assesses supported workloads and produces vulnerability findings with affected-resource context; it cannot replace the mechanism specified by the incident evidence.
B:Although x-Ray traces and segments expose timing and dependencies across instrumented service calls, the scenario does not ask for identify which downstream call dominates end-to-end request latency. It requires the ability to identify the principal and API call that modified a security policy, which is a separate responsibility.
C:AWS Config configuration history tracks supported resource state changes over time. This can help teams find when an infrastructure resource drifted from its previous configuration, but the reported workflow needs to identify the principal and API call that modified a security policy. It does not perform that required function.
Question 923
The service maintenance group selects this control: Create an organization-wide CloudTrail trail to a protected logging account. What associated scope or dependency matters most when using it to collect supported account activity centrally across an AWS organization?
- Supported security administration should be separated from the management account
- Data protection governance must be applied through supported organization policy mechanisms
- The process must create member accounts under the organization's management structure
- Member accounts must not be able to silently erase centrally stored audit evidence
Explanation
Correct Answer
D:Member accounts must not be able to silently erase centrally stored audit evidence. Without this, choosing the named service is not enough to produce the promised outcome; an organization trail covers member accounts with centralized delivery and separately controlled storage.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: supported security administration should be separated from the management account; the corresponding goal is to let a security account administer a supported service for organization members, not the selected architecture's goal to collect supported account activity centrally across an AWS organization.
B:This condition governs the different mechanism used to distribute common backup policy requirements to eligible member accounts; organizations backup policies help coordinate AWS Backup plans and selections across member accounts; for the selected control, the relevant boundary is instead that member accounts must not be able to silently erase centrally stored audit evidence.
C:Organizations supports asynchronous member account creation through its account APIs. Its own dependency is that the process must create member accounts under the organization's management structure; those details concern the separate objective of being able to automate account creation and consolidate billing within an organization, rather than to the named control required to collect supported account activity centrally across an AWS organization.
Question 924
A production ticket contains this symptom: A deployment group resolves instances but its deployment shows agent communication failures. The desired behavior is to make instances eligible to receive CodeDeploy lifecycle instructions. What should be fixed?
- Choose CodeDeploy in-place deployment with minimum healthy hosts
- Install and run the CodeDeploy agent on target EC2 instances
- Use CodeDeploy blue/green deployment with a replacement EC2 Auto Scaling group
- Use an Auto Scaling lifecycle hook to finish instance initialization before InService
Explanation
Correct Answer
B:The CodeDeploy agent polls for work and runs lifecycle instructions on managed EC2 or on-premises hosts; in this case the control is appropriate because it supports make instances eligible to receive CodeDeploy lifecycle instructions. Instances require network access and a functioning local agent to apply revisions.
Incorrect Answers
A:CodeDeploy EC2 in-place configurations control host update concurrency using healthy-host thresholds; this can help teams update an existing EC2 fleet in batches while preserving required available capacity, but the reported workflow needs to make instances eligible to receive CodeDeploy lifecycle instructions. It does not perform that required function.
C:The choice is useful when engineers need to replace an entire instance release without modifying the current live fleet: CodeDeploy blue/green can provision replacement EC2 instances and reroute traffic after health checks. It would not establish the control needed to make instances eligible to receive CodeDeploy lifecycle instructions.
D:An Auto Scaling lifecycle hook can keep instances in a wait state while automation completes initialization; this is a reasonable option when the requirement is to delay load balancer registration until a new EC2 instance is correctly configured, but it operates at a different workflow boundary from the stated need to make instances eligible to receive CodeDeploy lifecycle instructions.
Question 925
The delivery engineering team proposes this implementation: Use AWS Health events through EventBridge for account-impact notifications. Its intended result is to initiate targeted response to an AWS-managed service event affecting the account. Which implementation consideration is most specific to that choice?
- The managed route must support the source, filtering, and target integration
- Different decision branches must remain observable as workflow states
- The receiving bus policy must explicitly permit approved source-account principals
- Account health events need event-driven notification and contextual routing
Explanation
Correct Answer
D:Account health events need event-driven notification and contextual routing. That is the governing deployment boundary for the selected control: supported AWS Health events appear on EventBridge and can trigger notification or workflows. If the boundary is missed, the design can fail to initiate targeted response to an AWS-managed service event affecting the account.
Incorrect Answers
A:EventBridge Pipes connects supported sources to targets with optional filter and enrichment steps; its own dependency is that the managed route must support the source, filtering, and target integration. Those details concern the separate objective of being able to connect a managed stream or queue to a target with transformation and optional enrichment, rather than to the named control required to initiate targeted response to an AWS-managed service event affecting the account.
B:The proposed condition makes sense in an implementation designed to branch remediation based on incident severity and resource classification. It concerns choice states route state machine execution according to supported data conditions, whereas this question tests the prerequisite of the named control.
C:This proposed constraint belongs to a separate objective: the receiving bus policy must explicitly permit approved source-account principals. The corresponding goal is to accept operational events from multiple workload accounts into a central responder account, not the selected architecture's goal to initiate targeted response to an AWS-managed service event affecting the account.
Question 926
An incident-response architecture decision must satisfy two different outcomes, not just choose one AWS feature: send only security-relevant messages to the security response queue and deliver each incident notification to separate durable processing teams. Which implementation does that?
- Use Step Functions Choice states for severity-dependent incident routing; use an SNS topic with independent SQS subscriptions for event fan-out
- Use SNS with appropriate subscription filter policies; use Kinesis Data Streams for ordered partition-based event processing
- Use SNS with appropriate subscription filter policies; use an SNS topic with independent SQS subscriptions for event fan-out
- Use EventBridge Pipes to filter and enrich events from a supported source; use an SQS redrive policy and dead-letter queue for failed events
- Use SNS with appropriate subscription filter policies; use AWS Health events through EventBridge for account-impact notifications
Explanation
Correct Answer
C:SNS subscription filters select which published messages each subscriber receives; SNS fan-out to multiple SQS queues gives each subscribed queue an independent message stream. The first control satisfies the need to send only security-relevant messages to the security response queue; the second addresses the need to deliver each incident notification to separate durable processing teams. Message attributes or supported bodies should drive routing to subscribers; every subscribed processing system needs its own durable copy of the event.
Incorrect Answers
A:The second implementation is relevant; the problem is the first. Choice states route state machine execution according to supported data conditions. It can help branch remediation based on incident severity and resource classification, whereas the stated first requirement is to send only security-relevant messages to the security response queue.
B:Combining a suitable first control with this second one misses the secondary acceptance criterion; Kinesis Data Streams partitions records by key and retains them for consumers to read over time; it helps ingest a high-volume event stream with multiple independently scaled consumers rather than deliver each incident notification to separate durable processing teams.
D:These are legitimate AWS controls for different outcomes: EventBridge Pipes connects supported sources to targets with optional filter and enrichment steps, whereas an SQS redrive policy sends messages to a DLQ after the receive count exceeds its threshold. The problem instead requires the ability to send only security-relevant messages to the security response queue and to deliver each incident notification to separate durable processing teams.
E:Combining a suitable first control with this second one misses the secondary acceptance criterion; supported AWS Health events appear on EventBridge and can trigger notification or workflows; it helps initiate targeted response to an AWS-managed service event affecting the account rather than deliver each incident notification to separate durable processing teams.
Question 927
During the rollout of a governed environment, engineers are required to release feature flags independently from application code with automatic rollback on alarms and, separately, intercept stack resource operations that violate central deployment rules. Which combination meets the specification?
- Use CloudFormation stack policies to protect critical resources from updates; use Systems Manager State Manager associations for desired-state enforcement
- Use CloudFormation resource import for supported existing resources; use CloudFormation hooks to validate resource configuration during stack operations
- Deploy dynamic configuration using AWS AppConfig gradual rollout; use CloudFormation dynamic references for protected parameter values
- Deploy dynamic configuration using AWS AppConfig gradual rollout; use CloudFormation hooks to validate resource configuration during stack operations
Explanation
Correct Answer
D:For the requirement to release feature flags independently from application code with automatic rollback on alarms, AppConfig deployment strategies gradually distribute hosted or sourced configuration and can roll back on alarms. For the requirement to intercept stack resource operations that violate central deployment rules, CloudFormation hooks can enforce pre-provisioning or operation-time checks for supported resource types. Both mechanisms are necessary; implementing only the first would leave the second unsatisfied.
Incorrect Answers
A:Neither control directly supplies both requested behaviors. A stack policy can deny update actions on selected logical resources unless appropriately overridden; state Manager associations apply a defined configuration on a schedule to selected managed resources. Those mechanisms address different objectives. The specified capabilities are to release feature flags independently from application code with automatic rollback on alarms and to intercept stack resource operations that violate central deployment rules.
B:The second implementation is relevant; the problem is the first. Resource import associates supported existing resources with logical resources in a stack template; it can help bring an already-created resource under stack management without rebuilding it, whereas the stated first requirement is to release feature flags independently from application code with automatic rollback on alarms.
C:Combining a suitable first control with this second one misses the secondary acceptance criterion; dynamic references let CloudFormation retrieve supported values from SSM Parameter Store or Secrets Manager; it helps avoid hardcoding a sensitive input in reusable infrastructure templates rather than intercept stack resource operations that violate central deployment rules.
Question 928
Before approving an automated rollout, the observability team must show latency, errors, and saturation to incident responders in one panel and avoid triggering rollbacks on one isolated noisy metric datapoint. Which combination covers the two distinct controls?
- Use CloudWatch dashboard widgets for a shared service SLO view; use Security Hub findings to correlate security signals from enabled integrations
- Use CloudWatch Synthetics canaries to validate a customer workflow; use metric math to alarm on ALB 5xx errors as a request ratio
- Instrument the actual application error path with structured logs and trace IDs; set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
- Use CloudWatch dashboard widgets for a shared service SLO view; set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
Explanation
Correct Answer
D:CloudWatch dashboards visualize selected metrics, logs, and alarms in a shared operational view; this handles the first acceptance condition, subject to the boundary that the display should combine application and infrastructure indicators for the same system. The remaining condition is handled separately: evaluation periods and datapoints-to-alarm control how many recent breaches cause an alarm state, with the alarm should represent sustained violation of a measurable service objective.
Incorrect Answers
A:Combining a suitable first control with this second one misses the secondary acceptance criterion; Security Hub normalizes supported security findings and provides centralized prioritization workflows; it helps prioritize security risks across multiple supported detection services rather than avoid triggering rollbacks on one isolated noisy metric datapoint.
B:Neither control directly supplies both requested behaviors. Synthetics canaries execute scripts and publish availability and step-level results; CloudWatch metric math combines compatible metrics to evaluate derived rates or ratios. Those mechanisms address different objectives. The specified capabilities are to show latency, errors, and saturation to incident responders in one panel and to avoid triggering rollbacks on one isolated noisy metric datapoint.
C:The second implementation is relevant; the problem is the first. Application tracing and correlated structured logs reveal failures not expressed by host utilization metrics; it can help diagnose which business operation produces sporadic application exceptions, whereas the stated first requirement is to show latency, errors, and saturation to incident responders in one panel.
Question 929
One team is accountable for the AWS workflow to identify the principal and API call that modified a security policy. A second acceptance condition requires it to investigate historical audit events across a large retained log archive. Which combination should be approved?
- Query CloudTrail management events to attribute an unexpected IAM change; use Athena to query partitioned CloudTrail records stored in S3
- Use CloudWatch Logs Insights fields and parsing for targeted error investigation; instrument the actual application error path with structured logs and trace IDs
- Query CloudTrail management events to attribute an unexpected IAM change; use CloudWatch Synthetics canaries to validate a customer workflow
- Propagate trace context between microservices; use Athena to query partitioned CloudTrail records stored in S3
Explanation
Correct Answer
A:The first outcome depends on the behavior that CloudTrail records supported management API events that can identify who made a change. Separately, Athena can query compatible S3-based log data using SQL and suitable tables or partitions. Together these meet the two requested outcomes, with the operational limits that investigators need event identity, timestamp, request parameters, and source context and the analysis should avoid downloading every object to a workstation.
Incorrect Answers
B:The pair changes the problem instead of completing it. One option addresses filter application logs by request ID and aggregate failing endpoint counts; the other addresses diagnose which business operation produces sporadic application exceptions. The release, however, needs to identify the principal and API call that modified a security policy as well as investigate historical audit events across a large retained log archive.
C:The first half is appropriate: CloudTrail records supported management API events that can identify who made a change. However, synthetics canaries execute scripts and publish availability and step-level results; that serves a different objective (detect external failures in a multi-step website journey before users report them) and leaves the explicit need to investigate historical audit events across a large retained log archive unmet.
D:The second implementation is relevant; the problem is the first. Trace context propagation relates spans across a distributed request path. It can help link asynchronous or downstream operations to the originating request trace, whereas the stated first requirement is to identify the principal and API call that modified a security policy.
Question 930
An automated check detects: A developer overwrites a configuration object and cannot retrieve the previous contents. Which remediation directly supports the requirement to recover an overwritten or deleted application object from an earlier version?
- Copy supported AWS Backup recovery points to another Region
- Maintain tested IaC and AMI releases in the disaster recovery Region
- Define AWS Backup plans and selections using resource tags
- Use AWS Backup restore testing plans for supported resources
- Enable S3 versioning and implement recovery for deleted object versions
Explanation
Correct Answer
E:S3 versioning preserves prior object versions so authorized users can restore selected versions; it enables the necessary capability to recover an overwritten or deleted application object from an earlier version rather than only providing an adjacent operational control. Object change history needs to be retained according to the bucket retention model.
Incorrect Answers
A:AWS Backup copy rules replicate supported recovery points to destination vaults in other Regions; this can help teams preserve recoverable backups outside the source Region, but the reported workflow needs to recover an overwritten or deleted application object from an earlier version. It does not perform that required function.
B:That service solves a different operating problem: the need to recreate known-good application capacity from immutable infrastructure definitions; its behavior is that versioned IaC and images allow consistent restoration of application infrastructure; the requested outcome remains recover an overwritten or deleted application object from an earlier version.
C:The choice is useful when engineers need to apply centralized backup schedules to eligible resources as fleets change: AWS Backup plans and tag-based selections assign eligible resources to backup rules. It would not establish the control needed to recover an overwritten or deleted application object from an earlier version.
D:AWS Backup restore testing automates recovery-point selection and supported restore testing workflows; this is a reasonable option when the requirement is to periodically verify recoverability rather than assuming a backup job is sufficient, but it operates at a different workflow boundary from the stated need to recover an overwritten or deleted application object from an earlier version.