Question 400
An implementation in the compute workload hardening effort must solve two separate problems, not merely strengthen one safeguard: Use Secrets Manager values inside application containers without embedding them in image layers; Assess known vulnerabilities in container images stored in a registry. Which change meets the full request?
- 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 narrow the Lambda execution role's identity policy
- Retrieve secrets at runtime using the workload's permitted IAM role; and enable Amazon ECR image scanning with an appropriate scanning mode
- Retrieve secrets at runtime using the workload's permitted IAM role; and use IAM roles for service accounts for the pod's supported identity pattern
Explanation
Correct Answer
C:This pairing handles the first requirement (“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; it handles the second (“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; both acceptance criteria are therefore addressed.
Incorrect Answers
A:This solves the second problem (“Assess known vulnerabilities in container images stored in a registry”): ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; however, the first action addresses “Restrict a Lambda function's access to S3 operations”: Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it; it does not satisfy “Use Secrets Manager values inside application containers without embedding them in image layers.”.
B:Both mechanisms have legitimate uses, but for other requirements: 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”; 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”; this does not resolve the stated “Use Secrets Manager values inside application containers without embedding them in image layers” and “Assess known vulnerabilities in container images stored in a registry” findings.
D:One action is correctly chosen for “Use Secrets Manager values inside application containers without embedding them in image layers”: Runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; the companion action relates to “Prevent an EKS pod from inheriting broad worker-node permissions”: Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload; the other requested outcome, “Assess known vulnerabilities in container images stored in a registry,” remains outstanding.
Question 401
A change request in the telemetry and alarm repair exercise will be approved only if it delivers both outcomes: An alert filter never matches a numeric application status field; New GuardDuty detections do not appear in an expected account. What should be included?
- Grant cloudwatch:PutMetricData to the publisher and verify the metric namespace; and check event-pattern fields and permission for EventBridge to invoke the target
- Check event-pattern fields and permission for EventBridge to invoke the target; and verify GuardDuty is enabled in that account and the relevant Region and protection plan
- Use a valid CloudWatch Logs filter pattern for the actual JSON structure; and grant cloudwatch:PutMetricData to the publisher and verify the metric namespace
- Use a valid CloudWatch Logs filter pattern for the actual JSON structure; and verify GuardDuty is enabled in that account and the relevant Region and protection plan
Explanation
Correct Answer
D:For the first acceptance test, “An alert filter never matches a numeric application status field,” filter expressions must match the logged field names and data types rather than the structure assumed by the operator; for the second, “New GuardDuty detections do not appear in an expected account,” regional service enablement and feature-specific coverage determine which supported threats can be detected; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:Neither action is targeted at the two acceptance tests: Logging permissions are different from custom metric publication rights; metrics can be absent despite healthy log ingestion is about “An application sends logs but fails to publish custom metrics,” and Both rule matching and target invocation authorization must succeed before automation starts is about “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda”; the intended “An alert filter never matches a numeric application status field” and “New GuardDuty detections do not appear in an expected account” requirements remain unsatisfied.
B:The mechanism for “New GuardDuty detections do not appear in an expected account” is present: Regional service enablement and feature-specific coverage determine which supported threats can be detected; the additional mechanism relates to “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda”: Both rule matching and target invocation authorization must succeed before automation starts; nothing here completes “An alert filter never matches a numeric application status field.”.
C:Filter expressions must match the logged field names and data types rather than the structure assumed by the operator supports the “An alert filter never matches a numeric application status field” acceptance test; Logging permissions are different from custom metric publication rights; metrics can be absent despite healthy log ingestion is pertinent to “An application sends logs but fails to publish custom metrics” instead; the change therefore omits the separate requirement “New GuardDuty detections do not appear in an expected account.”.
Question 402
For a content delivery security deployment, engineers have been assigned this security outcome: Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription. What implementation best fits?
- Use AWS Shield Standard protections on supported AWS resources
- Configure CloudFront origin access control and restrict the bucket policy
- Associate a regional AWS WAF web ACL with the load balancer
- Put a CloudFront distribution in front of the supported origin
- Enroll eligible resources in AWS Shield Advanced
Explanation
Correct Answer
A:Shield Standard provides built-in network and transport layer DDoS protection for supported services without requiring a WAF rule; for a content delivery security deployment, this is the measure that delivers the requirement to provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription.
Incorrect Answers
B:Origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads; this would help with the requirement to prevent viewers from directly fetching private S3 objects behind CloudFront, leaving the requirement to provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription unresolved in a content delivery security deployment.
C:WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules; this would help with the requirement to protect an Application Load Balancer from application-layer attack signatures, leaving the requirement to provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription unresolved in a content delivery security deployment.
D:CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests; its purpose is the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin, but the acceptance criterion in a content delivery security deployment is the requirement to provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription.
E:Shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope; this would help with the requirement to provide enhanced DDoS protections and response-team assistance for critical internet services, leaving the requirement to provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription unresolved in a content delivery security deployment.
Question 403
A review board evaluating the traffic encryption assessment rejects fixes that cover just one requirement. The requirements are: Protect inbound application traffic while enforcing modern TLS versions; and Require HTTPS for all viewer connections through CloudFront. Which configuration addresses 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
- Attach a suitable ACM certificate to the load balancer's TLS listener; and provision the certificate for CloudFront in ACM in us-east-1 where required
- Apply an appropriate ALB SSL security policy to the HTTPS listener; and set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy
- Apply an appropriate ALB SSL security policy to the HTTPS listener; and attach a suitable ACM certificate to the load balancer's TLS listener
Explanation
Correct Answer
C:For “Protect inbound application traffic while enforcing modern TLS versions,” the governing behavior is: The listener security policy controls supported TLS protocols and cipher choices for client TLS negotiation; for the separate check “Require HTTPS for all viewer connections through CloudFront,” it is: The viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:Only the second requirement is covered: 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”; by contrast, CloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates concerns “Use a custom domain with an HTTPS CloudFront distribution,” leaving “Protect inbound application traffic while enforcing modern TLS versions” unresolved.
B:This combination targets different outcomes: ALB terminates TLS using its configured certificate and forwards traffic according to the target group and listener settings helps with “Present a trusted certificate for an ALB HTTPS listener”; CloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates helps with “Use a custom domain with an HTTPS CloudFront distribution”; neither implements the required “Protect inbound application traffic while enforcing modern TLS versions” and “Require HTTPS for all viewer connections through CloudFront” outcomes together.
D:The first part is appropriate for “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; the second part addresses a different issue (“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 does not fulfill the “Require HTTPS for all viewer connections through CloudFront” test.
Question 404
Two security control owners share a permissions and authorization review. One is responsible for this outcome: Reduce privilege escalation through arbitrary iam:PassRole on service launch. The other needs: Constrain a third-party role assumption to a unique customer relationship. Which implementation covers both?
- Use aws:PrincipalOrgID in a compatible resource-based policy; and add sts:ExternalId validation to the cross-account role trust policy
- Evaluate the key policy, grantee permissions, and relevant identity policy; and use aws:PrincipalOrgID in a compatible resource-based policy
- Restrict iam:PassRole by role ARN and iam:PassedToService condition; and add sts:ExternalId validation to the cross-account role trust policy
- Restrict iam:PassRole by role ARN and iam:PassedToService condition; and evaluate the key policy, grantee permissions, and relevant identity policy
Explanation
Correct Answer
C:Two different security outcomes are required in this permissions and authorization review; Limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads supports “Reduce privilege escalation through arbitrary iam:PassRole on service launch,” while External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers supports “Constrain a third-party role assumption to a unique customer relationship”; neither check is assumed to follow from the other.
Incorrect Answers
A:The option has a useful control for “Constrain a third-party role assumption to a unique customer relationship” because external ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers; its other control applies to “Restrict access based on an organization identifier rather than enumerating every member account” because organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping; it misses the first requirement, “Reduce privilege escalation through arbitrary iam:PassRole on service launch.”.
B:Cross-account cryptographic use depends on permissions on both sides plus key-policy authorization, not simply a role name match is pertinent to “Identify exactly what authorizes cross-account access to a specific KMS key,” and Organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping is pertinent to “Restrict access based on an organization identifier rather than enumerating every member account”; the requested controls for “Reduce privilege escalation through arbitrary iam:PassRole on service launch” and “Constrain a third-party role assumption to a unique customer relationship” are absent.
D:This option is only partly effective: Limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads supports “Reduce privilege escalation through arbitrary iam:PassRole on service launch”; but Cross-account cryptographic use depends on permissions on both sides plus key-policy authorization, not simply a role name match supports “Identify exactly what authorizes cross-account access to a specific KMS key,” not the required “Constrain a third-party role assumption to a unique customer relationship” outcome.
Question 405
The active security incident investigation cannot pass unless both of these outcomes are demonstrated: Measure whether a documented incident playbook actually works; Confirm which forensic AWS API actions investigators performed. Which two-part plan is suitable?
- Run a game-day exercise with predefined success and rollback criteria; and send audit records from the forensic account to a protected CloudTrail trail
- Run a game-day exercise with predefined success and rollback criteria; and replace the isolated node from a trusted launch template and validate health checks
- Correlate CloudTrail events with timestamps and logged resource identifiers; and send audit records from the forensic account to a protected CloudTrail trail
- Replace the isolated node from a trusted launch template and validate health checks; and correlate CloudTrail events with timestamps and logged resource identifiers
Explanation
Correct Answer
A:Two different security outcomes are required in this active security incident investigation; Rehearsals expose missing permissions, notification gaps, and automation failure modes before a live security event supports “Measure whether a documented incident playbook actually works,” while Independent API activity logging makes evidence handling reviewable, including who changed artifact access or retention settings supports “Confirm which forensic AWS API actions investigators performed”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: Rehearsals expose missing permissions, notification gaps, and automation failure modes before a live security event supports “Measure whether a documented incident playbook actually works”; but Auto Scaling can replenish healthy capacity, but responders must ensure the template and image have not inherited the compromise supports “Restore availability after quarantining an Auto Scaling instance,” not the required “Confirm which forensic AWS API actions investigators performed” outcome.
C:The option has a useful control for “Confirm which forensic AWS API actions investigators performed” because independent API activity logging makes evidence handling reviewable, including who changed artifact access or retention settings; its other control applies to “Reconstruct an incident timeline from management and data-plane evidence” because combining actor and resource fields across enabled event types makes a defensible timeline possible despite differences in event-delivery timing; it misses the first requirement, “Measure whether a documented incident playbook actually works.”.
D:Auto Scaling can replenish healthy capacity, but responders must ensure the template and image have not inherited the compromise is pertinent to “Restore availability after quarantining an Auto Scaling instance,” and Combining actor and resource fields across enabled event types makes a defensible timeline possible despite differences in event-delivery timing is pertinent to “Reconstruct an incident timeline from management and data-plane evidence”; the requested controls for “Measure whether a documented incident playbook actually works” and “Confirm which forensic AWS API actions investigators performed” are absent.
Question 406
In a compliance evidence collection project, a control owner must address the following requirement: Measure consolidated security posture against security controls. Which option should be selected?
- Enable an appropriate AWS Config managed rule and compliance evaluation
- Enable Security Hub security standards and review control findings
- Run Amazon Macie sensitive-data discovery jobs
- Configure AWS Config organization rules or conformance packs where supported
Explanation
Correct Answer
B:Security Hub evaluates supported control checks and consolidates findings; remediation remains an independent action; it addresses the requirement to measure consolidated security posture against security controls at the right security boundary during a compliance evidence collection project.
Incorrect Answers
A:Config rules evaluate recorded resource configurations against expected controls and report compliance states; this would help with the requirement to detect when an S3 bucket deviates from an encryption baseline, leaving the requirement to measure consolidated security posture against security controls unresolved in a compliance evidence collection project.
C:Macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls; this would help with the requirement to identify sensitive personal data in S3 archives, leaving the requirement to measure consolidated security posture against security controls unresolved in a compliance evidence collection project.
D:Organization-wide configuration evaluations provide a shared control definition across participating accounts; this addresses the requirement to run organization-level compliance checks on many accounts, not the requirement to measure consolidated security posture against security controls, which is needed in a compliance evidence collection project.
Question 407
A proposed solution for the VPC connectivity and segmentation rollout is incomplete unless it addresses both of these checks: Permit response traffic automatically for an established EC2 connection; and Deny a specific unwanted subnet CIDR while allowing other traffic. Which choice provides the necessary controls?
- Use a stateful VPC security group; and configure ordered subnet network ACL rules with an explicit deny
- Use a stateful VPC security group; and create an S3 gateway VPC endpoint and update applicable route tables
- Reference the application security group in the database security group's inbound rule; and configure ordered subnet network ACL rules with an explicit deny
- Create an S3 gateway VPC endpoint and update applicable route tables; and reference the application security group in the database security group's inbound rule
Explanation
Correct Answer
A:For the first acceptance test, “Permit response traffic automatically for an established EC2 connection,” security groups track connection state for allowed traffic, so separate explicit return-path rules generally are not needed; for the second, “Deny a specific unwanted subnet CIDR while allowing other traffic,” network ACLs support stateless allow and deny entries evaluated in rule-number order at the subnet boundary; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
B:Security groups track connection state for allowed traffic, so separate explicit return-path rules generally are not needed supports the “Permit response traffic automatically for an established EC2 connection” acceptance test; A gateway endpoint supplies a private route for supported S3 traffic in the VPC, with endpoint policy restrictions available is pertinent to “Allow egress to S3 without crossing the public internet through NAT” instead; the change therefore omits the separate requirement “Deny a specific unwanted subnet CIDR while allowing other traffic.”.
C:The mechanism for “Deny a specific unwanted subnet CIDR while allowing other traffic” is present: Network ACLs support stateless allow and deny entries evaluated in rule-number order at the subnet boundary; the additional mechanism relates to “Allow only an application tier's security group to connect to database port 5432”: Referencing an allowed source security group avoids a broad CIDR and adapts to changing instance IP addresses; nothing here completes “Permit response traffic automatically for an established EC2 connection.”.
D:Neither action is targeted at the two acceptance tests: A gateway endpoint supplies a private route for supported S3 traffic in the VPC, with endpoint policy restrictions available is about “Allow egress to S3 without crossing the public internet through NAT,” and Referencing an allowed source security group avoids a broad CIDR and adapts to changing instance IP addresses is about “Allow only an application tier's security group to connect to database port 5432”; the intended “Permit response traffic automatically for an established EC2 connection” and “Deny a specific unwanted subnet CIDR while allowing other traffic” requirements remain unsatisfied.
Question 408
During a logging access troubleshooting session, reviewers document two independent acceptance criteria. First: S3 GetObject calls are absent while management calls remain visible. Second: Flow logs show no records for a new ENI outside the original logging scope. Which combined implementation satisfies both?
- Review the key policy for the CloudTrail log-encryption service permissions; and expand or create Flow Logs coverage for that network interface or containing subnet
- Restore the precise S3 bucket policy statements that permit CloudTrail delivery; and review the key policy for the CloudTrail log-encryption service permissions
- Add the necessary S3 object data-event selectors to the trail; and expand or create Flow Logs coverage for that network interface or containing subnet
- Add the necessary S3 object data-event selectors to the trail; and restore the precise S3 bucket policy statements that permit CloudTrail delivery
Explanation
Correct Answer
C:The first control addresses the check “S3 GetObject calls are absent while management calls remain visible”: Management-event collection does not imply coverage of object-level operations, even in the same account; the other addresses “Flow logs show no records for a new ENI outside the original logging scope”: Flow Logs capture only interfaces covered by the configured scope and supported traffic records; these two mechanisms cover the complete logging access troubleshooting session.
Incorrect Answers
A:Flow Logs capture only interfaces covered by the configured scope and supported traffic records; this fulfills the second objective (“Flow logs show no records for a new ENI outside the original logging scope”); the other action is intended for “CloudTrail events stop arriving after the KMS key policy is tightened”: SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations; it does not meet the requested “S3 GetObject calls are absent while management calls remain visible” check.
B:The first action belongs to “A trail reports S3 delivery errors after a bucket-policy hardening change” because A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; the second belongs to “CloudTrail events stop arriving after the KMS key policy is tightened” because SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations; these are not the required checks, “S3 GetObject calls are absent while management calls remain visible” and “Flow logs show no records for a new ENI outside the original logging scope.”.
D:Management-event collection does not imply coverage of object-level operations, even in the same account; this is relevant to the first objective (“S3 GetObject calls are absent while management calls remain visible”); however, the other action is meant for “A trail reports S3 delivery errors after a bucket-policy hardening change”: A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; it leaves the required “Flow logs show no records for a new ENI outside the original logging scope” behavior unimplemented.
Question 409
The backup and data retention program has two control objectives. Requirement one: Prevent regulated records from being deleted until their retention date. Requirement two: Automate retention of daily EBS snapshots across matching volumes. Which design passes both checks?
- Configure S3 Object Lock retention alongside lifecycle management; and create an Amazon Data Lifecycle Manager policy
- Configure S3 Object Lock retention alongside lifecycle management; and configure separate versioned-bucket Lifecycle expiration rules
- Configure the log group's retention setting; and create an Amazon Data Lifecycle Manager policy
- Configure separate versioned-bucket Lifecycle expiration rules; and configure the log group's retention setting
Explanation
Correct Answer
A:The first control addresses the check “Prevent regulated records from being deleted until their retention date”: Retention protection can block deletion even if a lifecycle expiration rule targets an object version; the other addresses “Automate retention of daily EBS snapshots across matching volumes”: Data Lifecycle Manager orchestrates eligible EBS snapshot and AMI lifecycles using schedules and retention rules; these two mechanisms cover the complete backup and data retention program.
Incorrect Answers
B:Retention protection can block deletion even if a lifecycle expiration rule targets an object version; this is relevant to the first objective (“Prevent regulated records from being deleted until their retention date”); however, the other action is meant for “Delete expired object versions while keeping active S3 versions longer”: Versioned buckets can retain noncurrent versions with distinct expiration behavior from the current version; it leaves the required “Automate retention of daily EBS snapshots across matching volumes” behavior unimplemented.
C:Data Lifecycle Manager orchestrates eligible EBS snapshot and AMI lifecycles using schedules and retention rules; this fulfills the second objective (“Automate retention of daily EBS snapshots across matching volumes”); the other action is intended for “Retain CloudWatch Logs events only for a fixed number of days”: CloudWatch deletes log events after the configured age, separate from S3 Lifecycle on archived objects; it does not meet the requested “Prevent regulated records from being deleted until their retention date” check.
D:The first action belongs to “Delete expired object versions while keeping active S3 versions longer” because versioned buckets can retain noncurrent versions with distinct expiration behavior from the current version; the second belongs to “Retain CloudWatch Logs events only for a fixed number of days” because CloudWatch deletes log events after the configured age, separate from S3 Lifecycle on archived objects; these are not the required checks, “Prevent regulated records from being deleted until their retention date” and “Automate retention of daily EBS snapshots across matching volumes.”.
Question 410
A review board evaluating the permissions and authorization review rejects fixes that cover just one requirement. The requirements are: Restrict access based on an organization identifier rather than enumerating every member account; and Identify exactly what authorizes cross-account access to a specific KMS key. Which configuration addresses both?
- Add sts:ExternalId validation to the cross-account role trust policy; and evaluate the key policy, grantee permissions, and relevant identity policy
- Restrict iam:PassRole by role ARN and iam:PassedToService condition; and add sts:ExternalId validation to the cross-account role trust policy
- Use aws:PrincipalOrgID in a compatible resource-based policy; and evaluate the key policy, grantee permissions, and relevant identity policy
- Use aws:PrincipalOrgID in a compatible resource-based policy; and restrict iam:PassRole by role ARN and iam:PassedToService condition
Explanation
Correct Answer
C:For “Restrict access based on an organization identifier rather than enumerating every member account,” the governing behavior is: Organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping; for the separate check “Identify exactly what authorizes cross-account access to a specific KMS key,” it is: Cross-account cryptographic use depends on permissions on both sides plus key-policy authorization, not simply a role name match; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:Only the second requirement is covered: Cross-account cryptographic use depends on permissions on both sides plus key-policy authorization, not simply a role name match supports “Identify exactly what authorizes cross-account access to a specific KMS key”; by contrast, External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers concerns “Constrain a third-party role assumption to a unique customer relationship,” leaving “Restrict access based on an organization identifier rather than enumerating every member account” unresolved.
B:This combination targets different outcomes: Limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads helps with “Reduce privilege escalation through arbitrary iam:PassRole on service launch”; External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers helps with “Constrain a third-party role assumption to a unique customer relationship”; neither implements the required “Restrict access based on an organization identifier rather than enumerating every member account” and “Identify exactly what authorizes cross-account access to a specific KMS key” outcomes together.
D:The first part is appropriate for “Restrict access based on an organization identifier rather than enumerating every member account” because organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping; the second part addresses a different issue (“Reduce privilege escalation through arbitrary iam:PassRole on service launch”) because limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads; it does not fulfill the “Identify exactly what authorizes cross-account access to a specific KMS key” test.