Question 1

A trail records management events in every enabled Region. Investigators can find bucket-policy changes but cannot find downloads of objects in a sensitive S3 prefix. Which change records future GetObject calls for that prefix while avoiding object activity from unrelated prefixes?

  1. Enable log file integrity validation on the existing trail.
  2. Add an S3 object data-event selector scoped to the prefix and including read events.
  3. Add a management-event selector that includes read-only API operations.
  4. Enable S3 Versioning and retain noncurrent object versions.

Explanation

Correct Answer

B:

Object downloads belong to the S3 data-event category. Selecting the relevant object ARN prefix and read activity captures the required future requests without enabling every object operation in the account. Data-event recording incurs additional charges and cannot reconstruct calls that were not previously logged.

Incorrect Answers

A:

Integrity validation creates signed digests for delivered trail files. It helps detect later alteration or deletion but does not expand the event categories recorded by the trail.

C:

Read-only management events describe control-plane activity. Including them does not turn object retrievals into management events; the trail still needs an appropriate data-event selection.

D:

Versioning preserves object versions as content changes. Reading an object does not create a new version, so version history cannot identify who downloaded the content.

Question 2

An audit archive contains CloudTrail logs and the signed digest files delivered while log file integrity validation was enabled. An investigator needs evidence that the delivered log files have not been modified. Which action directly checks that evidence?

  1. Compare the bucket creation date with the investigation start date.
  2. Enable S3 default encryption and rerun the investigation.
  3. Check whether CloudTrail reports that the trail is currently logging.
  4. Run CloudTrail log validation for the relevant trail and time range using the digest chain.

Explanation

Correct Answer

D:

The validation process checks signed digests and the referenced log-file hashes over the selected period. Enabling the feature causes digest delivery; running validation performs the actual integrity check. A successful result covers the validated records and interval, rather than proving that all possible account activity was recorded.

Incorrect Answers

A:

The creation timestamp describes the bucket rather than the contents of its objects. It cannot establish that a particular delivered log file still has its original bytes.

B:

Encryption protects confidentiality at rest. Turning it on does not retrospectively compare archived logs with the hashes and signatures recorded when those logs were delivered.

C:

A logging status check confirms an operational setting. A trail can be recording new events even if an older log file was subsequently changed or deleted.

Question 3

A VPC Flow Logs record shows an ACCEPT action for traffic from an EC2 network interface to an unfamiliar external address. No packet capture or application logs are available. Which conclusion is supported by this record alone?

  1. The flow was accepted; its application payload remains unknown.
  2. The destination authenticated the EC2 workload successfully.
  3. The transferred bytes contained confidential customer records.
  4. The TLS certificate presented by the destination was valid.

Explanation

Correct Answer

A:

Flow records provide network metadata such as addresses, ports, traffic counts, and the recorded action. An ACCEPT result supports a network-layer observation; it does not establish the data content or successful application transaction. Additional application or packet evidence is needed to determine what was exchanged.

Incorrect Answers

B:

Application authentication happens above the network filtering represented by the action field. Packets can be accepted even when the remote application rejects the credentials.

C:

Traffic volume and an unfamiliar destination can justify investigation. They cannot establish the sensitivity or meaning of transmitted bytes without evidence about the application or payload.

D:

Certificate validation is a TLS client behavior. A flow record does not contain the certificate chain or the client verification result, so accepted traffic cannot prove this claim.

Question 4

A suspected compromised Linux EC2 instance remains running. The incident commander has authorized evidence acquisition, and the immediate threat is already controlled without shutting down the operating system. The investigation requires a memory-resident process and its in-memory configuration. What should the responder do before stopping the instance?

  1. Create an EBS snapshot and treat it as a complete copy of RAM.
  2. Reboot into a clean image to flush any malicious process.
  3. Acquire memory with approved forensic tooling and preserve the acquisition metadata.
  4. Terminate the instance after enabling termination protection.

Explanation

Correct Answer

C:

RAM contains volatile process information that can disappear on shutdown. Acquiring it while the instance is running preserves evidence that an EBS snapshot does not include. The responder should document the collection method, timing, hashes, and evidence handling because live acquisition itself can affect the system.

Incorrect Answers

A:

EBS snapshots preserve volume data, which is valuable disk evidence. They do not capture the running instance RAM, so relying solely on a snapshot loses the specific evidence the investigation requires.

B:

Rebooting destroys the current process state and volatile configuration. A clean restart may be a later recovery step, but it would undermine the authorized acquisition at this stage.

D:

Termination destroys the running environment; termination protection is a safeguard against that API action, not an evidence collector. Neither changing that setting nor attempting termination captures the memory contents.

Question 5

An IAM user access key has been published in a public repository. It is still active. The response team needs to block new API requests signed with that long-term key immediately while retaining the user for investigation. Which action addresses that requirement?

  1. Deactivate the exposed access key.
  2. Change only the IAM user console password.
  3. Remove the repository file and leave the key active.
  4. Create a replacement key without changing the exposed key status.

Explanation

Correct Answer

A:

Deactivation prevents the key from authorizing new signed API requests while retaining its identifier for investigation. The team should separately investigate resources and temporary sessions created during the exposure; disabling the source key alone does not establish that all consequences have been contained.

Incorrect Answers

B:

The console password and API access keys are distinct credentials. Resetting the password can protect interactive sign-in but does not change the active status of the published access key.

C:

Removing the file limits further discovery at that location. Existing clones, caches, or an attacker copy can still contain a usable credential, so removing the publication is not credential revocation.

D:

IAM can hold more than one active key for a user. Creating a replacement supports application migration, but the exposed key continues to work until it is deactivated or deleted.

Question 6

A response runbook depends on cross-account access to collect forensic artifacts from a workload account. During an exercise, the responder role is denied access and the collection fails. Which improvement most directly addresses incident readiness?

  1. Grant administrator permissions to every workload developer.
  2. Wait for the next incident before testing the access path again.
  3. Replace the exercise with a document review of the account diagram.
  4. Provision least-privilege response access in advance and retest the complete collection workflow.

Explanation

Correct Answer

D:

Pre-provisioned response roles reduce dependence on emergency changes during an incident. Testing both the trust relationship and the artifact actions reveals missing permissions before a real event. The exercise should also check evidence destination access and record the observed recovery procedure.

Incorrect Answers

A:

Broad developer administration increases standing privilege without validating the designated responder path. The required control is narrowly scoped, tested incident access, rather than general elevation of unrelated users.

B:

An actual incident is a poor time to discover that a trust or permissions dependency remains broken. Deferring verification leaves the demonstrated readiness failure unresolved.

C:

A diagram review can identify design concerns but does not execute role assumption or artifact collection. This failure requires an operational retest after the access configuration is corrected.

Question 7

An application behind an Application Load Balancer is receiving excessive requests to /login from individual source IP addresses. Other paths should remain unaffected by the new rate control. Which configuration best matches the requirement?

  1. Deny all inbound TCP port 443 traffic in the ALB security group.
  2. Associate AWS WAF with the ALB and use an IP-aggregated rate-based rule scoped to /login.
  3. Block each source IP manually in the subnet network ACL after reviewing daily logs.
  4. Use an AWS WAF size-constraint rule as the sole request-rate control.

Explanation

Correct Answer

B:

A scope-down condition limits which requests enter the rate calculation, while IP aggregation tracks activity for each source. WAF can then apply the configured action to excessive matching requests. Its rate enforcement is approximate and should be tuned using the application traffic pattern rather than treated as an exact transaction counter.

Incorrect Answers

A:

Removing HTTPS access stops legitimate and abusive requests across every path. A security group filters network traffic and cannot distinguish /login from other HTTP URI paths.

C:

Manual address blocking reacts slowly and does not express a request-rate threshold or URI scope. A subnet ACL also lacks HTTP path awareness, so the restriction would apply beyond the login endpoint.

D:

A size rule evaluates dimensions such as request-body or header length. Repeated small login requests can remain below its size threshold, so it cannot substitute for a rate-based rule.

Question 8

A private-subnet instance initiates HTTPS connections to a server in a connected network. Routes are correct and its security group allows the outbound traffic. A custom network ACL allows outbound destination port 443 but denies all inbound traffic. What change allows the response packets while preserving stateless subnet filtering?

  1. Add an inbound security group rule for destination port 443 only.
  2. Add another outbound ACL allow rule for destination port 443.
  3. Allow the expected inbound return traffic to the client ephemeral ports in the network ACL.
  4. Attach an IAM policy allowing ec2:DescribeNetworkAcls to the instance role.

Explanation

Correct Answer

C:

Network ACLs evaluate each direction independently and do not remember the outbound connection. The response originates from the server HTTPS port and targets the client ephemeral port. The inbound rule must allow the relevant source range and client port range, with rule ordering that precedes the deny.

Incorrect Answers

A:

The instance is the HTTPS client, so the response destination is its ephemeral client port. Its security group is stateful, and adding an inbound server-port rule would not repair the separate subnet ACL denial.

B:

The request direction is already allowed. Duplicating that allowance does not permit the reverse direction through a stateless ACL.

D:

That IAM action permits inspection of ACL configuration through the EC2 API. It does not change how the ACL evaluates packets or grant network reachability to the application.

Question 9

Administrators need interactive shell access to private EC2 instances without inbound SSH rules, public IP addresses, or bastion hosts. The instances can reach the required Systems Manager endpoints. Which design meets these constraints?

  1. Use Session Manager with SSM Agent, an appropriate instance role, and authorized operator access.
  2. Place a bastion host in the private subnet and expose its SSH port through an internet gateway.
  3. Install an SSH key on every instance and permit inbound port 22 from the administrator network.
  4. Assign public addresses temporarily and remove them after each maintenance session.

Explanation

Correct Answer

A:

The agent establishes the service communication needed for managed sessions, eliminating the inbound SSH requirement. The node needs the appropriate Systems Manager permissions and connectivity, and the operator needs authorization to start sessions. Private endpoint connectivity can satisfy the stated network condition without introducing a public instance address.

Incorrect Answers

B:

A bastion remains a jump host and violates the explicit design constraint. In addition, an internet gateway alone does not give a private-address-only host direct inbound internet reachability.

C:

SSH keys authenticate the operating-system login, but this approach still depends on opening the inbound SSH path. It therefore does not satisfy the requested administrative access model.

D:

Temporary public exposure still introduces public addresses during maintenance. It also requires the associated network access configuration, whereas the requirement is to administer instances without that exposure.

Question 10

A subnet contains several EC2 workloads with different security groups. The network team must explicitly deny new inbound traffic from a known malicious CIDR at the subnet boundary, even if an instance security group has a broad allow rule. Which control directly provides this explicit CIDR deny?

  1. Add a lower-numbered deny rule to each security group.
  2. Remove the VPC local route to the subnet.
  3. Attach a permissions boundary to the EC2 instance role.
  4. Add an inbound deny rule to the subnet network ACL with priority over any matching allow.

Explanation

Correct Answer

D:

An ACL supports ordered allow and deny rules evaluated at the subnet boundary. A matching deny with a lower rule number than a broad allow blocks the specified source range even if a security group would allow it. Rule ordering and the ACL association must both match the affected subnet.

Incorrect Answers

A:

Security groups contain allow rules and combine their allowed traffic; they do not support ordered explicit deny entries. A security-group deny rule therefore cannot implement the requested exception.

B:

The local route enables communication within the VPC and is not a source-CIDR deny list. Changing routing to the subnet is broader than the requested malicious-source filter and can disrupt legitimate connectivity.

C:

A permissions boundary constrains IAM permissions available through identity policies. It does not inspect inbound packets or override network rules at a subnet boundary.

AWS Certified Security - Specialty SCS-C03 Practice Tests