Curated

Incident and Event Response (5.1–5.3)

0 votes

Questions42

  1. Question 1

    Incident and Event Response

    An EventBridge rule correctly matches CloudTrail PutObject events for an S3 bucket, but receives nothing; the active trail records only management events. The response requires the API caller's identity. Which change should the engineer make?

    Show the answer

    Correct answerC. Enable S3 object-level data events for the bucket.

    AWhy not this: PutObject is a data event, not a management event; changing management event filtering will not capture it.

    BWhy not this: CloudWatch Logs delivery changes the log destination, not which API activity the trail records.

    CWhy this is right: Recording S3 object-level data events captures PutObject API activity, including the caller identity.

    DWhy not this: Server access logs record requests in S3 log files, not as CloudTrail API events for the existing rule.

    PutObject is an S3 object-level data event, so the trail must record data events for the bucket before EventBridge can match the CloudTrail events. Write-only management event logging does not capture object-level operations.

    Open this question
  2. Question 2

    Incident and Event Response

    A team must retain events received by an EventBridge event bus and later resubmit a selected time range to that bus after fixing a consumer defect. Which feature should the team configure before events arrive?

    Show the answer

    Correct answerA. An EventBridge archive with replay

    AWhy this is right: An archive retains matching events and can replay a selected time range to the original event bus.

    BWhy not this: A dead-letter queue captures failed target deliveries, not a retained history of successfully delivered bus events.

    CWhy not this: A management-event trail records AWS API activity, not the application event stream received by the bus.

    DWhy not this: A retry policy handles temporary target delivery failures, not later reprocessing of a selected historical period.

    An EventBridge archive retains matching bus events and supports replaying a selected time range to the source bus. A dead-letter queue stores events that could not be delivered to a target, not events successfully delivered to a defective consumer.

    Open this question
  3. Question 3

    Incident and Event Response

    Which AWS service generates account-specific notifications about scheduled maintenance affecting AWS resources?

    Show the answer

    Correct answerD. AWS Health

    AWhy not this: AWS Config tracks resource configurations and compliance rather than scheduled AWS maintenance.

    BWhy not this: CloudTrail records account activity and API calls rather than originating scheduled maintenance notifications.

    CWhy not this: CloudWatch monitors operational telemetry; AWS Health originates account-specific maintenance events.

    DWhy this is right: AWS Health generates account-specific notifications about scheduled changes and affected resources.

    AWS Health provides account-specific events about service issues and scheduled changes affecting AWS resources. CloudWatch monitors metrics, logs, and alarms rather than originating AWS maintenance notifications.

    Open this question
  4. Question 4

    Incident and Event Response

    A new EventBridge rule forwards events to another account's event bus, whose resource policy permits the source account to call PutEvents. The target has no execution role, and delivery fails with an authorization error; what should the engineer do?

    Show the answer

    Correct answerA. Give the target a role that permits PutEvents on the destination bus.

    AWhy this is right: The target execution role supplies the source-side permission to call events:PutEvents on the destination bus.

    BWhy not this: Cross-account forwarding pushes events to the destination; the destination bus does not assume a role to read the source bus.

    CWhy not this: Cross-account bus delivery uses a target execution role assumed by EventBridge, not a source account service-linked role.

    DWhy not this: The destination account does not invoke the source rule, and a source rule policy does not supply target execution permissions.

    New cross-account event bus targets require an execution role that authorizes events:PutEvents on the destination bus, in addition to the destination bus policy. A role on the destination bus does not authorize the source rule to send events.

    Open this question
  5. Question 5

    Incident and Event Response

    Which service supplies account-specific scheduled infrastructure maintenance events that an EventBridge rule can route to an operations team?

    Show the answer

    Correct answerB. AWS Health

    AWhy not this: AWS Config tracks resource configurations and compliance rather than AWS infrastructure maintenance schedules.

    BWhy this is right: AWS Health publishes scheduled changes and other events affecting the account's AWS resources.

    CWhy not this: CloudWatch supplies metrics, logs, and alarm events rather than AWS account-specific maintenance notices.

    DWhy not this: CloudTrail records account activity, including API calls; it is not the source of scheduled infrastructure maintenance events.

    AWS Health supplies account-specific events about scheduled changes and issues affecting AWS resources. CloudTrail records account activity such as API calls rather than supplying AWS infrastructure maintenance notifications.

    Open this question
  6. Question 6

    Incident and Event Response

    An EventBridge rule matches S3 DeleteObject API calls delivered through CloudTrail, but receives no events. The trail logs only management events; what should the engineer change to capture deletions from the required bucket?

    Show the answer

    Correct answerA. Add S3 object write data events for the required bucket.

    AWhy this is right: S3 object write data event selection includes DeleteObject calls for the selected bucket.

    BWhy not this: CloudTrail Insights detects unusual activity patterns; it does not enable logging of S3 object-level API calls.

    CWhy not this: Server access logs are a separate logging mechanism and do not supply CloudTrail API events to this rule.

    DWhy not this: Read-only management events do not include object-level write operations such as DeleteObject.

    DeleteObject is an S3 object-level write data event, so the trail must select those data events for the bucket. Management event logging covers control-plane activity, not object deletions.

    Open this question
  7. Question 7

    Incident and Event Response

    After an incident, a team must enforce a corrected agent configuration on Systems Manager managed nodes tagged Environment=Production, including nodes added later. Which solution provides recurring enforcement with the least operational effort?

    Show the answer

    Correct answerA. Create a Systems Manager State Manager association targeting the production tag.

    AWhy this is right: A scheduled, tag-targeted State Manager association repeatedly applies the desired configuration to matching managed nodes.

    BWhy not this: Inventory collects software and system metadata rather than enforcing the agent's desired configuration.

    CWhy not this: A one-time Run Command request does not continually enforce configuration or automatically cover future matching nodes.

    DWhy not this: An AWS Config rule evaluates compliance; evaluation alone does not enforce an operating-system agent configuration.

    A State Manager association can periodically apply a configuration document to tag-selected managed nodes, including newly matching nodes. A one-time Run Command request affects its current targets but does not establish recurring configuration enforcement.

    Open this question
  8. Question 8

    Incident and Event Response

    Following an incident, a team must replace an Auto Scaling group's instances using a corrected AMI in a numbered launch template version; the previous configuration also uses a numbered version. Which approach automatically restores the previous configuration if an application-error CloudWatch alarm enters ALARM during replacement?

    Show the answer

    Correct answerC. Start an instance refresh with the desired configuration, alarm specification, and automatic rollback.

    AWhy not this: A health check grace period neither rolls out the corrected AMI to existing instances nor provides alarm-triggered rollback.

    BWhy not this: Scale-in changes capacity rather than restoring the previous launch template configuration across the fleet.

    CWhy this is right: Alarm-triggered refresh failure can initiate automatic rollback when a supported, explicitly versioned configuration is used.

    DWhy not this: Checkpoints support staged verification, but an operator notification does not automatically restore the previous configuration.

    Instance refresh supports CloudWatch alarm specifications and automatic rollback to the previous configuration when the refresh fails. Checkpoints pause a refresh for verification but do not independently trigger alarm-based automatic rollback.

    Open this question
  9. Question 9

    Incident and Event Response

    An Auto Scaling group launches instances that must retrieve incident-response configuration before serving traffic; initialization time varies. Which approach prevents instances from entering service until initialization explicitly reports success?

    Show the answer

    Correct answerB. Configure a launch lifecycle hook and complete the lifecycle action after initialization.

    AWhy not this: A health check grace period suppresses certain health-based replacement decisions; it does not hold an instance out of service.

    BWhy this is right: A launch lifecycle hook provides a wait state that initialization can explicitly complete before the instance enters service.

    CWhy not this: Instance warmup controls how new instances affect scaling calculations, not explicit initialization approval.

    DWhy not this: A scaling cooldown limits subsequent scaling activity; publishing a metric does not release a launch wait state.

    A launch lifecycle hook holds instances in Pending:Wait until the lifecycle action is completed, subject to its timeout. A health check grace period delays health-based replacement but does not gate entry into service on initialization success.

    Open this question
  10. Question 10

    Incident and Event Response

    An incident requires an immediate, one-time logging configuration change on existing EC2 instances managed by Systems Manager. Which action applies the change to instances with the Production tag without replacing them?

    Show the answer

    Correct answerC. Send a Systems Manager Run Command targeting the Production tag.

    AWhy not this: Changing launch template user data does not execute the new configuration on existing running instances.

    BWhy not this: Building an image prepares configuration for future instances rather than changing the existing fleet.

    CWhy this is right: Run Command supports tag-based targeting and one-time configuration changes on existing managed instances.

    DWhy not this: Compliance evaluations report configuration status rather than applying operating system changes.

    Run Command can execute configuration changes on existing managed instances selected by tags. Updating launch template user data affects subsequent launches, not the running instances.

    Open this question
  11. Question 11

    Incident and Event Response

    A team deploys runtime settings through AWS AppConfig using a gradual deployment strategy. It must automatically restore the previous configuration if application errors trigger a CloudWatch alarm during deployment or the final bake time; what should it configure?

    Show the answer

    Correct answerA. An AppConfig environment monitor linked to the application error alarm.

    AWhy this is right: An environment monitor lets AppConfig use the alarm to trigger rollback during deployment and bake time.

    BWhy not this: AWS Config resource evaluations do not roll back AppConfig deployments based on application error alarms.

    CWhy not this: CloudFormation rollback triggers govern stack operations, not independent AppConfig configuration deployments.

    DWhy not this: A schema validator detects invalid configuration structure before deployment, not runtime application failures.

    AWS AppConfig monitors associated CloudWatch alarms and can roll back configuration deployments during deployment or bake time. Validators check configuration before deployment; they do not detect runtime error increases.

    Open this question
  12. Question 12

    Incident and Event Response

    An EventBridge event must initiate an EC2 configuration change that requires operator approval before execution and validation afterward. Which solution provides these controls within a single workflow?

    Show the answer

    Correct answerD. Start a Systems Manager Automation runbook with approval, configuration, and validation steps.

    AWhy not this: AWS Config evaluates resource configuration; an evaluation alone does not approve or apply the change.

    BWhy not this: State Manager maintains configuration through associations rather than providing an approval-gated workflow.

    CWhy not this: Run Command can apply and validate changes, but its command document does not provide a human approval gate.

    DWhy this is right: Automation can pause for approval, apply the configuration, and validate the result within one runbook.

    Systems Manager Automation supports approval gates and ordered configuration and validation steps. Run Command executes commands on managed nodes but does not itself provide a human approval gate.

    Open this question
  13. Question 13

    Incident and Event Response

    Which action lets a CloudWatch high-CPU alarm increase the number of EC2 instances in an Auto Scaling group?

    Show the answer

    Correct answerC. Execute a step scaling policy.

    AWhy not this: Creating a change set previews infrastructure changes but does not execute a capacity increase.

    BWhy not this: An AWS Config evaluation assesses compliance rather than increasing instance capacity.

    CWhy this is right: A step scaling policy adjusts desired capacity when its associated CloudWatch alarm triggers.

    DWhy not this: An instance refresh rolls out instance replacements rather than scaling out in response to CPU utilization.

    A CloudWatch alarm can invoke a step scaling policy to increase an Auto Scaling group's desired capacity. An instance refresh replaces instances rather than increasing desired capacity in response to load.

    Open this question
  14. Question 14

    Incident and Event Response

    During an incident, an engineer must find which error codes appeared most often in the last hour across the log groups of 12 microservices. The services write JSON logs with an errorCode field, and nothing has been set up beforehand. Which approach gives the answer fastest?

    Show the answer

    Correct answerD. Run one CloudWatch Logs Insights query across the 12 log groups using stats count(*) by errorCode.

    AWhy not this: Metric filters only count events ingested after the filter exists, so they cannot report the past hour.

    BWhy not this: Contributor Insights rules evaluate log events as they arrive after the rule is created, not the past hour.

    CWhy not this: Subscription filters forward only new events and require building and loading a separate cluster.

    DWhy this is right: One query over existing events in all 12 log groups can count and sort error codes from the past hour right away.

    Logs Insights queries log events already stored, across several log groups at once, and discovers JSON fields automatically, so stats count(*) by errorCode gives the counts for the past hour immediately. Metric filters, Contributor Insights rules, and subscription filters only process events that arrive after they are created.

    Open this question
  15. Question 15

    Incident and Event Response

    An Amazon EC2 application becomes unresponsive while its default CloudWatch CPU metrics remain normal. An engineer suspects exhausted operating system memory; what should the engineer configure to collect the missing measurements?

    Show the answer

    Correct answerD. Configure the CloudWatch agent to publish memory metrics.

    AWhy not this: CloudTrail records AWS API activity, not operating system memory utilization.

    BWhy not this: Detailed monitoring increases metric frequency but does not collect guest operating system memory usage.

    CWhy not this: X-Ray sampling controls trace collection, not host memory measurements.

    DWhy this is right: The CloudWatch agent can collect memory utilization and publish it as a CloudWatch metric.

    The CloudWatch agent collects operating system measurements such as memory utilization from EC2 instances. EC2 detailed monitoring increases the frequency of supported EC2 metrics but does not add guest operating system memory metrics.

    Open this question
  16. Question 16

    Incident and Event Response

    An organization has enabled AWS Health organizational view and has support plans that permit AWS Health API access. Its management account must centrally identify account-specific AWS service events across member accounts and the resource IDs affected by each event, without assuming member-account roles; which approach meets these requirements?

    Show the answer

    Correct answerC. Call DescribeEventsForOrganization, then call DescribeAffectedEntitiesForOrganization for the relevant events and accounts.

    AWhy not this: These account-scoped operations do not aggregate member-account Health events through organizational view.

    BWhy not this: Public health information does not provide account-specific affected resource IDs across an organization.

    CWhy this is right: Organizational Health APIs retrieve cross-account events and their affected entities without assuming member-account roles.

    DWhy not this: Cross-account metrics can show symptoms but do not provide AWS Health's account-specific affected-entity records.

    AWS Health organizational APIs expose events and affected entities across organization accounts when organizational view is enabled. The nonorganizational DescribeEvents and DescribeAffectedEntities operations return information for the calling account, not all member accounts.

    Open this question
  17. Question 17

    Incident and Event Response

    An application records a customer tier as AWS X-Ray segment metadata, but engineers cannot use that field in trace filter expressions. They must filter future traces by tier without increasing trace volume; what should they change?

    Show the answer

    Correct answerD. Record the customer tier as an annotation on each relevant segment.

    AWhy not this: Higher sampling collects more traces but does not make metadata filterable and would increase trace volume.

    BWhy not this: Nested metadata remains unindexed and cannot supply an annotation filter.

    CWhy not this: Groups use filter expressions; they do not make unindexed metadata available for filtering.

    DWhy this is right: Annotations are indexed key-value pairs that support filtering traces by attributes such as customer tier.

    X-Ray indexes annotations so they can be used in trace filter expressions. Metadata holds additional trace information but is not indexed for filtering; creating a group does not make metadata searchable.

    Open this question
  18. Question 18

    Incident and Event Response

    An Amazon ECS blue/green deployment in CodeDeploy times out at AfterAllowTestTraffic even though replacement targets are healthy and the validation Lambda function returns successfully. The function logs show that all tests passed, but CodeDeploy shows the lifecycle event as pending; what should the engineer investigate FIRST?

    Show the answer

    Correct answerD. Whether Lambda reports the result through PutLifecycleEventHookExecutionStatus.

    AWhy not this: The termination wait time controls original task-set retention after traffic shifting, not validation hook completion.

    BWhy not this: Healthy replacement targets and completed tests do not indicate an application startup grace-period problem.

    CWhy not this: AfterAllowTestTraffic validates test traffic before production traffic shifts to the replacement task set.

    DWhy this is right: CodeDeploy waits for an explicit lifecycle-event status report, independently of whether the Lambda invocation succeeds.

    A validation Lambda function must explicitly report its hook result to CodeDeploy through PutLifecycleEventHookExecutionStatus; a successful Lambda return is insufficient. Production traffic has not yet shifted at AfterAllowTestTraffic, so its destination does not explain the pending validation event.

    Open this question
  19. Question 19

    Incident and Event Response

    An EC2 CodeDeploy deployment fails during ApplicationStop, and a corrected script in the new revision does not change the failure because CodeDeploy still executes the last successfully deployed revision's script. Operations approves bypassing this obsolete stop script once, but requires normal hook execution afterward; what should the engineer do?

    Show the answer

    Correct answerD. Retry with ApplicationStop failures ignored and deploy the corrected hook successfully.

    AWhy not this: Excluding failed instances does not repair the previous revision's stop hook or establish the corrected revision as the baseline.

    BWhy not this: Changing the incoming revision's timeout does not modify the ApplicationStop script being executed from the previous revision.

    CWhy not this: The incoming revision's hook definitions do not determine which ApplicationStop script executes during this attempt.

    DWhy this is right: Ignoring the obsolete stop-hook failure allows the corrected revision to become the source of hooks for subsequent deployments.

    CodeDeploy runs ApplicationStop from the last successful revision. Ignoring its failure allows the corrected revision to become the successful baseline for later deployments. Removing the hook from the incoming revision does not change the stop hook used for this attempt.

    Open this question
  20. Question 20

    Incident and Event Response

    A CodeBuild build completes compilation but fails in UPLOAD_ARTIFACTS with 'no matching artifact paths found.' The build creates files in dist, while buildspec.yml sets the artifacts base-directory to output; what should the engineer change?

    Show the answer

    Correct answerD. Set the artifacts base-directory to dist in buildspec.yml.

    AWhy not this: Bucket permissions control artifact upload access, not whether local files match the configured artifact paths.

    BWhy not this: Compilation has completed; additional execution time does not correct an artifact directory mismatch.

    CWhy not this: Source change detection controls pipeline triggering, not artifact discovery during an existing build.

    DWhy this is right: The artifact base directory must point to the directory containing the generated files.

    CodeBuild resolves artifact file patterns relative to the configured base-directory, which must match the build output location. Artifact bucket permissions would address an access-denied error, not failure to find local artifact files.

    Open this question
  21. Question 21

    Incident and Event Response

    An incident publisher sends every alert to independent remediation and audit applications; either application can be unavailable for several hours. Which design lets each application process every alert at its own pace without making the publisher track consumers?

    Show the answer

    Correct answerC. Publish to an SNS topic with a separate SQS queue for each application.

    AWhy not this: EventBridge event buses push events to targets; applications cannot poll a bus as a queue.

    BWhy not this: Consumers compete for messages in a shared queue; each application would receive only part of the alert stream.

    CWhy this is right: Each subscribed queue receives a copy and retains its own backlog while its application is unavailable.

    DWhy not this: HTTPS subscriptions offer delivery retries but do not provide each application with a consumer-controlled durable queue.

    SNS fan-out to separate SQS queues gives each application its own durable backlog. Sharing one SQS queue distributes messages among consumers rather than delivering every message to each application.

    Open this question
  22. Question 22

    Incident and Event Response

    A platform ingests ordered event sequences from thousands of resources, and independent applications must process resources in parallel while preserving each resource's order. Each application must also be able to reread seven days of events without asking producers to resend them. Which design best meets these requirements?

    Show the answer

    Correct answerD. Use Kinesis Data Streams with resource IDs as partition keys and seven-day retention; give applications independent checkpoints.

    AWhy not this: Random partition keys can spread one resource's records across shards, losing its ordered sequence.

    BWhy not this: Separate FIFO queues support ordered fan-out, but successful deletion removes the records needed for later rereading.

    CWhy not this: A shared FIFO queue distributes messages among applications, and deleted messages cannot be reread during the retention period.

    DWhy this is right: Resource partition keys preserve per-resource shard ordering, while retention and separate checkpoints support independent rereading.

    Kinesis Data Streams retains records independently of consumption, supports independent consumer positions, and places a resource's records in the same shard through its partition key. Separate FIFO queues preserve message-group order, but deleting processed messages prevents rereading them.

    Open this question
  23. Question 23

    Incident and Event Response

    Workers process remediation requests from an SQS standard queue, but processing sometimes exceeds the visibility timeout and repeated deliveries cause duplicate changes. Which actions reduce overlapping processing and make repeated deliveries safe? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Extend message visibility periodically while a worker is still processing.D. Make remediation idempotent using a durable request identifier.

    AWhy this is right: Extending visibility keeps a message hidden while its current worker continues processing.

    BWhy not this: Retention controls how long messages remain available, not how long an in-progress message stays hidden.

    CWhy not this: Deleting before success risks losing the request if the worker fails during remediation.

    DWhy this is right: A durable request identifier lets workers recognize completed work and avoid repeating its side effects.

    EWhy not this: Delivery delay postpones initial availability; it does not extend visibility after a worker receives the message.

    FWhy not this: Long polling reduces empty receives but does not protect an in-progress message from visibility timeout expiration.

    Extending visibility keeps an active request hidden from other workers, while idempotent processing prevents repeated side effects if delivery recurs. Long polling reduces empty receives; it does not prevent duplicate deliveries or extend processing time.

    Open this question
  24. Question 24

    Incident and Event Response

    An incident workflow must request external approval, wait up to 48 hours without running compute, and then remediate or escalate; the approval service can return a correlation token through an authenticated integration. Which design provides durable execution history and timeout handling with the least custom orchestration?

    Show the answer

    Correct answerA. Use a Standard Workflow with an SQS callback task and a Catch transition for approval timeouts.

    AWhy this is right: A Standard callback task waits without running compute, retains execution history, and supports timeout-based escalation.

    BWhy not this: Lambda duration and SQS visibility limits prevent one invocation from waiting for the entire approval window.

    CWhy not this: A Lambda invocation cannot wait for 48 hours; polling also consumes compute while awaiting approval.

    DWhy not this: Express Workflows do not support callback task integrations and cannot run for 48 hours.

    Step Functions Standard Workflows support durable, long-running executions and callback tasks that pause until a task token is returned. A task timeout can route to escalation through Catch. Express Workflows do not support callback integrations and have a five-minute execution limit.

    Open this question
  25. Question 25

    Incident and Event Response

    A Lambda function processes messages from a standard SQS queue. A bug made some messages fail repeatedly, and after reaching maxReceiveCount they moved to the queue's dead-letter queue. The fix is now deployed, and the team must reprocess those messages through the same function without writing new code. What should they do?

    Show the answer

    Correct answerB. Start a dead-letter queue redrive that moves the messages back to the source queue.

    AWhy not this: Messages in the dead-letter queue are no longer in the source queue, so its visibility timeout does not bring them back.

    BWhy this is right: The redrive returns the dead-lettered messages to the source queue, where the fixed function consumes them.

    CWhy not this: On-failure destinations do not apply to SQS event source mappings, and they would not move messages already in the DLQ.

    DWhy not this: A higher maxReceiveCount only changes when future messages are dead-lettered; it does not move existing ones.

    A dead-letter queue redrive moves messages from the DLQ back to the source queue (or another queue), where the function's event source mapping processes them again. The other settings affect messages still in the source queue, not messages already moved to the DLQ.

    Open this question
  26. Question 26

    Incident and Event Response

    A Lambda function processes Amazon SQS FIFO batches in order, but a failed record causes successfully processed records to be retried. The engineer enables ReportBatchItemFailures on the event source mapping; how should the function handle a failure to preserve ordering and avoid retrying successful records?

    Show the answer

    Correct answerD. Stop processing the batch and return the failed and unprocessed record identifiers.

    AWhy not this: Continuing after a failure can process later records out of order; unprocessed records must also be reported.

    BWhy not this: Reporting every identifier causes successfully processed records to be retried and does not preserve processing order after failure.

    CWhy not this: An exception causes the entire batch to fail, even when partial batch reporting is enabled.

    DWhy this is right: Reporting failed and unprocessed records preserves ordering while excluding records already processed successfully.

    For FIFO queues, stop after the first failure and report both failed and unprocessed records so they can be retried without disrupting ordering. Reporting only the failed record while continuing can process later records before their failed predecessor.

    Open this question
  27. Question 27

    Incident and Event Response

    After an incident, a company wants to deploy the same collection of AWS Config rules and associated remediation actions across its AWS Organizations accounts. Which solution packages these controls for deployment as a single unit?

    Show the answer

    Correct answerC. An organization conformance pack

    AWhy not this: An organization trail records account activity; it does not deploy Config rules or remediation actions.

    BWhy not this: Resource data sync centralizes Systems Manager data rather than packaging AWS Config controls.

    CWhy this is right: A conformance pack packages Config rules and remediation actions, with organization deployment available.

    DWhy not this: An aggregator centralizes configuration and compliance data rather than deploying rules and remediation actions.

    An organization conformance pack deploys a collection of AWS Config rules and remediation actions across organization accounts. A Config aggregator centralizes configuration and compliance data but does not deploy those controls.

    Open this question
  28. Question 28

    Incident and Event Response

    AWS Config automatic remediation occasionally targets security groups that administrators have already corrected because its compliance snapshot is stale. The team must retain automatic remediation without overwriting newer compliant settings or depending on evaluation timing; which change BEST meets these requirements?

    Show the answer

    Correct answerC. Add a runbook check of current settings that exits without changes when the resource is compliant.

    AWhy not this: A shorter evaluation interval does not eliminate the gap between evaluation and remediation.

    BWhy not this: Concurrency limits control simultaneous executions, not the freshness of compliance data.

    CWhy this is right: Checking current settings lets the runbook skip resources that no longer need remediation.

    DWhy not this: Retries repeat remediation attempts; they do not establish whether the resource still requires a change.

    AWS Config automatic remediation can act on stale compliance data. The remediation runbook should validate current resource settings before making changes; more frequent evaluations reduce delay but do not eliminate the stale-snapshot risk.

    Open this question
  29. Question 29

    Incident and Event Response

    Which capabilities does AWS Config provide? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Record resource configuration historyD. Evaluate resources against configuration rules

    AWhy not this: Demand-based capacity adjustment is an AWS Auto Scaling capability.

    BWhy this is right: AWS Config records configuration changes for supported resource types that are configured for recording.

    CWhy not this: Operating system patch installation is a Systems Manager Patch Manager capability.

    DWhy this is right: AWS Config rules evaluate whether resource configurations meet specified requirements.

    AWS Config records resource configuration history and evaluates resources against rules. Systems Manager Patch Manager installs patches, while AWS Auto Scaling adjusts capacity.

    Open this question
  30. Question 30

    Incident and Event Response

    An Amazon ECS container stops with the reason 'OutOfMemoryError: Container killed due to memory usage.' What does this indicate?

    Show the answer

    Correct answerC. The container exceeded its available memory.

    AWhy not this: A failed health check indicates an unhealthy endpoint, not specifically memory exhaustion.

    BWhy not this: Image download failures occur before the container starts and produce image-pull errors.

    CWhy this is right: The stopped reason explicitly identifies memory exhaustion as the cause of termination.

    DWhy not this: Network interface allocation failures prevent task networking setup rather than indicate container memory exhaustion.

    The stopped reason identifies a memory exhaustion failure. A load balancer health check failure can cause task replacement, but it does not establish that the container ran out of memory.

    Open this question
  31. Question 31

    Incident and Event Response

    After an Amazon EKS node group is replaced, a StatefulSet Pod remains Pending with 'volume node affinity conflict'; its bound EBS volume is in us-east-1a, but all nodes are in us-east-1b. Which action restores scheduling while preserving the existing volume?

    Show the answer

    Correct answerA. Add schedulable worker capacity in us-east-1a.

    AWhy this is right: Workers in the volume's Availability Zone satisfy its topology requirement and allow scheduling.

    BWhy not this: Delayed binding helps new volume placement; it does not change the location of an existing bound EBS volume.

    CWhy not this: Larger instances provide resources but remain unable to attach an EBS volume from another Availability Zone.

    DWhy not this: IAM permissions cannot resolve a scheduler conflict caused by the volume's Availability Zone.

    An EBS volume can attach only to an instance in its Availability Zone, so the Pod needs eligible worker capacity in us-east-1a. WaitForFirstConsumer helps place newly provisioned volumes; it does not relocate an existing bound volume.

    Open this question
  32. Question 32

    Incident and Event Response

    An EC2 Auto Scaling group leaves application instances running after their Application Load Balancer targets become unhealthy; EC2 status checks still pass. Which change enables automatic replacement of these instances?

    Show the answer

    Correct answerA. Enable Elastic Load Balancing health checks for the group.

    AWhy this is right: Auto Scaling can use load balancer health results to identify and replace unhealthy instances.

    BWhy not this: A longer timeout might reduce false failures but does not enable Auto Scaling to use load balancer health results.

    CWhy not this: Detailed monitoring increases metric frequency but does not change the group's health check configuration.

    DWhy not this: Instance warmup affects scaling behavior, not whether load balancer health results trigger replacement.

    Enabling Elastic Load Balancing health checks lets Auto Scaling replace instances reported unhealthy by the load balancer. Instance warmup controls how newly launched instances contribute to scaling metrics, not which health checks trigger replacement.

    Open this question
  33. Question 33

    Incident and Event Response

    A CloudFormation stack is in UPDATE_ROLLBACK_FAILED because its service role lacked permission to restore a resource. The permission has been corrected; which action should the engineer take to return the stack to an operable state?

    Show the answer

    Correct answerD. Continue the update rollback.

    AWhy not this: Canceling an update does not resume a rollback that has already failed.

    BWhy not this: Drift detection reports configuration differences but does not resume rollback.

    CWhy not this: Creating a change set does not recover a stack from UPDATE_ROLLBACK_FAILED.

    DWhy this is right: Continuing rollback retries recovery now that the missing permission has been restored.

    ContinueUpdateRollback resumes the failed rollback after its cause has been resolved. CancelUpdateStack applies to an update in progress, not a stack already in UPDATE_ROLLBACK_FAILED.

    Open this question
  34. Question 34

    Incident and Event Response

    AWS Config automatic remediation invokes a custom runbook to remove prohibited security group rules, but compliance snapshots can be stale and remediation can encounter transient API failures. Which design choices prevent unnecessary changes and bound repeated remediation attempts? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Make repeated runbook executions succeed when prohibited entries are already absent.C. Re-read the security group's current rules before removing prohibited entries.E. Configure MaximumAutomaticAttempts and RetryAttemptSeconds for automatic remediation.

    AWhy not this: Broad permissions do not resolve throttling or transient service failures and violate least privilege.

    BWhy this is right: Treating an already-remediated state as success makes duplicate or retried executions safe.

    CWhy this is right: A live-state check prevents unnecessary mutation when the resource has already been corrected.

    DWhy not this: A stale snapshot can describe a violation that no longer exists.

    EWhy this is right: These settings bound automatic remediation attempts within the configured retry window.

    Checking live state avoids acting on stale snapshots, idempotency makes repeated execution safe, and retry settings bound automatic attempts. A compliance snapshot alone cannot establish whether remediation is still necessary.

    Open this question
  35. Question 35

    Incident and Event Response

    A CloudWatch alarm detects low free space on an EC2 data volume. The operating system already extends the file system automatically after the EBS volume grows; which solution should automatically increase the volume's provisioned size?

    Show the answer

    Correct answerB. Invoke Lambda through an alarm state-change event to call the EBS ModifyVolume API.

    AWhy not this: Rebooting an instance does not change the provisioned size of its EBS volumes.

    BWhy this is right: ModifyVolume changes EBS provisioned capacity, and an alarm state-change event can trigger the function.

    CWhy not this: Adding instances does not enlarge the existing instance's data volume.

    DWhy not this: Refreshing disk configuration cannot increase the underlying EBS volume's provisioned capacity.

    An event-triggered Lambda function can call ModifyVolume to increase EBS capacity. Refreshing the operating system's disk configuration does not increase the provisioned size of the EBS volume.

    Open this question
  36. Question 36

    Incident and Event Response

    A security event requires adding a blocked CIDR range to an AWS WAF IP set managed by CloudFormation. All infrastructure changes must remain reproducible from the version-controlled template; which automated response BEST meets this requirement?

    Show the answer

    Correct answerC. Update the template in version control, then execute the stack deployment pipeline.

    AWhy not this: An unchanged template does not record the new CIDR and cannot reproduce the required configuration.

    BWhy not this: Drift detection reports differences; it does not update the authoritative template with the blocked CIDR.

    CWhy this is right: The template records the desired IP set configuration, and the pipeline applies it through CloudFormation.

    DWhy not this: Changing an application parameter does not update the CloudFormation-managed AWS WAF IP set.

    Updating the authoritative template and deploying the stack keeps the event-driven change reproducible. Drift detection identifies differences but does not incorporate an out-of-band IP set change into the template.

    Open this question
  37. Question 37

    Incident and Event Response

    An Auto Scaling group behind an Application Load Balancer retains instances whose applications fail target group health checks, although EC2 status checks pass. The group uses only EC2 health checks; which change will automatically replace these instances?

    Show the answer

    Correct answerC. Enable Elastic Load Balancing health checks for the Auto Scaling group.

    AWhy not this: Faster target health detection does not change the health sources used by the Auto Scaling group.

    BWhy not this: A longer grace period delays health-based replacement rather than enabling application health evaluation.

    CWhy this is right: Auto Scaling can use load balancer health results to mark instances unhealthy and replace them.

    DWhy not this: CPU target tracking adjusts capacity but does not identify these application-unhealthy instances.

    Enabling Elastic Load Balancing health checks lets Auto Scaling use load balancer health results to replace application-unhealthy instances. Lowering the target group's unhealthy threshold changes detection speed but does not make Auto Scaling consume those results.

    Open this question
  38. Question 38

    Incident and Event Response

    An engineer must identify which EC2 instances in the company's account are affected by an AWS scheduled retirement event. Where should the engineer look?

    Show the answer

    Correct answerD. The AWS Health Dashboard account-specific events

    AWhy not this: Systems Manager Compliance reports compliance status, not AWS scheduled retirement notifications.

    BWhy not this: CloudWatch dashboards display monitoring data, not the authoritative list of resources affected by an AWS retirement event.

    CWhy not this: Public service history describes service-level events rather than account-specific affected resources.

    DWhy this is right: Account-specific AWS Health events include affected resources for scheduled changes such as instance retirement.

    AWS Health account-specific events identify scheduled changes and affected resources in the account. Public service history reports broader service availability, not the account's affected instance list.

    Open this question
  39. Question 39

    Incident and Event Response

    Several monitoring rules repeatedly create OpsItems for the same resource failure. Engineers need one open OpsItem per failure, while allowing a new OpsItem if that failure recurs after resolution; which approach BEST meets this requirement?

    Show the answer

    Correct answerD. Supply a consistent OpsCenter deduplication string for each failure

    AWhy not this: A dashboard groups monitoring views but does not suppress duplicate OpsItems.

    BWhy not this: Consolidating notifications into one topic does not establish OpsCenter deduplication.

    CWhy not this: Priority controls operational urgency, not whether another matching OpsItem can be created.

    DWhy this is right: A matching deduplication string suppresses duplicate creation while the corresponding OpsItem is open.

    OpsCenter uses a deduplication string to prevent creation of another OpsItem while a matching OpsItem remains open. A shared SNS topic consolidates delivery but does not deduplicate OpsItem creation.

    Open this question
  40. Question 40

    Incident and Event Response

    An application begins receiving S3 AccessDenied responses immediately after an IAM role policy update. Which investigation would BEST establish whether the update caused the failure?

    Show the answer

    Correct answerD. Compare the failed S3 action with the role policy before and after the update

    AWhy not this: Service health information does not determine whether an IAM policy update removed required access.

    BWhy not this: Retry counts describe the failure's effects without identifying the permission change responsible.

    CWhy not this: Request volume can explain throttling but does not directly explain an authorization failure after a policy change.

    DWhy this is right: Matching the denied operation to removed or restricted permissions directly tests the suspected cause.

    Comparing the denied action and resource with the policy change tests a specific causal explanation for the authorization failures. Public AWS Health events can reveal service disruptions but do not establish whether the role lost required permissions.

    Open this question
  41. Question 41

    Incident and Event Response

    After a deployment and a traffic increase, checkout latency rises, with database waits preceding application timeouts in traces. Engineers suspect a changed SQL query rather than traffic alone; which investigations would BEST distinguish these explanations? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Compare query plans and database wait data for the old and new queriesF. Compare old and new queries under equivalent load on an isolated production-like database

    AWhy not this: Alarm timing reflects detection thresholds and does not establish which component initiated the failure.

    BWhy this is right: Execution plans and wait data can show how the query change introduced additional database work or contention.

    CWhy not this: Aggregated timeout counts conceal version differences and show impact rather than the slowdown's mechanism.

    DWhy not this: Public service health does not exclude workload-specific database problems such as inefficient queries or locking.

    EWhy not this: Concurrent traffic growth is a competing explanation, not sufficient evidence of causation.

    FWhy this is right: Holding load equivalent isolates the query version as a variable without experimenting on the production database.

    Query plans and wait data can reveal a mechanism for the slowdown, while an equivalent-load comparison isolates the query change from traffic. The first alarm marks detection, which may occur after the initiating failure.

    Open this question
  42. Question 42

    Incident and Event Response

    What is the primary purpose of root cause analysis after an application outage?

    Show the answer

    Correct answerB. Identify underlying causes and actions that prevent recurrence

    AWhy not this: Availability reporting measures service outcomes but does not itself establish their causes.

    BWhy this is right: Identifying underlying causes enables corrective actions that reduce the likelihood of recurrence.

    CWhy not this: Restarting processes is a recovery action and may leave the underlying cause unresolved.

    DWhy not this: Threshold notifications support detection and response, not an explanation of why the outage occurred.

    Root cause analysis identifies why an incident occurred and supports actions to prevent recurrence. Restarting unhealthy processes may restore service without identifying or correcting the underlying cause.

    Open this question