Question 300
During a VPC connectivity and segmentation rollout, reviewers document two independent acceptance criteria. First: Restrict which S3 buckets applications can reach through a gateway endpoint. Second: Connect many VPCs through centralized routing without individual full meshes. Which combined implementation satisfies both?
- Apply a least-privilege VPC endpoint policy; and create an interface VPC endpoint using AWS PrivateLink
- Apply a least-privilege VPC endpoint policy; and attach VPCs to a Transit Gateway with controlled route tables
- Create an interface VPC endpoint using AWS PrivateLink; and configure AWS Site-to-Site VPN with suitable customer gateway settings
- Configure AWS Site-to-Site VPN with suitable customer gateway settings; and attach VPCs to a Transit Gateway with controlled route tables
Explanation
Correct Answer
B:The first control addresses the check “Restrict which S3 buckets applications can reach through a gateway endpoint”: Endpoint policies filter requests traversing the endpoint; they complement rather than replace IAM and bucket policies; the other addresses “Connect many VPCs through centralized routing without individual full meshes”: Transit Gateway centralizes network transit and segmentation through attachments and route-table associations and propagations; these two mechanisms cover the complete VPC connectivity and segmentation rollout.
Incorrect Answers
A:Endpoint policies filter requests traversing the endpoint; they complement rather than replace IAM and bucket policies; this is relevant to the first objective (“Restrict which S3 buckets applications can reach through a gateway endpoint”); however, the other action is meant for “Access a supported AWS service privately through private VPC IP addresses”: An interface endpoint creates endpoint network interfaces and supports private connections to compatible services; it leaves the required “Connect many VPCs through centralized routing without individual full meshes” behavior unimplemented.
C:The first action belongs to “Access a supported AWS service privately through private VPC IP addresses” because an interface endpoint creates endpoint network interfaces and supports private connections to compatible services; the second belongs to “Connect on-premises and AWS over an IPsec tunnel across the internet” because site-to-Site VPN encrypts supported network traffic between gateways using IPsec tunnels over the selected transport; these are not the required checks, “Restrict which S3 buckets applications can reach through a gateway endpoint” and “Connect many VPCs through centralized routing without individual full meshes.”.
D:Transit Gateway centralizes network transit and segmentation through attachments and route-table associations and propagations; this fulfills the second objective (“Connect many VPCs through centralized routing without individual full meshes”); the other action is intended for “Connect on-premises and AWS over an IPsec tunnel across the internet”: Site-to-Site VPN encrypts supported network traffic between gateways using IPsec tunnels over the selected transport; it does not meet the requested “Restrict which S3 buckets applications can reach through a gateway endpoint” check.
Question 301
In an audit trail troubleshooting session, a control owner must address the following requirement: A trail reports S3 delivery errors after a bucket-policy hardening change. Which option should be selected?
- Add the necessary S3 object data-event selectors to the trail
- Restore the precise S3 bucket policy statements that permit CloudTrail delivery
- Repair the CloudWatch Logs publishing role or destination resource permissions
- Review the key policy for the CloudTrail log-encryption service permissions
- Expand or create Flow Logs coverage for that network interface or containing subnet
Explanation
Correct Answer
B:A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; for an audit trail troubleshooting session, this is the measure that delivers the reported condition: a trail reports S3 delivery errors after a bucket-policy hardening change.
Incorrect Answers
A:Management-event collection does not imply coverage of object-level operations, even in the same account; this addresses the reported condition: S3 GetObject calls are absent while management calls remain visible, not the reported condition: a trail reports S3 delivery errors after a bucket-policy hardening change, which is needed in an audit trail troubleshooting session.
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 reported condition: a trail reports S3 delivery errors after a bucket-policy hardening change, which is needed in an audit trail troubleshooting session.
D:SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations; its scope is the requirement to CloudTrail events stop arriving after the KMS key policy is tightened, rather than the reported condition: a trail reports S3 delivery errors after a bucket-policy hardening change for an audit trail troubleshooting session.
E:Flow Logs capture only interfaces covered by the configured scope and supported traffic records; the important distinction in an audit trail troubleshooting session is that this supports the reported condition: flow logs show no records for a new ENI outside the original logging scope instead of the reported condition: a trail reports S3 delivery errors after a bucket-policy hardening change.
Question 302
The compute workload hardening effort cannot pass unless both of these outcomes are demonstrated: Deploy a repeatable hardened operating-system image to new instances; Install security patches on a large fleet without individually logging in. Which two-part plan is suitable?
- Require IMDSv2 on the instance metadata options; and attach an IAM instance profile with a least-privilege role
- Attach an IAM instance profile with a least-privilege role; and use Systems Manager Patch Manager with approved baselines
- Build and test a hardened AMI with EC2 Image Builder; and require IMDSv2 on the instance metadata options
- Build and test a hardened AMI with EC2 Image Builder; and use Systems Manager Patch Manager with approved baselines
Explanation
Correct Answer
D:Two different security outcomes are required in this compute workload hardening effort; Image Builder automates image build pipelines and validation so baseline changes can be propagated consistently supports “Deploy a repeatable hardened operating-system image to new instances,” while 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”; neither check is assumed to follow from the other.
Incorrect Answers
A:Enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios is pertinent to “Block access to the EC2 Instance Metadata Service version 1,” and Instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys is pertinent to “Avoid storing long-term AWS access keys on an EC2 instance”; the requested controls for “Deploy a repeatable hardened operating-system image to new instances” and “Install security patches on a large fleet without individually logging in” are absent.
B:The option has a useful control for “Install security patches on a large fleet without individually logging in” because patch Manager coordinates OS patch compliance and installation on managed nodes according to selected patch baselines; its other control applies to “Avoid storing long-term AWS access keys on an EC2 instance” because instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys; it misses the first requirement, “Deploy a repeatable hardened operating-system image to new instances.”.
C:This option is only partly effective: Image Builder automates image build pipelines and validation so baseline changes can be propagated consistently supports “Deploy a repeatable hardened operating-system image to new instances”; but Enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios supports “Block access to the EC2 Instance Metadata Service version 1,” not the required “Install security patches on a large fleet without individually logging in” outcome.
Question 303
Two security control owners share a traffic encryption assessment. One is responsible for this outcome: Use a custom domain with an HTTPS CloudFront distribution. The other needs: Require HTTPS for all viewer connections through CloudFront. Which implementation covers both?
- 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
- Provision the certificate for CloudFront in ACM in us-east-1 where required; and set the distribution's origin protocol policy to HTTPS only
- Attach a suitable ACM certificate to the load balancer's TLS listener; and set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy
- Set the distribution's origin protocol policy to HTTPS only; and attach a suitable ACM certificate to the load balancer's TLS listener
Explanation
Correct Answer
A:Two different security outcomes are required in this traffic encryption assessment; CloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates supports “Use a custom domain with an HTTPS CloudFront distribution,” while 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”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: CloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates supports “Use a custom domain with an HTTPS CloudFront distribution”; but 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,” not the required “Require HTTPS for all viewer connections through CloudFront” outcome.
C:The option has a useful control for “Require HTTPS for all viewer connections through CloudFront” because the viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin; its other control applies to “Present a trusted certificate for an ALB HTTPS listener” because ALB terminates TLS using its configured certificate and forwards traffic according to the target group and listener settings; it misses the first requirement, “Use a custom domain with an HTTPS CloudFront distribution.”.
D:Origin-side HTTPS protects the edge-to-origin hop; enforcing viewer HTTPS alone does not establish origin TLS is pertinent to “Encrypt traffic between CloudFront and a custom HTTPS origin,” and ALB terminates TLS using its configured certificate and forwards traffic according to the target group and listener settings is pertinent to “Present a trusted certificate for an ALB HTTPS listener”; the requested controls for “Use a custom domain with an HTTPS CloudFront distribution” and “Require HTTPS for all viewer connections through CloudFront” are absent.
Question 304
An implementation in the credential and federation review must solve two separate problems, not merely strengthen one safeguard: Provide temporary privileges for a user authenticated with a supported OIDC token; Trace which workforce user started an assumed-role API call. Which change meets the full request?
- Set an appropriate role maximum session duration and request a bounded session; and apply a policy condition on aws:MultiFactorAuthPresent in the applicable context
- Apply a policy condition on aws:MultiFactorAuthPresent in the applicable context; and inspect CloudTrail userIdentity and role session context
- Configure an OIDC provider and AssumeRoleWithWebIdentity trust relationship; and set an appropriate role maximum session duration and request a bounded session
- Configure an OIDC provider and AssumeRoleWithWebIdentity trust relationship; and inspect CloudTrail userIdentity and role session context
Explanation
Correct Answer
D:This pairing handles the first requirement (“Provide temporary privileges for a user authenticated with a supported OIDC token”) because web identity federation exchanges a valid identity token for short-lived role credentials without storing an AWS IAM user key; it handles the second (“Trace which workforce user started an assumed-role API call”) because CloudTrail's assumed-role identity fields identify the session and support tracing back to the initiating role assumption; both acceptance criteria are therefore addressed.
Incorrect Answers
A:Both mechanisms have legitimate uses, but for other requirements: Temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys supports “Restrict the duration of an elevated administrative session”; the MFA context key can restrict supported requests according to whether MFA was present in the authenticated session supports “Require IAM users to activate MFA before performing sensitive API operations”; this does not resolve the stated “Provide temporary privileges for a user authenticated with a supported OIDC token” and “Trace which workforce user started an assumed-role API call” findings.
B:This solves the second problem (“Trace which workforce user started an assumed-role API call”): CloudTrail's assumed-role identity fields identify the session and support tracing back to the initiating role assumption; however, the first action addresses “Require IAM users to activate MFA before performing sensitive API operations”: The MFA context key can restrict supported requests according to whether MFA was present in the authenticated session; it does not satisfy “Provide temporary privileges for a user authenticated with a supported OIDC token.”.
C:One action is correctly chosen for “Provide temporary privileges for a user authenticated with a supported OIDC token”: Web identity federation exchanges a valid identity token for short-lived role credentials without storing an AWS IAM user key; the companion action relates to “Restrict the duration of an elevated administrative session”: Temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys; the other requested outcome, “Trace which workforce user started an assumed-role API call,” remains outstanding.
Question 305
A change request in the managed threat detection rollout will be approved only if it delivers both outcomes: Identify a change in user behavior from an unusual sequence of AWS API calls; Aggregate cross-account findings in a central security team account. What should be included?
- Verify its namespace, metric dimensions, period, and alarm threshold; and configure a delegated Security Hub administrator and member accounts
- Create a Security Hub custom insight grouped by workflow status and severity; and verify its namespace, metric dimensions, period, and alarm threshold
- Inspect GuardDuty anomaly findings with relevant CloudTrail events; and configure a delegated Security Hub administrator and member accounts
- Inspect GuardDuty anomaly findings with relevant CloudTrail events; and create a Security Hub custom insight grouped by workflow status and severity
Explanation
Correct Answer
C:For the first acceptance test, “Identify a change in user behavior from an unusual sequence of AWS API calls,” threat findings provide an anomaly lead, while CloudTrail records show the specific API actor and sequence for verification; for the second, “Aggregate cross-account findings in a central security team account,” Security Hub supports central security finding management when administrators and members are configured in supported Regions; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:The mechanism for “Aggregate cross-account findings in a central security team account” is present: Security Hub supports central security finding management when administrators and members are configured in supported Regions; the additional mechanism relates to “Find why a custom CloudWatch alarm never triggered during an incident”: CloudWatch alarms evaluate a particular metric time series; incorrect dimensions or period selection can make the intended events invisible; nothing here completes “Identify a change in user behavior from an unusual sequence of AWS API calls.”.
B:Neither action is targeted at the two acceptance tests: Insights filter and aggregate standardized findings for prioritization; they do not replace detector collection is about “Identify security findings that remain unresolved despite repeated alerts,” and CloudWatch alarms evaluate a particular metric time series; incorrect dimensions or period selection can make the intended events invisible is about “Find why a custom CloudWatch alarm never triggered during an incident”; the intended “Identify a change in user behavior from an unusual sequence of AWS API calls” and “Aggregate cross-account findings in a central security team account” requirements remain unsatisfied.
D:Threat findings provide an anomaly lead, while CloudTrail records show the specific API actor and sequence for verification supports the “Identify a change in user behavior from an unusual sequence of AWS API calls” acceptance test; Insights filter and aggregate standardized findings for prioritization; they do not replace detector collection is pertinent to “Identify security findings that remain unresolved despite repeated alerts” instead; the change therefore omits the separate requirement “Aggregate cross-account findings in a central security team account.”.
Question 306
A proposed solution for the AWS Organizations policy program is incomplete unless it addresses both of these checks: Avoid relying on SCPs to restrict principals in the Organizations management account; and Protect each AWS account root user from password-only compromise. Which choice provides the necessary controls?
- Deny relevant Organizations leave-organization operations via member-account SCP controls; and enable supported MFA and secure root account recovery information
- Apply a carefully scoped SCP with aws:RequestedRegion conditions; and deny relevant Organizations leave-organization operations via member-account SCP controls
- Enforce controls through management-account IAM and operational separation; and enable supported MFA and secure root account recovery information
- Enforce controls through management-account IAM and operational separation; and apply a carefully scoped SCP with aws:RequestedRegion conditions
Explanation
Correct Answer
C:For the first acceptance test, “Avoid relying on SCPs to restrict principals in the Organizations management account,” SCPs do not restrict principals within the management account, so management governance needs separate mechanisms; for the second, “Protect each AWS account root user from password-only compromise,” root credentials deserve strong protection because root possesses broad account authority and should not be used routinely; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:The mechanism for “Protect each AWS account root user from password-only compromise” is present: Root credentials deserve strong protection because root possesses broad account authority and should not be used routinely; the additional mechanism relates to “Prevent developers from leaving the organization by invoking account removal actions”: SCPs can block selected member principal actions even when their IAM identity policies would otherwise permit them; nothing here completes “Avoid relying on SCPs to restrict principals in the Organizations management account.”.
B:Neither action is targeted at the two acceptance tests: Organizations guardrails can enforce Region restrictions, with explicit consideration for global endpoints and service exceptions is about “Prevent nonapproved Regions from use by ordinary member-account identities,” and SCPs can block selected member principal actions even when their IAM identity policies would otherwise permit them is about “Prevent developers from leaving the organization by invoking account removal actions”; the intended “Avoid relying on SCPs to restrict principals in the Organizations management account” and “Protect each AWS account root user from password-only compromise” requirements remain unsatisfied.
D:SCPs do not restrict principals within the management account, so management governance needs separate mechanisms supports the “Avoid relying on SCPs to restrict principals in the Organizations management account” acceptance test; Organizations guardrails can enforce Region restrictions, with explicit consideration for global endpoints and service exceptions is pertinent to “Prevent nonapproved Regions from use by ordinary member-account identities” instead; the change therefore omits the separate requirement “Protect each AWS account root user from password-only compromise.”.
Question 307
During a private network troubleshooting exercise, reviewers document two independent acceptance criteria. First: Diagnose a VPN tunnel that is up but does not carry expected prefixes. Second: Investigate why S3 endpoint traffic takes the NAT gateway path. Which combined implementation satisfies both?
- Check for a usable NAT gateway path and the subnet's route configuration; and model the intended source and destination with Network Access Analyzer or Reachability Analyzer
- Model the intended source and destination with Network Access Analyzer or Reachability Analyzer; and verify the gateway endpoint association with the subnet's route table
- Check BGP or static route advertisements and route-table propagation; and check for a usable NAT gateway path and the subnet's route configuration
- Check BGP or static route advertisements and route-table propagation; and verify the gateway endpoint association with the subnet's route table
Explanation
Correct Answer
D:The first control addresses the check “Diagnose a VPN tunnel that is up but does not carry expected prefixes”: Tunnel establishment and traffic routing are separate; missing prefixes can prevent forwarding despite healthy tunnel status; the other addresses “Investigate why S3 endpoint traffic takes the NAT gateway path”: Gateway endpoints insert routes into chosen route tables; omitted associations leave instances using other available routes; these two mechanisms cover the complete private network troubleshooting exercise.
Incorrect Answers
A:The first action belongs to “Explain why a private EC2 instance cannot reach the internet after adding a route” because an internet gateway route alone does not supply public source addresses to private instances that lack public IP mappings; the second belongs to “Verify a specific route policy does not permit unwanted transitive connectivity” because static network-path analysis reveals configured reachability and policy exposure without relying only on manual CIDR comparison; these are not the required checks, “Diagnose a VPN tunnel that is up but does not carry expected prefixes” and “Investigate why S3 endpoint traffic takes the NAT gateway path.”.
B:Gateway endpoints insert routes into chosen route tables; omitted associations leave instances using other available routes; this fulfills the second objective (“Investigate why S3 endpoint traffic takes the NAT gateway path”); the other action is intended for “Verify a specific route policy does not permit unwanted transitive connectivity”: Static network-path analysis reveals configured reachability and policy exposure without relying only on manual CIDR comparison; it does not meet the requested “Diagnose a VPN tunnel that is up but does not carry expected prefixes” check.
C:Tunnel establishment and traffic routing are separate; missing prefixes can prevent forwarding despite healthy tunnel status; this is relevant to the first objective (“Diagnose a VPN tunnel that is up but does not carry expected prefixes”); however, the other action is meant for “Explain why a private EC2 instance cannot reach the internet after adding a route”: An internet gateway route alone does not supply public source addresses to private instances that lack public IP mappings; it leaves the required “Investigate why S3 endpoint traffic takes the NAT gateway path” behavior unimplemented.
Question 308
An AWS team is correcting two gaps in the security event analytics project: Find unusual API call rates rather than just inspect routine event counts; and Determine which caller changed an IAM trust policy. Which proposed set of controls fixes both gaps?
- Enable CloudTrail Insights for the supported management-event analysis; and inspect CloudTrail UpdateAssumeRolePolicy records and request context
- Enable CloudTrail Insights for the supported management-event analysis; and examine supported KMS API activity in CloudTrail management events
- Run a CloudWatch Logs Insights query selecting and filtering relevant fields; and inspect CloudTrail UpdateAssumeRolePolicy records and request context
- Examine supported KMS API activity in CloudTrail management events; and run a CloudWatch Logs Insights query selecting and filtering relevant fields
Explanation
Correct Answer
A:For “Find unusual API call rates rather than just inspect routine event counts,” the governing behavior is: Insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations; for the separate check “Determine which caller changed an IAM trust policy,” it is: CloudTrail management events expose who invoked role trust changes and which policy update was submitted; this is why the two controls belong together in the proposed change.
Incorrect Answers
B:The first part is appropriate for “Find unusual API call rates rather than just inspect routine event counts” because insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations; the second part addresses a different issue (“Audit how a customer-managed KMS key has been used by AWS callers”) because CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes; it does not fulfill the “Determine which caller changed an IAM trust policy” test.
C:Only the second requirement is covered: CloudTrail management events expose who invoked role trust changes and which policy update was submitted supports “Determine which caller changed an IAM trust policy”; by contrast, Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first concerns “Search raw CloudWatch log messages for failed authentication patterns across streams,” leaving “Find unusual API call rates rather than just inspect routine event counts” unresolved.
D:This combination targets different outcomes: CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes helps with “Audit how a customer-managed KMS key has been used by AWS callers”; Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first helps with “Search raw CloudWatch log messages for failed authentication patterns across streams”; neither implements the required “Find unusual API call rates rather than just inspect routine event counts” and “Determine which caller changed an IAM trust policy” outcomes together.
Question 309
The traffic encryption assessment cannot pass unless both of these outcomes are demonstrated: Require HTTPS for all viewer connections through CloudFront; Present a trusted certificate for an ALB HTTPS listener. Which two-part plan is suitable?
- Provision the certificate for CloudFront in ACM in us-east-1 where required; and attach a suitable ACM certificate to the load balancer's TLS listener
- Set the distribution's origin protocol policy to HTTPS only; and provision the certificate for CloudFront in ACM in us-east-1 where required
- Set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy; and attach a suitable ACM certificate to the load balancer's TLS listener
- Set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy; and set the distribution's origin protocol policy to HTTPS only
Explanation
Correct Answer
C:Two different security outcomes are required in this traffic encryption assessment; 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,” while ALB terminates TLS using its configured certificate and forwards traffic according to the target group and listener settings supports “Present a trusted certificate for an ALB HTTPS listener”; neither check is assumed to follow from the other.
Incorrect Answers
A:The option has a useful control for “Present a trusted certificate for an ALB HTTPS listener” because ALB terminates TLS using its configured certificate and forwards traffic according to the target group and listener settings; its other control applies to “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 misses the first requirement, “Require HTTPS for all viewer connections through CloudFront.”.
B:Origin-side HTTPS protects the edge-to-origin hop; enforcing viewer HTTPS alone does not establish origin TLS is pertinent to “Encrypt traffic between CloudFront and a custom HTTPS origin,” and CloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates is pertinent to “Use a custom domain with an HTTPS CloudFront distribution”; the requested controls for “Require HTTPS for all viewer connections through CloudFront” and “Present a trusted certificate for an ALB HTTPS listener” are absent.
D:This option is only partly effective: 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”; but 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,” not the required “Present a trusted certificate for an ALB HTTPS listener” outcome.
Question 310
Before closing the permissions and authorization review, a team must demonstrate the following: Explain why an IAM inline policy attached to a user does not affect an assumed role; plus A workload should read secrets but never manage the IAM roles that authorize it. Which paired change would complete the work?
- Add required permissions to the assumed role rather than the original user; and attach permissions boundaries to delegated role-creation workflows
- Add required permissions to the assumed role rather than the original user; and split data-access and IAM-management duties across separate roles
- Attach permissions boundaries to delegated role-creation workflows; and apply an appropriate Organizations SCP deny to member accounts
- Apply an appropriate Organizations SCP deny to member accounts; and split data-access and IAM-management duties across separate roles
Explanation
Correct Answer
B:The implementation has a specific control for each objective: After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller for “Explain why an IAM inline policy attached to a user does not affect an assumed role”; Segregated roles limit privilege escalation paths by preventing the application identity from changing its own authorization perimeter for “A workload should read secrets but never manage the IAM roles that authorize it”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first check would be covered, since after STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller; yet the second choice is associated with “An organization needs a cap on administrator-created IAM roles,” for which boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies; no corresponding control satisfies “A workload should read secrets but never manage the IAM roles that authorize it.”.
C:The first proposed action addresses “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; the second addresses “Prevent member account administrators from disabling baseline security controls”: SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions; the combination does not achieve the required “Explain why an IAM inline policy attached to a user does not affect an assumed role” and “A workload should read secrets but never manage the IAM roles that authorize it” outcomes in this permissions and authorization review.
D:While segregated roles limit privilege escalation paths by preventing the application identity from changing its own authorization perimeter is relevant to “A workload should read secrets but never manage the IAM roles that authorize it,” the other component targets “Prevent member account administrators from disabling baseline security controls,” where SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions; the first acceptance criterion (“Explain why an IAM inline policy attached to a user does not affect an assumed role”) is not met.