Question 360

A change request in the credential and federation review will be approved only if it delivers both outcomes: Invalidate a leaked IAM access key immediately; Determine which IAM user password was used for an unexpected console session. What should be included?

  1. Use an IAM role attached through an EC2 instance profile; and configure a least-privilege Lambda execution role
  2. Configure a least-privilege Lambda execution role; and analyze CloudTrail ConsoleLogin records and sign-in context
  3. Deactivate the compromised key in IAM and replace it securely; and use an IAM role attached through an EC2 instance profile
  4. Deactivate the compromised key in IAM and replace it securely; and analyze CloudTrail ConsoleLogin records and sign-in context

Explanation

Correct Answer

D:

For the first acceptance test, “Invalidate a leaked IAM access key immediately,” disabling the access key prevents subsequent requests signed with that key while preserving an incident record and permitting a controlled replacement; for the second, “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 proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

A:

Neither action is targeted at the two acceptance tests: IMDS v2 can deliver temporary role credentials under the instance profile rather than an administrator-managed permanent key is about “Avoid storing static access keys in an EC2 application,” and Lambda assumes its execution role to call AWS services; the function should not carry hardcoded access keys is about “Ensure a Lambda function has temporary AWS credentials scoped to its own operation”; the intended “Invalidate a leaked IAM access key immediately” and “Determine which IAM user password was used for an unexpected console session” requirements remain unsatisfied.

B:

The mechanism for “Determine which IAM user password was used for an unexpected console session” is present: Console authentication events help attribute sign-ins, while downstream authorization decisions require reviewing the session's policies; the additional mechanism relates to “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; nothing here completes “Invalidate a leaked IAM access key immediately.”.

C:

Disabling the access key prevents subsequent requests signed with that key while preserving an incident record and permitting a controlled replacement supports the “Invalidate a leaked IAM access key immediately” acceptance test; IMDS v2 can deliver temporary role credentials under the instance profile rather than an administrator-managed permanent key is pertinent to “Avoid storing static access keys in an EC2 application” instead; the change therefore omits the separate requirement “Determine which IAM user password was used for an unexpected console session.”.

Question 361

The active security incident investigation has two control objectives. Requirement one: Reconstruct an incident timeline from management and data-plane evidence. Requirement two: Limit broad lateral movement while patching a compromised service tier. Which design passes both checks?

  1. Run a game-day exercise with predefined success and rollback criteria; and send audit records from the forensic account to a protected CloudTrail trail
  2. Send audit records from the forensic account to a protected CloudTrail trail; and segment the workload with dedicated security groups and narrowly required ports
  3. Correlate CloudTrail events with timestamps and logged resource identifiers; and run a game-day exercise with predefined success and rollback criteria
  4. Correlate CloudTrail events with timestamps and logged resource identifiers; and segment the workload with dedicated security groups and narrowly required ports

Explanation

Correct Answer

D:

The first control addresses the check “Reconstruct an incident timeline from management and data-plane evidence”: Combining actor and resource fields across enabled event types makes a defensible timeline possible despite differences in event-delivery timing; the other addresses “Limit broad lateral movement while patching a compromised service tier”: Network segmentation restricts east-west paths instead of depending on a single perimeter control; these two mechanisms cover the complete active security incident investigation.

Incorrect Answers

A:

The first action belongs to “Measure whether a documented incident playbook actually works” because rehearsals expose missing permissions, notification gaps, and automation failure modes before a live security event; the second belongs to “Confirm which forensic AWS API actions investigators performed” because independent API activity logging makes evidence handling reviewable, including who changed artifact access or retention settings; these are not the required checks, “Reconstruct an incident timeline from management and data-plane evidence” and “Limit broad lateral movement while patching a compromised service tier.”.

B:

Network segmentation restricts east-west paths instead of depending on a single perimeter control; this fulfills the second objective (“Limit broad lateral movement while patching a compromised service tier”); the other action is intended for “Confirm which forensic AWS API actions investigators performed”: Independent API activity logging makes evidence handling reviewable, including who changed artifact access or retention settings; it does not meet the requested “Reconstruct an incident timeline from management and data-plane evidence” check.

C:

Combining actor and resource fields across enabled event types makes a defensible timeline possible despite differences in event-delivery timing; this is relevant to the first objective (“Reconstruct an incident timeline from management and data-plane evidence”); however, the other action is meant for “Measure whether a documented incident playbook actually works”: Rehearsals expose missing permissions, notification gaps, and automation failure modes before a live security event; it leaves the required “Limit broad lateral movement while patching a compromised service tier” behavior unimplemented.

Question 362

A review board evaluating the multi-account infrastructure deployment rejects fixes that cover just one requirement. The requirements are: Share a supported network resource with other member accounts without duplicating it; and Group AWS resources using consistent key-value business metadata. Which configuration addresses both?

  1. Publish governed AWS Service Catalog products and portfolios; and define and enforce a tagging strategy with AWS Organizations tag policies where applicable
  2. Use AWS Resource Groups with matching resource tags; and publish governed AWS Service Catalog products and portfolios
  3. Use AWS Resource Access Manager with explicit shares; and define and enforce a tagging strategy with AWS Organizations tag policies where applicable
  4. Use AWS Resource Access Manager with explicit shares; and use AWS Resource Groups with matching resource tags

Explanation

Correct Answer

C:

For “Share a supported network resource with other member accounts without duplicating it,” the governing behavior is: RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls; for the separate check “Group AWS resources using consistent key-value business metadata,” it is: Tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

Only the second requirement is covered: Tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation supports “Group AWS resources using consistent key-value business metadata”; by contrast, Service Catalog constrains provisioned products through approved definitions and access assignments rather than unrestricted console creation concerns “Offer only approved infrastructure products to application teams,” leaving “Share a supported network resource with other member accounts without duplicating it” unresolved.

B:

This combination targets different outcomes: Resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries helps with “Manage a fleet of AWS instances as an operational grouping without a new account”; Service Catalog constrains provisioned products through approved definitions and access assignments rather than unrestricted console creation helps with “Offer only approved infrastructure products to application teams”; neither implements the required “Share a supported network resource with other member accounts without duplicating it” and “Group AWS resources using consistent key-value business metadata” outcomes together.

D:

The first part is appropriate for “Share a supported network resource with other member accounts without duplicating it” because RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls; the second part addresses a different issue (“Manage a fleet of AWS instances as an operational grouping without a new account”) because resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries; it does not fulfill the “Group AWS resources using consistent key-value business metadata” test.

Question 363

Two security control owners share a public application protection review. One is responsible for this outcome: Prevent all public access to an internal API endpoint. The other needs: Enforce a narrow set of IP ranges for public HTTP clients. Which implementation covers both?

  1. Configure the CloudFront viewer protocol policy to redirect or require HTTPS; and enable Route 53 domain transfer lock where applicable
  2. Enable Route 53 domain transfer lock where applicable; and apply an AWS WAF IP set match condition on the front-end web ACL
  3. Use API Gateway private endpoint access with an appropriate resource policy; and configure the CloudFront viewer protocol policy to redirect or require HTTPS
  4. Use API Gateway private endpoint access with an appropriate resource policy; and apply an AWS WAF IP set match condition on the front-end web ACL

Explanation

Correct Answer

D:

Two different security outcomes are required in this public application protection review; A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL supports “Prevent all public access to an internal API endpoint,” while IP sets match the configured client addresses, whereas DNS routing records do not filter application requests supports “Enforce a narrow set of IP ranges for public HTTP clients”; neither check is assumed to follow from the other.

Incorrect Answers

A:

The viewer-side protocol policy governs HTTP-to-HTTPS behavior independently of origin protocol configuration is pertinent to “Require viewer connections to a CloudFront distribution to use HTTPS,” and Transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule is pertinent to “Protect against unwanted DNS redirection through domain management”; the requested controls for “Prevent all public access to an internal API endpoint” and “Enforce a narrow set of IP ranges for public HTTP clients” are absent.

B:

The option has a useful control for “Enforce a narrow set of IP ranges for public HTTP clients” because IP sets match the configured client addresses, whereas DNS routing records do not filter application requests; its other control applies to “Protect against unwanted DNS redirection through domain management” because transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule; it misses the first requirement, “Prevent all public access to an internal API endpoint.”.

C:

This option is only partly effective: A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL supports “Prevent all public access to an internal API endpoint”; but The viewer-side protocol policy governs HTTP-to-HTTPS behavior independently of origin protocol configuration supports “Require viewer connections to a CloudFront distribution to use HTTPS,” not the required “Enforce a narrow set of IP ranges for public HTTP clients” outcome.

Question 364

A security review for a suspicious API activity review identifies one priority: Identify a denied subnet connection from recorded network-flow dispositions. Which control is the best choice?

  1. Examine supported KMS API activity in CloudTrail management events
  2. Create a metric filter from the log pattern and alarm on its resulting metric
  3. Define a compatible schema and query the S3 archive with Athena
  4. Filter VPC Flow Logs by REJECT entries and source/destination details
  5. Query WAF logs for the matched rule and terminating action

Explanation

Correct Answer

D:

Flow metadata includes action and addresses for supported traffic, supporting triage of network policy outcomes; it addresses the requirement to identify a denied subnet connection from recorded network-flow dispositions at the right security boundary during a suspicious API activity review.

Incorrect Answers

A:

For the different objective “Audit how a customer-managed KMS key has been used by AWS callers,” CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes; the scenario instead requires “Identify a denied subnet connection from recorded network-flow dispositions,” which is a separate security mechanism.

B:

Metric filters convert qualifying records to numeric series for continuous alerting after the pattern is understood; its purpose is the requirement to reduce repeated manual searches for a frequent CloudWatch log anomaly, but the acceptance criterion in a suspicious API activity review is the requirement to identify a denied subnet connection from recorded network-flow dispositions.

C:

Structured SQL analysis depends on matching the stored JSON layout; no console event-history filter will parse arbitrary archived app logs; its scope is the requirement to analyze archived JSON logs with predictable parsing rather than manual grep, rather than the requirement to identify a denied subnet connection from recorded network-flow dispositions for a suspicious API activity review.

E:

WAF logs identify web ACL evaluation outcomes and request attributes at the HTTP filtering layer; this would help with the requirement to find which WAF rule blocked a specific web request, leaving the requirement to identify a denied subnet connection from recorded network-flow dispositions unresolved in a suspicious API activity review.

Question 365

For a TLS certificate and endpoint review, engineers have been assigned this security outcome: Connect a corporate network to AWS using encrypted tunnels. What implementation best fits?

  1. Set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy
  2. Use Systems Manager Session Manager with secure endpoints and authorized session roles
  3. Use AWS Site-to-Site VPN with IPsec and resilient tunnel configuration
  4. Associate an ACM certificate with the supported API Gateway custom domain
  5. Add a bucket policy deny conditioned on aws:SecureTransport being false

Explanation

Correct Answer

C:

IPsec provides encryption and authentication for the supported gateway-to-gateway path over the selected underlying connectivity; this behavior fulfills the requirement to connect a corporate network to AWS using encrypted tunnels during 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 “Connect a corporate network to AWS using encrypted tunnels,” which is a separate security mechanism.

B:

Session Manager provides an audited management channel without relying on a publicly reachable SSH service; this addresses the requirement to avoid opening inbound SSH ports for remote EC2 administration, not the requirement to connect a corporate network to AWS using encrypted tunnels, which is needed in a TLS certificate and endpoint review.

D:

The custom domain's TLS certificate enables verified HTTPS client connections; authorizers and resource policies remain separate access controls; this addresses the requirement to serve HTTPS API Gateway custom-domain traffic with managed certificates, not the requirement to connect a corporate network to AWS using encrypted tunnels, which is needed in a TLS certificate and endpoint review.

E:

Transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest; this addresses the requirement to require client connections to an S3 bucket to use TLS, not the requirement to connect a corporate network to AWS using encrypted tunnels, which is needed in a TLS certificate and endpoint review.

Question 366

During an AWS workload credential management review, the security team has this work item: Authenticate mobile-app end users without granting them AWS account user identities. Which AWS action is the most direct implementation?

  1. Use STS AssumeRole with a cross-account role trust policy
  2. Use Cognito identity pools to exchange supported identities for AWS credentials
  3. Use Amazon Cognito user pools for application authentication
  4. Enforce MFA on the relevant workforce or IAM sign-in pathway

Explanation

Correct Answer

C:

User pools handle application-user sign-up and sign-in, separating consumer identity from workforce IAM account administration; this behavior fulfills the requirement to authenticate mobile-app end users without granting them AWS account user identities during an AWS workload credential management review.

Incorrect Answers

A:

For the different objective “Run a workload in a different account without storing destination-account access keys,” assumeRole issues expiring credentials for a trusted principal, and the assumed role's permissions determine permitted destination actions; the scenario instead requires “Authenticate mobile-app end users without granting them AWS account user identities,” which is a separate security mechanism.

B:

Identity pools broker temporary AWS credentials through roles for application users, distinct from user-pool authentication itself; this would help with the requirement to give an authenticated mobile user limited temporary AWS permissions, leaving the requirement to authenticate mobile-app end users without granting them AWS account user identities unresolved in an AWS workload credential management review.

D:

MFA adds possession or another factor to the authentication step and limits damage from a password-only compromise; this addresses the requirement to require a second authentication factor for privileged console sessions, not the requirement to authenticate mobile-app end users without granting them AWS account user identities, which is needed in an AWS workload credential management review.

Question 367

In a private VPC segmentation project, a control owner must address the following requirement: Prevent a Lambda function in a VPC from having unnecessary internet egress. Which option should be selected?

  1. Use VPC Network Access Analyzer with a defined access scope
  2. Restrict Lambda's VPC security group and egress routes
  3. Configure AWS Firewall Manager security-group policies
  4. Configure VPC Traffic Mirroring to an approved traffic analysis target

Explanation

Correct Answer

B:

VPC-connected Lambda traffic follows configured network controls; attachment alone does not grant general outbound internet access; that AWS behavior meets the requirement to prevent a Lambda function in a VPC from having unnecessary internet egress, the decisive objective for a private VPC segmentation project.

Incorrect Answers

A:

Network Access Analyzer checks configured resource paths against network access requirements rather than sampling live packets; this would help with the requirement to assess whether a prohibited network path is possible before deployment, leaving the requirement to prevent a Lambda function in a VPC from having unnecessary internet egress unresolved in a private VPC segmentation project.

C:

Firewall Manager applies centralized security policy management to in-scope accounts and resources, subject to organizational prerequisites; this would help with the requirement to enforce uniform security-group policies across a multi-account organization, leaving the requirement to prevent a Lambda function in a VPC from having unnecessary internet egress unresolved in a private VPC segmentation project.

D:

Traffic Mirroring captures packet copies from supported ENIs, unlike Flow Logs which only publish traffic metadata; its purpose is the requirement to record mirrored packets from an EC2 network interface for deep analysis, but the acceptance criterion in a private VPC segmentation project is the requirement to prevent a Lambda function in a VPC from having unnecessary internet egress.

Question 368

An architect is reviewing a forensic readiness checklist. The acceptance criterion reads: Preapprove repeatable patch and quarantine operations before an incident. Which approach satisfies it?

  1. Prepare Systems Manager Automation runbooks with restricted execution roles
  2. Create an EBS snapshot and restrict its sharing and KMS access
  3. Match GuardDuty events with an EventBridge rule and invoke a Step Functions workflow
  4. Attach a restrictive isolation security group and verify existing connections

Explanation

Correct Answer

A:

Automation documents implement consistent response actions and IAM constrains who can start them or affect target resources; that AWS behavior meets the requirement to preapprove repeatable patch and quarantine operations before an incident, the decisive objective for a forensic readiness checklist.

Incorrect Answers

B:

A snapshot preserves the volume's blocks for forensic analysis, with access to an encrypted copy controlled by the relevant KMS key permissions; this would help with the requirement to preserve an encrypted EBS volume's point-in-time contents before destructive remediation, leaving the requirement to preapprove repeatable patch and quarantine operations before an incident unresolved in a forensic readiness checklist.

C:

EventBridge matches supported security finding events, while Step Functions coordinates the ordered response steps and human approval gates; the important distinction in a forensic readiness checklist is that this supports the requirement to route high-severity GuardDuty findings into an approved response workflow instead of the requirement to preapprove repeatable patch and quarantine operations before an incident.

D:

Security groups constrain permitted instance traffic, but stateful connection tracking must be considered when isolating sessions already established; its purpose is the requirement to prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions, but the acceptance criterion in a forensic readiness checklist is the requirement to preapprove repeatable patch and quarantine operations before an incident.

Question 369

An implementation in the compliance evidence and drift review must solve two separate problems, not merely strengthen one safeguard: Run organization-level compliance checks on many accounts; Collect control evidence for audits from multiple AWS services. Which change meets the full request?

  1. Enable an appropriate AWS Config managed rule and compliance evaluation; and run Amazon Macie sensitive-data discovery jobs
  2. Run Amazon Macie sensitive-data discovery jobs; and use AWS Audit Manager assessments and evidence collection
  3. Configure AWS Config organization rules or conformance packs where supported; and enable an appropriate AWS Config managed rule and compliance evaluation
  4. Configure AWS Config organization rules or conformance packs where supported; and use AWS Audit Manager assessments and evidence collection

Explanation

Correct Answer

D:

This pairing handles the first requirement (“Run organization-level compliance checks on many accounts”) because organization-wide configuration evaluations provide a shared control definition across participating accounts; it handles the second (“Collect control evidence for audits from multiple AWS services”) because audit Manager organizes evidence against configured control frameworks but does not itself certify legal compliance; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

Both mechanisms have legitimate uses, but for other requirements: Config rules evaluate recorded resource configurations against expected controls and report compliance states supports “Detect when an S3 bucket deviates from an encryption baseline”; Macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls supports “Identify sensitive personal data in S3 archives”; this does not resolve the stated “Run organization-level compliance checks on many accounts” and “Collect control evidence for audits from multiple AWS services” findings.

B:

This solves the second problem (“Collect control evidence for audits from multiple AWS services”): Audit Manager organizes evidence against configured control frameworks but does not itself certify legal compliance; however, the first action addresses “Identify sensitive personal data in S3 archives”: Macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls; it does not satisfy “Run organization-level compliance checks on many accounts.”.

C:

One action is correctly chosen for “Run organization-level compliance checks on many accounts”: Organization-wide configuration evaluations provide a shared control definition across participating accounts; the companion action relates to “Detect when an S3 bucket deviates from an encryption baseline”: Config rules evaluate recorded resource configurations against expected controls and report compliance states; the other requested outcome, “Collect control evidence for audits from multiple AWS services,” remains outstanding.

Question 370

In a monitoring and alerting baseline review, a control owner must address the following requirement: Alert on unusual spending that may indicate unauthorized resource provisioning. Which option should be selected?

  1. Configure AWS Cost Anomaly Detection notifications
  2. Match CloudTrail management API events using an EventBridge rule
  3. Create a CloudWatch Logs metric filter for relevant CloudTrail sign-in events and an alarm
  4. Configure Security Hub aggregation and insights

Explanation

Correct Answer

A:

Cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads; that AWS behavior meets the requirement to alert on unusual spending that may indicate unauthorized resource provisioning, the decisive objective for a monitoring and alerting baseline review.

Incorrect Answers

B:

CloudTrail supplies the control-plane event details and EventBridge evaluates an event pattern to trigger notification or a remediation target; this would help with the requirement to notify operators after an IAM policy is modified in a sensitive account, leaving the requirement to alert on unusual spending that may indicate unauthorized resource provisioning unresolved in a monitoring and alerting baseline review.

C:

Metric filters extract counts from matching log records; alarms evaluate the resulting metric against a threshold; this would help with the requirement to raise an alert after repeated failed root-user console attempts, leaving the requirement to alert on unusual spending that may indicate unauthorized resource provisioning unresolved in a monitoring and alerting baseline review.

D:

Security Hub consolidates supported security findings and groups them by operational properties for investigation; this addresses the requirement to create a consolidated high-severity security finding view across integrated detectors, not the requirement to alert on unusual spending that may indicate unauthorized resource provisioning, which is needed in a monitoring and alerting baseline review.

AWS Certified Security - Specialty SCS-C03 Practice Tests