Question 350

For an edge-service protection design, engineers have been assigned this security outcome: Distribute incoming web traffic globally while reducing direct exposure of the origin. What implementation best fits?

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

Explanation

Correct Answer

A:

CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests; that AWS behavior meets the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin, the decisive objective for an edge-service protection design.

Incorrect Answers

B:

Origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads; this addresses the requirement to prevent viewers from directly fetching private S3 objects behind CloudFront, not the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin, which is needed in an edge-service protection design.

C:

WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules; this addresses the requirement to protect an Application Load Balancer from application-layer attack signatures, not the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin, which is needed in an edge-service protection design.

D:

Shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope; its purpose is the requirement to provide enhanced DDoS protections and response-team assistance for critical internet services, but the acceptance criterion in an edge-service protection design is the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin.

Question 351

Two security control owners share a CloudWatch alerting deployment. One is responsible for this outcome: Compare workload CPU spikes with suspicious outbound behavior on a single dashboard. The other needs: Escalate only sustained error rates rather than transient one-minute spikes. Which implementation covers both?

  1. Build a CloudWatch dashboard using EC2 metrics and relevant custom or log-derived metrics; and publish a custom metric with consistent namespace and dimensions
  2. Build a CloudWatch dashboard using EC2 metrics and relevant custom or log-derived metrics; and set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
  3. Publish a custom metric with consistent namespace and dimensions; and forward structured application events into CloudWatch Logs
  4. Forward structured application events into CloudWatch Logs; and set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately

Explanation

Correct Answer

B:

Two different security outcomes are required in this CloudWatch alerting deployment; Dashboards display multiple time series for correlation without themselves blocking network requests supports “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard,” while Alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required supports “Escalate only sustained error rates rather than transient one-minute spikes”; neither check is assumed to follow from the other.

Incorrect Answers

A:

This option is only partly effective: Dashboards display multiple time series for correlation without themselves blocking network requests supports “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard”; but Custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically supports “Report a custom application's failed-login count as a CloudWatch time series,” not the required “Escalate only sustained error rates rather than transient one-minute spikes” outcome.

C:

Custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically is pertinent to “Report a custom application's failed-login count as a CloudWatch time series,” and Log groups and streams collect application messages; metric filters and Logs Insights can then analyze the stored entries is pertinent to “Provide application logs for real-time filtering and alarms”; the requested controls for “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard” and “Escalate only sustained error rates rather than transient one-minute spikes” are absent.

D:

The option has a useful control for “Escalate only sustained error rates rather than transient one-minute spikes” because alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required; its other control applies to “Provide application logs for real-time filtering and alarms” because log groups and streams collect application messages; metric filters and Logs Insights can then analyze the stored entries; it misses the first requirement, “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard.”.

Question 352

An assessment of the private network troubleshooting exercise has two findings. Finding one: Check a suspected DNS resolver misuse using query names rather than just IP flows. Finding two: Identify suspicious payload signatures crossing an EC2 interface. Which combination remediates both?

  1. Verify symmetric routing through AWS Network Firewall endpoints; and capture copies through VPC Traffic Mirroring for packet inspection
  2. Inspect the effective subnet route table and propagation sources; and verify symmetric routing through AWS Network Firewall endpoints
  3. Review Route 53 Resolver query logging; and capture copies through VPC Traffic Mirroring for packet inspection
  4. Review Route 53 Resolver query logging; and inspect the effective subnet route table and propagation sources

Explanation

Correct Answer

C:

The implementation has a specific control for each objective: DNS query logs provide names and query context that basic flow summaries cannot reconstruct for “Check a suspected DNS resolver misuse using query names rather than just IP flows”; Packet mirroring supports protocol-level inspection, whereas VPC Flow Logs lack packet payload bytes for “Identify suspicious payload signatures crossing an EC2 interface”; the combined option satisfies the two-part request.

Incorrect Answers

A:

While packet mirroring supports protocol-level inspection, whereas VPC Flow Logs lack packet payload bytes is relevant to “Identify suspicious payload signatures crossing an EC2 interface,” the other component targets “Diagnose missing outbound connectivity from a network firewall deployment,” where stateful inspection depends on traffic traversing the required firewall path; asymmetric routing can disrupt state tracking; the first acceptance criterion (“Check a suspected DNS resolver misuse using query names rather than just IP flows”) is not met.

B:

The first proposed action addresses “Identify an incorrect destination CIDR in a network route table”: Routing decisions use destination prefixes and target selection; security-group rules cannot compensate for an incorrect next hop; the second addresses “Diagnose missing outbound connectivity from a network firewall deployment”: Stateful inspection depends on traffic traversing the required firewall path; asymmetric routing can disrupt state tracking; the combination does not achieve the required “Check a suspected DNS resolver misuse using query names rather than just IP flows” and “Identify suspicious payload signatures crossing an EC2 interface” outcomes in this private network troubleshooting exercise.

D:

The first check would be covered, since DNS query logs provide names and query context that basic flow summaries cannot reconstruct; yet the second choice is associated with “Identify an incorrect destination CIDR in a network route table,” for which routing decisions use destination prefixes and target selection; security-group rules cannot compensate for an incorrect next hop; no corresponding control satisfies “Identify suspicious payload signatures crossing an EC2 interface.”.

Question 353

An architect is reviewing a cryptographic data-integrity project. The acceptance criterion reads: Allow authorized governance operators to override certain S3 retention locks. Which approach satisfies it?

  1. Verify a cryptographic checksum or digital signature from a trusted source
  2. Apply AWS Backup Vault Lock with an appropriate configuration
  3. Configure and lock a Glacier vault access policy with Vault Lock
  4. Use S3 Object Lock governance mode with controlled bypass permission

Explanation

Correct Answer

D:

Governance-mode protection supports narrowly authorized bypass, unlike stricter compliance-mode retention; it addresses the requirement to allow authorized governance operators to override certain S3 retention locks at the right security boundary during a cryptographic data-integrity project.

Incorrect Answers

A:

Hashes and verified signatures detect changed bytes; they do not themselves encrypt the file's contents; its purpose is the requirement to detect tampering of a downloaded file without requiring confidentiality, but the acceptance criterion in a cryptographic data-integrity project is the requirement to allow authorized governance operators to override certain S3 retention locks.

B:

Vault Lock enforces retention controls on protected recovery points, adding protection against destructive backup changes; its scope is the requirement to make backups immutable for a specified period, rather than the requirement to allow authorized governance operators to override certain S3 retention locks for a cryptographic data-integrity project.

C:

Glacier Vault Lock can make vault policy controls immutable after the lock process is finalized; this would help with the requirement to protect a legacy S3 Glacier vault archive against retention-policy alteration, leaving the requirement to allow authorized governance operators to override certain S3 retention locks unresolved in a cryptographic data-integrity project.

Question 354

During an AWS workload credential management review, the security team has this work item: A principal's temporary role credentials expire during a long-running process. Which AWS action is the most direct implementation?

  1. Inspect the role trust policy, provider identifier, and assertion conditions
  2. Correct the identity provider client ID and role trust audience condition
  3. Adjust role session duration within allowed constraints and refresh credentials
  4. Check IAM Identity Center account assignments and permission sets

Explanation

Correct Answer

C:

STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys; that AWS behavior meets the reported condition: a principal's temporary role credentials expire during a long-running process, the decisive objective for an AWS workload credential management review.

Incorrect Answers

A:

For the different objective “A federated role fails to assume despite the user being authenticated with a corporate identity,” authentication to the IdP does not automatically authorize STS role assumption; the trust must match the federation claims; the scenario instead requires “A principal's temporary role credentials expire during a long-running process,” which is a separate security mechanism.

B:

OIDC federation relies on token claims satisfying the trust policy, including the expected audience; this would help with the reported condition: an OIDC role assumption is denied because the token audience does not match, leaving the reported condition: a principal's temporary role credentials expire during a long-running process unresolved in an AWS workload credential management review.

D:

Authentication to the portal alone grants no account entitlement until an assignment connects the principal and permission set; this addresses the reported condition: a worker's federated portal login succeeds but no target account is listed, not the reported condition: a principal's temporary role credentials expire during a long-running process, which is needed in an AWS workload credential management review.

Question 355

A review board evaluating the incident response rehearsal rejects fixes that cover just one requirement. The requirements are: Recover a known-good workload after an incident while retaining compromised images for evidence; and Stop further use of a disclosed IAM user's long-term API key. Which configuration addresses both?

  1. Launch replacement capacity from a verified hardened AMI; and deactivate the affected access key and replace it through a controlled process
  2. Launch replacement capacity from a verified hardened AMI; and route the finding event through EventBridge to an SNS topic
  3. Assign its execution role only the actions and resources needed by the runbook; and deactivate the affected access key and replace it through a controlled process
  4. Route the finding event through EventBridge to an SNS topic; and assign its execution role only the actions and resources needed by the runbook

Explanation

Correct Answer

A:

For “Recover a known-good workload after an incident while retaining compromised images for evidence,” the governing behavior is: Rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated; for the separate check “Stop further use of a disclosed IAM user's long-term API key,” it is: An inactive access key cannot authenticate future signed API requests, allowing responders to eliminate the exposed credential while tracing historical use; this is why the two controls belong together in the proposed change.

Incorrect Answers

B:

The first part is appropriate for “Recover a known-good workload after an incident while retaining compromised images for evidence” because rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated; the second part addresses a different issue (“Send incident alerts to an on-call distribution group after matching a security finding”) because SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; it does not fulfill the “Stop further use of a disclosed IAM user's long-term API key” test.

C:

Only the second requirement is covered: An inactive access key cannot authenticate future signed API requests, allowing responders to eliminate the exposed credential while tracing historical use supports “Stop further use of a disclosed IAM user's long-term API key”; by contrast, Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused concerns “Prevent a response Lambda from having blanket administrator privileges,” leaving “Recover a known-good workload after an incident while retaining compromised images for evidence” unresolved.

D:

This combination targets different outcomes: SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention helps with “Send incident alerts to an on-call distribution group after matching a security finding”; Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused helps with “Prevent a response Lambda from having blanket administrator privileges”; neither implements the required “Recover a known-good workload after an incident while retaining compromised images for evidence” and “Stop further use of a disclosed IAM user's long-term API key” outcomes together.

Question 356

In a workload risk assessment, a control owner must address the following requirement: Find security design gaps against AWS architecture best practices. Which option should be selected?

  1. Correlate IAM Access Analyzer exposure with network reachability assessments
  2. Record prioritized Security pillar improvement actions and revisit open risks in the Well-Architected Tool
  3. Configure AWS Cost Anomaly Detection monitoring
  4. Review the Security pillar in AWS Well-Architected Tool
  5. Review AWS Trusted Advisor and Cost Explorer utilization signals

Explanation

Correct Answer

D:

The tool guides a structured workload review and produces improvement guidance based on pillar questions; this is the direct solution to the requirement to find security design gaps against AWS architecture best practices in a workload risk assessment.

Incorrect Answers

A:

Policy exposure and network path analysis reveal different ways resources could be reachable by unintended parties; the important distinction in a workload risk assessment is that this supports the requirement to prioritize publicly exposed resources found during an architectural security review instead of the requirement to find security design gaps against AWS architecture best practices.

B:

A documented improvement plan turns review findings into tracked mitigation decisions instead of treating the questionnaire as a one-time score; this addresses the requirement to track closure of previously identified architecture security risks over multiple reviews, not the requirement to find security design gaps against AWS architecture best practices, which is needed in a workload risk assessment.

C:

Abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise; this addresses the requirement to detect unexpected cost growth that might reflect compromised compute workloads, not the requirement to find security design gaps against AWS architecture best practices, which is needed in a workload risk assessment.

E:

Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment; the important distinction in a workload risk assessment is that this supports the requirement to spot unused or idle infrastructure that unnecessarily expands attack surface instead of the requirement to find security design gaps against AWS architecture best practices.

Question 357

An implementation in the public application protection review must solve two separate problems, not merely strengthen one safeguard: Enforce a narrow set of IP ranges for public HTTP clients; Protect against unwanted DNS redirection through domain management. Which change meets the full request?

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

Explanation

Correct Answer

C:

This pairing handles the first requirement (“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; it handles the second (“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; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

This solves the second problem (“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; however, the first action addresses “Require viewer connections to a CloudFront distribution to use HTTPS”: The viewer-side protocol policy governs HTTP-to-HTTPS behavior independently of origin protocol configuration; it does not satisfy “Enforce a narrow set of IP ranges for public HTTP clients.”.

B:

Both mechanisms have legitimate uses, but for other requirements: 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”; 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”; this does not resolve the stated “Enforce a narrow set of IP ranges for public HTTP clients” and “Protect against unwanted DNS redirection through domain management” findings.

D:

One action is correctly chosen for “Enforce a narrow set of IP ranges for public HTTP clients”: IP sets match the configured client addresses, whereas DNS routing records do not filter application requests; the companion action relates to “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 other requested outcome, “Protect against unwanted DNS redirection through domain management,” remains outstanding.

Question 358

Before closing the logging access troubleshooting session, a team must demonstrate the following: A Kinesis Firehose delivery stream cannot write log objects to S3; plus A destination bucket accepts logs but investigators cannot read them. Which paired change would complete the work?

  1. Fix the delivery role's S3 write and applicable KMS permissions; and add restrictive bucket controls and object retention, not just lifecycle rules
  2. Fix the delivery role's S3 write and applicable KMS permissions; and grant least-privilege S3 object read access and any required KMS decrypt rights
  3. Add restrictive bucket controls and object retention, not just lifecycle rules; and confirm the trail is an organization trail and organizational settings are active
  4. Confirm the trail is an organization trail and organizational settings are active; and grant least-privilege S3 object read access and any required KMS decrypt rights

Explanation

Correct Answer

B:

The implementation has a specific control for each objective: The Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer for “A Kinesis Firehose delivery stream cannot write log objects to S3”; Successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers for “A destination bucket accepts logs but investigators cannot read them”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first check would be covered, since the Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer; yet the second choice is associated with “An S3 log archive is editable by identities outside the security account,” for which access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it; no corresponding control satisfies “A destination bucket accepts logs but investigators cannot read them.”.

C:

The first proposed action addresses “An S3 log archive is editable by identities outside the security account”: Access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it; the second addresses “An organization trail omits a recently joined account's events”: A standard account trail does not automatically provide comprehensive member-account management coverage across an organization; the combination does not achieve the required “A Kinesis Firehose delivery stream cannot write log objects to S3” and “A destination bucket accepts logs but investigators cannot read them” outcomes in this logging access troubleshooting session.

D:

While successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers is relevant to “A destination bucket accepts logs but investigators cannot read them,” the other component targets “An organization trail omits a recently joined account's events,” where A standard account trail does not automatically provide comprehensive member-account management coverage across an organization; the first acceptance criterion (“A Kinesis Firehose delivery stream cannot write log objects to S3”) is not met.

Question 359

An assessment of the traffic encryption assessment has two findings. Finding one: Protect inbound application traffic while enforcing modern TLS versions. Finding two: Encrypt traffic between CloudFront and a custom HTTPS origin. Which combination remediates both?

  1. Provision the certificate for CloudFront in ACM in us-east-1 where required; and set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy
  2. Set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy; and set the distribution's origin protocol policy to HTTPS only
  3. Apply an appropriate ALB SSL security policy to the HTTPS listener; and provision the certificate for CloudFront in ACM in us-east-1 where required
  4. Apply an appropriate ALB SSL security policy to the HTTPS listener; and set the distribution's origin protocol policy to HTTPS only

Explanation

Correct Answer

D:

The implementation has a specific control for each objective: The listener security policy controls supported TLS protocols and cipher choices for client TLS negotiation for “Protect inbound application traffic while enforcing modern TLS versions”; Origin-side HTTPS protects the edge-to-origin hop; enforcing viewer HTTPS alone does not establish origin TLS for “Encrypt traffic between CloudFront and a custom HTTPS origin”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first proposed action addresses “Use a custom domain with an HTTPS CloudFront distribution”: CloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates; the second addresses “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 combination does not achieve the required “Protect inbound application traffic while enforcing modern TLS versions” and “Encrypt traffic between CloudFront and a custom HTTPS origin” outcomes in this traffic encryption assessment.

B:

While origin-side HTTPS protects the edge-to-origin hop; enforcing viewer HTTPS alone does not establish origin TLS is relevant to “Encrypt traffic between CloudFront and a custom HTTPS origin,” the other component targets “Require HTTPS for all viewer connections through CloudFront,” where the viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin; the first acceptance criterion (“Protect inbound application traffic while enforcing modern TLS versions”) is not met.

C:

The first check would be covered, since the listener security policy controls supported TLS protocols and cipher choices for client TLS negotiation; yet the second choice is associated with “Use a custom domain with an HTTPS CloudFront distribution,” for which cloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates; no corresponding control satisfies “Encrypt traffic between CloudFront and a custom HTTPS origin.”.

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.”.

AWS Certified Security - Specialty SCS-C03 Practice Tests