Question 500
Two security control owners share a compute workload hardening effort. One is responsible for this outcome: Prevent an EKS pod from inheriting broad worker-node permissions. The other needs: Use Secrets Manager values inside application containers without embedding them in image layers. Which implementation covers both?
- Enable Amazon ECR image scanning with an appropriate scanning mode; and retrieve secrets at runtime using the workload's permitted IAM role
- Narrow the Lambda execution role's identity policy; and enable Amazon ECR image scanning with an appropriate scanning mode
- Use IAM roles for service accounts for the pod's supported identity pattern; and retrieve secrets at runtime using the workload's permitted IAM role
- Use IAM roles for service accounts for the pod's supported identity pattern; and narrow the Lambda execution role's identity policy
Explanation
Correct Answer
C:Two different security outcomes are required in this compute workload hardening effort; Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload supports “Prevent an EKS pod from inheriting broad worker-node permissions,” while Runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity supports “Use Secrets Manager values inside application containers without embedding them in image layers”; neither check is assumed to follow from the other.
Incorrect Answers
A:The option has a useful control for “Use Secrets Manager values inside application containers without embedding them in image layers” because runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; its other control applies to “Assess known vulnerabilities in container images stored in a registry” because ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; it misses the first requirement, “Prevent an EKS pod from inheriting broad worker-node permissions.”.
B:Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it is pertinent to “Restrict a Lambda function's access to S3 operations,” and ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image is pertinent to “Assess known vulnerabilities in container images stored in a registry”; the requested controls for “Prevent an EKS pod from inheriting broad worker-node permissions” and “Use Secrets Manager values inside application containers without embedding them in image layers” are absent.
D:This option is only partly effective: Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload supports “Prevent an EKS pod from inheriting broad worker-node permissions”; but Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it supports “Restrict a Lambda function's access to S3 operations,” not the required “Use Secrets Manager values inside application containers without embedding them in image layers” outcome.
Question 501
An implementation in the logging access troubleshooting session must solve two separate problems, not merely strengthen one safeguard: A destination bucket accepts logs but investigators cannot read them; An S3 log archive is editable by identities outside the security account. Which change meets the full request?
- Grant least-privilege S3 object read access and any required KMS decrypt rights; and allow the needed logs query API actions on appropriate resources
- Grant least-privilege S3 object read access and any required KMS decrypt rights; and add restrictive bucket controls and object retention, not just lifecycle rules
- Allow the needed logs query API actions on appropriate resources; and fix the delivery role's S3 write and applicable KMS permissions
- Fix the delivery role's S3 write and applicable KMS permissions; and add restrictive bucket controls and object retention, not just lifecycle rules
Explanation
Correct Answer
B:This pairing handles the first requirement (“A destination bucket accepts logs but investigators cannot read them”) because successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers; it handles the second (“An S3 log archive is editable by identities outside the security account”) because access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it; both acceptance criteria are therefore addressed.
Incorrect Answers
A:One action is correctly chosen for “A destination bucket accepts logs but investigators cannot read them”: Successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers; the companion action relates to “CloudWatch Logs Insights users receive an authorization error during queries”: Reading log streams and running Logs Insights queries involve different API permissions; query execution is subject to IAM authorization; the other requested outcome, “An S3 log archive is editable by identities outside the security account,” remains outstanding.
C:Both mechanisms have legitimate uses, but for other requirements: Reading log streams and running Logs Insights queries involve different API permissions; query execution is subject to IAM authorization supports “CloudWatch Logs Insights users receive an authorization error during queries”; the Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer supports “A Kinesis Firehose delivery stream cannot write log objects to S3”; this does not resolve the stated “A destination bucket accepts logs but investigators cannot read them” and “An S3 log archive is editable by identities outside the security account” findings.
D:This solves the second problem (“An S3 log archive is editable by identities outside the security account”): Access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it; however, the first action addresses “A Kinesis Firehose delivery stream cannot write log objects to S3”: The Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer; it does not satisfy “A destination bucket accepts logs but investigators cannot read them.”.
Question 502
Before closing the public application protection review, a team must demonstrate the following: Prevent all public access to an internal API endpoint; plus Require viewer connections to a CloudFront distribution to use HTTPS. Which paired change would complete the work?
- Enable Route 53 domain transfer lock where applicable; and use AWS WAF Bot Control managed rule groups where supported
- Use AWS WAF Bot Control managed rule groups where supported; and configure the CloudFront viewer protocol policy to redirect or require HTTPS
- Use API Gateway private endpoint access with an appropriate resource policy; and enable Route 53 domain transfer lock where applicable
- Use API Gateway private endpoint access with an appropriate resource policy; and configure the CloudFront viewer protocol policy to redirect or require HTTPS
Explanation
Correct Answer
D:The implementation has a specific control for each objective: A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL for “Prevent all public access to an internal API endpoint”; the viewer-side protocol policy governs HTTP-to-HTTPS behavior independently of origin protocol configuration for “Require viewer connections to a CloudFront distribution to use HTTPS”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first proposed action addresses “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 second 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; the combination does not achieve the required “Prevent all public access to an internal API endpoint” and “Require viewer connections to a CloudFront distribution to use HTTPS” outcomes in this public application protection review.
B:While the viewer-side protocol policy governs HTTP-to-HTTPS behavior independently of origin protocol configuration is relevant to “Require viewer connections to a CloudFront distribution to use HTTPS,” the other component targets “Identify and block bot-like HTTP behaviors with application-aware inspection,” where bot Control evaluates bot-related request signals at the web ACL, rather than relying only on Layer 3 network filtering; the first acceptance criterion (“Prevent all public access to an internal API endpoint”) is not met.
C:The first check would be covered, since A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL; yet the second choice is associated with “Protect against unwanted DNS redirection through domain management,” for which transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule; no corresponding control satisfies “Require viewer connections to a CloudFront distribution to use HTTPS.”.
Question 503
An assessment of the storage encryption control review has two findings. Finding one: Protect a legacy S3 Glacier vault archive against retention-policy alteration. Finding two: Prevent changes to an S3 object version for a fixed compliance retention period. Which combination remediates both?
- Configure and lock a Glacier vault access policy with Vault Lock; and verify a cryptographic checksum or digital signature from a trusted source
- Configure and lock a Glacier vault access policy with Vault Lock; and use S3 Object Lock in compliance mode for the required retention
- Verify a cryptographic checksum or digital signature from a trusted source; and use S3 Object Lock governance mode with controlled bypass permission
- Use S3 Object Lock governance mode with controlled bypass permission; and use S3 Object Lock in compliance mode for the required retention
Explanation
Correct Answer
B:The implementation has a specific control for each objective: Glacier Vault Lock can make vault policy controls immutable after the lock process is finalized for “Protect a legacy S3 Glacier vault archive against retention-policy alteration”; Compliance-mode retention cannot be shortened or removed by ordinary administrators while the retention period is active for “Prevent changes to an S3 object version for a fixed compliance retention period”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first check would be covered, since glacier Vault Lock can make vault policy controls immutable after the lock process is finalized; yet the second choice is associated with “Detect tampering of a downloaded file without requiring confidentiality,” for which hashes and verified signatures detect changed bytes; they do not themselves encrypt the file's contents; no corresponding control satisfies “Prevent changes to an S3 object version for a fixed compliance retention period.”.
C:The first proposed action addresses “Detect tampering of a downloaded file without requiring confidentiality”: Hashes and verified signatures detect changed bytes; they do not themselves encrypt the file's contents; the second addresses “Allow authorized governance operators to override certain S3 retention locks”: Governance-mode protection supports narrowly authorized bypass, unlike stricter compliance-mode retention; the combination does not achieve the required “Protect a legacy S3 Glacier vault archive against retention-policy alteration” and “Prevent changes to an S3 object version for a fixed compliance retention period” outcomes in this storage encryption control review.
D:While compliance-mode retention cannot be shortened or removed by ordinary administrators while the retention period is active is relevant to “Prevent changes to an S3 object version for a fixed compliance retention period,” the other component targets “Allow authorized governance operators to override certain S3 retention locks,” where governance-mode protection supports narrowly authorized bypass, unlike stricter compliance-mode retention; the first acceptance criterion (“Protect a legacy S3 Glacier vault archive against retention-policy alteration”) is not met.
Question 504
In a least-privilege IAM authorization review, a control owner must address the following requirement: Constrain a third-party role assumption to a unique customer relationship. Which option should be selected?
- Remove or narrow the applicable explicit deny only after validating policy intent
- Use aws:PrincipalOrgID in a compatible resource-based policy
- Add sts:ExternalId validation to the cross-account role trust policy
- Combine explicit-deny bucket-policy conditions with necessary service exceptions
- Evaluate the key policy, grantee permissions, and relevant identity policy
Explanation
Correct Answer
C:External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers; for a least-privilege IAM authorization review, this is the measure that delivers the requirement to constrain a third-party role assumption to a unique customer relationship.
Incorrect Answers
A: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 “Constrain a third-party role assumption to a unique customer relationship,” which is a separate security mechanism.
B:Organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping; its scope is the requirement to restrict access based on an organization identifier rather than enumerating every member account, rather than the requirement to constrain a third-party role assumption to a unique customer relationship for a least-privilege IAM authorization review.
D:A deny conditioned on source endpoint can enforce a private path but must account for AWS service requests that lack normal VPC endpoint keys; the important distinction in a least-privilege IAM authorization review is that this supports the requirement to deny an application access to a bucket except through the dedicated network path instead of the requirement to constrain a third-party role assumption to a unique customer relationship.
E:Cross-account cryptographic use depends on permissions on both sides plus key-policy authorization, not simply a role name match; its scope is the requirement to identify exactly what authorizes cross-account access to a specific KMS key, rather than the requirement to constrain a third-party role assumption to a unique customer relationship for a least-privilege IAM authorization review.
Question 505
An AWS team is correcting two gaps in the incident response rehearsal: Send incident alerts to an on-call distribution group after matching a security finding; and Prevent a response Lambda from having blanket administrator privileges. Which proposed set of controls fixes both gaps?
- Launch replacement capacity from a verified hardened AMI; and assign its execution role only the actions and resources needed by the runbook
- Inspect the AssumeRole event and session identity fields in CloudTrail; and launch replacement capacity from a verified hardened AMI
- Route the finding event through EventBridge to an SNS topic; and assign its execution role only the actions and resources needed by the runbook
- Route the finding event through EventBridge to an SNS topic; and inspect the AssumeRole event and session identity fields in CloudTrail
Explanation
Correct Answer
C:For “Send incident alerts to an on-call distribution group after matching a security finding,” the governing behavior is: SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; for the separate check “Prevent a response Lambda from having blanket administrator privileges,” it is: Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:Only the second requirement is covered: Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused supports “Prevent a response Lambda from having blanket administrator privileges”; by contrast, Rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated concerns “Recover a known-good workload after an incident while retaining compromised images for evidence,” leaving “Send incident alerts to an on-call distribution group after matching a security finding” unresolved.
B:This combination targets different outcomes: CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller helps with “Determine which principal originally assumed a suspicious cross-account role”; Rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated helps with “Recover a known-good workload after an incident while retaining compromised images for evidence”; neither implements the required “Send incident alerts to an on-call distribution group after matching a security finding” and “Prevent a response Lambda from having blanket administrator privileges” outcomes together.
D:The first part is appropriate for “Send incident alerts to an on-call distribution group after matching a security finding” because SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; the second part addresses a different issue (“Determine which principal originally assumed a suspicious cross-account role”) because CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; it does not fulfill the “Prevent a response Lambda from having blanket administrator privileges” test.
Question 506
A security architecture review for a CloudFormation change-management process contains 2 independently assessed work items: (1) Share a supported network resource with other member accounts without duplicating it; (2) Manage a fleet of AWS instances as an operational grouping without a new account. Which actions directly implement those requirements? Choose TWO.
- Use AWS Resource Groups with matching resource tags
- Apply AWS Firewall Manager organization policies
- Use AWS Resource Access Manager with explicit shares
- Define and enforce a tagging strategy with AWS Organizations tag policies where applicable
Explanation
Correct Answers
A:Resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries; in a CloudFormation change-management process, this is one of the independently required safeguards because it addresses the requirement to manage a fleet of AWS instances as an operational grouping without a new account.
C:RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls; in a CloudFormation change-management process, this is one of the independently required safeguards because it addresses the requirement to share a supported network resource with other member accounts without duplicating it.
Incorrect Answers
B:Firewall Manager centrally scopes security policy enforcement across accounts and supported resource types; in a CloudFormation change-management process, that supports the requirement to enforce standard firewall and WAF policies for many accounts centrally, which is distinct from the 2 enumerated security work items.
D:Tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation; in a CloudFormation change-management process, that supports the requirement to group AWS resources using consistent key-value business metadata, which is distinct from the 2 enumerated security work items.
Question 507
Two security control owners share a compute workload hardening effort. One is responsible for this outcome: Identify a vulnerable package but avoid treating a scanner as a patch engine. The other needs: Block host-level outbound traffic that is not needed for a Linux workload. Which implementation covers both?
- Use Systems Manager State Manager associations and compliance reporting; and use Systems Manager Session Manager with appropriate agent and role configuration
- Use Systems Manager Session Manager with appropriate agent and role configuration; and configure the operating system's host firewall in addition to VPC controls
- Use Inspector findings to prioritize Patch Manager remediation; and use Systems Manager State Manager associations and compliance reporting
- Use Inspector findings to prioritize Patch Manager remediation; and configure the operating system's host firewall in addition to VPC controls
Explanation
Correct Answer
D:Two different security outcomes are required in this compute workload hardening effort; Inspector supplies vulnerability evidence; Systems Manager patch workflows perform the operating-system update actions supports “Identify a vulnerable package but avoid treating a scanner as a patch engine,” while A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs supports “Block host-level outbound traffic that is not needed for a Linux workload”; neither check is assumed to follow from the other.
Incorrect Answers
A:State Manager helps maintain and report desired managed-node configurations rather than rebuilding every instance on each check is pertinent to “Detect drift from a golden AMI's approved operating-system configuration,” and Session Manager provides controlled session access without requiring inbound SSH ports, subject to its endpoint and permission prerequisites is pertinent to “Avoid interactive SSH exposure while administering private EC2 instances”; the requested controls for “Identify a vulnerable package but avoid treating a scanner as a patch engine” and “Block host-level outbound traffic that is not needed for a Linux workload” are absent.
B:The option has a useful control for “Block host-level outbound traffic that is not needed for a Linux workload” because A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs; its other control applies to “Avoid interactive SSH exposure while administering private EC2 instances” because session Manager provides controlled session access without requiring inbound SSH ports, subject to its endpoint and permission prerequisites; it misses the first requirement, “Identify a vulnerable package but avoid treating a scanner as a patch engine.”.
C:This option is only partly effective: Inspector supplies vulnerability evidence; Systems Manager patch workflows perform the operating-system update actions supports “Identify a vulnerable package but avoid treating a scanner as a patch engine”; but State Manager helps maintain and report desired managed-node configurations rather than rebuilding every instance on each check supports “Detect drift from a golden AMI's approved operating-system configuration,” not the required “Block host-level outbound traffic that is not needed for a Linux workload” outcome.
Question 508
An assessment of the security event analytics project has two findings. Finding one: Analyze archived JSON logs with predictable parsing rather than manual grep. Finding two: Identify a denied subnet connection from recorded network-flow dispositions. Which combination remediates both?
- Define a compatible schema and query the S3 archive with Athena; and analyze Route 53 Resolver query logs for suspicious domain patterns
- Define a compatible schema and query the S3 archive with Athena; and filter VPC Flow Logs by REJECT entries and source/destination details
- Analyze Route 53 Resolver query logs for suspicious domain patterns; and create a metric filter from the log pattern and alarm on its resulting metric
- Create a metric filter from the log pattern and alarm on its resulting metric; and filter VPC Flow Logs by REJECT entries and source/destination details
Explanation
Correct Answer
B:The implementation has a specific control for each objective: Structured SQL analysis depends on matching the stored JSON layout; no console event-history filter will parse arbitrary archived app logs for “Analyze archived JSON logs with predictable parsing rather than manual grep”; Flow metadata includes action and addresses for supported traffic, supporting triage of network policy outcomes for “Identify a denied subnet connection from recorded network-flow dispositions”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first check would be covered, since structured SQL analysis depends on matching the stored JSON layout; no console event-history filter will parse arbitrary archived app logs; yet the second choice is associated with “Investigate a DNS-based exfiltration indicator by queried domain,” for which resolver logs record query names and associated context, unlike VPC Flow Logs which do not supply full domain names; no corresponding control satisfies “Identify a denied subnet connection from recorded network-flow dispositions.”.
C:The first proposed action addresses “Investigate a DNS-based exfiltration indicator by queried domain”: Resolver logs record query names and associated context, unlike VPC Flow Logs which do not supply full domain names; the second addresses “Reduce repeated manual searches for a frequent CloudWatch log anomaly”: Metric filters convert qualifying records to numeric series for continuous alerting after the pattern is understood; the combination does not achieve the required “Analyze archived JSON logs with predictable parsing rather than manual grep” and “Identify a denied subnet connection from recorded network-flow dispositions” outcomes in this security event analytics project.
D:While flow metadata includes action and addresses for supported traffic, supporting triage of network policy outcomes is relevant to “Identify a denied subnet connection from recorded network-flow dispositions,” the other component targets “Reduce repeated manual searches for a frequent CloudWatch log anomaly,” where metric filters convert qualifying records to numeric series for continuous alerting after the pattern is understood; the first acceptance criterion (“Analyze archived JSON logs with predictable parsing rather than manual grep”) is not met.
Question 509
Before closing the key and certificate lifecycle review, a team must demonstrate the following: Bring independently generated symmetric material into a KMS key under defined import requirements; plus Separate symmetric encryption keys from signing keys. Which paired change would complete the work?
- Configure supported AWS KMS automatic key rotation; and choose the appropriate KMS key spec and key usage for encryption or sign/verify
- Create a narrowly scoped AWS KMS grant; and configure supported AWS KMS automatic key rotation
- Import key material into a supported KMS key with an origin of EXTERNAL; and choose the appropriate KMS key spec and key usage for encryption or sign/verify
- Import key material into a supported KMS key with an origin of EXTERNAL; and create a narrowly scoped AWS KMS grant
Explanation
Correct Answer
C:The implementation has a specific control for each objective: Imported key material follows expiration and deletion considerations different from AWS-generated key material for “Bring independently generated symmetric material into a KMS key under defined import requirements”; KMS key usage and key spec define supported cryptographic operations; encryption keys are not interchangeable with signing keys for “Separate symmetric encryption keys from signing keys”; the combined option satisfies the two-part request.
Incorrect Answers
A:While KMS key usage and key spec define supported cryptographic operations; encryption keys are not interchangeable with signing keys is relevant to “Separate symmetric encryption keys from signing keys,” the other component targets “Rotate cryptographic key material for eligible symmetric customer-managed KMS keys,” where key rotation changes key material while keeping the logical key identifier for supported symmetric customer-managed keys; the first acceptance criterion (“Bring independently generated symmetric material into a KMS key under defined import requirements”) is not met.
B:The first proposed action addresses “Authorize cryptographic key use for a temporary service integration without broadly editing policies”: Grants delegate selected KMS operations under constraints, useful for temporary or AWS-service-driven access patterns; the second addresses “Rotate cryptographic key material for eligible symmetric customer-managed KMS keys”: Key rotation changes key material while keeping the logical key identifier for supported symmetric customer-managed keys; the combination does not achieve the required “Bring independently generated symmetric material into a KMS key under defined import requirements” and “Separate symmetric encryption keys from signing keys” outcomes in this key and certificate lifecycle review.
D:The first check would be covered, since imported key material follows expiration and deletion considerations different from AWS-generated key material; yet the second choice is associated with “Authorize cryptographic key use for a temporary service integration without broadly editing policies,” for which grants delegate selected KMS operations under constraints, useful for temporary or AWS-service-driven access patterns; no corresponding control satisfies “Separate symmetric encryption keys from signing keys.”.
Question 510
During a permission boundary and SCP assessment, the security team has this work item: Ensure a role can be assumed only by the approved external account and principal. Which AWS action is the most direct implementation?
- Remove or narrow the applicable explicit deny only after validating policy intent
- Narrow the IAM role trust policy Principal and conditions
- Grant the resource's specific policy-management actions for its ARN
- Authorize kms:Decrypt through appropriate key policy and IAM conditions
- Enable S3 Block Public Access at the desired account or bucket level
Explanation
Correct Answer
B:The trust policy governs who may assume the role; the role permission policy governs what the resulting session may do; it addresses the requirement to ensure a role can be assumed only by the approved external account and principal at the right security boundary during a permission boundary and SCP assessment.
Incorrect Answers
A: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 “Ensure a role can be assumed only by the approved external account and principal,” which is a separate security mechanism.
C:Service-specific resource policy API rights can be scoped independently from unrelated IAM user and role management privileges; the important distinction in a permission boundary and SCP assessment is that this supports the requirement to delegate permissions to modify one resource's policy without granting broad IAM administration instead of the requirement to ensure a role can be assumed only by the approved external account and principal.
D:KMS requires key-policy authorization and, where applicable, identity-based permissions; a broad S3 permission does not grant cryptographic key use; its purpose is the requirement to permit an application to decrypt only with one designated customer-managed KMS key, but the acceptance criterion in a permission boundary and SCP assessment is the requirement to ensure a role can be assumed only by the approved external account and principal.
E:Block Public Access controls can reject or restrict public-access configurations independently of normal bucket-policy permits; its purpose is the requirement to prevent a public S3 bucket policy even when administrators mistakenly add one, but the acceptance criterion in a permission boundary and SCP assessment is the requirement to ensure a role can be assumed only by the approved external account and principal.