Question 810

A security review for a resource-policy access decision identifies one priority: An identity has no applicable allow for an AWS operation. Which control is the best choice?

  1. Add a narrowly scoped explicit allow where the policy model requires it
  2. Remove or narrow the applicable explicit deny only after validating policy intent
  3. Evaluate the intersection of identity policy permissions and the role's boundary
  4. Update the SCP guardrail or choose an allowed operation while retaining least privilege

Explanation

Correct Answer

A:

IAM starts from implicit denial for ordinary principals, so an absent allow leaves the operation unauthorized; that AWS behavior meets the reported condition: an identity has no applicable allow for an AWS operation, the decisive objective for a resource-policy access decision.

Incorrect Answers

B:

For the different objective “An identity has an IAM allow but a matching explicit deny is also present,” IAM explicit deny takes precedence over allows from other applicable permission policies for the same request; the scenario instead requires “An identity has no applicable allow for an AWS operation,” which is a separate security mechanism.

C:

A permissions boundary caps identity-based permissions and does not itself grant additional AWS API privileges; this addresses the reported condition: an IAM role has broad permissions but a permissions boundary limits it, not the reported condition: an identity has no applicable allow for an AWS operation, which is needed in a resource-policy access decision.

D:

SCPs restrict the maximum available permissions of affected member-account identities; an IAM allow cannot exceed the guardrail; this would help with the reported condition: an IAM policy allows an action but an Organizations SCP excludes it, leaving the reported condition: an identity has no applicable allow for an AWS operation unresolved in a resource-policy access decision.

Question 811

During a root-cause investigation, the security team has this work item: Block repeated malicious web requests while the origin is being investigated. Which AWS action is the most direct implementation?

  1. Rotate the secret and force safe refresh of cached credentials
  2. Inspect S3 data events in CloudTrail for the bucket
  3. Apply an AWS WAF IP or rate-based rule to the application edge
  4. Quarantine its network interfaces with restrictive security-group rules

Explanation

Correct Answer

C:

WAF filters applicable HTTP(S) requests at supported front ends; it is not a host-level response for arbitrary TCP flows; that AWS behavior meets the requirement to block repeated malicious web requests while the origin is being investigated, the decisive objective for a root-cause investigation.

Incorrect Answers

A:

Updating Secrets Manager alone does not invalidate a still-valid downstream credential unless the backing credential is changed and consumers refresh; the important distinction in a root-cause investigation is that this supports the requirement to revoke exposure of a leaked application secret used by Lambda functions instead of the requirement to block repeated malicious web requests while the origin is being investigated.

B:

Object-level API events reveal callers and resources when the relevant data-event selectors were enabled during the period; its purpose is the requirement to find which IAM session made a suspicious DeleteObject call, but the acceptance criterion in a root-cause investigation is the requirement to block repeated malicious web requests while the origin is being investigated.

D:

Network isolation can stop new unwanted communication while preserving the host for examination and snapshot capture; the important distinction in a root-cause investigation is that this supports the requirement to contain an EC2 instance showing command-and-control traffic without deleting the machine instead of the requirement to block repeated malicious web requests while the origin is being investigated.

Question 812

An AWS team is correcting two gaps in the compliance evidence and drift review: Measure consolidated security posture against security controls; and Run organization-level compliance checks on many accounts. Which proposed set of controls fixes both gaps?

  1. Enable Security Hub security standards and review control findings; and configure AWS Config organization rules or conformance packs where supported
  2. Enable Security Hub security standards and review control findings; and run Amazon Macie sensitive-data discovery jobs
  3. Enable an appropriate AWS Config managed rule and compliance evaluation; and configure AWS Config organization rules or conformance packs where supported
  4. Run Amazon Macie sensitive-data discovery jobs; and enable an appropriate AWS Config managed rule and compliance evaluation

Explanation

Correct Answer

A:

For “Measure consolidated security posture against security controls,” the governing behavior is: Security Hub evaluates supported control checks and consolidates findings; remediation remains an independent action; for the separate check “Run organization-level compliance checks on many accounts,” it is: Organization-wide configuration evaluations provide a shared control definition across participating accounts; this is why the two controls belong together in the proposed change.

Incorrect Answers

B:

The first part is appropriate for “Measure consolidated security posture against security controls” because Security Hub evaluates supported control checks and consolidates findings; remediation remains an independent action; the second part addresses a different issue (“Identify sensitive personal data in S3 archives”) because macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls; it does not fulfill the “Run organization-level compliance checks on many accounts” test.

C:

Only the second requirement is covered: Organization-wide configuration evaluations provide a shared control definition across participating accounts supports “Run organization-level compliance checks on many accounts”; by contrast, Config rules evaluate recorded resource configurations against expected controls and report compliance states concerns “Detect when an S3 bucket deviates from an encryption baseline,” leaving “Measure consolidated security posture against security controls” unresolved.

D:

This combination targets different outcomes: Macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls helps with “Identify sensitive personal data in S3 archives”; Config rules evaluate recorded resource configurations against expected controls and report compliance states helps with “Detect when an S3 bucket deviates from an encryption baseline”; neither implements the required “Measure consolidated security posture against security controls” and “Run organization-level compliance checks on many accounts” outcomes together.

Question 813

A security review for a public web application perimeter review identifies one priority: Match SQL injection signatures in a specific HTTP request field using a custom WAF rule. Which control is the best choice?

  1. Use an AWS WAF byte-match statement on the specified header
  2. Apply an AWS WAF geographic match rule
  3. Enable AWS WAF SQL injection match or an appropriate managed rule group
  4. Configure an AWS WAF rate-based rule with an appropriate evaluation limit

Explanation

Correct Answer

C:

Web ACL inspection can identify suspicious SQL payload patterns before the application processes the HTTP request; that AWS behavior meets the requirement to match SQL injection signatures in a specific HTTP request field using a custom WAF rule, the decisive objective for a public web application perimeter review.

Incorrect Answers

A:

For the different objective “Block HTTP requests carrying a disallowed header value,” byte matching inspects configured parts of an HTTP request, providing an application-layer condition rather than a transport-layer port rule; the scenario instead requires “Match SQL injection signatures in a specific HTTP request field using a custom WAF rule,” which is a separate security mechanism.

B:

Geo match conditions use the source geolocation determination for applicable web requests and can block specified countries; its scope is the requirement to restrict access to a website from selected geographic countries, rather than the requirement to match SQL injection signatures in a specific HTTP request field using a custom WAF rule for a public web application perimeter review.

D:

A rate-based web ACL rule counts matching requests over an evaluation window and can restrict abusive HTTP clients; this addresses the requirement to apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules, not the requirement to match SQL injection signatures in a specific HTTP request field using a custom WAF rule, which is needed in a public web application perimeter review.

Question 814

In a telemetry and alarm repair exercise, engineers must cover two different requirements: CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods. In addition, New GuardDuty detections do not appear in an expected account. Which option implements both?

  1. Grant cloudwatch:PutMetricData to the publisher and verify the metric namespace; and verify GuardDuty is enabled in that account and the relevant Region and protection plan
  2. Use a valid CloudWatch Logs filter pattern for the actual JSON structure; and grant cloudwatch:PutMetricData to the publisher and verify the metric namespace
  3. Review missing-data treatment and whether the expected metric publishes regularly; and verify GuardDuty is enabled in that account and the relevant Region and protection plan
  4. Review missing-data treatment and whether the expected metric publishes regularly; and use a valid CloudWatch Logs filter pattern for the actual JSON structure

Explanation

Correct Answer

C:

This pairing handles the first requirement (“CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods”) because missing metrics are not necessarily healthy values; alarm evaluation needs an intentional policy for periods without samples; it handles the second (“New GuardDuty detections do not appear in an expected account”) because regional service enablement and feature-specific coverage determine which supported threats can be detected; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

This solves the second problem (“New GuardDuty detections do not appear in an expected account”): Regional service enablement and feature-specific coverage determine which supported threats can be detected; however, the first action addresses “An application sends logs but fails to publish custom metrics”: Logging permissions are different from custom metric publication rights; metrics can be absent despite healthy log ingestion; it does not satisfy “CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods.”.

B:

Both mechanisms have legitimate uses, but for other requirements: Filter expressions must match the logged field names and data types rather than the structure assumed by the operator supports “An alert filter never matches a numeric application status field”; Logging permissions are different from custom metric publication rights; metrics can be absent despite healthy log ingestion supports “An application sends logs but fails to publish custom metrics”; this does not resolve the stated “CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods” and “New GuardDuty detections do not appear in an expected account” findings.

D:

One action is correctly chosen for “CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods”: Missing metrics are not necessarily healthy values; alarm evaluation needs an intentional policy for periods without samples; the companion action relates to “An alert filter never matches a numeric application status field”: Filter expressions must match the logged field names and data types rather than the structure assumed by the operator; the other requested outcome, “New GuardDuty detections do not appear in an expected account,” remains outstanding.

Question 815

An assessment of the backup and data retention program has two findings. Finding one: Maintain a second copy of recovery points in another account. Finding two: Expire old ECR images according to repository policy. Which combination remediates both?

  1. Configure supported AWS Backup cross-account copy actions; and define Amazon ECR lifecycle policies for image tags and age
  2. Configure supported AWS Backup cross-account copy actions; and monitor AWS Backup job status and coverage with suitable notifications
  3. Define an AWS Backup plan and assign protected resources; and define Amazon ECR lifecycle policies for image tags and age
  4. Monitor AWS Backup job status and coverage with suitable notifications; and define an AWS Backup plan and assign protected resources

Explanation

Correct Answer

A:

The implementation has a specific control for each objective: Cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites for “Maintain a second copy of recovery points in another account”; Registry lifecycle policies manage container image retention, rather than affecting EBS volume snapshot storage for “Expire old ECR images according to repository policy”; the combined option satisfies the two-part request.

Incorrect Answers

B:

The first check would be covered, since cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites; yet the second choice is associated with “Detect a missing backup before the end of a recovery service-level agreement,” for which backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed; no corresponding control satisfies “Expire old ECR images according to repository policy.”.

C:

While registry lifecycle policies manage container image retention, rather than affecting EBS volume snapshot storage is relevant to “Expire old ECR images according to repository policy,” the other component targets “Establish policy-based backups across several supported resource types,” where backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation; the first acceptance criterion (“Maintain a second copy of recovery points in another account”) is not met.

D:

The first proposed action addresses “Detect a missing backup before the end of a recovery service-level agreement”: Backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed; the second addresses “Establish policy-based backups across several supported resource types”: Backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation; the combination does not achieve the required “Maintain a second copy of recovery points in another account” and “Expire old ECR images according to repository policy” outcomes in this backup and data retention program.

Question 816

During an AWS workload credential management review, the security team has this work item: Ensure a Lambda function has temporary AWS credentials scoped to its own operation. Which AWS action is the most direct implementation?

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

Explanation

Correct Answer

A:

Lambda assumes its execution role to call AWS services; the function should not carry hardcoded access keys; it addresses the requirement to ensure a Lambda function has temporary AWS credentials scoped to its own operation at the right security boundary during an AWS workload credential management review.

Incorrect Answers

B:

For the different objective “Avoid storing static access keys in an EC2 application,” IMDS v2 can deliver temporary role credentials under the instance profile rather than an administrator-managed permanent key; the scenario instead requires “Ensure a Lambda function has temporary AWS credentials scoped to its own operation,” which is a separate security mechanism.

C:

Console authentication events help attribute sign-ins, while downstream authorization decisions require reviewing the session's policies; its scope is the requirement to determine which IAM user password was used for an unexpected console session, rather than the requirement to ensure a Lambda function has temporary AWS credentials scoped to its own operation for an AWS workload credential management review.

D:

Disabling the access key prevents subsequent requests signed with that key while preserving an incident record and permitting a controlled replacement; this addresses the requirement to invalidate a leaked IAM access key immediately, not the requirement to ensure a Lambda function has temporary AWS credentials scoped to its own operation, which is needed in an AWS workload credential management review.

Question 817

The VPC connectivity and segmentation rollout has two control objectives. Requirement one: Reduce single-point failure for on-premises encrypted connectivity. Requirement two: Provide separate routing policy for isolated environments sharing Transit Gateway. Which design passes both checks?

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

Explanation

Correct Answer

B:

The first control addresses the check “Reduce single-point failure for on-premises encrypted connectivity”: Multiple independent tunnels and routing failover improve resilience when one gateway path or tunnel is unavailable; the other addresses “Provide separate routing policy for isolated environments sharing Transit Gateway”: Transit Gateway routing isolation can prevent attachments from learning or reaching destinations outside their intended segment; these two mechanisms cover the complete VPC connectivity and segmentation rollout.

Incorrect Answers

A:

Multiple independent tunnels and routing failover improve resilience when one gateway path or tunnel is unavailable; this is relevant to the first objective (“Reduce single-point failure for on-premises encrypted connectivity”); however, the other action is meant for “Prevent a development VPC from reaching the production CIDR through a central hub”: Traffic isolation needs effective route-table segmentation; attachment to the same transit hub does not imply unrestricted transit; it leaves the required “Provide separate routing policy for isolated environments sharing Transit Gateway” behavior unimplemented.

C:

The first action belongs to “Prevent a development VPC from reaching the production CIDR through a central hub” because traffic isolation needs effective route-table segmentation; attachment to the same transit hub does not imply unrestricted transit; the second belongs to “Capture which AWS API modified a VPC route during an outage” because CloudTrail records authorized route table API operations, not the packet-level paths of normal client connections; these are not the required checks, “Reduce single-point failure for on-premises encrypted connectivity” and “Provide separate routing policy for isolated environments sharing Transit Gateway.”.

D:

Transit Gateway routing isolation can prevent attachments from learning or reaching destinations outside their intended segment; this fulfills the second objective (“Provide separate routing policy for isolated environments sharing Transit Gateway”); the other action is intended for “Capture which AWS API modified a VPC route during an outage”: CloudTrail records authorized route table API operations, not the packet-level paths of normal client connections; it does not meet the requested “Reduce single-point failure for on-premises encrypted connectivity” check.

Question 818

A security architecture review for an account compromise response review contains 2 independently assessed work items: (1) Prepare a containment response that can be undone after false-positive verification; (2) Keep alert delivery working if the primary incident-response operator is unavailable. Which actions directly implement those requirements? Choose TWO.

  1. Route security paging to multiple SNS subscriptions with tested escalation ownership
  2. Share only the approved snapshot with a dedicated reviewer role and matching KMS permissions
  3. Define response severity criteria using impact, scope, and data sensitivity
  4. Record baseline access settings and include rollback steps in the incident runbook

Explanation

Correct Answers

A:

Multiple delivery endpoints and named escalation roles prevent a single person or notification device from becoming a response bottleneck; in an account compromise response review, this is one of the independently required safeguards because it addresses the requirement to keep alert delivery working if the primary incident-response operator is unavailable.

D:

A recovery path reduces operational risk when isolation rules or credential revocations affect legitimate systems; in an account compromise response review, this is one of the independently required safeguards because it addresses the requirement to prepare a containment response that can be undone after false-positive verification.

Incorrect Answers

B:

Cross-account encrypted snapshot access requires both snapshot sharing authorization and usable cryptographic-key permissions; in an account compromise response review, that supports the requirement to limit access to customer forensic snapshots during external review, which is distinct from the 2 enumerated security work items.

C:

Incident classification maps technical indicators to business risk and dispatch responsibilities instead of assuming every alert is equally urgent; in an account compromise response review, that supports the requirement to recognize when a confirmed finding requires higher-severity escalation, which is distinct from the 2 enumerated security work items.

Question 819

A security architecture review for a landing-zone identity baseline contains 2 independently assessed work items: (1) Prevent developers from leaving the organization by invoking account removal actions; (2) Avoid relying on SCPs to restrict principals in the Organizations management account. Which actions directly implement those requirements? Choose TWO.

  1. Deny relevant Organizations leave-organization operations via member-account SCP controls
  2. Enable supported MFA and secure root account recovery information
  3. Enforce controls through management-account IAM and operational separation
  4. Apply a carefully scoped SCP with aws:RequestedRegion conditions

Explanation

Correct Answers

A:

SCPs can block selected member principal actions even when their IAM identity policies would otherwise permit them; in a landing-zone identity baseline, this is one of the independently required safeguards because it addresses the requirement to prevent developers from leaving the organization by invoking account removal actions.

C:

SCPs do not restrict principals within the management account, so management governance needs separate mechanisms; in a landing-zone identity baseline, this is one of the independently required safeguards because it addresses the requirement to avoid relying on SCPs to restrict principals in the Organizations management account.

Incorrect Answers

B:

Root credentials deserve strong protection because root possesses broad account authority and should not be used routinely; in a landing-zone identity baseline, that supports the requirement to protect each AWS account root user from password-only compromise, which is distinct from the 2 enumerated security work items.

D:

Organizations guardrails can enforce Region restrictions, with explicit consideration for global endpoints and service exceptions; in a landing-zone identity baseline, that supports the requirement to prevent nonapproved Regions from use by ordinary member-account identities, which is distinct from the 2 enumerated security work items.

Question 820

An implementation in the central log collection migration must solve two separate problems, not merely strengthen one safeguard: Keep CloudWatch Logs data for a mandated finite retention interval; Keep a central log bucket inaccessible to public principals. Which change meets the full request?

  1. Apply an S3 Lifecycle transition policy to the log archive; and apply S3 Block Public Access and restrictive bucket policy conditions
  2. Enable AWS Config recording and history delivery; and apply an S3 Lifecycle transition policy to the log archive
  3. Set each relevant log group's retention policy explicitly; and apply S3 Block Public Access and restrictive bucket policy conditions
  4. Set each relevant log group's retention policy explicitly; and enable AWS Config recording and history delivery

Explanation

Correct Answer

C:

This pairing handles the first requirement (“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; it handles the second (“Keep a central log bucket inaccessible to public principals”) because blocking public access and limiting principals protects delivered log objects independently from the logging service configuration; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

This solves the second problem (“Keep a central log bucket inaccessible to public principals”): Blocking public access and limiting principals protects delivered log objects independently from the logging service configuration; however, the first action addresses “Archive security logs at lower storage cost after the investigation window”: Lifecycle rules transition or expire object versions under configured conditions; immutability requirements must be handled separately; it does not satisfy “Keep CloudWatch Logs data for a mandated finite retention interval.”.

B:

Both mechanisms have legitimate uses, but for other requirements: 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”; Lifecycle rules transition or expire object versions under configured conditions; immutability requirements must be handled separately supports “Archive security logs at lower storage cost after the investigation window”; this does not resolve the stated “Keep CloudWatch Logs data for a mandated finite retention interval” and “Keep a central log bucket inaccessible to public principals” findings.

D:

One action is correctly chosen for “Keep CloudWatch Logs data for a mandated finite retention interval”: Log retention settings govern when CloudWatch deletes aged events; the default can retain events indefinitely unless changed; the companion action relates to “Observe configuration changes to security-sensitive AWS resources over time”: Config records supported resource configuration states; CloudTrail complements it by identifying management API callers and timing; the other requested outcome, “Keep a central log bucket inaccessible to public principals,” remains outstanding.

AWS Certified Security - Specialty SCS-C03 Practice Tests