Question 380
Two security control owners share a security event analytics project. One is responsible for this outcome: Identify a denied subnet connection from recorded network-flow dispositions. The other needs: Find which WAF rule blocked a specific web request. Which implementation covers both?
- Analyze Route 53 Resolver query logs for suspicious domain patterns; and query WAF logs for the matched rule and terminating action
- Define a compatible schema and query the S3 archive with Athena; and analyze Route 53 Resolver query logs for suspicious domain patterns
- Filter VPC Flow Logs by REJECT entries and source/destination details; and query WAF logs for the matched rule and terminating action
- Filter VPC Flow Logs by REJECT entries and source/destination details; and define a compatible schema and query the S3 archive with Athena
Explanation
Correct Answer
C:Two different security outcomes are required in this security event analytics project; Flow metadata includes action and addresses for supported traffic, supporting triage of network policy outcomes supports “Identify a denied subnet connection from recorded network-flow dispositions,” while WAF logs identify web ACL evaluation outcomes and request attributes at the HTTP filtering layer supports “Find which WAF rule blocked a specific web request”; neither check is assumed to follow from the other.
Incorrect Answers
A:The option has a useful control for “Find which WAF rule blocked a specific web request” because WAF logs identify web ACL evaluation outcomes and request attributes at the HTTP filtering layer; its other control applies to “Investigate a DNS-based exfiltration indicator by queried domain” because resolver logs record query names and associated context, unlike VPC Flow Logs which do not supply full domain names; it misses the first requirement, “Identify a denied subnet connection from recorded network-flow dispositions.”.
B:Structured SQL analysis depends on matching the stored JSON layout; no console event-history filter will parse arbitrary archived app logs is pertinent to “Analyze archived JSON logs with predictable parsing rather than manual grep,” and Resolver logs record query names and associated context, unlike VPC Flow Logs which do not supply full domain names is pertinent to “Investigate a DNS-based exfiltration indicator by queried domain”; the requested controls for “Identify a denied subnet connection from recorded network-flow dispositions” and “Find which WAF rule blocked a specific web request” are absent.
D:This option is only partly effective: Flow metadata includes action and addresses for supported traffic, supporting triage of network policy outcomes supports “Identify a denied subnet connection from recorded network-flow dispositions”; but Structured SQL analysis depends on matching the stored JSON layout; no console event-history filter will parse arbitrary archived app logs supports “Analyze archived JSON logs with predictable parsing rather than manual grep,” not the required “Find which WAF rule blocked a specific web request” outcome.
Question 381
The backup and data retention program cannot pass unless both of these outcomes are demonstrated: Detect a missing backup before the end of a recovery service-level agreement; Maintain a second copy of recovery points in another account. Which two-part plan is suitable?
- Monitor AWS Backup job status and coverage with suitable notifications; and define an AWS Backup plan and assign protected resources
- Monitor AWS Backup job status and coverage with suitable notifications; and configure supported AWS Backup cross-account copy actions
- Define an AWS Backup plan and assign protected resources; and configure AWS Backup Vault Lock with appropriate minimum and maximum retention
- Configure AWS Backup Vault Lock with appropriate minimum and maximum retention; and configure supported AWS Backup cross-account copy actions
Explanation
Correct Answer
B:Two different security outcomes are required in this backup and data retention program; Backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed supports “Detect a missing backup before the end of a recovery service-level agreement,” while Cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites supports “Maintain a second copy of recovery points in another account”; neither check is assumed to follow from the other.
Incorrect Answers
A:This option is only partly effective: Backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed supports “Detect a missing backup before the end of a recovery service-level agreement”; but Backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation supports “Establish policy-based backups across several supported resource types,” not the required “Maintain a second copy of recovery points in another account” outcome.
C:Backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation is pertinent to “Establish policy-based backups across several supported resource types,” and Vault Lock limits destructive retention changes and complements access permissions on the backup vault is pertinent to “Ensure retention settings cannot be weakened by routine vault administrators”; the requested controls for “Detect a missing backup before the end of a recovery service-level agreement” and “Maintain a second copy of recovery points in another account” are absent.
D:The option has a useful control for “Maintain a second copy of recovery points in another account” because cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites; its other control applies to “Ensure retention settings cannot be weakened by routine vault administrators” because vault Lock limits destructive retention changes and complements access permissions on the backup vault; it misses the first requirement, “Detect a missing backup before the end of a recovery service-level agreement.”.
Question 382
A security review for an account compromise response review identifies one priority: Determine which principal originally assumed a suspicious cross-account role. Which control is the best choice?
- Inspect the AssumeRole event and session identity fields in CloudTrail
- Assign its execution role only the actions and resources needed by the runbook
- Route the finding event through EventBridge to an SNS topic
- Deactivate the affected access key and replace it through a controlled process
Explanation
Correct Answer
A:CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; that AWS behavior meets the requirement to determine which principal originally assumed a suspicious cross-account role, the decisive objective for an account compromise response review.
Incorrect Answers
B:Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused; this addresses the requirement to prevent a response Lambda from having blanket administrator privileges, not the requirement to determine which principal originally assumed a suspicious cross-account role, which is needed in an account compromise response review.
C:SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; this would help with the requirement to send incident alerts to an on-call distribution group after matching a security finding, leaving the requirement to determine which principal originally assumed a suspicious cross-account role unresolved in an account compromise response review.
D:An inactive access key cannot authenticate future signed API requests, allowing responders to eliminate the exposed credential while tracing historical use; this would help with the requirement to stop further use of a disclosed IAM user's long-term API key, leaving the requirement to determine which principal originally assumed a suspicious cross-account role unresolved in an account compromise response review.
Question 383
An assessment of the AWS Organizations policy program has two findings. Finding one: Provide a central place to manage security findings for multiple accounts. Finding two: Give security staff cross-account administrative access without sharing root passwords. Which combination remediates both?
- Configure an AWS Config aggregator with appropriate authorization; and configure AWS Organizations service control policies at the appropriate hierarchy
- Configure AWS Organizations service control policies at the appropriate hierarchy; and create trusted cross-account IAM roles and controlled STS assumption paths
- Configure a delegated administrator for AWS Security Hub; and configure an AWS Config aggregator with appropriate authorization
- Configure a delegated administrator for AWS Security Hub; and create trusted cross-account IAM roles and controlled STS assumption paths
Explanation
Correct Answer
D:The implementation has a specific control for each objective: Delegated administration allows a designated member account to administer a security service's supported organization-wide features for “Provide a central place to manage security findings for multiple accounts”; Cross-account role sessions supply temporary access bounded by the target role's trust and permission policies for “Give security staff cross-account administrative access without sharing root passwords”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first proposed action addresses “Aggregate AWS Config compliance data from many accounts and Regions”: Config aggregators centralize resource configuration and compliance views without themselves changing the member resources; the second addresses “Apply common permission guardrails across member AWS accounts”: SCPs constrain affected principals' maximum permissions in member accounts, independently from the IAM policies that grant actions; the combination does not achieve the required “Provide a central place to manage security findings for multiple accounts” and “Give security staff cross-account administrative access without sharing root passwords” outcomes in this AWS Organizations policy program.
B:While cross-account role sessions supply temporary access bounded by the target role's trust and permission policies is relevant to “Give security staff cross-account administrative access without sharing root passwords,” the other component targets “Apply common permission guardrails across member AWS accounts,” where SCPs constrain affected principals' maximum permissions in member accounts, independently from the IAM policies that grant actions; the first acceptance criterion (“Provide a central place to manage security findings for multiple accounts”) is not met.
C:The first check would be covered, since delegated administration allows a designated member account to administer a security service's supported organization-wide features; yet the second choice is associated with “Aggregate AWS Config compliance data from many accounts and Regions,” for which config aggregators centralize resource configuration and compliance views without themselves changing the member resources; no corresponding control satisfies “Give security staff cross-account administrative access without sharing root passwords.”.
Question 384
A change request in the compute workload hardening effort will be approved only if it delivers both outcomes: Restrict a Lambda function's access to S3 operations; Limit an ECS task's AWS API permissions independently of the host. What should be included?
- Narrow the Lambda execution role's identity policy; and enable Amazon ECR image scanning with an appropriate scanning mode
- Narrow the Lambda execution role's identity policy; and assign a least-privilege ECS task IAM role
- Enable Amazon ECR image scanning with an appropriate scanning mode; and use IAM roles for service accounts for the pod's supported identity pattern
- Use IAM roles for service accounts for the pod's supported identity pattern; and assign a least-privilege ECS task IAM role
Explanation
Correct Answer
B:For the first acceptance test, “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; for the second, “Limit an ECS task's AWS API permissions independently of the host,” task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it supports the “Restrict a Lambda function's access to S3 operations” acceptance test; ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image is pertinent to “Assess known vulnerabilities in container images stored in a registry” instead; the change therefore omits the separate requirement “Limit an ECS task's AWS API permissions independently of the host.”.
C:Neither action is targeted at the two acceptance tests: ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image is about “Assess known vulnerabilities in container images stored in a registry,” and Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload is about “Prevent an EKS pod from inheriting broad worker-node permissions”; the intended “Restrict a Lambda function's access to S3 operations” and “Limit an ECS task's AWS API permissions independently of the host” requirements remain unsatisfied.
D:The mechanism for “Limit an ECS task's AWS API permissions independently of the host” is present: Task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope; the additional mechanism 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; nothing here completes “Restrict a Lambda function's access to S3 operations.”.
Question 385
An AWS team is correcting two gaps in the permissions and authorization review: An IAM policy allows an action but an Organizations SCP excludes it; and An IAM role has broad permissions but a permissions boundary limits it. Which proposed set of controls fixes both gaps?
- Add a narrowly scoped explicit allow where the policy model requires it; and evaluate the intersection of identity policy permissions and the role's boundary
- Pass a restrictive STS session policy when assuming the role; and add a narrowly scoped explicit allow where the policy model requires it
- Update the SCP guardrail or choose an allowed operation while retaining least privilege; and evaluate the intersection of identity policy permissions and the role's boundary
- Update the SCP guardrail or choose an allowed operation while retaining least privilege; and pass a restrictive STS session policy when assuming the role
Explanation
Correct Answer
C:For “An IAM policy allows an action but an Organizations SCP excludes it,” the governing behavior is: SCPs restrict the maximum available permissions of affected member-account identities; an IAM allow cannot exceed the guardrail; for the separate check “An IAM role has broad permissions but a permissions boundary limits it,” it is: A permissions boundary caps identity-based permissions and does not itself grant additional AWS API privileges; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:Only the second requirement is covered: A permissions boundary caps identity-based permissions and does not itself grant additional AWS API privileges supports “An IAM role has broad permissions but a permissions boundary limits it”; by contrast, IAM starts from implicit denial for ordinary principals, so an absent allow leaves the operation unauthorized concerns “An identity has no applicable allow for an AWS operation,” leaving “An IAM policy allows an action but an Organizations SCP excludes it” unresolved.
B:This combination targets different outcomes: Session policies further limit the temporary session's effective permissions instead of expanding the base role helps with “A role session should have fewer privileges than its parent role policy”; IAM starts from implicit denial for ordinary principals, so an absent allow leaves the operation unauthorized helps with “An identity has no applicable allow for an AWS operation”; neither implements the required “An IAM policy allows an action but an Organizations SCP excludes it” and “An IAM role has broad permissions but a permissions boundary limits it” outcomes together.
D:The first part is appropriate for “An IAM policy allows an action but an Organizations SCP excludes it” because SCPs restrict the maximum available permissions of affected member-account identities; an IAM allow cannot exceed the guardrail; the second part addresses a different issue (“A role session should have fewer privileges than its parent role policy”) because session policies further limit the temporary session's effective permissions instead of expanding the base role; it does not fulfill the “An IAM role has broad permissions but a permissions boundary limits it” test.
Question 386
In a security log permissions review, a control owner must address the following requirement: S3 GetObject calls are absent while management calls remain visible. Which option should be selected?
- Expand or create Flow Logs coverage for that network interface or containing subnet
- Add the necessary S3 object data-event selectors to the trail
- Restore the precise S3 bucket policy statements that permit CloudTrail delivery
- Review the key policy for the CloudTrail log-encryption service permissions
Explanation
Correct Answer
B:Management-event collection does not imply coverage of object-level operations, even in the same account; this is the direct solution to the reported condition: S3 GetObject calls are absent while management calls remain visible in a security log permissions review.
Incorrect Answers
A:Flow Logs capture only interfaces covered by the configured scope and supported traffic records; its purpose is the reported condition: flow logs show no records for a new ENI outside the original logging scope, but the acceptance criterion in a security log permissions review is the reported condition: S3 GetObject calls are absent while management calls remain visible.
C:A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; its scope is the reported condition: a trail reports S3 delivery errors after a bucket-policy hardening change, rather than the reported condition: S3 GetObject calls are absent while management calls remain visible for a security log permissions review.
D:SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations; the important distinction in a security log permissions review is that this supports the requirement to CloudTrail events stop arriving after the KMS key policy is tightened instead of the reported condition: S3 GetObject calls are absent while management calls remain visible.
Question 387
Two security control owners share a traffic encryption assessment. One is responsible for this outcome: Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection. The other needs: Secure transport for an EFS file system from application instances. Which implementation covers both?
- Add Site-to-Site VPN over Direct Connect where supported; and use EFS mount helper TLS encryption for file system client mounts
- Add Site-to-Site VPN over Direct Connect where supported; and enable the cluster's require-SSL parameter and configure clients for TLS
- Configure MACsec with compatible connection settings; and use EFS mount helper TLS encryption for file system client mounts
- Enable the cluster's require-SSL parameter and configure clients for TLS; and configure MACsec with compatible connection settings
Explanation
Correct Answer
A:Two different security outcomes are required in this traffic encryption assessment; A dedicated private circuit does not inherently guarantee application encryption, while an IPsec overlay protects the carried traffic supports “Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection,” while EFS TLS protects in-transit NFS-related communication when the mount helper is configured accordingly supports “Secure transport for an EFS file system from application instances”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: A dedicated private circuit does not inherently guarantee application encryption, while an IPsec overlay protects the carried traffic supports “Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection”; but A database service can enforce protected sessions with engine configuration rather than relying only on subnet isolation supports “Require clients to use TLS when contacting a Redshift cluster,” not the required “Secure transport for an EFS file system from application instances” outcome.
C:The option has a useful control for “Secure transport for an EFS file system from application instances” because EFS TLS protects in-transit NFS-related communication when the mount helper is configured accordingly; its other control applies to “Use an encrypted link layer on eligible dedicated Direct Connect connections” because MACsec provides Layer 2 link encryption on supported Direct Connect deployments, distinct from VPN authentication and routing; it misses the first requirement, “Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection.”.
D:A database service can enforce protected sessions with engine configuration rather than relying only on subnet isolation is pertinent to “Require clients to use TLS when contacting a Redshift cluster,” and MACsec provides Layer 2 link encryption on supported Direct Connect deployments, distinct from VPN authentication and routing is pertinent to “Use an encrypted link layer on eligible dedicated Direct Connect connections”; the requested controls for “Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection” and “Secure transport for an EFS file system from application instances” are absent.
Question 388
An architect is reviewing a service connectivity failure review. The acceptance criterion reads: Determine whether a WAF rule or an origin error caused an HTTP rejection. Which approach satisfies it?
- Inspect WAF request logs alongside ALB access logs
- Verify the gateway endpoint association with the subnet's route table
- Review ENI-scoped Flow Log action and address/port fields
- Add stateless NACL return-path rules for the relevant ephemeral ports
- Run VPC Reachability Analyzer from source to destination
Explanation
Correct Answer
A:WAF logs show web ACL dispositions while ALB logs characterize requests reaching the load balancer; this behavior fulfills the requirement to determine whether a WAF rule or an origin error caused an HTTP rejection during a service connectivity failure review.
Incorrect Answers
B:For the different objective “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; the scenario instead requires “Determine whether a WAF rule or an origin error caused an HTTP rejection,” which is a separate security mechanism.
C:Flow Logs can reveal REJECT dispositions and traffic tuples but cannot prove which application payload triggered the rejection; this would help with the requirement to diagnose a rejected connection using VPC flow records, leaving the requirement to determine whether a WAF rule or an origin error caused an HTTP rejection unresolved in a service connectivity failure review.
D:Network ACLs evaluate inbound and outbound packets independently and cannot infer state from an allowed request; the important distinction in a service connectivity failure review is that this supports the requirement to explain why return packets fail when a network ACL allows only the request port instead of the requirement to determine whether a WAF rule or an origin error caused an HTTP rejection.
E:Reachability Analyzer evaluates the modeled path through route tables, security groups and ACLs to explain configuration blockers; its purpose is the requirement to find which configured VPC component blocks a path between EC2 instances, but the acceptance criterion in a service connectivity failure review is the requirement to determine whether a WAF rule or an origin error caused an HTTP rejection.
Question 389
A change request in the incident response rehearsal will be approved only if it delivers both outcomes: Rotate an exposed database password without hardcoding the replacement in an application; Bring a human approval step into automated containment of a critical production database. What should be included?
- Rotate the stored value through Secrets Manager and update dependent clients; and add a manual approval stage to a Step Functions incident-response workflow
- Rotate the stored value through Secrets Manager and update dependent clients; and use S3 Object Lock retention on the evidence bucket and objects
- Establish a dedicated forensic account with emergency cross-account roles; and add a manual approval stage to a Step Functions incident-response workflow
- Use S3 Object Lock retention on the evidence bucket and objects; and establish a dedicated forensic account with emergency cross-account roles
Explanation
Correct Answer
A:For the first acceptance test, “Rotate an exposed database password without hardcoding the replacement in an application,” Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password; for the second, “Bring a human approval step into automated containment of a critical production database,” state machines can pause for an external decision before potentially disruptive containment steps execute; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
B:Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password supports the “Rotate an exposed database password without hardcoding the replacement in an application” acceptance test; Version-level write-once retention protects retained evidence against deletion or overwriting for the selected period is pertinent to “Prevent accidental removal of a forensic evidence object during an investigation” instead; the change therefore omits the separate requirement “Bring a human approval step into automated containment of a critical production database.”.
C:The mechanism for “Bring a human approval step into automated containment of a critical production database” is present: State machines can pause for an external decision before potentially disruptive containment steps execute; the additional mechanism relates to “Ensure responders can reach a separate investigative environment if production credentials are compromised”: Separating forensic tooling and artifacts from the production blast radius reduces dependence on possibly compromised accounts; nothing here completes “Rotate an exposed database password without hardcoding the replacement in an application.”.
D:Neither action is targeted at the two acceptance tests: Version-level write-once retention protects retained evidence against deletion or overwriting for the selected period is about “Prevent accidental removal of a forensic evidence object during an investigation,” and Separating forensic tooling and artifacts from the production blast radius reduces dependence on possibly compromised accounts is about “Ensure responders can reach a separate investigative environment if production credentials are compromised”; the intended “Rotate an exposed database password without hardcoding the replacement in an application” and “Bring a human approval step into automated containment of a critical production database” requirements remain unsatisfied.
Question 390
A proposed solution for the compliance evidence and drift review is incomplete unless it addresses both of these checks: Demonstrate which account actions changed a security posture setting; and Preserve compliance history of changes to resource configurations. Which choice provides the necessary controls?
- Associate an AWS Systems Manager Automation remediation action with a Config rule; and query historical AWS Config configuration items and rule evaluations
- Query historical AWS Config configuration items and rule evaluations; and enable AWS Config recorders and delivery to controlled storage
- Cross-reference CloudTrail API activity with AWS Config configuration history; and associate an AWS Systems Manager Automation remediation action with a Config rule
- Cross-reference CloudTrail API activity with AWS Config configuration history; and enable AWS Config recorders and delivery to controlled storage
Explanation
Correct Answer
D:For the first acceptance test, “Demonstrate which account actions changed a security posture setting,” CloudTrail identifies calling principals, while Config describes recorded resource state changes and compliance impacts; for the second, “Preserve compliance history of changes to resource configurations,” configuration item history supports reconstruction of resource state changes rather than tracking only a current compliance flag; 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: Config detects a violation and automation can apply a predefined corrective runbook with authorized permissions is about “Create automated remediation for noncompliant resources detected by Config,” and Config history records supported configuration states, providing evidence of earlier insecure ingress settings is about “Determine whether a security group ever allowed public administrative ports”; the intended “Demonstrate which account actions changed a security posture setting” and “Preserve compliance history of changes to resource configurations” requirements remain unsatisfied.
B:The mechanism for “Preserve compliance history of changes to resource configurations” is present: Configuration item history supports reconstruction of resource state changes rather than tracking only a current compliance flag; the additional mechanism relates to “Determine whether a security group ever allowed public administrative ports”: Config history records supported configuration states, providing evidence of earlier insecure ingress settings; nothing here completes “Demonstrate which account actions changed a security posture setting.”.
C:CloudTrail identifies calling principals, while Config describes recorded resource state changes and compliance impacts supports the “Demonstrate which account actions changed a security posture setting” acceptance test; Config detects a violation and automation can apply a predefined corrective runbook with authorized permissions is pertinent to “Create automated remediation for noncompliant resources detected by Config” instead; the change therefore omits the separate requirement “Preserve compliance history of changes to resource configurations.”.