Question 20

During an automated notification design, the security team has this work item: Notify an incident channel when a CloudWatch alarm changes to ALARM state. Which AWS action is the most direct implementation?

  1. Configure AWS Cost Anomaly Detection notifications
  2. Create a CloudWatch Logs metric filter for relevant CloudTrail sign-in events and an alarm
  3. Attach an Amazon SNS action to the alarm
  4. Configure Security Hub aggregation and insights

Explanation

Correct Answer

C:

SNS delivers subscribed notifications after the CloudWatch alarm evaluates the configured metric and changes state; this is the direct solution to the requirement to notify an incident channel when a CloudWatch alarm changes to ALARM state in an automated notification design.

Incorrect Answers

A:

For the different objective “Alert on unusual spending that may indicate unauthorized resource provisioning,” cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads; the scenario instead requires “Notify an incident channel when a CloudWatch alarm changes to ALARM state,” which is a separate security mechanism.

B:

Metric filters extract counts from matching log records; alarms evaluate the resulting metric against a threshold; its purpose is the requirement to raise an alert after repeated failed root-user console attempts, but the acceptance criterion in an automated notification design is the requirement to notify an incident channel when a CloudWatch alarm changes to ALARM state.

D:

Security Hub consolidates supported security findings and groups them by operational properties for investigation; this would help with the requirement to create a consolidated high-severity security finding view across integrated detectors, leaving the requirement to notify an incident channel when a CloudWatch alarm changes to ALARM state unresolved in an automated notification design.

Question 21

The traffic encryption assessment cannot pass unless both of these outcomes are demonstrated: Avoid opening inbound SSH ports for remote EC2 administration; Serve HTTPS API Gateway custom-domain traffic with managed certificates. Which two-part plan is suitable?

  1. Use Systems Manager Session Manager with secure endpoints and authorized session roles; and add a bucket policy deny conditioned on aws:SecureTransport being false
  2. Use Systems Manager Session Manager with secure endpoints and authorized session roles; and associate an ACM certificate with the supported API Gateway custom domain
  3. Add a bucket policy deny conditioned on aws:SecureTransport being false; and enforce the supported RDS TLS requirement and install trusted CA certificates on clients
  4. Enforce the supported RDS TLS requirement and install trusted CA certificates on clients; and associate an ACM certificate with the supported API Gateway custom domain

Explanation

Correct Answer

B:

Two different security outcomes are required in this traffic encryption assessment; Session Manager provides an audited management channel without relying on a publicly reachable SSH service supports “Avoid opening inbound SSH ports for remote EC2 administration,” while The custom domain's TLS certificate enables verified HTTPS client connections; authorizers and resource policies remain separate access controls supports “Serve HTTPS API Gateway custom-domain traffic with managed certificates”; neither check is assumed to follow from the other.

Incorrect Answers

A:

This option is only partly effective: Session Manager provides an audited management channel without relying on a publicly reachable SSH service supports “Avoid opening inbound SSH ports for remote EC2 administration”; but Transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest supports “Require client connections to an S3 bucket to use TLS,” not the required “Serve HTTPS API Gateway custom-domain traffic with managed certificates” outcome.

C:

Transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest is pertinent to “Require client connections to an S3 bucket to use TLS,” and Database encryption in transit requires an authenticated TLS connection and may need engine-specific configuration is pertinent to “Require database clients to connect with encrypted PostgreSQL or MySQL sessions”; the requested controls for “Avoid opening inbound SSH ports for remote EC2 administration” and “Serve HTTPS API Gateway custom-domain traffic with managed certificates” are absent.

D:

The option has a useful control for “Serve HTTPS API Gateway custom-domain traffic with managed certificates” because the custom domain's TLS certificate enables verified HTTPS client connections; authorizers and resource policies remain separate access controls; its other control applies to “Require database clients to connect with encrypted PostgreSQL or MySQL sessions” because database encryption in transit requires an authenticated TLS connection and may need engine-specific configuration; it misses the first requirement, “Avoid opening inbound SSH ports for remote EC2 administration.”.

Question 22

In a permissions and authorization review, engineers must cover two different requirements: Allow a designated role in another account to read specific S3 objects. In addition, Prevent a public S3 bucket policy even when administrators mistakenly add one. Which option implements both?

  1. Grant the resource's specific policy-management actions for its ARN; and enable S3 Block Public Access at the desired account or bucket level
  2. Narrow the IAM role trust policy Principal and conditions; and grant the resource's specific policy-management actions for its ARN
  3. Configure an S3 bucket policy with the intended principal and object resources; and enable S3 Block Public Access at the desired account or bucket level
  4. Configure an S3 bucket policy with the intended principal and object resources; and narrow the IAM role trust policy Principal and conditions

Explanation

Correct Answer

C:

This pairing handles the first requirement (“Allow a designated role in another account to read specific S3 objects”) because S3 resource policies can grant specific cross-account access subject to applicable identity and guardrail evaluation; it handles the second (“Prevent a public S3 bucket policy even when administrators mistakenly add one”) because block Public Access controls can reject or restrict public-access configurations independently of normal bucket-policy permits; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

This solves the second problem (“Prevent a public S3 bucket policy even when administrators mistakenly add one”): Block Public Access controls can reject or restrict public-access configurations independently of normal bucket-policy permits; however, the first action addresses “Delegate permissions to modify one resource's policy without granting broad IAM administration”: Service-specific resource policy API rights can be scoped independently from unrelated IAM user and role management privileges; it does not satisfy “Allow a designated role in another account to read specific S3 objects.”.

B:

Both mechanisms have legitimate uses, but for other requirements: The trust policy governs who may assume the role; the role permission policy governs what the resulting session may do supports “Ensure a role can be assumed only by the approved external account and principal”; Service-specific resource policy API rights can be scoped independently from unrelated IAM user and role management privileges supports “Delegate permissions to modify one resource's policy without granting broad IAM administration”; this does not resolve the stated “Allow a designated role in another account to read specific S3 objects” and “Prevent a public S3 bucket policy even when administrators mistakenly add one” findings.

D:

One action is correctly chosen for “Allow a designated role in another account to read specific S3 objects”: S3 resource policies can grant specific cross-account access subject to applicable identity and guardrail evaluation; the companion action relates to “Ensure a role can be assumed only by the approved external account and principal”: The trust policy governs who may assume the role; the role permission policy governs what the resulting session may do; the other requested outcome, “Prevent a public S3 bucket policy even when administrators mistakenly add one,” remains outstanding.

Question 23

An assessment of the public application protection review has two findings. Finding one: Enforce a narrow set of IP ranges for public HTTP clients. Finding two: Identify and block bot-like HTTP behaviors with application-aware inspection. Which combination remediates both?

  1. Apply an AWS WAF IP set match condition on the front-end web ACL; and enable Route 53 domain transfer lock where applicable
  2. Apply an AWS WAF IP set match condition on the front-end web ACL; and use AWS WAF Bot Control managed rule groups where supported
  3. Enable Route 53 domain transfer lock where applicable; and use API Gateway private endpoint access with an appropriate resource policy
  4. Use API Gateway private endpoint access with an appropriate resource policy; and use AWS WAF Bot Control managed rule groups where supported

Explanation

Correct Answer

B:

The implementation has a specific control for each objective: IP sets match the configured client addresses, whereas DNS routing records do not filter application requests for “Enforce a narrow set of IP ranges for public HTTP clients”; Bot Control evaluates bot-related request signals at the web ACL, rather than relying only on Layer 3 network filtering for “Identify and block bot-like HTTP behaviors with application-aware inspection”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first check would be covered, since IP sets match the configured client addresses, whereas DNS routing records do not filter application requests; yet the second choice is associated with “Protect against unwanted DNS redirection through domain management,” for which transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule; no corresponding control satisfies “Identify and block bot-like HTTP behaviors with application-aware inspection.”.

C:

The first proposed action addresses “Protect against unwanted DNS redirection through domain management”: Transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule; the second addresses “Prevent all public access to an internal API endpoint”: A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL; the combination does not achieve the required “Enforce a narrow set of IP ranges for public HTTP clients” and “Identify and block bot-like HTTP behaviors with application-aware inspection” outcomes in this public application protection review.

D:

While bot Control evaluates bot-related request signals at the web ACL, rather than relying only on Layer 3 network filtering is relevant to “Identify and block bot-like HTTP behaviors with application-aware inspection,” the other component targets “Prevent all public access to an internal API endpoint,” where A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL; the first acceptance criterion (“Enforce a narrow set of IP ranges for public HTTP clients”) is not met.

Question 24

An architect is reviewing a security incident runbook exercise. The acceptance criterion reads: Limit access to customer forensic snapshots during external review. Which approach satisfies it?

  1. Share only the approved snapshot with a dedicated reviewer role and matching KMS permissions
  2. Match GuardDuty events with an EventBridge rule and invoke a Step Functions workflow
  3. Record baseline access settings and include rollback steps in the incident runbook
  4. Route security paging to multiple SNS subscriptions with tested escalation ownership

Explanation

Correct Answer

A:

Cross-account encrypted snapshot access requires both snapshot sharing authorization and usable cryptographic-key permissions; it addresses the requirement to limit access to customer forensic snapshots during external review at the right security boundary during a security incident runbook exercise.

Incorrect Answers

B:

For the different objective “Route high-severity GuardDuty findings into an approved response workflow,” EventBridge matches supported security finding events, while Step Functions coordinates the ordered response steps and human approval gates; the scenario instead requires “Limit access to customer forensic snapshots during external review,” which is a separate security mechanism.

C:

A recovery path reduces operational risk when isolation rules or credential revocations affect legitimate systems; its purpose is the requirement to prepare a containment response that can be undone after false-positive verification, but the acceptance criterion in a security incident runbook exercise is the requirement to limit access to customer forensic snapshots during external review.

D:

Multiple delivery endpoints and named escalation roles prevent a single person or notification device from becoming a response bottleneck; the important distinction in a security incident runbook exercise is that this supports the requirement to keep alert delivery working if the primary incident-response operator is unavailable instead of the requirement to limit access to customer forensic snapshots during external review.

Question 25

For a Well-Architected security review, engineers have been assigned this security outcome: Detect an unexpectedly public S3 resource in a high-risk environment. What implementation best fits?

  1. Inventory security-group references and verify resource dependencies before removal
  2. Review AWS Backup coverage and vault protection against recovery objectives
  3. Use IAM credential reports and last-used evidence to plan safe deactivation
  4. Use IAM Access Analyzer findings with S3 Block Public Access guardrails
  5. Compare Cost Explorer usage trends with CloudTrail instance-launch events

Explanation

Correct Answer

D:

External-access analysis identifies exposure paths and Block Public Access can constrain accidental public configurations; it addresses the requirement to detect an unexpectedly public S3 resource in a high-risk environment at the right security boundary during a Well-Architected security review.

Incorrect Answers

A:

Unused network controls create configuration clutter, while dependency checks prevent accidental disruption of active attachments; this addresses the requirement to find old security groups that are no longer attached to workloads, not the requirement to detect an unexpectedly public S3 resource in a high-risk environment, which is needed in a Well-Architected security review.

B:

Recovery readiness requires verified backup selection, retention and restoration controls rather than relying solely on low storage cost; the important distinction in a Well-Architected security review is that this supports the requirement to evaluate whether a backup design satisfies recovery and protection requirements instead of the requirement to detect an unexpectedly public S3 resource in a high-risk environment.

C:

Credential hygiene identifies stale long-term access paths that can remain exploitable even when related compute is unused; its scope is the requirement to reduce the attack surface of abandoned access keys, rather than the requirement to detect an unexpectedly public S3 resource in a high-risk environment for a Well-Architected security review.

E:

Cost Explorer reveals consumption patterns and CloudTrail helps attribute provisioning events to caller identities; this would help with the requirement to identify an unexplained increase in EC2 runtime following unusual API activity, leaving the requirement to detect an unexpectedly public S3 resource in a high-risk environment unresolved in a Well-Architected security review.

Question 26

The central log collection migration cannot pass unless both of these outcomes are demonstrated: Observe configuration changes to security-sensitive AWS resources over time; Keep CloudWatch Logs data for a mandated finite retention interval. Which two-part plan is suitable?

  1. Enable AWS Config recording and history delivery; and use S3 Object Lock retention with appropriate mode on versioned log objects
  2. Enable AWS Config recording and history delivery; and set each relevant log group's retention policy explicitly
  3. Use S3 Object Lock retention with appropriate mode on versioned log objects; and configure the required CloudTrail service-principal bucket policy permissions
  4. Configure the required CloudTrail service-principal bucket policy permissions; and set each relevant log group's retention policy explicitly

Explanation

Correct Answer

B:

Two different security outcomes are required in this central log collection migration; Config records supported resource configuration states; CloudTrail complements it by identifying management API callers and timing supports “Observe configuration changes to security-sensitive AWS resources over time,” while Log retention settings govern when CloudWatch deletes aged events; the default can retain events indefinitely unless changed supports “Keep CloudWatch Logs data for a mandated finite retention interval”; neither check is assumed to follow from the other.

Incorrect Answers

A:

This option is only partly effective: Config records supported resource configuration states; CloudTrail complements it by identifying management API callers and timing supports “Observe configuration changes to security-sensitive AWS resources over time”; but Retention enforces per-version write-once protection; lifecycle transitions alone do not prevent early deletion supports “Prevent attackers from deleting retained audit-log versions for a required period,” not the required “Keep CloudWatch Logs data for a mandated finite retention interval” outcome.

C:

Retention enforces per-version write-once protection; lifecycle transitions alone do not prevent early deletion is pertinent to “Prevent attackers from deleting retained audit-log versions for a required period,” and Trail delivery depends on the destination policy allowing the logging service to write to the correct bucket path is pertinent to “Allow CloudTrail to deliver logs into a hardened destination bucket”; the requested controls for “Observe configuration changes to security-sensitive AWS resources over time” and “Keep CloudWatch Logs data for a mandated finite retention interval” are absent.

D:

The option has a useful control for “Keep CloudWatch Logs data for a mandated finite retention interval” because log retention settings govern when CloudWatch deletes aged events; the default can retain events indefinitely unless changed; its other control applies to “Allow CloudTrail to deliver logs into a hardened destination bucket” because trail delivery depends on the destination policy allowing the logging service to write to the correct bucket path; it misses the first requirement, “Observe configuration changes to security-sensitive AWS resources over time.”.

Question 27

Two security control owners share a storage encryption control review. One is responsible for this outcome: Allow authorized governance operators to override certain S3 retention locks. The other needs: Protect a legacy S3 Glacier vault archive against retention-policy alteration. Which implementation covers both?

  1. Use S3 Object Lock governance mode with controlled bypass permission; and configure and lock a Glacier vault access policy with Vault Lock
  2. Use S3 Object Lock governance mode with controlled bypass permission; and use S3 Object Lock in compliance mode for the required retention
  3. Apply AWS Backup Vault Lock with an appropriate configuration; and configure and lock a Glacier vault access policy with Vault Lock
  4. Use S3 Object Lock in compliance mode for the required retention; and apply AWS Backup Vault Lock with an appropriate configuration

Explanation

Correct Answer

A:

Two different security outcomes are required in this storage encryption control review; Governance-mode protection supports narrowly authorized bypass, unlike stricter compliance-mode retention supports “Allow authorized governance operators to override certain S3 retention locks,” while Glacier Vault Lock can make vault policy controls immutable after the lock process is finalized supports “Protect a legacy S3 Glacier vault archive against retention-policy alteration”; neither check is assumed to follow from the other.

Incorrect Answers

B:

This option is only partly effective: Governance-mode protection supports narrowly authorized bypass, unlike stricter compliance-mode retention supports “Allow authorized governance operators to override certain S3 retention locks”; but Compliance-mode retention cannot be shortened or removed by ordinary administrators while the retention period is active supports “Prevent changes to an S3 object version for a fixed compliance retention period,” not the required “Protect a legacy S3 Glacier vault archive against retention-policy alteration” outcome.

C:

The option has a useful control for “Protect a legacy S3 Glacier vault archive against retention-policy alteration” because glacier Vault Lock can make vault policy controls immutable after the lock process is finalized; its other control applies to “Make backups immutable for a specified period” because vault Lock enforces retention controls on protected recovery points, adding protection against destructive backup changes; it misses the first requirement, “Allow authorized governance operators to override certain S3 retention locks.”.

D:

Compliance-mode retention cannot be shortened or removed by ordinary administrators while the retention period is active is pertinent to “Prevent changes to an S3 object version for a fixed compliance retention period,” and Vault Lock enforces retention controls on protected recovery points, adding protection against destructive backup changes is pertinent to “Make backups immutable for a specified period”; the requested controls for “Allow authorized governance operators to override certain S3 retention locks” and “Protect a legacy S3 Glacier vault archive against retention-policy alteration” are absent.

Question 28

An implementation in the public application protection review must solve two separate problems, not merely strengthen one safeguard: Provide enhanced DDoS protections and response-team assistance for critical internet services; Prevent viewers from directly fetching private S3 objects behind CloudFront. Which change meets the full request?

  1. Put a CloudFront distribution in front of the supported origin; and associate a regional AWS WAF web ACL with the load balancer
  2. Associate a regional AWS WAF web ACL with the load balancer; and configure CloudFront origin access control and restrict the bucket policy
  3. Enroll eligible resources in AWS Shield Advanced; and put a CloudFront distribution in front of the supported origin
  4. Enroll eligible resources in AWS Shield Advanced; and configure CloudFront origin access control and restrict the bucket policy

Explanation

Correct Answer

D:

This pairing handles the first requirement (“Provide enhanced DDoS protections and response-team assistance for critical internet services”) because shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope; it handles the second (“Prevent viewers from directly fetching private S3 objects behind CloudFront”) because origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

Both mechanisms have legitimate uses, but for other requirements: CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests supports “Distribute incoming web traffic globally while reducing direct exposure of the origin”; WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules supports “Protect an Application Load Balancer from application-layer attack signatures”; this does not resolve the stated “Provide enhanced DDoS protections and response-team assistance for critical internet services” and “Prevent viewers from directly fetching private S3 objects behind CloudFront” findings.

B:

This solves the second problem (“Prevent viewers from directly fetching private S3 objects behind CloudFront”): Origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads; however, the first action addresses “Protect an Application Load Balancer from application-layer attack signatures”: WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules; it does not satisfy “Provide enhanced DDoS protections and response-team assistance for critical internet services.”.

C:

One action is correctly chosen for “Provide enhanced DDoS protections and response-team assistance for critical internet services”: Shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope; the companion action relates to “Distribute incoming web traffic globally while reducing direct exposure of the origin”: CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests; the other requested outcome, “Prevent viewers from directly fetching private S3 objects behind CloudFront,” remains outstanding.

Question 29

Before closing the credential and federation review, a team must demonstrate the following: Require a second authentication factor for privileged console sessions; plus Allow an external enterprise identity provider to exchange signed SAML assertions for AWS role sessions. Which paired change would complete the work?

  1. Enforce MFA on the relevant workforce or IAM sign-in pathway; and use Cognito identity pools to exchange supported identities for AWS credentials
  2. Enforce MFA on the relevant workforce or IAM sign-in pathway; and configure an IAM SAML identity provider and trusting role
  3. Use Cognito identity pools to exchange supported identities for AWS credentials; and federate workforce access through IAM Identity Center
  4. Federate workforce access through IAM Identity Center; and configure an IAM SAML identity provider and trusting role

Explanation

Correct Answer

B:

The implementation has a specific control for each objective: MFA adds possession or another factor to the authentication step and limits damage from a password-only compromise for “Require a second authentication factor for privileged console sessions”; STS can issue temporary role credentials when a properly configured SAML trust relationship accepts the assertion for “Allow an external enterprise identity provider to exchange signed SAML assertions for AWS role sessions”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first check would be covered, since MFA adds possession or another factor to the authentication step and limits damage from a password-only compromise; yet the second choice is associated with “Give an authenticated mobile user limited temporary AWS permissions,” for which identity pools broker temporary AWS credentials through roles for application users, distinct from user-pool authentication itself; no corresponding control satisfies “Allow an external enterprise identity provider to exchange signed SAML assertions for AWS role sessions.”.

C:

The first proposed action addresses “Give an authenticated mobile user limited temporary AWS permissions”: Identity pools broker temporary AWS credentials through roles for application users, distinct from user-pool authentication itself; the second addresses “Give employees single sign-on to multiple AWS accounts using an existing corporate identity provider”: Identity Center integrates a workforce identity source with permission sets that provision account access without creating separate long-term IAM users; the combination does not achieve the required “Require a second authentication factor for privileged console sessions” and “Allow an external enterprise identity provider to exchange signed SAML assertions for AWS role sessions” outcomes in this credential and federation review.

D:

While STS can issue temporary role credentials when a properly configured SAML trust relationship accepts the assertion is relevant to “Allow an external enterprise identity provider to exchange signed SAML assertions for AWS role sessions,” the other component targets “Give employees single sign-on to multiple AWS accounts using an existing corporate identity provider,” where identity Center integrates a workforce identity source with permission sets that provision account access without creating separate long-term IAM users; the first acceptance criterion (“Require a second authentication factor for privileged console sessions”) is not met.

Question 30

A security review for a network and application telemetry plan identifies one priority: Prevent attackers from deleting retained audit-log versions for a required period. Which control is the best choice?

  1. Use S3 Object Lock retention with appropriate mode on versioned log objects
  2. Configure the required CloudTrail service-principal bucket policy permissions
  3. Apply an S3 Lifecycle transition policy to the log archive
  4. Set each relevant log group's retention policy explicitly

Explanation

Correct Answer

A:

Retention enforces per-version write-once protection; lifecycle transitions alone do not prevent early deletion; it addresses the requirement to prevent attackers from deleting retained audit-log versions for a required period at the right security boundary during a network and application telemetry plan.

Incorrect Answers

B:

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 prevent attackers from deleting retained audit-log versions for a required period unresolved in a network and application telemetry plan.

C:

Lifecycle rules transition or expire object versions under configured conditions; immutability requirements must be handled separately; this would help with the requirement to archive security logs at lower storage cost after the investigation window, leaving the requirement to prevent attackers from deleting retained audit-log versions for a required period unresolved in a network and application telemetry plan.

D:

Log retention settings govern when CloudWatch deletes aged events; the default can retain events indefinitely unless changed; this would help with the requirement to keep CloudWatch Logs data for a mandated finite retention interval, leaving the requirement to prevent attackers from deleting retained audit-log versions for a required period unresolved in a network and application telemetry plan.

AWS Certified Security - Specialty SCS-C03 Practice Tests