exam questions

Exam AWS Certified Security - Specialty SCS-C02 All Questions

View all questions & answers for the AWS Certified Security - Specialty SCS-C02 exam

Exam AWS Certified Security - Specialty SCS-C02 topic 1 question 197 discussion

A company has an application that runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are in an Amazon EC2 Auto Scaling group and are attached to Amazon Elastic Block Store (Amazon EBS) volumes.

A security engineer needs to preserve all forensic evidence from one of the instances.

Which order of steps should the security engineer use to meet this requirement?

  • A. Take an EBS volume snapshot of the instance and store the snapshot in an Amazon S3 bucket. Take a memory snapshot of the instance and store the snapshot in an S3 bucket Detach the instance from the Auto Scaling group. Deregister the instance from the ALB. Stop the instance.
  • B. Take a memory snapshot of the instance and store the snapshot in an Amazon S3 bucket. Stop the instance. Take an EBS volume snapshot of the instance and store the snapshot in an S3 bucket. Detach the instance from the Auto Scaling group. Deregister the instance from the ALB.
  • C. Detach the instance from the Auto Scaling group. Deregister the instance from the ALB. Take an EBS volume snapshot of the instance and store the snapshot in an Amazon S3 bucket. Take a memory snapshot of the instance and store the snapshot in an S3 bucket. Stop the instance.
  • D. Detach the instance from the Auto Scaling group. Deregister the instance from the ALB Stop the instance. Take a memory snapshot of the instance and store the snapshot in an Amazon S3 bucket. Take an EBS volume snapshot of the instance and store the snapshot in an S3 bucket.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
molerowan
1 month, 1 week ago
Selected Answer: C
1. Isolate the Instance: Detach from Auto Scaling Group (ASG) and deregister from the ALB to prevent automatic termination or traffic routing to the instance. This ensures the instance remains available for forensic capture. 2.Capture EBS Snapshot: Take an EBS volume snapshot while the instance is still running. Though crash-consistent, this captures the disk state at a point in time. 3. Capture Memory Snapshot: Use tools like AWS Systems Manager or third-party utilities to capture the volatile memory (RAM) while the instance is running. Memory data is lost once the instance stops. 4. Stop the Instance: After capturing both disk and memory snapshots, stop the instance to prevent further changes.
upvoted 1 times
...
zhen234
1 month, 4 weeks ago
Selected Answer: A
https://docs.aws.amazon.com/security-ir/latest/userguide/collect-relevant-artifacts.html
upvoted 1 times
...
Pat9595
2 months, 3 weeks ago
Selected Answer: C
1️⃣ Preserve the Forensic Evidence 2️⃣ Capture the Data 3️⃣ Stop the Instance
upvoted 1 times
...
TareDHakim
3 months, 2 weeks ago
Selected Answer: C
Agreed, we need to preserve RAM running memory BEFORE we Stop the instance, otherwise we'd loose critical info including: Running processes Network connections Encryption keys Unwritten logs Malicious activity in memory (e.g., malware)
upvoted 1 times
...
SCSC02Q
3 months, 3 weeks ago
Selected Answer: C
Its C. Can not be D as stopping instance does not preserve the memory e.g. memory is lost so no memory snapshot is possible.
upvoted 1 times
...
milesToGo
4 months, 1 week ago
Selected Answer: C
Why D? Should it not be C? How would you take a memory snapshot of a stopped instance. I looked through AWS documentation and nowhere doesit it say, it is possible to take memory snapshot of stopped EC2 instance
upvoted 1 times
...
Ucy
4 months, 2 weeks ago
Selected Answer: D
ANSWER D Detach from the Auto Scaling group: This ensures the Auto Scaling group does not terminate or replace the instance due to health checks or scaling policies. Deregister from the ALB: Deregistering ensures the instance stops serving traffic and avoids further modifications to its state by the application. Stop the instance: Stopping the instance prevents changes to the system state and data while preserving the current disk content and memory. Take a memory snapshot: Memory snapshots (often called RAM dumps) are essential for forensic investigations to capture data like process states, encryption keys, and active network connections. Take an EBS volume snapshot: Snapshots of EBS volumes preserve disk-level data for analysis, including deleted files and filesystem metadata.
upvoted 1 times
Ucy
4 months, 2 weeks ago
NOT Option A: Taking snapshots first may cause data to be modified if the instance is still running and attached to the Auto Scaling group or ALB. Option B: Stopping the instance before memory capture results in the loss of volatile memory (RAM) data, which is crucial for forensic purposes. Option C: Taking snapshots before stopping the instance might result in inconsistent memory or disk data due to ongoing writes or process activity.
upvoted 1 times
...
...
IPLogic
4 months, 3 weeks ago
Selected Answer: B
The correct order of steps to preserve all forensic evidence from an Amazon EC2 instance is: B. Take a memory snapshot of the instance and store the snapshot in an Amazon S3 bucket. Stop the instance. Take an EBS volume snapshot of the instance and store the snapshot in an S3 bucket. Detach the instance from the Auto Scaling group. Deregister the instance from the ALB. This sequence ensures that you capture both the memory and disk state of the instance before making any changes that could alter the evidence
upvoted 3 times
IPLogic
4 months, 3 weeks ago
Option C is not ideal because it involves detaching the instance from the Auto Scaling group and deregistering it from the ALB before taking the memory snapshot and stopping the instance. This sequence can potentially alter the state of the instance and its memory, which might compromise the forensic evidence. The correct sequence (Option B) ensures that you capture the memory snapshot first, preserving the instance’s state as it was during operation. Stopping the instance afterward ensures that no further changes occur before you take the EBS volume snapshot. Finally, detaching the instance from the Auto Scaling group and deregistering it from the ALB ensures that it is no longer part of the active infrastructure, preventing any accidental modifications.
upvoted 1 times
...
...
723993f
4 months, 4 weeks ago
Selected Answer: C
C - correct order why not a - detach and deregister is too late, anything can happen on the system like it can go unhealthy, this causes the asg to terminate it why not b - stopping the instance when not deregistered from asg will cause the asg to terminate it, we cannot do other ops here onward why not d - memory is lost after stopping the instance
upvoted 1 times
...
Pmktechno
5 months ago
Selected Answer: B
Option B
upvoted 1 times
...
Pmktechno
5 months ago
Selected Answer: D
Option D
upvoted 1 times
...
mzeynalli
5 months, 1 week ago
Selected Answer: C
Option B does not detach the instance from the Auto Scaling group or deregister it from the ALB before stopping it, which can lead to unexpected instance termination or further data changes from incoming traffic. This makes it unsuitable for preserving forensic evidence effectively. Option C follows the correct sequence to ensure that the instance is properly isolated and that both memory and disk snapshots are taken in a way that preserves the integrity of forensic evidence. For these reasons, Option C is the correct approach to ensure the proper preservation of forensic evidence, while Option B may lead to potential data loss or contamination due to improper ordering of steps.
upvoted 2 times
...
BietTuot
5 months, 1 week ago
Selected Answer: A
Correct answer is A. 1. Acquire Evidence 2. Isolation 3. Stop the Instance
upvoted 2 times
...
dhewa
6 months ago
Selected Answer: B
This order ensures that the volatile memory is captured before the instance is stopped, preserving all necessary forensic evidence.
upvoted 2 times
...
gkaself
6 months, 1 week ago
Selected Answer: D
Correct answer is D. Instance should not be stopped
upvoted 2 times
Bad_Mat
6 months ago
make sense
upvoted 1 times
...
dhewa
6 months ago
Stopping the instance prevents any further changes to the data on the instance, ensuring that the EBS volume snapshot captures the state of the disk at a specific point in time without any ongoing changes.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago