Question 950

A review board evaluating the private network troubleshooting exercise rejects fixes that cover just one requirement. The requirements are: Diagnose a rejected connection using VPC flow records; and Explain why return packets fail when a network ACL allows only the request port. Which configuration addresses both?

  1. Review ENI-scoped Flow Log action and address/port fields; and inspect WAF request logs alongside ALB access logs
  2. Review ENI-scoped Flow Log action and address/port fields; and add stateless NACL return-path rules for the relevant ephemeral ports
  3. Inspect WAF request logs alongside ALB access logs; and run VPC Reachability Analyzer from source to destination
  4. Run VPC Reachability Analyzer from source to destination; and add stateless NACL return-path rules for the relevant ephemeral ports

Explanation

Correct Answer

B:

For “Diagnose a rejected connection using VPC flow records,” the governing behavior is: Flow Logs can reveal REJECT dispositions and traffic tuples but cannot prove which application payload triggered the rejection; for the separate check “Explain why return packets fail when a network ACL allows only the request port,” it is: Network ACLs evaluate inbound and outbound packets independently and cannot infer state from an allowed request; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

The first part is appropriate for “Diagnose a rejected connection using VPC flow records” because flow Logs can reveal REJECT dispositions and traffic tuples but cannot prove which application payload triggered the rejection; the second part addresses a different issue (“Determine whether a WAF rule or an origin error caused an HTTP rejection”) because WAF logs show web ACL dispositions while ALB logs characterize requests reaching the load balancer; it does not fulfill the “Explain why return packets fail when a network ACL allows only the request port” test.

C:

This combination targets different outcomes: WAF logs show web ACL dispositions while ALB logs characterize requests reaching the load balancer helps with “Determine whether a WAF rule or an origin error caused an HTTP rejection”; Reachability Analyzer evaluates the modeled path through route tables, security groups and ACLs to explain configuration blockers helps with “Find which configured VPC component blocks a path between EC2 instances”; neither implements the required “Diagnose a rejected connection using VPC flow records” and “Explain why return packets fail when a network ACL allows only the request port” outcomes together.

D:

Only the second requirement is covered: Network ACLs evaluate inbound and outbound packets independently and cannot infer state from an allowed request supports “Explain why return packets fail when a network ACL allows only the request port”; by contrast, Reachability Analyzer evaluates the modeled path through route tables, security groups and ACLs to explain configuration blockers concerns “Find which configured VPC component blocks a path between EC2 instances,” leaving “Diagnose a rejected connection using VPC flow records” unresolved.

Question 951

Two security control owners share a telemetry and alarm repair exercise. One is responsible for this outcome: New GuardDuty detections do not appear in an expected account. The other needs: EventBridge rules receive CloudTrail events but matching rules never invoke Lambda. Which implementation covers both?

  1. Use a valid CloudWatch Logs filter pattern for the actual JSON structure; and check event-pattern fields and permission for EventBridge to invoke the target
  2. Review missing-data treatment and whether the expected metric publishes regularly; and use a valid CloudWatch Logs filter pattern for the actual JSON structure
  3. Verify GuardDuty is enabled in that account and the relevant Region and protection plan; and check event-pattern fields and permission for EventBridge to invoke the target
  4. Verify GuardDuty is enabled in that account and the relevant Region and protection plan; and review missing-data treatment and whether the expected metric publishes regularly

Explanation

Correct Answer

C:

Two different security outcomes are required in this telemetry and alarm repair exercise; Regional service enablement and feature-specific coverage determine which supported threats can be detected supports “New GuardDuty detections do not appear in an expected account,” while Both rule matching and target invocation authorization must succeed before automation starts supports “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda”; neither check is assumed to follow from the other.

Incorrect Answers

A:

The option has a useful control for “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda” because both rule matching and target invocation authorization must succeed before automation starts; its other control applies to “An alert filter never matches a numeric application status field” because filter expressions must match the logged field names and data types rather than the structure assumed by the operator; it misses the first requirement, “New GuardDuty detections do not appear in an expected account.”.

B:

Missing metrics are not necessarily healthy values; alarm evaluation needs an intentional policy for periods without samples is pertinent to “CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods,” and Filter expressions must match the logged field names and data types rather than the structure assumed by the operator is pertinent to “An alert filter never matches a numeric application status field”; the requested controls for “New GuardDuty detections do not appear in an expected account” and “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda” are absent.

D:

This option is only partly effective: Regional service enablement and feature-specific coverage determine which supported threats can be detected supports “New GuardDuty detections do not appear in an expected account”; but Missing metrics are not necessarily healthy values; alarm evaluation needs an intentional policy for periods without samples supports “CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods,” not the required “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda” outcome.

Question 952

An assessment of the public application protection review has two findings. Finding one: Match SQL injection signatures in a specific HTTP request field using a custom WAF rule. Finding two: Restrict access to a website from selected geographic countries. Which combination remediates both?

  1. Enable AWS WAF SQL injection match or an appropriate managed rule group; and apply an AWS WAF geographic match rule
  2. Enable AWS WAF SQL injection match or an appropriate managed rule group; and associate an appropriate AWS WAF managed rule group with the front-end resource
  3. Use an AWS WAF byte-match statement on the specified header; and apply an AWS WAF geographic match rule
  4. Associate an appropriate AWS WAF managed rule group with the front-end resource; and use an AWS WAF byte-match statement on the specified header

Explanation

Correct Answer

A:

The implementation has a specific control for each objective: Web ACL inspection can identify suspicious SQL payload patterns before the application processes the HTTP request for “Match SQL injection signatures in a specific HTTP request field using a custom WAF rule”; Geo match conditions use the source geolocation determination for applicable web requests and can block specified countries for “Restrict access to a website from selected geographic countries”; the combined option satisfies the two-part request.

Incorrect Answers

B:

The first check would be covered, since web ACL inspection can identify suspicious SQL payload patterns before the application processes the HTTP request; yet the second choice is associated with “Apply a maintained collection of common web exploit signatures without individually authoring each rule,” for which managed rule groups apply curated signatures and rules for common web exploits while allowing tuning of false positives; no corresponding control satisfies “Restrict access to a website from selected geographic countries.”.

C:

While geo match conditions use the source geolocation determination for applicable web requests and can block specified countries is relevant to “Restrict access to a website from selected geographic countries,” the other component targets “Block HTTP requests carrying a disallowed header value,” where byte matching inspects configured parts of an HTTP request, providing an application-layer condition rather than a transport-layer port rule; the first acceptance criterion (“Match SQL injection signatures in a specific HTTP request field using a custom WAF rule”) is not met.

D:

The first proposed action addresses “Apply a maintained collection of common web exploit signatures without individually authoring each rule”: Managed rule groups apply curated signatures and rules for common web exploits while allowing tuning of false positives; the second addresses “Block HTTP requests carrying a disallowed header value”: Byte matching inspects configured parts of an HTTP request, providing an application-layer condition rather than a transport-layer port rule; the combination does not achieve the required “Match SQL injection signatures in a specific HTTP request field using a custom WAF rule” and “Restrict access to a website from selected geographic countries” outcomes in this public application protection review.

Question 953

A change request in the key and certificate lifecycle review will be approved only if it delivers both outcomes: Prevent application teams from seeing a secret outside their environment; Avoid passing a secret in plaintext through a CloudFormation template. What should be included?

  1. Apply resource-scoped Secrets Manager IAM or resource policies and matching KMS access; and use a supported dynamic reference to Secrets Manager or Parameter Store
  2. Apply resource-scoped Secrets Manager IAM or resource policies and matching KMS access; and review Secrets Manager API events in CloudTrail
  3. Configure AWS Secrets Manager rotation with a compatible rotation implementation; and use a supported dynamic reference to Secrets Manager or Parameter Store
  4. Review Secrets Manager API events in CloudTrail; and configure AWS Secrets Manager rotation with a compatible rotation implementation

Explanation

Correct Answer

A:

For the first acceptance test, “Prevent application teams from seeing a secret outside their environment,” retrieval authorization and KMS decryption permissions both matter for sensitive secret values; for the second, “Avoid passing a secret in plaintext through a CloudFormation template,” dynamic references allow CloudFormation to resolve supported secret values without embedding them in the plaintext template source; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

B:

Retrieval authorization and KMS decryption permissions both matter for sensitive secret values supports the “Prevent application teams from seeing a secret outside their environment” acceptance test; CloudTrail records supported secret-management API calls and caller identities, while secret values themselves should not be logged is pertinent to “Track when a production secret was retrieved by an unexpected identity” instead; the change therefore omits the separate requirement “Avoid passing a secret in plaintext through a CloudFormation template.”.

C:

The mechanism for “Avoid passing a secret in plaintext through a CloudFormation template” is present: Dynamic references allow CloudFormation to resolve supported secret values without embedding them in the plaintext template source; the additional mechanism relates to “Rotate a database password automatically on an approved schedule”: Secrets Manager schedules secret rotation, coordinating updates to the stored value and underlying system credentials; nothing here completes “Prevent application teams from seeing a secret outside their environment.”.

D:

Neither action is targeted at the two acceptance tests: CloudTrail records supported secret-management API calls and caller identities, while secret values themselves should not be logged is about “Track when a production secret was retrieved by an unexpected identity,” and Secrets Manager schedules secret rotation, coordinating updates to the stored value and underlying system credentials is about “Rotate a database password automatically on an approved schedule”; the intended “Prevent application teams from seeing a secret outside their environment” and “Avoid passing a secret in plaintext through a CloudFormation template” requirements remain unsatisfied.

Question 954

The permissions and authorization review has two control objectives. Requirement one: Allow object reads only when requests use a specific VPC endpoint. Requirement two: Allow administrative actions only from a restricted set of source public IP ranges. Which design passes both checks?

  1. Implement ABAC with principal-tag and resource-tag policy conditions; and enforce S3 request-header and key-ID conditions in a bucket policy
  2. Enforce S3 request-header and key-ID conditions in a bucket policy; and use an applicable aws:SourceIp condition in the identity or resource policy
  3. Apply an S3 bucket-policy condition on aws:sourceVpce; and implement ABAC with principal-tag and resource-tag policy conditions
  4. Apply an S3 bucket-policy condition on aws:sourceVpce; and use an applicable aws:SourceIp condition in the identity or resource policy

Explanation

Correct Answer

D:

The first control addresses the check “Allow object reads only when requests use a specific VPC endpoint”: The endpoint context key ties access to the intended private path, with careful exceptions for services that do not supply that context; the other addresses “Allow administrative actions only from a restricted set of source public IP ranges”: Source IP evaluation can restrict request origins, subject to the actual request context and service-forwarding behavior; these two mechanisms cover the complete permissions and authorization review.

Incorrect Answers

A:

The first action belongs to “Limit a role's access to resources carrying a matching project tag” because attribute-based conditions compare request context and resource attributes, reducing dependence on separately authored policies per project; the second belongs to “Require use of a designated encryption key for selected object uploads” because bucket-policy conditions can deny writes that omit or mismatch required SSE-KMS request encryption parameters; these are not the required checks, “Allow object reads only when requests use a specific VPC endpoint” and “Allow administrative actions only from a restricted set of source public IP ranges.”.

B:

Source IP evaluation can restrict request origins, subject to the actual request context and service-forwarding behavior; this fulfills the second objective (“Allow administrative actions only from a restricted set of source public IP ranges”); the other action is intended for “Require use of a designated encryption key for selected object uploads”: Bucket-policy conditions can deny writes that omit or mismatch required SSE-KMS request encryption parameters; it does not meet the requested “Allow object reads only when requests use a specific VPC endpoint” check.

C:

The endpoint context key ties access to the intended private path, with careful exceptions for services that do not supply that context; this is relevant to the first objective (“Allow object reads only when requests use a specific VPC endpoint”); however, the other action is meant for “Limit a role's access to resources carrying a matching project tag”: Attribute-based conditions compare request context and resource attributes, reducing dependence on separately authored policies per project; it leaves the required “Allow administrative actions only from a restricted set of source public IP ranges” behavior unimplemented.

Question 955

A review board evaluating the incident response rehearsal rejects fixes that cover just one requirement. The requirements are: Bring a human approval step into automated containment of a critical production database; and Prevent accidental removal of a forensic evidence object during an investigation. Which configuration addresses both?

  1. Rotate the stored value through Secrets Manager and update dependent clients; and use S3 Object Lock retention on the evidence bucket and objects
  2. Apply a role session revocation deny to sessions issued before the cutoff; and rotate the stored value through Secrets Manager and update dependent clients
  3. Add a manual approval stage to a Step Functions incident-response workflow; and use S3 Object Lock retention on the evidence bucket and objects
  4. Add a manual approval stage to a Step Functions incident-response workflow; and apply a role session revocation deny to sessions issued before the cutoff

Explanation

Correct Answer

C:

For “Bring a human approval step into automated containment of a critical production database,” the governing behavior is: State machines can pause for an external decision before potentially disruptive containment steps execute; for the separate check “Prevent accidental removal of a forensic evidence object during an investigation,” it is: Version-level write-once retention protects retained evidence against deletion or overwriting for the selected period; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

Only the second requirement is covered: Version-level write-once retention protects retained evidence against deletion or overwriting for the selected period supports “Prevent accidental removal of a forensic evidence object during an investigation”; by contrast, Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password concerns “Rotate an exposed database password without hardcoding the replacement in an application,” leaving “Bring a human approval step into automated containment of a critical production database” unresolved.

B:

This combination targets different outcomes: Revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials helps with “Invalidate temporary sessions that might remain after an IAM role credential concern”; Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password helps with “Rotate an exposed database password without hardcoding the replacement in an application”; neither implements the required “Bring a human approval step into automated containment of a critical production database” and “Prevent accidental removal of a forensic evidence object during an investigation” outcomes together.

D:

The first part is appropriate for “Bring a human approval step into automated containment of a critical production database” because state machines can pause for an external decision before potentially disruptive containment steps execute; the second part addresses a different issue (“Invalidate temporary sessions that might remain after an IAM role credential concern”) because revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials; it does not fulfill the “Prevent accidental removal of a forensic evidence object during an investigation” test.

Question 956

An AWS team is correcting two gaps in the cloud security governance assessment: Detect unexpected cost growth that might reflect compromised compute workloads; and Track closure of previously identified architecture security risks over multiple reviews. Which proposed set of controls fixes both gaps?

  1. Review the Security pillar in AWS Well-Architected Tool; and record prioritized Security pillar improvement actions and revisit open risks in the Well-Architected Tool
  2. Correlate IAM Access Analyzer exposure with network reachability assessments; and review the Security pillar in AWS Well-Architected Tool
  3. Configure AWS Cost Anomaly Detection monitoring; and record prioritized Security pillar improvement actions and revisit open risks in the Well-Architected Tool
  4. Configure AWS Cost Anomaly Detection monitoring; and correlate IAM Access Analyzer exposure with network reachability assessments

Explanation

Correct Answer

C:

For “Detect unexpected cost growth that might reflect compromised compute workloads,” the governing behavior is: Abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise; for the separate check “Track closure of previously identified architecture security risks over multiple reviews,” it is: A documented improvement plan turns review findings into tracked mitigation decisions instead of treating the questionnaire as a one-time score; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

Only the second requirement is covered: A documented improvement plan turns review findings into tracked mitigation decisions instead of treating the questionnaire as a one-time score supports “Track closure of previously identified architecture security risks over multiple reviews”; by contrast, The tool guides a structured workload review and produces improvement guidance based on pillar questions concerns “Find security design gaps against AWS architecture best practices,” leaving “Detect unexpected cost growth that might reflect compromised compute workloads” unresolved.

B:

This combination targets different outcomes: Policy exposure and network path analysis reveal different ways resources could be reachable by unintended parties helps with “Prioritize publicly exposed resources found during an architectural security review”; the tool guides a structured workload review and produces improvement guidance based on pillar questions helps with “Find security design gaps against AWS architecture best practices”; neither implements the required “Detect unexpected cost growth that might reflect compromised compute workloads” and “Track closure of previously identified architecture security risks over multiple reviews” outcomes together.

D:

The first part is appropriate for “Detect unexpected cost growth that might reflect compromised compute workloads” because abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise; the second part addresses a different issue (“Prioritize publicly exposed resources found during an architectural security review”) because policy exposure and network path analysis reveal different ways resources could be reachable by unintended parties; it does not fulfill the “Track closure of previously identified architecture security risks over multiple reviews” test.

Question 957

The compute workload hardening effort cannot pass unless both of these outcomes are demonstrated: Assess known vulnerabilities in container images stored in a registry; Prevent an EKS pod from inheriting broad worker-node permissions. Which two-part plan is suitable?

  1. 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
  2. Assign a least-privilege ECS task IAM role; and retrieve secrets at runtime using the workload's permitted IAM role
  3. Enable Amazon ECR image scanning with an appropriate scanning mode; and use IAM roles for service accounts for the pod's supported identity pattern
  4. Enable Amazon ECR image scanning with an appropriate scanning mode; and assign a least-privilege ECS task IAM role

Explanation

Correct Answer

C:

Two different security outcomes are required in this compute workload hardening effort; ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image supports “Assess known vulnerabilities in container images stored in a registry,” while 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”; neither check is assumed to follow from the other.

Incorrect Answers

A:

The option has a useful control for “Prevent an EKS pod from inheriting broad worker-node permissions” because pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload; its other control applies to “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 misses the first requirement, “Assess known vulnerabilities in container images stored in a registry.”.

B:

Task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope is pertinent to “Limit an ECS task's AWS API permissions independently of the host,” and Runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity is pertinent to “Use Secrets Manager values inside application containers without embedding them in image layers”; the requested controls for “Assess known vulnerabilities in container images stored in a registry” and “Prevent an EKS pod from inheriting broad worker-node permissions” are absent.

D:

This option is only partly effective: ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image supports “Assess known vulnerabilities in container images stored in a registry”; but Task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope supports “Limit an ECS task's AWS API permissions independently of the host,” not the required “Prevent an EKS pod from inheriting broad worker-node permissions” outcome.

Question 958

A security review for a log query optimization project identifies one priority: Join S3 archived CloudTrail records with a reference table of suspect IPs. Which control is the best choice?

  1. Enable CloudTrail Insights for the supported management-event analysis
  2. Examine supported KMS API activity in CloudTrail management events
  3. Run a CloudWatch Logs Insights query selecting and filtering relevant fields
  4. Query the log objects in Athena with an appropriate external table

Explanation

Correct Answer

D:

Athena SQL can correlate S3-resident datasets when file locations and schemas are configured correctly; for a log query optimization project, this is the measure that delivers the requirement to join S3 archived CloudTrail records with a reference table of suspect IPs.

Incorrect Answers

A:

For the different objective “Find unusual API call rates rather than just inspect routine event counts,” insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations; the scenario instead requires “Join S3 archived CloudTrail records with a reference table of suspect IPs,” which is a separate security mechanism.

B:

CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes; this addresses the requirement to audit how a customer-managed KMS key has been used by AWS callers, not the requirement to join S3 archived CloudTrail records with a reference table of suspect IPs, which is needed in a log query optimization project.

C:

Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first; this would help with the requirement to search raw CloudWatch log messages for failed authentication patterns across streams, leaving the requirement to join S3 archived CloudTrail records with a reference table of suspect IPs unresolved in a log query optimization project.

Question 959

A proposed solution for the key and certificate lifecycle review is incomplete unless it addresses both of these checks: Rotate a database password automatically on an approved schedule; and Store a nonrotating application configuration value with optional encryption. Which choice provides the necessary controls?

  1. Apply resource-scoped Secrets Manager IAM or resource policies and matching KMS access; and use Systems Manager Parameter Store with a SecureString parameter when sensitive
  2. Review Secrets Manager API events in CloudTrail; and apply resource-scoped Secrets Manager IAM or resource policies and matching KMS access
  3. Configure AWS Secrets Manager rotation with a compatible rotation implementation; and use Systems Manager Parameter Store with a SecureString parameter when sensitive
  4. Configure AWS Secrets Manager rotation with a compatible rotation implementation; and review Secrets Manager API events in CloudTrail

Explanation

Correct Answer

C:

For the first acceptance test, “Rotate a database password automatically on an approved schedule,” Secrets Manager schedules secret rotation, coordinating updates to the stored value and underlying system credentials; for the second, “Store a nonrotating application configuration value with optional encryption,” parameter Store organizes configuration parameters and can encrypt selected values, but does not reproduce every Secrets Manager rotation integration; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

A:

The mechanism for “Store a nonrotating application configuration value with optional encryption” is present: Parameter Store organizes configuration parameters and can encrypt selected values, but does not reproduce every Secrets Manager rotation integration; the additional mechanism relates to “Prevent application teams from seeing a secret outside their environment”: Retrieval authorization and KMS decryption permissions both matter for sensitive secret values; nothing here completes “Rotate a database password automatically on an approved schedule.”.

B:

Neither action is targeted at the two acceptance tests: CloudTrail records supported secret-management API calls and caller identities, while secret values themselves should not be logged is about “Track when a production secret was retrieved by an unexpected identity,” and Retrieval authorization and KMS decryption permissions both matter for sensitive secret values is about “Prevent application teams from seeing a secret outside their environment”; the intended “Rotate a database password automatically on an approved schedule” and “Store a nonrotating application configuration value with optional encryption” requirements remain unsatisfied.

D:

Secrets Manager schedules secret rotation, coordinating updates to the stored value and underlying system credentials supports the “Rotate a database password automatically on an approved schedule” acceptance test; CloudTrail records supported secret-management API calls and caller identities, while secret values themselves should not be logged is pertinent to “Track when a production secret was retrieved by an unexpected identity” instead; the change therefore omits the separate requirement “Store a nonrotating application configuration value with optional encryption.”.

Question 960

A change request in the permissions and authorization review will be approved only if it delivers both outcomes: Deny an application access to a bucket except through the dedicated network path; Reduce privilege escalation through arbitrary iam:PassRole on service launch. What should be included?

  1. Use aws:PrincipalOrgID in a compatible resource-based policy; and restrict iam:PassRole by role ARN and iam:PassedToService condition
  2. Add sts:ExternalId validation to the cross-account role trust policy; and use aws:PrincipalOrgID in a compatible resource-based policy
  3. Combine explicit-deny bucket-policy conditions with necessary service exceptions; and restrict iam:PassRole by role ARN and iam:PassedToService condition
  4. Combine explicit-deny bucket-policy conditions with necessary service exceptions; and add sts:ExternalId validation to the cross-account role trust policy

Explanation

Correct Answer

C:

For the first acceptance test, “Deny an application access to a bucket except through the dedicated network path,” A deny conditioned on source endpoint can enforce a private path but must account for AWS service requests that lack normal VPC endpoint keys; for the second, “Reduce privilege escalation through arbitrary iam:PassRole on service launch,” limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

A:

The mechanism for “Reduce privilege escalation through arbitrary iam:PassRole on service launch” is present: Limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads; the additional mechanism relates to “Restrict access based on an organization identifier rather than enumerating every member account”: Organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping; nothing here completes “Deny an application access to a bucket except through the dedicated network path.”.

B:

Neither action is targeted at the two acceptance tests: External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers is about “Constrain a third-party role assumption to a unique customer relationship,” and Organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping is about “Restrict access based on an organization identifier rather than enumerating every member account”; the intended “Deny an application access to a bucket except through the dedicated network path” and “Reduce privilege escalation through arbitrary iam:PassRole on service launch” requirements remain unsatisfied.

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 supports the “Deny an application access to a bucket except through the dedicated network path” acceptance test; External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers is pertinent to “Constrain a third-party role assumption to a unique customer relationship” instead; the change therefore omits the separate requirement “Reduce privilege escalation through arbitrary iam:PassRole on service launch.”.

AWS Certified Security - Specialty SCS-C03 Practice Tests