Question 120

An incident involves a stolen database password stored in multiple deployments. What should remediation include?

  1. Store the unchanged password in a different secret resource
  2. Rotate the credential and update authorized consumers safely
  3. Rotate only the KMS key encrypting the secret
  4. Restart only the monitoring agent

Explanation

Correct Answer

B:

Changing the authoritative secret without updating legitimate clients can cause outages; leaving copied old credentials usable can preserve attacker access.

Incorrect Answers

A:

Relocating the same credential does not invalidate its use against the database by someone who already possesses it.

C:

Changing encryption material protects storage but does not change the database password already known to the attacker.

D:

Monitoring changes do not alter database authentication or revoke the stolen password across the affected deployments.

Question 121

A forensic artifact is copied between investigators. What record best supports chain of custody?

  1. Only the laptop model used to view it
  2. Only the case's severity label
  3. Document custody transfers and verify artifact integrity
  4. Only the final analyst's opinion

Explanation

Correct Answer

C:

Documented handling links the artifact to its acquisition and subsequent custodians, helping explain whether the examined copy matches the preserved evidence.

Incorrect Answers

A:

Hardware identity alone cannot establish who handled the artifact or whether the bytes remained unchanged during transfer.

B:

Severity supports prioritization but does not record evidence possession, transfer authorization, or the integrity of the copied artifact.

D:

A conclusion does not document the artifact's transfer history or demonstrate continuity from the original acquisition.

Question 122

An attacker created an additional access key before losing the original credential. Which eradication step is necessary?

  1. Rotate only the originally exposed access key
  2. Identify and revoke unauthorized credentials created during the compromise
  3. Delete the local browser cache
  4. Reactivate the original key for convenience

Explanation

Correct Answer

B:

Containment of the original key does not eliminate a second persistence credential; audit review must connect creation events to current credential inventory.

Incorrect Answers

A:

Changing one credential leaves a separately created attacker key usable unless it too is identified and revoked.

C:

Local browsing data is unrelated to active API credentials stored and evaluated by IAM in the compromised account.

D:

Restoring the known exposed credential expands access and does not address the separately created persistence key.

Question 123

A role trust policy was modified to trust an unknown external account. What should be restored?

  1. Only the target bucket's lifecycle policy
  2. Only the role's maximum session duration
  3. The approved trust relationship and related session controls
  4. Only the instance's AMI name

Explanation

Correct Answer

C:

Removing unauthorized trust stops new assumptions through that path; existing sessions and actions still require separate investigation and appropriate containment.

Incorrect Answers

A:

Object expiration behavior does not govern which external principals may receive credentials for the affected IAM role.

B:

A shorter duration limits future lifetimes but does not remove an unauthorized principal from the role's trust relationship.

D:

An image label has no effect on a role's external trust policy or the credentials already issued through that trust.

Question 124

A container compromise may originate from a vulnerable image used by many services. How should scope expand?

  1. Inspect only the cluster billing code
  2. Identify every deployment using the affected image digest
  3. Check only deployments using the same mutable image tag
  4. Delete only the scanner finding

Explanation

Correct Answer

B:

A digest ties running workloads to exact image content, helping find other exposed services even when mutable tags have changed.

Incorrect Answers

A:

Cost tags do not establish which binary image version each workload is executing or whether it includes the vulnerable package.

C:

Tags can be reassigned and can differ between deployments of identical content. Digest-based scope ties the investigation to the actual affected image bytes.

D:

The vulnerability remains in deployed image content regardless of whether its finding is visible in the console.

Question 125

A response team removes malware but leaves the exploited application vulnerability unchanged. What risk remains?

  1. A new instance name prevents exploitation
  2. A clean dashboard guarantees permanent safety
  3. The original entry path can permit reinfection
  4. The vulnerability disappears when the process stops

Explanation

Correct Answer

C:

Eradication must address the exploitable weakness as well as current artifacts; otherwise the same attacker or another actor may compromise the restored workload.

Incorrect Answers

A:

Names do not repair vulnerable software behavior or prevent malicious inputs from reaching the same exposed application path.

B:

A current lack of findings does not establish that the entry vulnerability has been corrected or that future exploitation is impossible.

D:

Stopping one malicious process does not patch the application code or configuration that allowed the initial exploitation.

Question 126

An investigation requires API activity across several accounts for one assumed-role session. What correlation approach is appropriate?

  1. Assume every request from one IP is the same actor
  2. Use session identifiers and source identity where recorded
  3. Match only the target role ARN while ignoring its session context
  4. Sort only by object storage class

Explanation

Correct Answer

B:

Stable identity context links related events across boundaries more reliably than matching only a human-friendly display name or the analyst's assumptions.

Incorrect Answers

A:

Shared proxies and reused addresses can combine multiple users, so address matching alone is insufficient session attribution.

C:

Several users and sessions can assume the same role. The role identity alone does not distinguish the one session whose activity the investigation must correlate.

D:

Storage classes describe archived object behavior, not the identity relationships among the API calls being investigated.

Question 127

A suspicious Lambda function may leak secrets during analysis. Which approach reduces risk?

  1. Make its function URL public
  2. Invoke the function with production secrets repeatedly
  3. Grant the function broader IAM permissions
  4. Inspect preserved code and configuration in a controlled environment

Explanation

Correct Answer

D:

Separating analysis from live production execution limits unintended callbacks or data access while retaining the artifacts needed to understand malicious behavior.

Incorrect Answers

A:

Public exposure adds another invocation path and does not constrain the suspicious code's access to sensitive data.

B:

Executing suspected code with real credentials can increase disclosure and alter evidence before its behavior is understood.

C:

Additional privileges expand potential harm rather than providing the controlled conditions needed for safe investigation.

Question 128

A compromised EC2 role has permissions unrelated to the affected host. What containment boundary must be considered?

  1. Only the role's originally intended S3 bucket
  2. Only resources physically attached to the affected instance
  3. Only the original Availability Zone
  4. Every workload and session using that shared role

Explanation

Correct Answer

D:

Changing a shared role can affect legitimate services, while leaving it unchanged may preserve attacker access elsewhere; scope must include all consumers.

Incorrect Answers

A:

The actual policy can authorize other resources, so investigation must use effective permissions rather than assume the role was limited to its original business purpose.

B:

Stolen role credentials can authorize remote service operations, so the security boundary is broader than the host's attached disks and interfaces.

C:

IAM credentials are not confined to the host's zone, so restricting investigation to that location can miss relevant activity.

Question 129

An evidence collector modifies file access timestamps while reading a host. How should the investigation handle this?

  1. Declare every changed timestamp malicious
  2. Erase timestamps from all evidence
  3. Conceal the collector's behavior
  4. Document the tool's known effects and acquisition sequence

Explanation

Correct Answer

D:

Live collection can change state. Recording those effects lets later analysis distinguish responder activity from pre-existing attacker actions.

Incorrect Answers

A:

The collection itself can explain some changes, so treating all modifications as attacker activity would produce unsupported conclusions.

B:

Removing metadata destroys useful context instead of documenting the controlled changes introduced during acquisition.

C:

Omitting known changes weakens the interpretation of timestamps and undermines confidence in the evidence handling process.

Question 130

A recovery restores functionality but users still have attacker-created tokens. What additional work is required?

  1. Increase the service capacity only
  2. Revoke unauthorized authentication artifacts and verify restored access paths
  3. Clear only the legitimate users' browser caches
  4. Archive every incident note immediately

Explanation

Correct Answer

B:

Service availability alone does not establish secure recovery; attacker-held tokens and persistence can survive data or compute restoration.

Incorrect Answers

A:

Additional capacity can improve performance but does not invalidate authentication artifacts retained by the attacker.

C:

Removing local browser data does not revoke attacker-held tokens accepted by the application's server-side authentication and session controls.

D:

Closing documentation does not remove tokens or demonstrate that the restored application no longer accepts unauthorized credentials.

AWS Certified Security - Specialty SCS-C03 Practice Tests