Question 870

A proposed solution for the logging access troubleshooting session is incomplete unless it addresses both of these checks: Flow logs show no records for a new ENI outside the original logging scope; and A trail reports S3 delivery errors after a bucket-policy hardening change. Which choice provides the necessary controls?

  1. Expand or create Flow Logs coverage for that network interface or containing subnet; and review the key policy for the CloudTrail log-encryption service permissions
  2. Expand or create Flow Logs coverage for that network interface or containing subnet; and restore the precise S3 bucket policy statements that permit CloudTrail delivery
  3. Review the key policy for the CloudTrail log-encryption service permissions; and add the necessary S3 object data-event selectors to the trail
  4. Add the necessary S3 object data-event selectors to the trail; and restore the precise S3 bucket policy statements that permit CloudTrail delivery

Explanation

Correct Answer

B:

For the first acceptance test, “Flow logs show no records for a new ENI outside the original logging scope,” flow Logs capture only interfaces covered by the configured scope and supported traffic records; for the second, “A trail reports S3 delivery errors after a bucket-policy hardening change,” A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

A:

Flow Logs capture only interfaces covered by the configured scope and supported traffic records supports the “Flow logs show no records for a new ENI outside the original logging scope” acceptance test; SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations is pertinent to “CloudTrail events stop arriving after the KMS key policy is tightened” instead; the change therefore omits the separate requirement “A trail reports S3 delivery errors after a bucket-policy hardening change.”.

C:

Neither action is targeted at the two acceptance tests: SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations is about “CloudTrail events stop arriving after the KMS key policy is tightened,” and Management-event collection does not imply coverage of object-level operations, even in the same account is about “S3 GetObject calls are absent while management calls remain visible”; the intended “Flow logs show no records for a new ENI outside the original logging scope” and “A trail reports S3 delivery errors after a bucket-policy hardening change” requirements remain unsatisfied.

D:

The mechanism for “A trail reports S3 delivery errors after a bucket-policy hardening change” is present: A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; the additional mechanism relates to “S3 GetObject calls are absent while management calls remain visible”: Management-event collection does not imply coverage of object-level operations, even in the same account; nothing here completes “Flow logs show no records for a new ENI outside the original logging scope.”.

Question 871

During a storage encryption control review, reviewers document two independent acceptance criteria. First: Stop further encrypted data operations with a compromised customer-managed KMS key. Second: Protect encryption operations with authenticated associated data that must match at decryption. Which combined implementation satisfies both?

  1. Constrain the KMS key policy using kms:ViaService where supported; and use a KMS encryption context for supported symmetric KMS operations
  2. Use AWS CloudHSM for supported HSM-controlled key workloads; and constrain the KMS key policy using kms:ViaService where supported
  3. Disable the key while coordinating a recovery and re-encryption plan; and use a KMS encryption context for supported symmetric KMS operations
  4. Disable the key while coordinating a recovery and re-encryption plan; and use AWS CloudHSM for supported HSM-controlled key workloads

Explanation

Correct Answer

C:

The first control addresses the check “Stop further encrypted data operations with a compromised customer-managed KMS key”: A disabled KMS key cannot perform new cryptographic operations, which can also make dependent encrypted data inaccessible; the other addresses “Protect encryption operations with authenticated associated data that must match at decryption”: An encryption context is cryptographically bound as additional authenticated data, so changing it invalidates decryption; these two mechanisms cover the complete storage encryption control review.

Incorrect Answers

A:

An encryption context is cryptographically bound as additional authenticated data, so changing it invalidates decryption; this fulfills the second objective (“Protect encryption operations with authenticated associated data that must match at decryption”); the other action is intended for “Limit sensitive KMS key use to one AWS service integration”: Service-context conditions limit when the KMS key may be used through an approved integrated AWS service; it does not meet the requested “Stop further encrypted data operations with a compromised customer-managed KMS key” check.

B:

The first action belongs to “Keep hardware-security-module key operations under a customer-managed HSM cluster” because CloudHSM gives customers dedicated HSM administration and key control with different operations from a managed KMS key; the second belongs to “Limit sensitive KMS key use to one AWS service integration” because service-context conditions limit when the KMS key may be used through an approved integrated AWS service; these are not the required checks, “Stop further encrypted data operations with a compromised customer-managed KMS key” and “Protect encryption operations with authenticated associated data that must match at decryption.”.

D:

A disabled KMS key cannot perform new cryptographic operations, which can also make dependent encrypted data inaccessible; this is relevant to the first objective (“Stop further encrypted data operations with a compromised customer-managed KMS key”); however, the other action is meant for “Keep hardware-security-module key operations under a customer-managed HSM cluster”: CloudHSM gives customers dedicated HSM administration and key control with different operations from a managed KMS key; it leaves the required “Protect encryption operations with authenticated associated data that must match at decryption” behavior unimplemented.

Question 872

Two security control owners share a permissions and authorization review. One is responsible for this outcome: A developer needs to see whether an S3 bucket is exposed beyond an account trust zone. The other needs: A developer can create roles but cannot pass them to an EC2 service. Which implementation covers both?

  1. Review IAM Access Analyzer external access findings for supported resource policies; and grant tightly scoped iam:PassRole to the approved service role
  2. Review IAM Access Analyzer external access findings for supported resource policies; and use IAM Access Analyzer policy generation from CloudTrail activity as a refinement input
  3. Update the resource policy to reference the intended role or session principal; and grant tightly scoped iam:PassRole to the approved service role
  4. Use IAM Access Analyzer policy generation from CloudTrail activity as a refinement input; and update the resource policy to reference the intended role or session principal

Explanation

Correct Answer

A:

Two different security outcomes are required in this permissions and authorization review; Access Analyzer analyzes policy-based access outside the chosen trust boundary; it does not inspect live network packet contents supports “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone,” while Passing a role to a service requires separate iam:PassRole authorization and is not implied by ec2:RunInstances alone supports “A developer can create roles but cannot pass them to an EC2 service”; neither check is assumed to follow from the other.

Incorrect Answers

B:

This option is only partly effective: Access Analyzer analyzes policy-based access outside the chosen trust boundary; it does not inspect live network packet contents supports “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone”; but Policy generation can propose narrower allowed actions based on observed usage, subject to the observation window and supported event sources supports “An overly broad policy includes actions never used by the principal,” not the required “A developer can create roles but cannot pass them to an EC2 service” outcome.

C:

The option has a useful control for “A developer can create roles but cannot pass them to an EC2 service” because passing a role to a service requires separate iam:PassRole authorization and is not implied by ec2:RunInstances alone; its other control applies to “An assumed role is denied by a resource policy that names the wrong principal” because authorization depends on the actual principal ARN and context used by the request; similar role names are not interchangeable identities; it misses the first requirement, “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone.”.

D:

Policy generation can propose narrower allowed actions based on observed usage, subject to the observation window and supported event sources is pertinent to “An overly broad policy includes actions never used by the principal,” and Authorization depends on the actual principal ARN and context used by the request; similar role names are not interchangeable identities is pertinent to “An assumed role is denied by a resource policy that names the wrong principal”; the requested controls for “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone” and “A developer can create roles but cannot pass them to an EC2 service” are absent.

Question 873

An implementation in the compute workload hardening effort must solve two separate problems, not merely strengthen one safeguard: Block access to the EC2 Instance Metadata Service version 1; Deploy a repeatable hardened operating-system image to new instances. Which change meets the full request?

  1. Require IMDSv2 on the instance metadata options; and build and test a hardened AMI with EC2 Image Builder
  2. Require IMDSv2 on the instance metadata options; and use Systems Manager Patch Manager with approved baselines
  3. Attach an IAM instance profile with a least-privilege role; and build and test a hardened AMI with EC2 Image Builder
  4. Use Systems Manager Patch Manager with approved baselines; and attach an IAM instance profile with a least-privilege role

Explanation

Correct Answer

A:

This pairing handles the first requirement (“Block access to the EC2 Instance Metadata Service version 1”) because enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios; it handles the second (“Deploy a repeatable hardened operating-system image to new instances”) because image Builder automates image build pipelines and validation so baseline changes can be propagated consistently; both acceptance criteria are therefore addressed.

Incorrect Answers

B:

One action is correctly chosen for “Block access to the EC2 Instance Metadata Service version 1”: Enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios; the companion action relates to “Install security patches on a large fleet without individually logging in”: Patch Manager coordinates OS patch compliance and installation on managed nodes according to selected patch baselines; the other requested outcome, “Deploy a repeatable hardened operating-system image to new instances,” remains outstanding.

C:

This solves the second problem (“Deploy a repeatable hardened operating-system image to new instances”): Image Builder automates image build pipelines and validation so baseline changes can be propagated consistently; however, the first action addresses “Avoid storing long-term AWS access keys on an EC2 instance”: Instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys; it does not satisfy “Block access to the EC2 Instance Metadata Service version 1.”.

D:

Both mechanisms have legitimate uses, but for other requirements: Patch Manager coordinates OS patch compliance and installation on managed nodes according to selected patch baselines supports “Install security patches on a large fleet without individually logging in”; Instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys supports “Avoid storing long-term AWS access keys on an EC2 instance”; this does not resolve the stated “Block access to the EC2 Instance Metadata Service version 1” and “Deploy a repeatable hardened operating-system image to new instances” findings.

Question 874

Before closing the incident response rehearsal, a team must demonstrate the following: Ensure responders can reach a separate investigative environment if production credentials are compromised; plus Invalidate temporary sessions that might remain after an IAM role credential concern. Which paired change would complete the work?

  1. Use S3 Object Lock retention on the evidence bucket and objects; and apply a role session revocation deny to sessions issued before the cutoff
  2. Add a manual approval stage to a Step Functions incident-response workflow; and use S3 Object Lock retention on the evidence bucket and objects
  3. Establish a dedicated forensic account with emergency cross-account roles; and apply a role session revocation deny to sessions issued before the cutoff
  4. Establish a dedicated forensic account with emergency cross-account roles; and add a manual approval stage to a Step Functions incident-response workflow

Explanation

Correct Answer

C:

The implementation has a specific control for each objective: Separating forensic tooling and artifacts from the production blast radius reduces dependence on possibly compromised accounts for “Ensure responders can reach a separate investigative environment if production credentials are compromised”; Revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials for “Invalidate temporary sessions that might remain after an IAM role credential concern”; the combined option satisfies the two-part request.

Incorrect Answers

A:

While revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials is relevant to “Invalidate temporary sessions that might remain after an IAM role credential concern,” the other component targets “Prevent accidental removal of a forensic evidence object during an investigation,” where version-level write-once retention protects retained evidence against deletion or overwriting for the selected period; the first acceptance criterion (“Ensure responders can reach a separate investigative environment if production credentials are compromised”) is not met.

B:

The first proposed action addresses “Bring a human approval step into automated containment of a critical production database”: State machines can pause for an external decision before potentially disruptive containment steps execute; the second addresses “Prevent accidental removal of a forensic evidence object during an investigation”: Version-level write-once retention protects retained evidence against deletion or overwriting for the selected period; the combination does not achieve the required “Ensure responders can reach a separate investigative environment if production credentials are compromised” and “Invalidate temporary sessions that might remain after an IAM role credential concern” outcomes in this incident response rehearsal.

D:

The first check would be covered, since separating forensic tooling and artifacts from the production blast radius reduces dependence on possibly compromised accounts; yet the second choice is associated with “Bring a human approval step into automated containment of a critical production database,” for which state machines can pause for an external decision before potentially disruptive containment steps execute; no corresponding control satisfies “Invalidate temporary sessions that might remain after an IAM role credential concern.”.

Question 875

An assessment of the AWS Organizations policy program has two findings. Finding one: Protect each AWS account root user from password-only compromise. Finding two: Prevent developers from leaving the organization by invoking account removal actions. Which combination remediates both?

  1. Use organization integration and auto-enable where supported for delegated security administration; and apply a carefully scoped SCP with aws:RequestedRegion conditions
  2. Apply a carefully scoped SCP with aws:RequestedRegion conditions; and deny relevant Organizations leave-organization operations via member-account SCP controls
  3. Enable supported MFA and secure root account recovery information; and use organization integration and auto-enable where supported for delegated security administration
  4. Enable supported MFA and secure root account recovery information; and deny relevant Organizations leave-organization operations via member-account SCP controls

Explanation

Correct Answer

D:

The implementation has a specific control for each objective: Root credentials deserve strong protection because root possesses broad account authority and should not be used routinely for “Protect each AWS account root user from password-only compromise”; SCPs can block selected member principal actions even when their IAM identity policies would otherwise permit them for “Prevent developers from leaving the organization by invoking account removal actions”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first proposed action addresses “Keep newly created accounts enrolled in core security services”: Service-specific organization configuration helps apply baseline coverage to new member accounts without manual one-off enrollment; the second addresses “Prevent nonapproved Regions from use by ordinary member-account identities”: Organizations guardrails can enforce Region restrictions, with explicit consideration for global endpoints and service exceptions; the combination does not achieve the required “Protect each AWS account root user from password-only compromise” and “Prevent developers from leaving the organization by invoking account removal actions” outcomes in this AWS Organizations policy program.

B:

While SCPs can block selected member principal actions even when their IAM identity policies would otherwise permit them is relevant to “Prevent developers from leaving the organization by invoking account removal actions,” the other component targets “Prevent nonapproved Regions from use by ordinary member-account identities,” where organizations guardrails can enforce Region restrictions, with explicit consideration for global endpoints and service exceptions; the first acceptance criterion (“Protect each AWS account root user from password-only compromise”) is not met.

C:

The first check would be covered, since root credentials deserve strong protection because root possesses broad account authority and should not be used routinely; yet the second choice is associated with “Keep newly created accounts enrolled in core security services,” for which service-specific organization configuration helps apply baseline coverage to new member accounts without manual one-off enrollment; no corresponding control satisfies “Prevent developers from leaving the organization by invoking account removal actions.”.

Question 876

An architect is reviewing a log delivery outage investigation. The acceptance criterion reads: CloudTrail events stop arriving after the KMS key policy is tightened. Which approach satisfies it?

  1. Expand or create Flow Logs coverage for that network interface or containing subnet
  2. Review the key policy for the CloudTrail log-encryption service permissions
  3. Repair the CloudWatch Logs publishing role or destination resource permissions
  4. Restore the precise S3 bucket policy statements that permit CloudTrail delivery

Explanation

Correct Answer

B:

SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations; for a log delivery outage investigation, this is the measure that delivers the requirement to CloudTrail events stop arriving after the KMS key policy is tightened.

Incorrect Answers

A:

For the different objective “Flow logs show no records for a new ENI outside the original logging scope,” flow Logs capture only interfaces covered by the configured scope and supported traffic records; the scenario instead requires “CloudTrail events stop arriving after the KMS key policy is tightened,” which is a separate security mechanism.

C:

A correctly configured flow-log source cannot publish if the delivery principal lacks access to create streams or put events; this addresses the reported condition: a VPC flow-log destination rejects writes after an IAM role change, not the requirement to CloudTrail events stop arriving after the KMS key policy is tightened, which is needed in a log delivery outage investigation.

D:

A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; this addresses the reported condition: a trail reports S3 delivery errors after a bucket-policy hardening change, not the requirement to CloudTrail events stop arriving after the KMS key policy is tightened, which is needed in a log delivery outage investigation.

Question 877

An architect is reviewing a stored-data encryption architecture. The acceptance criterion reads: Encrypt S3 object payloads with keys managed entirely by the S3 service. Which approach satisfies it?

  1. Use SSE-S3 for the objects
  2. Configure default bucket encryption with SSE-KMS and the chosen customer-managed key
  3. Enable account-level S3 Block Public Access
  4. Apply client-side encryption with controlled client key management

Explanation

Correct Answer

A:

SSE-S3 encrypts stored objects with S3-managed keys and does not provide customer-managed KMS key-policy control; that AWS behavior meets the requirement to encrypt S3 object payloads with keys managed entirely by the S3 service, the decisive objective for a stored-data encryption architecture.

Incorrect Answers

B:

SSE-KMS integrates S3 object encryption with KMS authorization and key-use auditing beyond S3-managed key controls; its purpose is the requirement to use a customer-managed KMS key for S3 object encryption with key-level access controls, but the acceptance criterion in a stored-data encryption architecture is the requirement to encrypt S3 object payloads with keys managed entirely by the S3 service.

C:

Account-level controls provide a broad safety boundary against public bucket and access point configuration mistakes; its scope is the requirement to prevent public reads of any S3 buckets in an AWS account, rather than the requirement to encrypt S3 object payloads with keys managed entirely by the S3 service for a stored-data encryption architecture.

D:

Client-side encryption transforms plaintext before the upload, so the AWS storage service does not receive the clear payload; this would help with the requirement to require clients to encrypt sensitive objects before uploading to AWS, leaving the requirement to encrypt S3 object payloads with keys managed entirely by the S3 service unresolved in a stored-data encryption architecture.

Question 878

A security review for an edge-service protection design identifies one priority: Protect against unwanted DNS redirection through domain management. Which control is the best choice?

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

Explanation

Correct Answer

C:

Transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule; this is the direct solution to the requirement to protect against unwanted DNS redirection through domain management in an edge-service protection design.

Incorrect Answers

A:

For the different objective “Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules,” A rate-based web ACL rule counts matching requests over an evaluation window and can restrict abusive HTTP clients; the scenario instead requires “Protect against unwanted DNS redirection through domain management,” which is a separate security mechanism.

B:

IP sets match the configured client addresses, whereas DNS routing records do not filter application requests; its scope is the requirement to enforce a narrow set of IP ranges for public HTTP clients, rather than the requirement to protect against unwanted DNS redirection through domain management for an edge-service protection design.

D:

Bot Control evaluates bot-related request signals at the web ACL, rather than relying only on Layer 3 network filtering; its purpose is the requirement to identify and block bot-like HTTP behaviors with application-aware inspection, but the acceptance criterion in an edge-service protection design is the requirement to protect against unwanted DNS redirection through domain management.

E:

A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL; this would help with the requirement to prevent all public access to an internal API endpoint, leaving the requirement to protect against unwanted DNS redirection through domain management unresolved in an edge-service protection design.

Question 879

In a permissions and authorization review, engineers must cover two different requirements: Prevent use of wildcards for sensitive KMS administration capabilities. In addition, An organization needs a cap on administrator-created IAM roles. Which option implements both?

  1. Replace broad key-administration grants with explicit actions and principals; and grant read-only IAM and relevant Access Analyzer inspection actions
  2. Replace broad key-administration grants with explicit actions and principals; and attach permissions boundaries to delegated role-creation workflows
  3. Grant read-only IAM and relevant Access Analyzer inspection actions; and add required permissions to the assumed role rather than the original user
  4. Add required permissions to the assumed role rather than the original user; and attach permissions boundaries to delegated role-creation workflows

Explanation

Correct Answer

B:

This pairing handles the first requirement (“Prevent use of wildcards for sensitive KMS administration capabilities”) because key policy authorization can be restricted by principal and operation, avoiding an unnecessarily permissive wildcard on high-impact crypto controls; it handles the second (“An organization needs a cap on administrator-created IAM roles”) because boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

One action is correctly chosen for “Prevent use of wildcards for sensitive KMS administration capabilities”: Key policy authorization can be restricted by principal and operation, avoiding an unnecessarily permissive wildcard on high-impact crypto controls; the companion action relates to “Allow a user to inspect effective permissions without modifying policies”: Visibility into policies and analysis results can be delegated separately from policy-editing actions to preserve separation of duties; the other requested outcome, “An organization needs a cap on administrator-created IAM roles,” remains outstanding.

C:

Both mechanisms have legitimate uses, but for other requirements: Visibility into policies and analysis results can be delegated separately from policy-editing actions to preserve separation of duties supports “Allow a user to inspect effective permissions without modifying policies”; After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller supports “Explain why an IAM inline policy attached to a user does not affect an assumed role”; this does not resolve the stated “Prevent use of wildcards for sensitive KMS administration capabilities” and “An organization needs a cap on administrator-created IAM roles” findings.

D:

This solves the second problem (“An organization needs a cap on administrator-created IAM roles”): Boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies; however, the first action addresses “Explain why an IAM inline policy attached to a user does not affect an assumed role”: After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller; it does not satisfy “Prevent use of wildcards for sensitive KMS administration capabilities.”.

Question 880

An architect is reviewing a security dashboard and metric planning workshop. The acceptance criterion reads: Raise an alert after repeated failed root-user console attempts. Which approach satisfies it?

  1. Configure AWS Cost Anomaly Detection notifications
  2. Attach an Amazon SNS action to the alarm
  3. Match CloudTrail management API events using an EventBridge rule
  4. Create a CloudWatch Logs metric filter for relevant CloudTrail sign-in events and an alarm

Explanation

Correct Answer

D:

Metric filters extract counts from matching log records; alarms evaluate the resulting metric against a threshold; it addresses the requirement to raise an alert after repeated failed root-user console attempts at the right security boundary during a security dashboard and metric planning workshop.

Incorrect Answers

A:

Cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads; its purpose is the requirement to alert on unusual spending that may indicate unauthorized resource provisioning, but the acceptance criterion in a security dashboard and metric planning workshop is the requirement to raise an alert after repeated failed root-user console attempts.

B:

SNS delivers subscribed notifications after the CloudWatch alarm evaluates the configured metric and changes state; its scope is the requirement to notify an incident channel when a CloudWatch alarm changes to ALARM state, rather than the requirement to raise an alert after repeated failed root-user console attempts for a security dashboard and metric planning workshop.

C:

CloudTrail supplies the control-plane event details and EventBridge evaluates an event pattern to trigger notification or a remediation target; its purpose is the requirement to notify operators after an IAM policy is modified in a sensitive account, but the acceptance criterion in a security dashboard and metric planning workshop is the requirement to raise an alert after repeated failed root-user console attempts.

AWS Certified Security - Specialty SCS-C03 Practice Tests