Question 1

An AWS team is correcting two gaps in the compute workload hardening effort: Assess known vulnerabilities in container images stored in a registry; and Limit an ECS task's AWS API permissions independently of the host. Which proposed set of controls fixes both gaps?

  1. Narrow the Lambda execution role's identity policy; and assign a least-privilege ECS task IAM role
  2. Retrieve secrets at runtime using the workload's permitted IAM role; and narrow the Lambda execution role's identity policy
  3. Enable Amazon ECR image scanning with an appropriate scanning mode; and assign a least-privilege ECS task IAM role
  4. Enable Amazon ECR image scanning with an appropriate scanning mode; and retrieve secrets at runtime using the workload's permitted IAM role

Explanation

Correct Answer

C:

For “Assess known vulnerabilities in container images stored in a registry,” the governing behavior is: ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; for the separate check “Limit an ECS task's AWS API permissions independently of the host,” it is: Task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

Only the second requirement is covered: Task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope supports “Limit an ECS task's AWS API permissions independently of the host”; by contrast, Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it concerns “Restrict a Lambda function's access to S3 operations,” leaving “Assess known vulnerabilities in container images stored in a registry” unresolved.

B:

This combination targets different outcomes: Runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity helps with “Use Secrets Manager values inside application containers without embedding them in image layers”; Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it helps with “Restrict a Lambda function's access to S3 operations”; neither implements the required “Assess known vulnerabilities in container images stored in a registry” and “Limit an ECS task's AWS API permissions independently of the host” outcomes together.

D:

The first part is appropriate for “Assess known vulnerabilities in container images stored in a registry” because ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; the second part addresses a different issue (“Use Secrets Manager values inside application containers without embedding them in image layers”) because runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; it does not fulfill the “Limit an ECS task's AWS API permissions independently of the host” test.

Question 2

A review board evaluating the telemetry and alarm repair exercise rejects fixes that cover just one requirement. The requirements are: A custom metric alarm ignores emitted points because their dimensions differ; and A CloudWatch metric filter is silent because the expected log group receives no events. Which configuration addresses both?

  1. Align the alarm's dimensions with the application's published dimensions; and fix the application's log delivery permissions and stream configuration
  2. Align the alarm's dimensions with the application's published dimensions; and check account association, service enablement, and aggregation Region
  3. Verify the subscription is confirmed and the alarm has the correct SNS action; and fix the application's log delivery permissions and stream configuration
  4. Check account association, service enablement, and aggregation Region; and verify the subscription is confirmed and the alarm has the correct SNS action

Explanation

Correct Answer

A:

For “A custom metric alarm ignores emitted points because their dimensions differ,” the governing behavior is: CloudWatch metric identity includes namespace, name, and dimension set; a mismatch creates a different time series; for the separate check “A CloudWatch metric filter is silent because the expected log group receives no events,” it is: Metric filters only match records that reach the selected log group; a missing ingestion path defeats downstream alarms; this is why the two controls belong together in the proposed change.

Incorrect Answers

B:

The first part is appropriate for “A custom metric alarm ignores emitted points because their dimensions differ” because CloudWatch metric identity includes namespace, name, and dimension set; a mismatch creates a different time series; the second part addresses a different issue (“Security Hub central reporting omits member account findings”) because finding availability depends on participating accounts and enabled integrations; a central console alone does not create missing findings; it does not fulfill the “A CloudWatch metric filter is silent because the expected log group receives no events” test.

C:

Only the second requirement is covered: Metric filters only match records that reach the selected log group; a missing ingestion path defeats downstream alarms supports “A CloudWatch metric filter is silent because the expected log group receives no events”; by contrast, A published alarm action still needs an active delivery subscription; the evaluated metric can be perfectly healthy while notification fails concerns “An SNS alarm notification goes nowhere even though the alarm changes state,” leaving “A custom metric alarm ignores emitted points because their dimensions differ” unresolved.

D:

This combination targets different outcomes: Finding availability depends on participating accounts and enabled integrations; a central console alone does not create missing findings helps with “Security Hub central reporting omits member account findings”; A published alarm action still needs an active delivery subscription; the evaluated metric can be perfectly healthy while notification fails helps with “An SNS alarm notification goes nowhere even though the alarm changes state”; neither implements the required “A custom metric alarm ignores emitted points because their dimensions differ” and “A CloudWatch metric filter is silent because the expected log group receives no events” outcomes together.

Question 3

For a TLS certificate and endpoint review, engineers have been assigned this security outcome: Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection. What implementation best fits?

  1. Set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy
  2. Configure MACsec with compatible connection settings
  3. Use EFS mount helper TLS encryption for file system client mounts
  4. Add Site-to-Site VPN over Direct Connect where supported

Explanation

Correct Answer

D:

A dedicated private circuit does not inherently guarantee application encryption, while an IPsec overlay protects the carried traffic; this is the direct solution to the requirement to encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection in a TLS certificate and endpoint review.

Incorrect Answers

A:

For the different objective “Require HTTPS for all viewer connections through CloudFront,” the viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin; the scenario instead requires “Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection,” which is a separate security mechanism.

B:

MACsec provides Layer 2 link encryption on supported Direct Connect deployments, distinct from VPN authentication and routing; the important distinction in a TLS certificate and endpoint review is that this supports the requirement to use an encrypted link layer on eligible dedicated Direct Connect connections instead of the requirement to encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection.

C:

EFS TLS protects in-transit NFS-related communication when the mount helper is configured accordingly; this would help with the requirement to secure transport for an EFS file system from application instances, leaving the requirement to encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection unresolved in a TLS certificate and endpoint review.

Question 4

An assessment of the credential and federation review has two findings. Finding one: Invalidate a leaked IAM access key immediately. Finding two: Reduce repeated console logins to separate AWS member accounts. Which combination remediates both?

  1. Deactivate the compromised key in IAM and replace it securely; and provision IAM Identity Center permission sets for account assignments
  2. Deactivate the compromised key in IAM and replace it securely; and configure a least-privilege Lambda execution role
  3. Analyze CloudTrail ConsoleLogin records and sign-in context; and provision IAM Identity Center permission sets for account assignments
  4. Configure a least-privilege Lambda execution role; and analyze CloudTrail ConsoleLogin records and sign-in context

Explanation

Correct Answer

A:

The implementation has a specific control for each objective: Disabling the access key prevents subsequent requests signed with that key while preserving an incident record and permitting a controlled replacement for “Invalidate a leaked IAM access key immediately”; Permission sets supply consistent role-based entitlements to users and groups across accounts from the central access portal for “Reduce repeated console logins to separate AWS member accounts”; the combined option satisfies the two-part request.

Incorrect Answers

B:

The first check would be covered, since disabling the access key prevents subsequent requests signed with that key while preserving an incident record and permitting a controlled replacement; yet the second choice is associated with “Ensure a Lambda function has temporary AWS credentials scoped to its own operation,” for which Lambda assumes its execution role to call AWS services; the function should not carry hardcoded access keys; no corresponding control satisfies “Reduce repeated console logins to separate AWS member accounts.”.

C:

While permission sets supply consistent role-based entitlements to users and groups across accounts from the central access portal is relevant to “Reduce repeated console logins to separate AWS member accounts,” the other component targets “Determine which IAM user password was used for an unexpected console session,” where console authentication events help attribute sign-ins, while downstream authorization decisions require reviewing the session's policies; the first acceptance criterion (“Invalidate a leaked IAM access key immediately”) is not met.

D:

The first proposed action addresses “Ensure a Lambda function has temporary AWS credentials scoped to its own operation”: Lambda assumes its execution role to call AWS services; the function should not carry hardcoded access keys; the second addresses “Determine which IAM user password was used for an unexpected console session”: Console authentication events help attribute sign-ins, while downstream authorization decisions require reviewing the session's policies; the combination does not achieve the required “Invalidate a leaked IAM access key immediately” and “Reduce repeated console logins to separate AWS member accounts” outcomes in this credential and federation review.

Question 5

A change request in the incident response rehearsal will be approved only if it delivers both outcomes: Invalidate temporary sessions that might remain after an IAM role credential concern; Rotate an exposed database password without hardcoding the replacement in an application. What should be included?

  1. Apply a role session revocation deny to sessions issued before the cutoff; and use S3 Object Lock retention on the evidence bucket and objects
  2. Apply a role session revocation deny to sessions issued before the cutoff; and rotate the stored value through Secrets Manager and update dependent clients
  3. Use S3 Object Lock retention on the evidence bucket and objects; and establish a dedicated forensic account with emergency cross-account roles
  4. Establish a dedicated forensic account with emergency cross-account roles; and rotate the stored value through Secrets Manager and update dependent clients

Explanation

Correct Answer

B:

For the first acceptance test, “Invalidate temporary sessions that might remain after an IAM role credential concern,” revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials; for the second, “Rotate an exposed database password without hardcoding the replacement in an application,” Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

A:

Revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials supports the “Invalidate temporary sessions that might remain after an IAM role credential concern” acceptance test; Version-level write-once retention protects retained evidence against deletion or overwriting for the selected period is pertinent to “Prevent accidental removal of a forensic evidence object during an investigation” instead; the change therefore omits the separate requirement “Rotate an exposed database password without hardcoding the replacement in an application.”.

C:

Neither action is targeted at the two acceptance tests: Version-level write-once retention protects retained evidence against deletion or overwriting for the selected period is about “Prevent accidental removal of a forensic evidence object during an investigation,” and Separating forensic tooling and artifacts from the production blast radius reduces dependence on possibly compromised accounts is about “Ensure responders can reach a separate investigative environment if production credentials are compromised”; the intended “Invalidate temporary sessions that might remain after an IAM role credential concern” and “Rotate an exposed database password without hardcoding the replacement in an application” requirements remain unsatisfied.

D:

The mechanism for “Rotate an exposed database password without hardcoding the replacement in an application” is present: Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password; the additional mechanism relates to “Ensure responders can reach a separate investigative environment if production credentials are compromised”: Separating forensic tooling and artifacts from the production blast radius reduces dependence on possibly compromised accounts; nothing here completes “Invalidate temporary sessions that might remain after an IAM role credential concern.”.

Question 6

The cloud security governance assessment has two control objectives. Requirement one: Find security design gaps against AWS architecture best practices. Requirement two: Spot unused or idle infrastructure that unnecessarily expands attack surface. Which design passes both checks?

  1. Configure AWS Cost Anomaly Detection monitoring; and correlate IAM Access Analyzer exposure with network reachability assessments
  2. Correlate IAM Access Analyzer exposure with network reachability assessments; and review AWS Trusted Advisor and Cost Explorer utilization signals
  3. Review the Security pillar in AWS Well-Architected Tool; and configure AWS Cost Anomaly Detection monitoring
  4. Review the Security pillar in AWS Well-Architected Tool; and review AWS Trusted Advisor and Cost Explorer utilization signals

Explanation

Correct Answer

D:

The first control addresses the check “Find security design gaps against AWS architecture best practices”: The tool guides a structured workload review and produces improvement guidance based on pillar questions; the other addresses “Spot unused or idle infrastructure that unnecessarily expands attack surface”: Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment; these two mechanisms cover the complete cloud security governance assessment.

Incorrect Answers

A:

The first action belongs to “Detect unexpected cost growth that might reflect compromised compute workloads” because abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise; the second belongs to “Prioritize publicly exposed resources found during an architectural security review” because policy exposure and network path analysis reveal different ways resources could be reachable by unintended parties; these are not the required checks, “Find security design gaps against AWS architecture best practices” and “Spot unused or idle infrastructure that unnecessarily expands attack surface.”.

B:

Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment; this fulfills the second objective (“Spot unused or idle infrastructure that unnecessarily expands attack surface”); the other action is intended for “Prioritize publicly exposed resources found during an architectural security review”: Policy exposure and network path analysis reveal different ways resources could be reachable by unintended parties; it does not meet the requested “Find security design gaps against AWS architecture best practices” check.

C:

The tool guides a structured workload review and produces improvement guidance based on pillar questions; this is relevant to the first objective (“Find security design gaps against AWS architecture best practices”); however, the other action is meant for “Detect unexpected cost growth that might reflect compromised compute workloads”: Abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise; it leaves the required “Spot unused or idle infrastructure that unnecessarily expands attack surface” behavior unimplemented.

Question 7

A review board evaluating the VPC connectivity and segmentation rollout rejects fixes that cover just one requirement. The requirements are: Capture which AWS API modified a VPC route during an outage; and Reduce single-point failure for on-premises encrypted connectivity. Which configuration addresses both?

  1. Use separate Transit Gateway route tables and association rules; and remove or withhold the prohibited route in the Transit Gateway route table
  2. Remove or withhold the prohibited route in the Transit Gateway route table; and configure redundant Site-to-Site VPN connections or tunnels with tested failover
  3. Review CloudTrail control-plane events for route table updates; and use separate Transit Gateway route tables and association rules
  4. Review CloudTrail control-plane events for route table updates; and configure redundant Site-to-Site VPN connections or tunnels with tested failover

Explanation

Correct Answer

D:

For “Capture which AWS API modified a VPC route during an outage,” the governing behavior is: CloudTrail records authorized route table API operations, not the packet-level paths of normal client connections; for the separate check “Reduce single-point failure for on-premises encrypted connectivity,” it is: Multiple independent tunnels and routing failover improve resilience when one gateway path or tunnel is unavailable; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

This combination targets different outcomes: Transit Gateway routing isolation can prevent attachments from learning or reaching destinations outside their intended segment helps with “Provide separate routing policy for isolated environments sharing Transit Gateway”; Traffic isolation needs effective route-table segmentation; attachment to the same transit hub does not imply unrestricted transit helps with “Prevent a development VPC from reaching the production CIDR through a central hub”; neither implements the required “Capture which AWS API modified a VPC route during an outage” and “Reduce single-point failure for on-premises encrypted connectivity” outcomes together.

B:

Only the second requirement is covered: Multiple independent tunnels and routing failover improve resilience when one gateway path or tunnel is unavailable supports “Reduce single-point failure for on-premises encrypted connectivity”; by contrast, Traffic isolation needs effective route-table segmentation; attachment to the same transit hub does not imply unrestricted transit concerns “Prevent a development VPC from reaching the production CIDR through a central hub,” leaving “Capture which AWS API modified a VPC route during an outage” unresolved.

C:

The first part is appropriate for “Capture which AWS API modified a VPC route during an outage” because CloudTrail records authorized route table API operations, not the packet-level paths of normal client connections; the second part addresses a different issue (“Provide separate routing policy for isolated environments sharing Transit Gateway”) because transit Gateway routing isolation can prevent attachments from learning or reaching destinations outside their intended segment; it does not fulfill the “Reduce single-point failure for on-premises encrypted connectivity” test.

Question 8

During a centralized security logging pipeline, the security team has this work item: Archive security logs at lower storage cost after the investigation window. Which AWS action is the most direct implementation?

  1. Use S3 Object Lock retention with appropriate mode on versioned log objects
  2. Apply S3 Block Public Access and restrictive bucket policy conditions
  3. Apply an S3 Lifecycle transition policy to the log archive
  4. Configure the required CloudTrail service-principal bucket policy permissions

Explanation

Correct Answer

C:

Lifecycle rules transition or expire object versions under configured conditions; immutability requirements must be handled separately; it addresses the requirement to archive security logs at lower storage cost after the investigation window at the right security boundary during a centralized security logging pipeline.

Incorrect Answers

A:

Retention enforces per-version write-once protection; lifecycle transitions alone do not prevent early deletion; the important distinction in a centralized security logging pipeline is that this supports the requirement to prevent attackers from deleting retained audit-log versions for a required period instead of the requirement to archive security logs at lower storage cost after the investigation window.

B:

Blocking public access and limiting principals protects delivered log objects independently from the logging service configuration; its scope is the requirement to keep a central log bucket inaccessible to public principals, rather than the requirement to archive security logs at lower storage cost after the investigation window for a centralized security logging pipeline.

D:

Trail delivery depends on the destination policy allowing the logging service to write to the correct bucket path; this would help with the requirement to allow CloudTrail to deliver logs into a hardened destination bucket, leaving the requirement to archive security logs at lower storage cost after the investigation window unresolved in a centralized security logging pipeline.

Question 9

The traffic encryption assessment cannot pass unless both of these outcomes are demonstrated: Secure transport for an EFS file system from application instances; Require HTTPS for all viewer connections through CloudFront. Which two-part plan is suitable?

  1. Add Site-to-Site VPN over Direct Connect where supported; and configure MACsec with compatible connection settings
  2. Configure MACsec with compatible connection settings; and set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy
  3. Use EFS mount helper TLS encryption for file system client mounts; and add Site-to-Site VPN over Direct Connect where supported
  4. Use EFS mount helper TLS encryption for file system client mounts; and set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy

Explanation

Correct Answer

D:

Two different security outcomes are required in this traffic encryption assessment; EFS TLS protects in-transit NFS-related communication when the mount helper is configured accordingly supports “Secure transport for an EFS file system from application instances,” while The viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin supports “Require HTTPS for all viewer connections through CloudFront”; neither check is assumed to follow from the other.

Incorrect Answers

A:

A dedicated private circuit does not inherently guarantee application encryption, while an IPsec overlay protects the carried traffic is pertinent to “Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection,” and MACsec provides Layer 2 link encryption on supported Direct Connect deployments, distinct from VPN authentication and routing is pertinent to “Use an encrypted link layer on eligible dedicated Direct Connect connections”; the requested controls for “Secure transport for an EFS file system from application instances” and “Require HTTPS for all viewer connections through CloudFront” are absent.

B:

The option has a useful control for “Require HTTPS for all viewer connections through CloudFront” because the viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin; its other control applies to “Use an encrypted link layer on eligible dedicated Direct Connect connections” because MACsec provides Layer 2 link encryption on supported Direct Connect deployments, distinct from VPN authentication and routing; it misses the first requirement, “Secure transport for an EFS file system from application instances.”.

C:

This option is only partly effective: EFS TLS protects in-transit NFS-related communication when the mount helper is configured accordingly supports “Secure transport for an EFS file system from application instances”; but A dedicated private circuit does not inherently guarantee application encryption, while an IPsec overlay protects the carried traffic supports “Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection,” not the required “Require HTTPS for all viewer connections through CloudFront” outcome.

Question 10

A security architecture review for an AWS workload credential management review contains 2 independently assessed work items: (1) Provide temporary privileges for a user authenticated with a supported OIDC token; (2) Run a workload in a different account without storing destination-account access keys. Which actions directly implement those requirements? Choose TWO.

  1. Use STS AssumeRole with a cross-account role trust policy
  2. Apply a policy condition on aws:MultiFactorAuthPresent in the applicable context
  3. Set an appropriate role maximum session duration and request a bounded session
  4. Configure an OIDC provider and AssumeRoleWithWebIdentity trust relationship

Explanation

Correct Answers

A:

AssumeRole issues expiring credentials for a trusted principal, and the assumed role's permissions determine permitted destination actions; in an AWS workload credential management review, this is one of the independently required safeguards because it addresses the requirement to run a workload in a different account without storing destination-account access keys.

D:

Web identity federation exchanges a valid identity token for short-lived role credentials without storing an AWS IAM user key; in an AWS workload credential management review, this is one of the independently required safeguards because it addresses the requirement to provide temporary privileges for a user authenticated with a supported OIDC token.

Incorrect Answers

B:

The MFA context key can restrict supported requests according to whether MFA was present in the authenticated session; in an AWS workload credential management review, that supports the requirement to require IAM users to activate MFA before performing sensitive API operations, which is distinct from the 2 enumerated security work items.

C:

Temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys; in an AWS workload credential management review, that supports the requirement to restrict the duration of an elevated administrative session, which is distinct from the 2 enumerated security work items.

AWS Certified Security - Specialty SCS-C03 Practice Tests