Curated

Incident Response (2.1–2.2)

0 votes

Questions43

  1. Question 1

    Incident Response

    Which component collects operating system and application log files from EC2 instances and sends them to Amazon CloudWatch Logs?

    Show the answer

    Correct answerC. Amazon CloudWatch agent

    AWhy not this: A GuardDuty detector enables threat detection; it does not forward local log files to CloudWatch Logs.

    BWhy not this: A Detective behavior graph supports investigation by organizing security data; it does not collect local log files.

    CWhy this is right: The CloudWatch agent can collect configured local log files and send their events to CloudWatch Logs.

    DWhy not this: A CloudTrail trail records AWS account activity rather than reading operating system and application log files.

    The CloudWatch agent collects configured operating system and application log files and sends them to CloudWatch Logs. A CloudTrail trail delivers records of AWS account activity rather than collecting guest operating system log files.

    Open this question
  2. Question 2

    Incident Response

    A security team archives forensic logs in Amazon S3 for a fixed retention period. The logs must remain protected from permanent deletion even by the account's root user during that period; which configuration meets this requirement?

    Show the answer

    Correct answerA. S3 Object Lock in compliance mode

    AWhy this is right: Compliance retention prevents permanent deletion of protected versions, even by the root user, until retention expires.

    BWhy not this: Versioning retains versions but does not prevent a sufficiently privileged user from permanently deleting them.

    CWhy not this: Governance retention can be bypassed by a user with the required permission and explicit bypass request.

    DWhy not this: A sufficiently privileged administrator can change the bucket policy and then delete the objects.

    S3 Object Lock compliance mode prevents deletion of protected object versions during their retention period, including by the account's root user. Governance mode permits authorized users to bypass retention protection.

    Open this question
  3. Question 3

    Incident Response

    An investigator copies application logs into an evidence repository and records who collected them and when. What additional step best enables verification that the collected files remain unchanged?

    Show the answer

    Correct answerA. Record cryptographic hashes at collection.

    AWhy this is right: Recalculating hashes and comparing them with the collection-time values detects changes to the collected files.

    BWhy not this: Indexing supports searching but does not itself establish an integrity baseline for the original files.

    CWhy not this: Timestamp normalization helps analysis but does not establish file integrity and should be performed on working copies.

    DWhy not this: Correlation helps assess an event's scope but does not demonstrate that evidence files remain unchanged.

    Cryptographic hashes recorded at collection provide a baseline for detecting subsequent changes to the evidence files. Timestamp normalization supports correlation but changes the files if performed directly on the originals; it does not establish an integrity baseline.

    Open this question
  4. Question 4

    Incident Response

    An incident responder must preserve application logs stored only on an Amazon EBS volume before a compromised EC2 instance is terminated. Which action should the responder take?

    Show the answer

    Correct answerD. Create an EBS snapshot of the log volume.

    AWhy not this: VPC Flow Logs capture network flow metadata, not existing application log files.

    BWhy not this: CloudTrail records AWS API activity; it does not capture application log files from an EBS volume.

    CWhy not this: GuardDuty findings describe detected threats but do not preserve the underlying local application logs.

    DWhy this is right: An EBS snapshot preserves the on-disk log files so they remain available after the instance is terminated.

    An EBS snapshot preserves the volume's on-disk contents, including the application logs, independently of instance termination. CloudTrail event history records AWS API activity, not application log files stored inside the instance.

    Open this question
  5. Question 5

    Incident Response

    A Systems Manager Automation response runbook must collect evidence immediately but require incident commander approval before disrupting a production workload. Rejected or expired approvals must preserve evidence and trigger escalation without disruption; which design meets these requirements?

    Show the answer

    Correct answerC. Collect evidence, gate containment on approval, and route approval failures to escalation

    AWhy not this: Concurrent containment disrupts production before approval; reversing it does not satisfy the approval requirement.

    BWhy not this: Routing approval failures to containment disrupts production without the required authorization.

    CWhy this is right: This separates immediate collection from authorized containment and provides a non-disruptive escalation path.

    DWhy not this: Putting approval before collection delays evidence preservation, violating the immediate-collection requirement.

    Evidence collection must precede the approval gate, and containment must run only after approval. Rejection and timeout paths should escalate without disrupting the workload; requesting approval before evidence collection delays the required immediate collection.

    Open this question
  6. Question 6

    Incident Response

    A compromised EC2 instance has been isolated, and responders have verified that exfiltration has stopped. Investigators require its current memory contents; which sequence should the response runbook prescribe?

    Show the answer

    Correct answerC. Collect memory, snapshot the volumes, then stop the instance

    AWhy not this: Volume snapshots do not preserve RAM, and termination loses the required volatile evidence.

    BWhy not this: Rebooting changes or destroys the memory state investigators need to examine.

    CWhy this is right: Collecting memory before stopping preserves volatile evidence; volume snapshots preserve disk evidence.

    DWhy not this: Stopping the instance loses its current memory contents before responders can collect them.

    The runbook should preserve volatile memory before stopping or rebooting the instance. EBS snapshots preserve volume data, not the running instance's memory, so snapshots alone cannot satisfy the investigation requirement.

    Open this question
  7. Question 7

    Incident Response

    Responders want an approved Systems Manager Automation containment runbook to start automatically whenever GuardDuty reports a specific finding type for an EC2 instance, with the instance ID passed to the runbook. Which design meets this requirement?

    Show the answer

    Correct answerB. Create an EventBridge rule for the finding type that targets the runbook and passes the instance ID.

    AWhy not this: A custom action starts only when an analyst selects it, so the response is not automatic.

    BWhy this is right: EventBridge matches the finding event, starts the runbook, and passes the instance ID from the event.

    CWhy not this: An OpsItem with an associated runbook still needs a responder to run it.

    DWhy not this: A count-based alarm does not identify which instance the runbook should act on.

    An EventBridge rule can match GuardDuty finding events by type and start a Systems Manager Automation runbook as its target, using an input transformer to pass the instance ID from the finding. Custom actions and OpsItems need a person to start them, and an alarm on a count does not carry the affected instance.

    Open this question
  8. Question 8

    Incident Response

    Responders track security issues as OpsItems in AWS Systems Manager OpsCenter. They need to launch the appropriate approved response procedure from each issue record; what should they configure?

    Show the answer

    Correct answerC. Associate a Systems Manager Automation runbook with each OpsItem

    AWhy not this: A resilience assessment evaluates recovery readiness, not an executable incident response procedure.

    BWhy not this: Fault injection experiments introduce controlled faults rather than implement response procedures.

    CWhy this is right: Associated Automation runbooks let responders launch defined response procedures from OpsItems.

    DWhy not this: A compliance rule evaluates resource configuration rather than defines an executable response procedure.

    OpsCenter supports associating Automation runbooks with OpsItems so responders can launch procedures in the issue's context. A resilience assessment evaluates resilience posture; it does not provide an executable response procedure.

    Open this question
  9. Question 9

    Incident Response

    A company prepares private EC2 instances for incident response through Systems Manager Session Manager. SSM Agent and IAM permissions are configured, but the instances have no internet access. What should the company configure to enable responder connections?

    Show the answer

    Correct answerB. Interface VPC endpoints for the required Systems Manager services

    AWhy not this: An approval workflow can govern access but cannot supply the missing service connectivity.

    BWhy this is right: Interface endpoints let SSM Agent reach the required service APIs without internet access.

    CWhy not this: Session Manager does not require inbound SSH, and this rule does not supply connectivity to Systems Manager.

    DWhy not this: OpsCenter notifications help coordinate response but do not provide network connectivity for SSM Agent.

    Interface VPC endpoints provide private connectivity to the Systems Manager services needed by Session Manager. Opening inbound SSH does not provide the outbound service connectivity that SSM Agent requires.

    Open this question
  10. Question 10

    Incident Response

    A company has Shield Advanced protection for an Application Load Balancer and a qualifying support plan. It wants the Shield Response Team to proactively contact responders when a DDoS attack affects application health; response contacts are already configured. Which preparations are required? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Enable proactive engagement in Shield AdvancedD. Associate a Route 53 health check with the protected resource

    AWhy not this: A request-count alarm does not replace the Route 53 health check required for proactive engagement.

    BWhy this is right: Proactive engagement must be turned on before the Shield Response Team contacts responders.

    CWhy not this: Automatic application layer mitigation manages attack mitigation; it does not enable proactive engagement.

    DWhy this is right: The associated Route 53 health check lets Shield Advanced assess application health for proactive engagement.

    EWhy not this: SRT access lets the team review and change protections during an engagement, but proactive engagement does not require it.

    Proactive engagement requires a qualifying support plan, at least one contact, a Route 53 health check associated with each protected resource, and the feature enabled. Granting the Shield Response Team access through an IAM role is optional and is not a requirement for proactive engagement. Automatic application layer mitigation serves a different purpose.

    Open this question
  11. Question 11

    Incident Response

    An incident-readiness review finds that EBS snapshots use the AWS managed key for Amazon EBS. Responders must share future evidence snapshots with a forensic account without re-encrypting them during an incident. Which preparation meets this requirement?

    Show the answer

    Correct answerA. Use a customer managed key and authorize cross-account snapshot and key access

    AWhy this is right: A customer managed key plus snapshot and KMS permissions prepares encrypted snapshots for cross-account use.

    BWhy not this: A customer managed key enables sharing, but snapshot permissions alone do not grant access to the key.

    CWhy not this: Snapshot permissions cannot make snapshots encrypted with the AWS managed EBS key shareable across accounts.

    DWhy not this: This does not prepare encrypted snapshots for direct sharing and leaves evidence unencrypted before sharing.

    Encrypted EBS snapshots shared across accounts must use a customer managed KMS key, with both snapshot permissions and appropriate key access. Snapshots encrypted with the AWS managed key for Amazon EBS cannot be shared across accounts.

    Open this question
  12. Question 12

    Incident Response

    A central security team must collect evidence in workload accounts without maintaining long-lived credentials in each account. What should the company provision before incidents occur?

    Show the answer

    Correct answerB. Cross-account IAM roles restricted to evidence collection

    AWhy not this: Service-linked roles are used by AWS services, not assigned to human responders for cross-account access.

    BWhy this is right: Trusted responders can assume these roles to obtain temporary, scoped credentials in workload accounts.

    CWhy not this: IAM groups cannot be shared across accounts or assumed to obtain temporary credentials.

    DWhy not this: IAM user access keys are long-lived credentials, contrary to the access requirement.

    Preprovisioned cross-account IAM roles let authorized responders obtain temporary credentials with evidence-collection permissions. IAM users with access keys introduce long-lived credentials and additional credential-management risk.

    Open this question
  13. Question 13

    Incident Response

    Which account arrangement best isolates forensic analysis from production workloads during incident response?

    Show the answer

    Correct answerD. A dedicated forensic analysis AWS account

    AWhy not this: Resource groups organize resources but do not create security isolation.

    BWhy not this: A subnet separates network placement but does not create an independent account boundary.

    CWhy not this: A separate VPC provides network isolation but remains within the production account's administrative boundary.

    DWhy this is right: A dedicated account separates forensic resources and permissions from the production account.

    A dedicated forensic analysis account creates an account-level security boundary between investigations and production. A separate VPC provides network separation but still shares the production account's administrative boundary.

    Open this question
  14. Question 14

    Incident Response

    Application logs arrive in CloudWatch Logs several minutes late, and the application's clock is confirmed to be four minutes fast; CloudTrail eventTime values are accurate UTC. How should an investigator build a reliable cross-service event timeline?

    Show the answer

    Correct answerA. Subtract four minutes from application event times and compare in UTC.

    AWhy this is right: Subtracting the known offset corrects the fast clock; UTC provides a common basis for comparison.

    BWhy not this: Time-zone normalization alone does not correct the application's known four-minute clock error.

    CWhy not this: Ingestion order reflects variable delivery delays rather than the order in which events occurred.

    DWhy not this: Delivery-time sorting remains unreliable, and altering accurate CloudTrail timestamps obscures the reference timeline.

    Correcting the known application clock offset and using UTC aligns event occurrence times across sources. Ingestion times reflect delivery delays, so sorting by arrival can reverse the apparent order of related events.

    Open this question
  15. Question 15

    Incident Response

    An investigator needs to join Application Load Balancer access logs with CloudTrail logs already stored in Amazon S3. Which approach supports SQL correlation without loading the logs into a separate search cluster?

    Show the answer

    Correct answerB. Define tables for both log formats and query them with Amazon Athena.

    AWhy not this: Archiving logs in separate log groups does not perform the requested SQL correlation of existing S3 data.

    BWhy this is right: Athena can query and join S3 datasets using tables that describe their respective log formats.

    CWhy not this: Detective is not a general-purpose SQL engine for joining these raw S3 log datasets.

    DWhy not this: Security Hub CSPM aggregates findings rather than executing SQL joins over raw S3 access and activity logs.

    Amazon Athena can query S3 log data through table definitions and join the resulting records with SQL. Amazon Detective supports investigations using its supported data sources, but it is not a general SQL query engine for arbitrary S3 log files.

    Open this question
  16. Question 16

    Incident Response

    Which CloudWatch capability lets an investigator interactively search application and AWS service logs across selected log groups?

    Show the answer

    Correct answerD. CloudWatch Logs Insights

    AWhy not this: Retention policies control how long log events are stored, not how investigators search them.

    BWhy not this: Metric alarms evaluate metric conditions rather than search individual log records.

    CWhy not this: Subscription filters route matching events to downstream destinations rather than provide interactive log queries.

    DWhy this is right: Logs Insights supports interactive searching and analysis across selected log groups.

    CloudWatch Logs Insights provides interactive queries over selected log groups. Subscription filters forward matching log events to destinations rather than provide an interactive investigation interface.

    Open this question
  17. Question 17

    Incident Response

    Several applications share a NAT address and assume the same IAM role with reused session names; application logs record AWS request IDs, and CloudTrail records the relevant STS and service events. Which correlation best attributes a specific service call to an application and its temporary credential issuance?

    Show the answer

    Correct answerD. Match application request IDs to CloudTrail requestID, then accessKeyId to the STS issuance record.

    AWhy not this: Shared NAT addresses and session issuer ARNs cannot distinguish applications using the same role.

    BWhy not this: Service names and Regions group similar activity but do not identify the originating application or credentials.

    CWhy not this: Reused session names are ambiguous, and ingestion proximity does not establish which credentials performed a call.

    DWhy this is right: Request IDs identify the service request, while the temporary access key ID connects its credentials to STS issuance.

    The request ID links the application operation to its service event, and the temporary access key ID links that event to credential issuance. A shared source address or role identifies a group of callers, not the specific application session.

    Open this question
  18. Question 18

    Incident Response

    Responders must preserve application logs from a compromised account before its customer managed KMS key is deleted. The logs are in Amazon S3 and encrypted with that key; what should responders do to keep the evidence readable independently of the compromised account?

    Show the answer

    Correct answerB. Copy the logs to an evidence account, encrypt with its KMS key, and verify readability.

    AWhy not this: Versioning preserves object versions but does not remove their dependence on the source encryption key.

    BWhy this is right: An independently encrypted, verified copy remains readable after deletion of the source key.

    CWhy not this: Keeping the source encryption key preserves the dependency that the evidence copy must eliminate.

    DWhy not this: Object retention does not prevent deletion of the KMS key needed to decrypt the retained objects.

    An evidence copy encrypted with an evidence-account key removes dependence on the source key; responders must verify that the copy is readable. Object Lock protects retained objects from deletion but does not preserve access after their encryption key is deleted.

    Open this question
  19. Question 19

    Incident Response

    A team needs to assess whether an application's architecture can meet defined recovery time and recovery point objectives before scheduling recovery exercises. Which approach BEST supports this assessment?

    Show the answer

    Correct answerA. Use AWS Resilience Hub to assess the application against a resiliency policy containing the recovery targets.

    AWhy this is right: Resilience Hub evaluates application resilience against the RTO and RPO requirements in a resiliency policy.

    BWhy not this: Incident closure times do not assess architectural recovery capabilities or potential data loss.

    CWhy not this: Fault injection supports practical testing, but experiment completion alone does not establish compliance with recovery targets.

    DWhy not this: Workflow success and failure counts do not assess application architecture against recovery time and data-loss targets.

    AWS Resilience Hub assesses application resilience against a resiliency policy that includes RTO and RPO targets. AWS FIS can support recovery testing, but experiment completion alone does not assess the architecture against those targets.

    Open this question
  20. Question 20

    Incident Response

    A company wants to validate incident escalation decisions and communications among its security, legal, and business teams without affecting AWS workloads. Which procedure is MOST appropriate?

    Show the answer

    Correct answerA. Conduct a facilitated tabletop exercise with evolving incident details and recorded decisions.

    AWhy this is right: A facilitated scenario lets teams demonstrate escalation, communication, and decisions without modifying workloads.

    BWhy not this: Fault injection affects workloads and primarily exercises technical behavior rather than legal and business coordination.

    CWhy not this: Executing containment changes production resources and does not directly test cross-functional decision-making.

    DWhy not this: A permissions review checks responder access but does not exercise communication or escalation decisions.

    A tabletop exercise tests coordination, escalation, and decision-making through a simulated incident without changing workloads. Reviewing IAM permissions validates technical access, not whether teams communicate and make appropriate decisions.

    Open this question
  21. Question 21

    Incident Response

    An exercise directly invoked a containment Lambda function with a fabricated finding and successfully isolated a test instance. The incident response plan requires isolation within five minutes of suspicious activity; which additional test BEST validates that requirement?

    Show the answer

    Correct answerB. Generate a controlled detectable event and measure elapsed time from the event through detection to verified isolation.

    AWhy not this: Starting with a fabricated finding omits detection latency and cannot validate time measured from suspicious activity.

    BWhy this is right: An event-to-isolation measurement exercises the full response path and measures the stated time requirement.

    CWhy not this: A larger sample tests containment reliability but still bypasses detection and the start of the required time window.

    DWhy not this: Permissions are a prerequisite for containment but do not demonstrate end-to-end timing or detection effectiveness.

    The five-minute requirement starts with suspicious activity, so validation must include detection, routing, and verified containment. Replaying a finding tests downstream automation but excludes detection latency and failures before the finding exists.

    Open this question
  22. Question 22

    Incident Response

    A team will use AWS Fault Injection Service to test incident response on tagged production instances while maintaining a minimum healthy capacity. The exercise must stop injecting faults if application health deteriorates, and responders must verify recovery afterward; which approach BEST meets these requirements?

    Show the answer

    Correct answerD. Target tagged instances, configure CloudWatch alarm stop conditions, and validate recovery with a separate cleanup procedure.

    AWhy not this: A stopped experiment indicates fault injection stopped, not that every effect was reversed or the application recovered.

    BWhy not this: Dashboard observation alone does not provide the required alarm-triggered stop when application health deteriorates.

    CWhy not this: A fixed duration does not stop faults when health deteriorates, and experiment completion does not establish recovery.

    DWhy this is right: Alarm-based stop conditions enforce the safety threshold, while separate cleanup and verification establish recovery.

    CloudWatch alarm stop conditions let AWS FIS stop an experiment when a safety threshold is breached; recovery still requires verification and any necessary cleanup. A stopped experiment does not prove that all effects were reversed or application health recovered.

    Open this question
  23. Question 23

    Incident Response

    Amazon GuardDuty reports an EC2 port probe from a known malicious IP address. Corresponding VPC Flow Logs records show only REJECT traffic, and host logs show no matching sessions; which assessment is best supported?

    Show the answer

    Correct answerB. A probe occurred, but the reviewed evidence does not establish successful access.

    AWhy not this: A probe does not establish compromise, and rejection alone does not identify which network control blocked the traffic.

    BWhy this is right: The evidence supports attempted probing while providing no confirmation of an accepted connection or host session.

    CWhy not this: A genuine probe can produce a valid finding even when network controls reject its traffic.

    DWhy not this: Rejected flow records and absent sessions do not establish access or unlogged command execution.

    Rejected traffic corroborates a probe without demonstrating successful access. Blocking an actual malicious attempt does not make the finding a false positive; a probe finding is not itself evidence of compromise.

    Open this question
  24. Question 24

    Incident Response

    A GuardDuty S3 finding flags anomalous downloads by a role used in two accounts; retained CloudTrail data events confirm successful GetObject requests in one account, but the other had no S3 data-event logging. What is the most defensible assessment?

    Show the answer

    Correct answerB. Object access is confirmed in one account; scope elsewhere needs additional evidence.

    AWhy not this: Use of the same role does not demonstrate the same API calls, resources, or outcomes in both accounts.

    BWhy this is right: This separates confirmed activity from an unresolved visibility gap without assuming either compromise or safety elsewhere.

    CWhy not this: Without S3 data-event logging, absent records cannot establish that object access did not occur.

    DWhy not this: Confirmed activity in one account cannot establish complete scope when another relevant account lacks object-level telemetry.

    Successful GetObject events confirm object access in the logged account, while the logging gap leaves the other account's scope unresolved. Missing telemetry is not evidence that access did not occur, and shared role use does not prove identical activity.

    Open this question
  25. Question 25

    Incident Response

    GuardDuty reports EC2 instance credentials being used from an external IP address that might belong to an approved automation provider. Which actions most directly validate the finding and assess its scope and impact? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Review CloudTrail activity for the credentials, including results and target resources.D. Compare the source address and activity times with approved provider records.F. Verify resulting resource changes and data access against authorized job activity.

    AWhy not this: Isolation is a containment action rather than evidence that establishes whether the credential use was authorized.

    BWhy this is right: API actions, outcomes, and target resources reveal what the credentials attempted and successfully affected.

    CWhy not this: Copying logs preserves forensic artifacts but does not itself assess whether the reported activity was legitimate or harmful.

    DWhy this is right: Approved provider records help determine whether the external source and timing match legitimate operations.

    EWhy not this: Restoration is a recovery action and does not establish the legitimacy or scope of the reported credential activity.

    FWhy this is right: Comparing observed effects with the approved job establishes unauthorized changes or access and their impact.

    Provider context, credential activity, and resulting changes distinguish authorized use from misuse and establish affected resources. Isolation and restoration are response actions; preserving logs protects evidence but does not itself validate the finding.

    Open this question
  26. Question 26

    Incident Response

    Amazon Inspector identifies a critical package vulnerability on a production EC2 instance. Which additional evidence most directly establishes that the vulnerability was exploited?

    Show the answer

    Correct answerC. Host telemetry linking exploit activity to unauthorized execution

    AWhy not this: Reachability can increase exposure but does not prove that the vulnerability was exploited.

    BWhy not this: Patch availability informs remediation rather than demonstrating attacker activity.

    CWhy this is right: A causal link between exploit activity and unauthorized execution supports a conclusion that exploitation occurred.

    DWhy not this: An affected version confirms vulnerability exposure but does not establish successful exploitation.

    Host telemetry connecting exploit activity to unauthorized execution directly supports exploitation. A vulnerable package or reachable service establishes exposure, not that an attacker successfully used the vulnerability.

    Open this question
  27. Question 27

    Incident Response

    An application log identifies suspicious outbound traffic from an EC2 instance with multiple network interfaces. Which correlation best identifies the corresponding VPC Flow Logs records?

    Show the answer

    Correct answerC. Match the interface ID, connection tuple, and overlapping time interval.

    AWhy not this: VPC Flow Logs do not contain security group IDs or destination hostnames, and delivery time can differ from event time.

    BWhy not this: An IAM role does not identify a network connection, and flow records do not contain role identities.

    CWhy this is right: Interface identity, source and destination addresses and ports, protocol, and event times identify the relevant network flow.

    DWhy not this: VPC Flow Logs do not identify application processes; traffic path describes the route taken by egress traffic.

    The network interface ID, connection tuple, and overlapping event times link application activity to flow records. Security group IDs and destination hostnames are not VPC Flow Logs fields, and delivery time does not establish when traffic occurred.

    Open this question
  28. Question 28

    Incident Response

    Responders confirm that an IAM user's long-term access key is being used for unauthorized API requests. Which action most directly stops new requests authenticated with that key?

    Show the answer

    Correct answerC. Deactivate the compromised access key.

    AWhy not this: CloudTrail records activity but does not prevent requests using compromised credentials.

    BWhy not this: Amazon Detective supports investigation rather than directly disabling compromised credentials.

    CWhy this is right: Deactivation prevents the compromised access key from authenticating new API requests.

    DWhy not this: Console passwords and access keys are separate credentials; changing one does not invalidate the other.

    Deactivating the access key prevents authentication of new requests signed with that key. Changing the console password does not invalidate access keys, which are separate credentials.

    Open this question
  29. Question 29

    Incident Response

    Ransomware encrypted an application's EBS volumes. CloudTrail shows the attacker's first use of stolen credentials on Monday at 02:10, and encryption began on Wednesday at 23:00. Daily AWS Backup recovery points are kept in a logically air-gapped vault. After containment and eradication, which recovery point should responders restore?

    Show the answer

    Correct answerA. The latest recovery point before Monday at 02:10, restored to new volumes and checked before use.

    AWhy this is right: Restoring from before the first malicious activity avoids copies the attacker may already have altered.

    BWhy not this: Between initial access and encryption the attacker could have tampered with data or planted persistence.

    CWhy not this: A logically air-gapped vault prevents deletion of recovery points; it does not stop backups of encrypted or altered data.

    DWhy not this: Choosing the oldest copy discards more data than needed when a clean, later recovery point exists.

    Responders should restore from before the first sign of compromise, because the attacker could have changed data or planted persistence after gaining access and before encrypting. The air-gapped vault protects recovery points from deletion, not from backing up data that was already tampered with. The earliest recovery point loses more data than necessary.

    Open this question
  30. Question 30

    Incident Response

    An attacker copied a database password stored in AWS Secrets Manager, and responders have closed the exposure path. Which action invalidates the stolen password while keeping the application able to reconnect?

    Show the answer

    Correct answerA. Rotate the database password and synchronize the stored secret.

    AWhy this is right: Coordinated rotation invalidates the copied password and gives the application the replacement credential.

    BWhy not this: Blocking further secret retrieval does not invalidate the password already in the attacker's possession.

    CWhy not this: Disabling the KMS key impedes secret retrieval but does not change the password accepted by the database.

    DWhy not this: Changing only the stored value leaves the stolen database password valid and can break application connections.

    Rotation must change the password accepted by the database and keep the application's stored secret synchronized. Removing access to Secrets Manager prevents future retrieval but does not invalidate a password the attacker already copied.

    Open this question
  31. Question 31

    Incident Response

    Every instance in an EC2 Auto Scaling group contains malware embedded in its launch AMI; evidence has been preserved and the exploit path closed. The service must remain available, and new capacity must be clean; which recovery actions meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersC. Update the group to a launch template version using a verified clean AMI.D. Replace instances in controlled batches with healthy-capacity safeguards.

    AWhy not this: The existing launch template still references the infected AMI, so additional instances would also contain malware.

    BWhy not this: Rebooting retains the infected root volumes and does not eradicate malware embedded in the image.

    CWhy this is right: Updating the group's launch configuration source prevents replacement and scale-out instances from using the infected AMI.

    DWhy this is right: Controlled replacement removes infected instances while healthy-capacity safeguards protect service availability.

    A clean launch template prevents new instances from inheriting the malware, and controlled replacement removes infected instances while maintaining capacity. Rebooting retains infected root volumes; scaling with the existing template creates more infected instances.

    Open this question
  32. Question 32

    Incident Response

    A compromised EC2 instance continues exfiltrating data over an established TCP connection after responders remove its security group's outbound rules. Other instances in the subnet must retain connectivity; which action will immediately block traffic to the attacker's IP address?

    Show the answer

    Correct answerA. Add a higher-priority network ACL deny rule for the attacker's IP address.

    AWhy this is right: A matching, higher-priority network ACL deny rule blocks the traffic without relying on connection state.

    BWhy not this: Tracked connections can survive security group rule changes, so this does not reliably terminate the active connection immediately.

    CWhy not this: VPC Flow Logs record traffic metadata but do not block the active connection.

    DWhy not this: Removing the subnet's default route would also disrupt internet connectivity for other instances.

    Network ACLs are stateless and evaluate traffic even for established connections. Security group connection tracking can allow existing connections to continue after rule changes; removing the default route would also disrupt other instances.

    Open this question
  33. Question 33

    Incident Response

    Duplicate incident events can start concurrent Step Functions remediation workflows, and a transient failure can occur after an evidence snapshot succeeds. Which design prevents duplicate remediation while allowing recovery without repeating completed evidence collection?

    Show the answer

    Correct answerD. Use a conditional DynamoDB incident claim, durable step checkpoints, and bounded transient-error retries.

    AWhy not this: Queue serialization does not preserve completed-step state when the entire workflow restarts.

    BWhy not this: Concurrency limits do not deduplicate incidents, and function memory is not durable recovery state.

    CWhy not this: Unique names allow duplicate deliveries to create separate workflows, and full restarts repeat successful actions.

    DWhy this is right: An atomic incident claim prevents concurrent ownership; durable checkpoints and selective retries support safe recovery.

    A conditional incident claim coordinates duplicate deliveries, while durable checkpoints let recovery skip completed actions. Serializing messages reduces concurrency but does not prevent a retried workflow from repeating successful evidence collection.

    Open this question
  34. Question 34

    Incident Response

    A containment runbook works when all dependencies are available, but its failure-escalation path has never been exercised. Which procedure BEST validates response when the runbook lacks permission to isolate an instance?

    Show the answer

    Correct answerC. Run a controlled sandbox exercise with the isolation permission removed and verify escalation.

    AWhy not this: Policy review identifies required permissions but does not exercise runtime failure handling.

    BWhy not this: Stopping an instance tests availability recovery rather than the runbook's handling of denied isolation permissions.

    CWhy this is right: An intentional authorization failure in a sandbox directly tests the implemented failure and escalation path.

    DWhy not this: Discussion validates planned decisions but does not verify that automated failure escalation works.

    A controlled permission failure exercises the actual error-handling and escalation path. A tabletop can validate decisions, but it does not demonstrate that the implemented runbook detects and escalates an authorization failure.

    Open this question
  35. Question 35

    Incident Response

    Which AWS capability executes predefined, multistep remediation runbooks for AWS resources?

    Show the answer

    Correct answerB. AWS Systems Manager Automation

    AWhy not this: OpsCenter tracks operational issues; it is not the capability that executes Automation runbook steps.

    BWhy this is right: Automation executes predefined runbooks containing actions against AWS resources.

    CWhy not this: Resilience Hub assessments evaluate application resilience rather than execute incident remediation runbooks.

    DWhy not this: Fault Injection Service experiments introduce controlled faults rather than execute remediation runbooks.

    Systems Manager Automation executes runbooks that perform operational and remediation actions. OpsCenter organizes operational issues and can link to runbooks, but Automation executes their steps.

    Open this question
  36. Question 36

    Incident Response

    A Systems Manager Automation remediation must run across hundreds of instances, with limited simultaneous changes and no new launches after an execution-failure threshold is exceeded. Successful changes must remain in place; which approach BEST meets these requirements?

    Show the answer

    Correct answerD. Apply rate controls with MaxConcurrency and MaxErrors to the target executions.

    AWhy not this: Step delays do not enforce fleet-wide limits, and rolling back successful targets violates the requirement.

    BWhy not this: An FIS stop condition stops fault injection, not Systems Manager Automation target execution launches.

    CWhy not this: Retries address individual task failures, not fleet-wide concurrency or an aggregate failure threshold.

    DWhy this is right: MaxConcurrency limits parallel target executions, and MaxErrors controls when additional target executions stop launching.

    Automation rate controls limit concurrent target executions and stop launching additional executions when the error threshold is exceeded, without rolling back successes. Task retries address individual failures but do not control fleet-wide rollout concurrency or error tolerance.

    Open this question
  37. Question 37

    Incident Response

    AWS Config starts automatic remediation for a security group, but an administrator might correct the violation before the runbook executes. What should the runbook do before changing the security group?

    Show the answer

    Correct answerA. Read the current configuration and exit if the violation is already resolved.

    AWhy this is right: Checking live configuration ensures the corrective action is still necessary.

    BWhy not this: Recording an operational issue does not validate the resource's current configuration.

    CWhy not this: A delay does not verify whether the security group still violates the required configuration.

    DWhy not this: The compliance information used to trigger remediation can be stale by execution time.

    AWS Config automatic remediation can act on compliance information that no longer reflects the resource's current state. Rechecking the configuration prevents unnecessary changes; waiting for a fixed interval does not establish whether remediation is still needed.

    Open this question
  38. Question 38

    Incident Response

    Amazon Detective places several findings and entities in a finding group. How should an investigator use that group when developing an explanation for the incident?

    Show the answer

    Correct answerC. Use the relationships as leads and verify the causal sequence

    AWhy not this: An entity's association with a finding group does not establish that the entity was compromised.

    BWhy not this: Severity expresses importance or risk, not whether a finding represents the incident's initiating event.

    CWhy this is right: Related findings and entities provide investigative leads whose causal significance requires supporting evidence.

    DWhy not this: Findings may be generated after the activity they describe, so creation order is not the attack timeline.

    Finding groups highlight potentially related activity and entities that can guide investigation. Their associations do not prove compromise or causation; investigators must verify relationships and reconstruct the underlying event sequence.

    Open this question
  39. Question 39

    Incident Response

    An investigator opens an IAM role's entity profile in Amazon Detective after suspicious API activity. To understand what changed when the activity began, what should the investigator compare?

    Show the answer

    Correct answerC. The incident period's behavior with the role's earlier activity

    AWhy not this: Severity and archived finding counts do not establish changes in the role's behavior.

    BWhy not this: Service quotas do not provide a behavioral baseline for investigating the role's suspicious activity.

    CWhy this is right: Historical activity provides a baseline for identifying behavioral changes associated with the incident.

    DWhy not this: Retention and response deadlines affect evidence availability and operations, not the behavioral cause of the event.

    Comparing incident-period behavior with earlier activity helps identify changes in API use, source IP addresses, and other behavior that can explain the event. Finding severity prioritizes investigation but does not explain what changed.

    Open this question
  40. Question 40

    Incident Response

    Amazon Detective was enabled after an intrusion, and its behavior graph lacks the intrusion period; CloudTrail logs from that period remain in Amazon S3. Which approach best reconstructs the initial API activity?

    Show the answer

    Correct answerC. Query the retained CloudTrail records to reconstruct the event sequence

    AWhy not this: Log file validation supports integrity verification; it does not recover or reconstruct missing API activity.

    BWhy not this: Changing the analysis window does not populate a period for which Detective did not collect behavior graph data.

    CWhy this is right: The retained records contain historical API activity that can support reconstruction of the intrusion.

    DWhy not this: Reopening a finding does not regenerate historical API records or add them to Detective.

    Retained CloudTrail records can reconstruct API activity from before Detective was enabled. Extending Detective's scope time changes the analysis window but does not backfill activity that its behavior graph never collected.

    Open this question
  41. Question 41

    Incident Response

    An EC2 instance became publicly reachable after several automated deployments; AWS Config recorded when its security group first allowed unrestricted SSH. Which evidence best establishes how that exposure was introduced?

    Show the answer

    Correct answerA. CloudTrail events identifying the rule change and initiating principal

    AWhy this is right: Matching the configuration transition to its API event establishes the change and the identity responsible.

    BWhy not this: The latest release may follow the exposure; release success alone does not establish the responsible infrastructure change.

    CWhy not this: Suspicious SSH activity describes a possible consequence of exposure, not how the security group changed.

    DWhy not this: Accepted connections show use of the exposed path, not the action or identity that created it.

    The matching CloudTrail event identifies the API action and principal that introduced the permissive rule. VPC Flow Logs can show traffic resulting from the exposure, but not who changed the rule.

    Open this question
  42. Question 42

    Incident Response

    GuardDuty reports unusual API calls by an IAM role. Amazon Detective has been enabled for a year. Responders need to trace the role's sessions, the IP addresses used, and the resources it touched over time to find how the attacker first gained access. Which service should they use?

    Show the answer

    Correct answerD. Amazon Detective

    AWhy not this: The Config timeline shows configuration history for a resource, not the role's sessions and IP addresses.

    BWhy not this: Insights group findings by attribute; they do not trace a principal's activity over time.

    CWhy not this: Access Analyzer reports access that policies grant, not what an attacker actually did.

    DWhy this is right: Detective's behavior graph links sessions, IP addresses and resource activity for root cause analysis.

    Amazon Detective builds a behavior graph from CloudTrail, VPC Flow Logs and GuardDuty data, so responders can follow a role's sessions, IP addresses and resource interactions over time and work back to the initial access. AWS Config records configuration changes, not a principal's activity.

    Open this question
  43. Question 43

    Incident Response

    A security team needs an investigation runbook that combines written guidance, executable Python analysis, and saved results while letting analysts inspect findings before continuing. Which implementation BEST meets these requirements?

    Show the answer

    Correct answerC. An Amazon SageMaker AI notebook containing instructions and analysis cells

    AWhy not this: Lambda supports event-driven processing but does not provide an analyst-controlled document with executable cells and saved outputs.

    BWhy not this: Step Functions orchestrates tasks but does not provide an interactive document combining guidance, analysis cells, and results.

    CWhy this is right: Notebooks combine written instructions, executable Python cells, and saved outputs that analysts can inspect before proceeding.

    DWhy not this: AWS FIS templates define fault-injection experiments for testing resilience, not interactive investigation procedures.

    Amazon SageMaker AI notebooks combine narrative guidance, executable analysis, and displayed results for interactive investigations. Step Functions coordinates workflow tasks but does not provide the requested notebook-style analysis interface.

    Open this question