Question 240

A security review for a multi-account account governance review identifies one priority: Give security staff cross-account administrative access without sharing root passwords. Which control is the best choice?

  1. Establish an AWS Control Tower landing zone with account governance
  2. Create trusted cross-account IAM roles and controlled STS assumption paths
  3. Configure AWS Organizations service control policies at the appropriate hierarchy
  4. Configure an AWS Config aggregator with appropriate authorization

Explanation

Correct Answer

B:

Cross-account role sessions supply temporary access bounded by the target role's trust and permission policies; for a multi-account account governance review, this is the measure that delivers the requirement to give security staff cross-account administrative access without sharing root passwords.

Incorrect Answers

A:

For the different objective “Provision a governed set of accounts with baseline logging and identity controls,” control Tower orchestrates account setup and preventive/detective controls on top of Organizations and related services; the scenario instead requires “Give security staff cross-account administrative access without sharing root passwords,” which is a separate security mechanism.

C:

SCPs constrain affected principals' maximum permissions in member accounts, independently from the IAM policies that grant actions; this would help with the requirement to apply common permission guardrails across member AWS accounts, leaving the requirement to give security staff cross-account administrative access without sharing root passwords unresolved in a multi-account account governance review.

D:

Config aggregators centralize resource configuration and compliance views without themselves changing the member resources; the important distinction in a multi-account account governance review is that this supports the requirement to aggregate AWS Config compliance data from many accounts and Regions instead of the requirement to give security staff cross-account administrative access without sharing root passwords.

Question 241

The credential and federation review has two control objectives. Requirement one: An OIDC role assumption is denied because the token audience does not match. Requirement two: A principal's temporary role credentials expire during a long-running process. Which design passes both checks?

  1. Verify the instance profile attachment and IMDS availability; and check IAM Identity Center account assignments and permission sets
  2. Check IAM Identity Center account assignments and permission sets; and adjust role session duration within allowed constraints and refresh credentials
  3. Correct the identity provider client ID and role trust audience condition; and verify the instance profile attachment and IMDS availability
  4. Correct the identity provider client ID and role trust audience condition; and adjust role session duration within allowed constraints and refresh credentials

Explanation

Correct Answer

D:

The first control addresses the check “An OIDC role assumption is denied because the token audience does not match”: OIDC federation relies on token claims satisfying the trust policy, including the expected audience; the other addresses “A principal's temporary role credentials expire during a long-running process”: STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys; these two mechanisms cover the complete credential and federation review.

Incorrect Answers

A:

The first action belongs to “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access” because role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel; the second belongs to “A worker's federated portal login succeeds but no target account is listed” because authentication to the portal alone grants no account entitlement until an assignment connects the principal and permission set; these are not the required checks, “An OIDC role assumption is denied because the token audience does not match” and “A principal's temporary role credentials expire during a long-running process.”.

B:

STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys; this fulfills the second objective (“A principal's temporary role credentials expire during a long-running process”); the other action is intended for “A worker's federated portal login succeeds but no target account is listed”: Authentication to the portal alone grants no account entitlement until an assignment connects the principal and permission set; it does not meet the requested “An OIDC role assumption is denied because the token audience does not match” check.

C:

OIDC federation relies on token claims satisfying the trust policy, including the expected audience; this is relevant to the first objective (“An OIDC role assumption is denied because the token audience does not match”); however, the other action is meant for “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access”: Role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel; it leaves the required “A principal's temporary role credentials expire during a long-running process” behavior unimplemented.

Question 242

The central log collection migration cannot pass unless both of these outcomes are demonstrated: Archive security logs at lower storage cost after the investigation window; Keep a central log bucket inaccessible to public principals. Which two-part plan is suitable?

  1. Configure the required CloudTrail service-principal bucket policy permissions; and apply S3 Block Public Access and restrictive bucket policy conditions
  2. Use S3 Object Lock retention with appropriate mode on versioned log objects; and configure the required CloudTrail service-principal bucket policy permissions
  3. Apply an S3 Lifecycle transition policy to the log archive; and apply S3 Block Public Access and restrictive bucket policy conditions
  4. Apply an S3 Lifecycle transition policy to the log archive; and use S3 Object Lock retention with appropriate mode on versioned log objects

Explanation

Correct Answer

C:

Two different security outcomes are required in this central log collection migration; 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,” while Blocking public access and limiting principals protects delivered log objects independently from the logging service configuration supports “Keep a central log bucket inaccessible to public principals”; neither check is assumed to follow from the other.

Incorrect Answers

A:

The option has a useful control for “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; its other control applies to “Allow CloudTrail to deliver logs into a hardened destination bucket” because trail delivery depends on the destination policy allowing the logging service to write to the correct bucket path; it misses the first requirement, “Archive security logs at lower storage cost after the investigation window.”.

B:

Retention enforces per-version write-once protection; lifecycle transitions alone do not prevent early deletion is pertinent to “Prevent attackers from deleting retained audit-log versions for a required period,” and Trail delivery depends on the destination policy allowing the logging service to write to the correct bucket path is pertinent to “Allow CloudTrail to deliver logs into a hardened destination bucket”; the requested controls for “Archive security logs at lower storage cost after the investigation window” and “Keep a central log bucket inaccessible to public principals” are absent.

D:

This option is only partly effective: 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”; but Retention enforces per-version write-once protection; lifecycle transitions alone do not prevent early deletion supports “Prevent attackers from deleting retained audit-log versions for a required period,” not the required “Keep a central log bucket inaccessible to public principals” outcome.

Question 243

In a traffic encryption assessment, engineers must cover two different requirements: Use a custom domain with an HTTPS CloudFront distribution. In addition, Protect inbound application traffic while enforcing modern TLS versions. Which option implements both?

  1. Set the distribution's origin protocol policy to HTTPS only; and apply an appropriate ALB SSL security policy to the HTTPS listener
  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. Provision the certificate for CloudFront in ACM in us-east-1 where required; and apply an appropriate ALB SSL security policy to the HTTPS listener
  4. 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

Explanation

Correct Answer

C:

This pairing handles the first requirement (“Use a custom domain with an HTTPS CloudFront distribution”) because cloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates; it handles the second (“Protect inbound application traffic while enforcing modern TLS versions”) because the listener security policy controls supported TLS protocols and cipher choices for client TLS negotiation; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

This solves the second problem (“Protect inbound application traffic while enforcing modern TLS versions”): The listener security policy controls supported TLS protocols and cipher choices for client TLS negotiation; however, the first action addresses “Encrypt traffic between CloudFront and a custom HTTPS origin”: Origin-side HTTPS protects the edge-to-origin hop; enforcing viewer HTTPS alone does not establish origin TLS; it does not satisfy “Use a custom domain with an HTTPS CloudFront distribution.”.

B:

Both mechanisms have legitimate uses, but for other requirements: The viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin supports “Require HTTPS for all viewer connections through CloudFront”; Origin-side HTTPS protects the edge-to-origin hop; enforcing viewer HTTPS alone does not establish origin TLS supports “Encrypt traffic between CloudFront and a custom HTTPS origin”; this does not resolve the stated “Use a custom domain with an HTTPS CloudFront distribution” and “Protect inbound application traffic while enforcing modern TLS versions” findings.

D:

One action is correctly chosen for “Use a custom domain with an HTTPS CloudFront distribution”: CloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates; the companion action relates to “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 other requested outcome, “Protect inbound application traffic while enforcing modern TLS versions,” remains outstanding.

Question 244

An assessment of the public application protection review has two findings. Finding one: Protect an Application Load Balancer from application-layer attack signatures. Finding two: Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription. Which combination remediates both?

  1. Put a CloudFront distribution in front of the supported origin; and configure CloudFront origin access control and restrict the bucket policy
  2. Configure CloudFront origin access control and restrict the bucket policy; and use AWS Shield Standard protections on supported AWS resources
  3. Associate a regional AWS WAF web ACL with the load balancer; and put a CloudFront distribution in front of the supported origin
  4. Associate a regional AWS WAF web ACL with the load balancer; and use AWS Shield Standard protections on supported AWS resources

Explanation

Correct Answer

D:

The implementation has a specific control for each objective: WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules for “Protect an Application Load Balancer from application-layer attack signatures”; Shield Standard provides built-in network and transport layer DDoS protection for supported services without requiring a WAF rule for “Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first proposed action addresses “Distribute incoming web traffic globally while reducing direct exposure of the origin”: CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests; the second addresses “Prevent viewers from directly fetching private S3 objects behind CloudFront”: Origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads; the combination does not achieve the required “Protect an Application Load Balancer from application-layer attack signatures” and “Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription” outcomes in this public application protection review.

B:

While shield Standard provides built-in network and transport layer DDoS protection for supported services without requiring a WAF rule is relevant to “Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription,” the other component targets “Prevent viewers from directly fetching private S3 objects behind CloudFront,” where origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads; the first acceptance criterion (“Protect an Application Load Balancer from application-layer attack signatures”) is not met.

C:

The first check would be covered, since WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules; yet the second choice is associated with “Distribute incoming web traffic globally while reducing direct exposure of the origin,” for which cloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests; no corresponding control satisfies “Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription.”.

Question 245

For a security tool integration assessment, engineers have been assigned this security outcome: Aggregate cross-account findings in a central security team account. What implementation best fits?

  1. Verify its namespace, metric dimensions, period, and alarm threshold
  2. Create a Security Hub custom insight grouped by workflow status and severity
  3. Inspect GuardDuty anomaly findings with relevant CloudTrail events
  4. Configure a delegated Security Hub administrator and member accounts

Explanation

Correct Answer

D:

Security Hub supports central security finding management when administrators and members are configured in supported Regions; for a security tool integration assessment, this is the measure that delivers the requirement to aggregate cross-account findings in a central security team account.

Incorrect Answers

A:

CloudWatch alarms evaluate a particular metric time series; incorrect dimensions or period selection can make the intended events invisible; its scope is the requirement to find why a custom CloudWatch alarm never triggered during an incident, rather than the requirement to aggregate cross-account findings in a central security team account for a security tool integration assessment.

B:

Insights filter and aggregate standardized findings for prioritization; they do not replace detector collection; its scope is the requirement to identify security findings that remain unresolved despite repeated alerts, rather than the requirement to aggregate cross-account findings in a central security team account for a security tool integration assessment.

C:

Threat findings provide an anomaly lead, while CloudTrail records show the specific API actor and sequence for verification; this would help with the requirement to identify a change in user behavior from an unusual sequence of AWS API calls, leaving the requirement to aggregate cross-account findings in a central security team account unresolved in a security tool integration assessment.

Question 246

A security architecture review for an AWS Organizations guardrail design contains 2 independently assessed work items: (1) Define an emergency administrator access route that does not depend on a compromised identity provider; (2) Transfer governance of routine security operations away from the management account. Which actions directly implement those requirements? Choose TWO.

  1. Register a supported security-service delegated administrator in a member account
  2. Restrict Organizations membership API actions to a central administrative role
  3. Review IAM Identity Center assignments and provisioned permission sets
  4. Design a documented break-glass role and tightly secured emergency credential process
  5. Follow an approved account closure and resource offboarding workflow

Explanation

Correct Answers

A:

Service-specific delegation limits day-to-day use of the most privileged organization account without bypassing the overall service guardrails; in an AWS Organizations guardrail design, this is one of the independently required safeguards because it addresses the requirement to transfer governance of routine security operations away from the management account.

D:

Tested alternate access can preserve incident-response authority while separate logging and approval reduce abuse risk; in an AWS Organizations guardrail design, this is one of the independently required safeguards because it addresses the requirement to define an emergency administrator access route that does not depend on a compromised identity provider.

Incorrect Answers

B:

Organizations permissions control account relationships and policy attachment at the organization boundary; in an AWS Organizations guardrail design, that supports the requirement to limit who can invite or remove accounts from an organization, which is distinct from the 2 enumerated security work items.

C:

Central assignments reveal which users and groups can obtain roles in each managed account; in an AWS Organizations guardrail design, that supports the requirement to centralize access assignment audits for workforce roles, which is distinct from the 2 enumerated security work items.

E:

Formal closure requires inventory, data preservation and service termination rather than simply deleting a row from a billing report; in an AWS Organizations guardrail design, that supports the requirement to retire an unused AWS member account without leaving running resources, which is distinct from the 2 enumerated security work items.

Question 247

A review board evaluating the permissions and authorization review rejects fixes that cover just one requirement. The requirements are: Ensure a role can be assumed only by the approved external account and principal; and Delegate permissions to modify one resource's policy without granting broad IAM administration. Which configuration addresses both?

  1. Authorize kms:Decrypt through appropriate key policy and IAM conditions; and enable S3 Block Public Access at the desired account or bucket level
  2. Enable S3 Block Public Access at the desired account or bucket level; and grant the resource's specific policy-management actions for its ARN
  3. Narrow the IAM role trust policy Principal and conditions; and authorize kms:Decrypt through appropriate key policy and IAM conditions
  4. Narrow the IAM role trust policy Principal and conditions; and grant the resource's specific policy-management actions for its ARN

Explanation

Correct Answer

D:

For “Ensure a role can be assumed only by the approved external account and principal,” the governing behavior is: The trust policy governs who may assume the role; the role permission policy governs what the resulting session may do; for the separate check “Delegate permissions to modify one resource's policy without granting broad IAM administration,” it is: Service-specific resource policy API rights can be scoped independently from unrelated IAM user and role management privileges; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

This combination targets different outcomes: KMS requires key-policy authorization and, where applicable, identity-based permissions; a broad S3 permission does not grant cryptographic key use helps with “Permit an application to decrypt only with one designated customer-managed KMS key”; Block Public Access controls can reject or restrict public-access configurations independently of normal bucket-policy permits helps with “Prevent a public S3 bucket policy even when administrators mistakenly add one”; neither implements the required “Ensure a role can be assumed only by the approved external account and principal” and “Delegate permissions to modify one resource's policy without granting broad IAM administration” outcomes together.

B:

Only the second requirement is covered: Service-specific resource policy API rights can be scoped independently from unrelated IAM user and role management privileges supports “Delegate permissions to modify one resource's policy without granting broad IAM administration”; by contrast, Block Public Access controls can reject or restrict public-access configurations independently of normal bucket-policy permits concerns “Prevent a public S3 bucket policy even when administrators mistakenly add one,” leaving “Ensure a role can be assumed only by the approved external account and principal” unresolved.

C:

The first part is appropriate for “Ensure a role can be assumed only by the approved external account and principal” because the trust policy governs who may assume the role; the role permission policy governs what the resulting session may do; the second part addresses a different issue (“Permit an application to decrypt only with one designated customer-managed KMS key”) because KMS requires key-policy authorization and, where applicable, identity-based permissions; a broad S3 permission does not grant cryptographic key use; it does not fulfill the “Delegate permissions to modify one resource's policy without granting broad IAM administration” test.

Question 248

An AWS team is correcting two gaps in the central log collection migration: Audit S3 GetObject operations instead of only bucket-policy changes; and Confirm that delivered CloudTrail log objects have not been altered. Which proposed set of controls fixes both gaps?

  1. Enable CloudTrail S3 data event logging for the selected object resources; and enable CloudTrail log file integrity validation and verify digest files
  2. Enable CloudTrail S3 data event logging for the selected object resources; and create a subscription filter to an authorized Kinesis delivery destination
  3. Configure a multi-Region CloudTrail trail with an S3 destination; and enable CloudTrail log file integrity validation and verify digest files
  4. Create a subscription filter to an authorized Kinesis delivery destination; and configure a multi-Region CloudTrail trail with an S3 destination

Explanation

Correct Answer

A:

For “Audit S3 GetObject operations instead of only bucket-policy changes,” the governing behavior is: Object-level data-plane reads are not included in ordinary management-event history unless data events are configured; for the separate check “Confirm that delivered CloudTrail log objects have not been altered,” it is: Signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification; this is why the two controls belong together in the proposed change.

Incorrect Answers

B:

The first part is appropriate for “Audit S3 GetObject operations instead of only bucket-policy changes” because object-level data-plane reads are not included in ordinary management-event history unless data events are configured; the second part addresses a different issue (“Stream application log events from CloudWatch Logs toward an external SIEM”) because CloudWatch Logs subscriptions forward matching log events continuously, unlike Logs Insights which is primarily an interactive query tool; it does not fulfill the “Confirm that delivered CloudTrail log objects have not been altered” test.

C:

Only the second requirement is covered: Signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification supports “Confirm that delivered CloudTrail log objects have not been altered”; by contrast, A multi-Region trail records supported management events across current and newly added Regions in the account concerns “Record AWS management API activity in every Region into protected storage,” leaving “Audit S3 GetObject operations instead of only bucket-policy changes” unresolved.

D:

This combination targets different outcomes: CloudWatch Logs subscriptions forward matching log events continuously, unlike Logs Insights which is primarily an interactive query tool helps with “Stream application log events from CloudWatch Logs toward an external SIEM”; A multi-Region trail records supported management events across current and newly added Regions in the account helps with “Record AWS management API activity in every Region into protected storage”; neither implements the required “Audit S3 GetObject operations instead of only bucket-policy changes” and “Confirm that delivered CloudTrail log objects have not been altered” outcomes together.

Question 249

An architect is reviewing an immutable evidence protection review. The acceptance criterion reads: Limit sensitive KMS key use to one AWS service integration. Which approach satisfies it?

  1. Configure default bucket encryption with SSE-KMS and the chosen customer-managed key
  2. Disable the key while coordinating a recovery and re-encryption plan
  3. Constrain the KMS key policy using kms:ViaService where supported
  4. Grant kms:Decrypt through the key policy and necessary IAM authorization
  5. Use a KMS encryption context for supported symmetric KMS operations

Explanation

Correct Answer

C:

Service-context conditions limit when the KMS key may be used through an approved integrated AWS service; it addresses the requirement to limit sensitive KMS key use to one AWS service integration at the right security boundary during an immutable evidence protection review.

Incorrect Answers

A:

For the different objective “Use a customer-managed KMS key for S3 object encryption with key-level access controls,” SSE-KMS integrates S3 object encryption with KMS authorization and key-use auditing beyond S3-managed key controls; the scenario instead requires “Limit sensitive KMS key use to one AWS service integration,” which is a separate security mechanism.

B:

A disabled KMS key cannot perform new cryptographic operations, which can also make dependent encrypted data inaccessible; this addresses the requirement to stop further encrypted data operations with a compromised customer-managed KMS key, not the requirement to limit sensitive KMS key use to one AWS service integration, which is needed in an immutable evidence protection review.

D:

KMS cryptographic permissions depend on key-policy access and any required identity policy, which is distinct from metadata visibility; its purpose is the requirement to allow an authorized principal to use a KMS key for decryption rather than just list it, but the acceptance criterion in an immutable evidence protection review is the requirement to limit sensitive KMS key use to one AWS service integration.

E:

An encryption context is cryptographically bound as additional authenticated data, so changing it invalidates decryption; its scope is the requirement to protect encryption operations with authenticated associated data that must match at decryption, rather than the requirement to limit sensitive KMS key use to one AWS service integration for an immutable evidence protection review.

Question 250

In a public application protection review, engineers must cover two different requirements: Protect against unwanted DNS redirection through domain management. In addition, Prevent all public access to an internal API endpoint. Which option implements both?

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

Explanation

Correct Answer

C:

This pairing handles the first requirement (“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 handles the second (“Prevent all public access to an internal API endpoint”) because A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

This solves the second problem (“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; however, the first action addresses “Identify and block bot-like HTTP behaviors with application-aware inspection”: Bot Control evaluates bot-related request signals at the web ACL, rather than relying only on Layer 3 network filtering; it does not satisfy “Protect against unwanted DNS redirection through domain management.”.

B:

Both mechanisms have legitimate uses, but for other requirements: 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”; Bot Control evaluates bot-related request signals at the web ACL, rather than relying only on Layer 3 network filtering supports “Identify and block bot-like HTTP behaviors with application-aware inspection”; this does not resolve the stated “Protect against unwanted DNS redirection through domain management” and “Prevent all public access to an internal API endpoint” findings.

D:

One action is correctly chosen for “Protect against unwanted DNS redirection through domain management”: Transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule; the companion action relates to “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 other requested outcome, “Prevent all public access to an internal API endpoint,” remains outstanding.

AWS Certified Security - Specialty SCS-C03 Practice Tests