Question 30
After a configuration change, the site reliability team sees this issue: A single Lambda handler has grown into dozens of nested alert-routing conditions. What best restores the ability to branch remediation based on incident severity and resource classification?
- Use Step Functions wait and retry policies for delayed dependent checks
- Use EventBridge archive and replay for selected critical events
- Use S3 Event Notifications to enqueue object-processing work
- Use Step Functions Choice states for severity-dependent incident routing
Explanation
Correct Answer
D:Choice states route state machine execution according to supported data conditions. It restores the ability to branch remediation based on incident severity and resource classification, provided the implementation also observes that different decision branches must remain observable as workflow states.
Incorrect Answers
A:Step Functions supports Wait states and task retry policies outside a single Lambda runtime. This can help teams recheck an AWS service state after provisioning without busy-waiting, but the reported workflow needs to branch remediation based on incident severity and resource classification. It does not perform that required function.
B:That service solves a different operating problem: the need to reprocess a historical event period after a corrected incident workflow is deployed; its behavior is that EventBridge archives can retain selected events for later replay to an event bus; the requested outcome remains branch remediation based on incident severity and resource classification.
C:The choice is useful when engineers need to respond asynchronously when new diagnostic objects arrive in an S3 bucket: S3 event notifications can send selected bucket events to eligible SQS, SNS, or Lambda targets. It would not establish the control needed to branch remediation based on incident severity and resource classification.
Question 31
A release readiness review identifies 2 distinct controls to implement: (1) isolate repeatedly unprocessable events without blocking successful work; (2) respond asynchronously when new diagnostic objects arrive in an S3 bucket. Select the TWO actions that jointly cover them. Choose TWO.
- Use S3 Event Notifications to enqueue object-processing work
- Use EventBridge Pipes to filter and enrich events from a supported source
- Use an EventBridge Scheduler one-time schedule for delayed remediation
- Use EventBridge archive and replay for selected critical events
- Use an SQS redrive policy and dead-letter queue for failed events
Explanation
Correct Answers
A:This covers the specific result to respond asynchronously when new diagnostic objects arrive in an S3 bucket: S3 event notifications can send selected bucket events to eligible SQS, SNS, or Lambda targets. Object creation events need a supported notification destination and permissions.
E:This covers the specific result to isolate repeatedly unprocessable events without blocking successful work: an SQS redrive policy sends messages to a DLQ after the receive count exceeds its threshold. The configured failure threshold must retain bad messages for investigation.
Incorrect Answers
B:EventBridge Pipes connects supported sources to targets with optional filter and enrichment steps; that would be appropriate to connect a managed stream or queue to a target with transformation and optional enrichment, but this is a different objective from the numbered obligations in the stem.
C:This mechanism supports the ability to invoke a follow-up check at a precise future time after an initial event: EventBridge Scheduler can invoke supported targets at specified one-time or recurring times. It would not satisfy a different obligation just by appearing in the same workflow.
D:It supports a separate administrative task, namely to reprocess a historical event period after a corrected incident workflow is deployed. EventBridge archives can retain selected events for later replay to an event bus. The prompt's required outcomes are not achieved by substituting this control.
Question 32
After a configuration change, the release manager sees this issue: Fleet instances have inconsistent operating-system patch compliance after manual updates. What best restores the ability to scan and install operating-system updates according to approved patch classifications?
- Use Systems Manager Inventory to collect managed-node software metadata
- Use Systems Manager Automation runbooks for multi-step operational remediation
- Use Systems Manager Automation assumeRole for scoped API execution
- Use Systems Manager Patch Manager and patch baselines
- Use Systems Manager Run Command for scoped remote command execution
Explanation
Correct Answer
D:Patch Manager applies selected baselines to supported managed nodes for scan or install operations; in this case the control is appropriate because it supports scan and install operating-system updates according to approved patch classifications. Approved and rejected patch criteria should be managed centrally.
Incorrect Answers
A:The choice is useful when engineers need to report installed applications and instance configuration across the managed fleet: Systems Manager Inventory collects supported software and configuration metadata for fleet reporting; it would not establish the control needed to scan and install operating-system updates according to approved patch classifications.
B:Automation runbooks execute structured steps and AWS service operations with defined permissions; this is a reasonable option when the requirement is to combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook, but it operates at a different workflow boundary from the stated need to scan and install operating-system updates according to approved patch classifications.
C:Choosing this would aim to run an approved automation document under a dedicated role rather than a user's permissions instead of scan and install operating-system updates according to approved patch classifications. Automation can assume an assigned IAM role to run documented steps with explicit API permissions; it cannot replace the mechanism specified by the incident evidence.
E:Run Command dispatches supported command documents to selected managed nodes and records execution results; this can help teams run a one-time script against a tagged fleet without SSH access, but the reported workflow needs to scan and install operating-system updates according to approved patch classifications. It does not perform that required function.
Question 33
A new AWS operations standard requires the ability to run approved node maintenance tasks during designated service windows and scan and install operating-system updates according to approved patch classifications in the same operating environment. Which proposed pair delivers both?
- Use Systems Manager Maintenance Windows for scheduled fleet operations; use Systems Manager Patch Manager and patch baselines
- Use Systems Manager Automation runbooks for multi-step operational remediation; use Systems Manager Patch Manager and patch baselines
- Use Systems Manager Maintenance Windows for scheduled fleet operations; use Systems Manager Run Command for scoped remote command execution
- Use Systems Manager Inventory to collect managed-node software metadata; use Systems Manager Automation assumeRole for scoped API execution
Explanation
Correct Answer
A:The first outcome depends on the behavior that maintenance Windows schedule supported tasks against registered targets at specified times. Separately, patch Manager applies selected baselines to supported managed nodes for scan or install operations; together these meet the two requested outcomes, with the operational limits that schedule, targets, and task concurrency must be controlled together and approved and rejected patch criteria should be managed centrally.
Incorrect Answers
B:The second implementation is relevant; the problem is the first. Automation runbooks execute structured steps and AWS service operations with defined permissions; it can help combine approvals, API actions, branching, and rollback-aware tasks in a repeatable runbook, whereas the stated first requirement is to run approved node maintenance tasks during designated service windows.
C:Combining a suitable first control with this second one misses the secondary acceptance criterion; run Command dispatches supported command documents to selected managed nodes and records execution results; it helps run a one-time script against a tagged fleet without SSH access rather than scan and install operating-system updates according to approved patch classifications.
D:Neither control directly supplies both requested behaviors. Systems Manager Inventory collects supported software and configuration metadata for fleet reporting; automation can assume an assigned IAM role to run documented steps with explicit API permissions. Those mechanisms address different objectives. The specified capabilities are to run approved node maintenance tasks during designated service windows and to scan and install operating-system updates according to approved patch classifications.
Question 34
A release design adopts this mechanism: Use a Lambda execution role scoped to required AWS APIs. Which implementation detail is most relevant to its proposed use to allow a Lambda handler to read a specific secret and publish required logs?
- Per-workload identity should restrict permissions to the required AWS APIs
- Cross-account access must be permitted by the relevant resource authorization model
- The assumed session must not gain permissions beyond the base role
- The function's execution identity should avoid global administrator actions
Explanation
Correct Answer
D:The requested behavior is to allow a Lambda handler to read a specific secret and publish required logs, and the function's execution identity should avoid global administrator actions. The underlying AWS behavior is that Lambda execution roles grant the AWS API permissions used by the running function.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to grant a Kubernetes workload AWS permissions without using the node IAM role; it concerns EKS workload identity mechanisms associate an AWS IAM role with a Kubernetes service account or pod, whereas this question tests the prerequisite of the named control.
B:This proposed constraint belongs to a separate objective: cross-account access must be permitted by the relevant resource authorization model; the corresponding goal is to authorize a designated external role to access a narrow set of objects, not the selected architecture's goal to allow a Lambda handler to read a specific secret and publish required logs.
C:This condition governs the different mechanism used to further limit temporary role credentials to the resources needed by one execution; STS session policies intersect with the role's permissions to further restrict an assumed-role session; for the selected control, the relevant boundary is instead that the function's execution identity should avoid global administrator actions.
Question 35
The security engineering group cannot close its release review until both of these are possible: trigger containment review when a high-severity credential threat appears; normalize and triage recurring findings according to defined central criteria. Which implementation pair satisfies the review?
- Run SQL queries against existing CloudTrail Lake event data stores; use Security Hub automation rules for finding-state prioritization
- Route GuardDuty findings through EventBridge to a security workflow; use Security Hub automation rules for finding-state prioritization
- Route GuardDuty findings through EventBridge to a security workflow; use IAM credential reports and access-key last-used data for periodic access review
- Use VPC Flow Logs to investigate rejected network flows; use CloudFormation drift detection to spot out-of-band stack edits
Explanation
Correct Answer
B:GuardDuty emits supported findings to EventBridge for targeted notification and automation; Security Hub automation rules can update selected finding fields when findings match configured criteria. The first control satisfies the need to trigger containment review when a high-severity credential threat appears; the second addresses the need to normalize and triage recurring findings according to defined central criteria. The rule should select findings with the intended severity and account context; the process should adjust supported finding properties based on matching conditions.
Incorrect Answers
A:The second implementation is relevant; the problem is the first. CloudTrail Lake ingests supported events into queryable event data stores. It can help query retained CloudTrail events without first building a custom S3 query pipeline, whereas the stated first requirement is to trigger containment review when a high-severity credential threat appears.
C:The first half is appropriate: GuardDuty emits supported findings to EventBridge for targeted notification and automation. However, IAM credential reports and access-key usage metadata support audits of IAM user authentication materials; that serves a different objective (identify aging IAM user credentials that require rotation or removal) and leaves the explicit need to normalize and triage recurring findings according to defined central criteria unmet.
D:These are legitimate AWS controls for different outcomes: VPC Flow Logs record accepted and rejected flow metadata without capturing full packet payloads, whereas drift detection checks supported stack resource configuration against the declared IaC state. The problem instead requires the ability to trigger containment review when a high-severity credential threat appears and to normalize and triage recurring findings according to defined central criteria.
Question 36
A technical change review names the selected control as follows: Enable ECS Service Auto Scaling for task count. To adjust running service task capacity based on a CloudWatch target metric, which constraint must be addressed for this design?
- Capacity must be ready shortly before the recurring workload starts
- The capacity mechanism must update ECS desired task count
- The metric should correlate with per-instance capacity and stable control behavior
- Compute scale-out must track container placement demand
- Concurrency must be constrained at the function boundary
Explanation
Correct Answer
B:The requested behavior is to adjust running service task capacity based on a CloudWatch target metric, and the capacity mechanism must update ECS desired task count. The underlying AWS behavior is that application Auto Scaling can control ECS service desired count from target tracking or step policies.
Incorrect Answers
A: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 capacity mechanism must update ECS desired task count.
C:The proposed condition makes sense in an implementation designed to automatically change fleet capacity to maintain a target utilization level; it concerns target tracking policies adjust desired capacity around a configured metric target, whereas this question tests the prerequisite of the named control.
D:This proposed constraint belongs to a separate objective: compute scale-out must track container placement demand; the corresponding goal is to coordinate ECS service task placement with managed EC2 capacity, not the selected architecture's goal to adjust running service task capacity based on a CloudWatch target metric.
E:This condition governs the different mechanism used to cap parallel invocations before a sensitive backend is saturated; reserved concurrency caps simultaneously executing Lambda instances for the configured function; for the selected control, the relevant boundary is instead that the capacity mechanism must update ECS desired task count.
Question 37
An incident record says: A Config rule detects an open security group rule but the team never applies the standard fix. To restore the capability to correct an eligible configuration violation soon after detection, which change addresses the root cause?
- Use EventBridge rules to route AWS Health account events to response automation
- Use a CloudWatch metric filter and alarm for unusual log events
- Attach automatic AWS Config remediation to an SSM Automation document
- Use an AWS Config managed rule to detect a specific resource misconfiguration
Explanation
Correct Answer
C:Config automatic remediation can invoke Systems Manager Automation for noncompliant resources. It enables the necessary capability to correct an eligible configuration violation soon after detection rather than only providing an adjacent operational control. The remediation action needs authorized and bounded automated permissions.
Incorrect Answers
A:That service solves a different operating problem: the need to notify the operations account when an AWS service issue affects the workload; its behavior is that EventBridge receives supported AWS Health events and routes matching events to configured targets; the requested outcome remains correct an eligible configuration violation soon after detection.
B:The choice is useful when engineers need to raise an incident when a known error token appears repeatedly in application logs: a metric filter emits values from matching logs that a CloudWatch alarm can evaluate. It would not establish the control needed to correct an eligible configuration violation soon after detection.
D:Choosing this would aim to identify noncompliant resources without depending on log-string alerts instead of correct an eligible configuration violation soon after detection. Config rules assess supported resource settings and publish compliant or noncompliant evaluations; it cannot replace the mechanism specified by the incident evidence.
Question 38
The production plan uses this approach: Review CodeDeploy lifecycle hook logs and agent logs on target EC2 instances. The goal is to diagnose why an instance deployment fails during a lifecycle hook. Which prerequisite or limitation should receive focused review?
- The investigation needs command output and the build phase that returned a failure
- The root cause may involve launch template errors, capacity availability, or quotas
- The cause may be in hook exit status or the agent's local execution logs
- The target port, route, response code, and health thresholds need verification
Explanation
Correct Answer
C:The cause may be in hook exit status or the agent's local execution logs. That is the governing deployment boundary for the selected control: CodeDeploy agent and deployment logs record instance-level lifecycle command behavior. If the boundary is missed, the design can fail to diagnose why an instance deployment fails during a lifecycle hook.
Incorrect Answers
A:The proposed condition makes sense in an implementation designed to identify the first shell command or dependency failure in a failing build. It concerns CodeBuild build logs and phase contexts expose command errors and environment failures, whereas this question tests the prerequisite of the named control.
B:This proposed constraint belongs to a separate objective: the root cause may involve launch template errors, capacity availability, or quotas; the corresponding goal is to discover why an EC2 fleet fails to add replacement capacity, not the selected architecture's goal to diagnose why an instance deployment fails during a lifecycle hook.
D:ALB target-group status reason codes and health settings show why endpoints fail checks. Its own dependency is that the target port, route, response code, and health thresholds need verification; those details concern the separate objective of being able to diagnose why valid backend instances receive no load balancer traffic, rather than to the named control required to diagnose why an instance deployment fails during a lifecycle hook.
Question 39
The infrastructure automation group selects this control: Check Auto Scaling scaling activities and launch failures. What associated scope or dependency matters most when using it to discover why an EC2 fleet fails to add replacement capacity?
- The app should re-resolve endpoints and retry stale connections appropriately
- The cause may be in hook exit status or the agent's local execution logs
- The root cause may involve launch template errors, capacity availability, or quotas
- Decryption authorization must be separate from S3 GetObject permission
Explanation
Correct Answer
C:The requested behavior is to discover why an EC2 fleet fails to add replacement capacity, and the root cause may involve launch template errors, capacity availability, or quotas. The underlying AWS behavior is that auto Scaling activity history records scaling requests and instance launch or health-related failures.
Incorrect Answers
A:This proposed constraint belongs to a separate objective: the app should re-resolve endpoints and retry stale connections appropriately. The corresponding goal is to explain a brief application database interruption after a Multi-AZ failover, not the selected architecture's goal to discover why an EC2 fleet fails to add replacement capacity.
B:This condition governs the different mechanism used to diagnose why an instance deployment fails during a lifecycle hook. CodeDeploy agent and deployment logs record instance-level lifecycle command behavior. For the selected control, the relevant boundary is instead that the root cause may involve launch template errors, capacity availability, or quotas.
D:The proposed condition makes sense in an implementation designed to diagnose artifact decryption failure after S3 object access succeeds; it concerns customer managed KMS key policies and principal permissions govern who may decrypt encrypted artifacts, whereas this question tests the prerequisite of the named control.
Question 40
A technical change review names the selected control as follows: Use AWS Private CA for an organization-managed private certificate authority. To issue short-lived internal TLS certificates for private service identities, which constraint must be addressed for this design?
- Detection should inspect eligible S3 object content and report discovered data categories
- The team accepts the operational burden of key management and cluster availability
- The corrective runbook must execute with narrowly authorized permissions
- The organization must govern internal CA policies and certificate trust distribution
Explanation
Correct Answer
D:The implementation has to honor the exact constraint: the organization must govern internal CA policies and certificate trust distribution; AWS Private CA creates and operates private certificate authorities for issuing and managing private certificates.
Incorrect Answers
A:This condition governs the different mechanism used to identify S3 objects that potentially contain sensitive information; Macie uses automated discovery and classification to identify sensitive data in supported S3 objects; for the selected control, the relevant boundary is instead that the organization must govern internal CA policies and certificate trust distribution.
B:CloudHSM offers dedicated hardware security modules operated under the customer's control plane; its own dependency is that the team accepts the operational burden of key management and cluster availability. Those details concern the separate objective of being able to meet a specialized cryptographic requirement needing dedicated customer-managed HSMs, rather than to the named control required to issue short-lived internal TLS certificates for private service identities.
C:The proposed condition makes sense in an implementation designed to restore supported misconfigured resource settings when drift is detected. It concerns AWS Config rules evaluate configurations and can integrate with Systems Manager remediation, whereas this question tests the prerequisite of the named control.