Question 630
In a suspicious API activity review, a control owner must address the following requirement: Determine which caller changed an IAM trust policy. Which option should be selected?
- Enable CloudTrail Insights for the supported management-event analysis
- Inspect CloudTrail UpdateAssumeRolePolicy records and request context
- Configure Security Hub insights over normalized security findings
- Run a CloudWatch Logs Insights query selecting and filtering relevant fields
Explanation
Correct Answer
B:CloudTrail management events expose who invoked role trust changes and which policy update was submitted; that AWS behavior meets the requirement to determine which caller changed an IAM trust policy, the decisive objective for a suspicious API activity review.
Incorrect Answers
A:Insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations; its scope is the requirement to find unusual API call rates rather than just inspect routine event counts, rather than the requirement to determine which caller changed an IAM trust policy for a suspicious API activity review.
C:Security Hub insights aggregate finding properties rather than querying raw VPC packet records; this would help with the requirement to summarize findings by account, severity, and workflow state, leaving the requirement to determine which caller changed an IAM trust policy unresolved in a suspicious API activity review.
D:Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first; the important distinction in a suspicious API activity review is that this supports the requirement to search raw CloudWatch log messages for failed authentication patterns across streams instead of the requirement to determine which caller changed an IAM trust policy.
Question 631
A review board evaluating the storage encryption control review rejects fixes that cover just one requirement. The requirements are: Encrypt new EC2 EBS volumes by default in an account and Region; and Migrate an unencrypted EBS volume to encrypted storage. Which configuration addresses both?
- Select the customer-managed AWS KMS key for DynamoDB server-side encryption; and configure SQS server-side encryption with a suitable KMS key
- Configure SQS server-side encryption with a suitable KMS key; and snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume
- Enable EBS encryption by default with the approved KMS key; and select the customer-managed AWS KMS key for DynamoDB server-side encryption
- Enable EBS encryption by default with the approved KMS key; and snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume
Explanation
Correct Answer
D:For “Encrypt new EC2 EBS volumes by default in an account and Region,” the governing behavior is: EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path; for the separate check “Migrate an unencrypted EBS volume to encrypted storage,” it is: EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:This combination targets different outcomes: DynamoDB integrates encryption at rest with KMS; using a customer-managed key adds customer-controlled key policy and lifecycle considerations helps with “Encrypt DynamoDB table data at rest using an approved customer-managed KMS key”; Queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies helps with “Encrypt application messages stored in an SQS queue”; neither implements the required “Encrypt new EC2 EBS volumes by default in an account and Region” and “Migrate an unencrypted EBS volume to encrypted storage” outcomes together.
B:Only the second requirement is covered: EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data supports “Migrate an unencrypted EBS volume to encrypted storage”; by contrast, Queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies concerns “Encrypt application messages stored in an SQS queue,” leaving “Encrypt new EC2 EBS volumes by default in an account and Region” unresolved.
C:The first part is appropriate for “Encrypt new EC2 EBS volumes by default in an account and Region” because EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path; the second part addresses a different issue (“Encrypt DynamoDB table data at rest using an approved customer-managed KMS key”) because dynamoDB integrates encryption at rest with KMS; using a customer-managed key adds customer-controlled key policy and lifecycle considerations; it does not fulfill the “Migrate an unencrypted EBS volume to encrypted storage” test.
Question 632
In a security incident runbook exercise, a control owner must address the following requirement: Preserve an encrypted EBS volume's point-in-time contents before destructive remediation. Which option should be selected?
- Create an EBS snapshot and restrict its sharing and KMS access
- Normalize the findings into AWS Security Finding Format in Security Hub
- Match GuardDuty events with an EventBridge rule and invoke a Step Functions workflow
- Prepare Systems Manager Automation runbooks with restricted execution roles
Explanation
Correct Answer
A:A snapshot preserves the volume's blocks for forensic analysis, with access to an encrypted copy controlled by the relevant KMS key permissions; it addresses the requirement to preserve an encrypted EBS volume's point-in-time contents before destructive remediation at the right security boundary during a security incident runbook exercise.
Incorrect Answers
B:ASFF provides common fields for the finding origin, resources, severity, and workflow state across integrated products; its purpose is the requirement to make findings from multiple AWS security products use a common event structure, but the acceptance criterion in a security incident runbook exercise is the requirement to preserve an encrypted EBS volume's point-in-time contents before destructive remediation.
C:EventBridge matches supported security finding events, while Step Functions coordinates the ordered response steps and human approval gates; its scope is the requirement to route high-severity GuardDuty findings into an approved response workflow, rather than the requirement to preserve an encrypted EBS volume's point-in-time contents before destructive remediation for a security incident runbook exercise.
D:Automation documents implement consistent response actions and IAM constrains who can start them or affect target resources; this addresses the requirement to preapprove repeatable patch and quarantine operations before an incident, not the requirement to preserve an encrypted EBS volume's point-in-time contents before destructive remediation, which is needed in a security incident runbook exercise.
Question 633
In a compliance evidence collection project, a control owner must address the following requirement: Detect when an S3 bucket deviates from an encryption baseline. Which option should be selected?
- Associate an AWS Systems Manager Automation remediation action with a Config rule
- 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
Explanation
Correct Answer
B:Config rules evaluate recorded resource configurations against expected controls and report compliance states; this behavior fulfills the requirement to detect when an S3 bucket deviates from an encryption baseline during a compliance evidence collection project.
Incorrect Answers
A:For the different objective “Create automated remediation for noncompliant resources detected by Config,” config detects a violation and automation can apply a predefined corrective runbook with authorized permissions; the scenario instead requires “Detect when an S3 bucket deviates from an encryption baseline,” which is a separate security mechanism.
C:Security Hub evaluates supported control checks and consolidates findings; remediation remains an independent action; the important distinction in a compliance evidence collection project is that this supports the requirement to measure consolidated security posture against security controls instead of the requirement to detect when an S3 bucket deviates from an encryption baseline.
D: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 detect when an S3 bucket deviates from an encryption baseline unresolved in a compliance evidence collection project.
Question 634
During a network traffic inspection architecture, the security team has this work item: Capture which AWS API modified a VPC route during an outage. Which AWS action is the most direct implementation?
- Configure redundant Site-to-Site VPN connections or tunnels with tested failover
- Remove or withhold the prohibited route in the Transit Gateway route table
- Configure MACsec on supported dedicated Direct Connect connections
- Review CloudTrail control-plane events for route table updates
Explanation
Correct Answer
D:CloudTrail records authorized route table API operations, not the packet-level paths of normal client connections; this is the direct solution to the requirement to capture which AWS API modified a VPC route during an outage in a network traffic inspection architecture.
Incorrect Answers
A:Multiple independent tunnels and routing failover improve resilience when one gateway path or tunnel is unavailable; this would help with the requirement to reduce single-point failure for on-premises encrypted connectivity, leaving the requirement to capture which AWS API modified a VPC route during an outage unresolved in a network traffic inspection architecture.
B:Traffic isolation needs effective route-table segmentation; attachment to the same transit hub does not imply unrestricted transit; its scope is the requirement to prevent a development VPC from reaching the production CIDR through a central hub, rather than the requirement to capture which AWS API modified a VPC route during an outage for a network traffic inspection architecture.
C:MACsec protects supported physical Direct Connect link traffic at Layer 2 and is distinct from IPsec at the VPN layer; this would help with the requirement to encrypt suitable Direct Connect links at Layer 2 where supported, leaving the requirement to capture which AWS API modified a VPC route during an outage unresolved in a network traffic inspection architecture.
Question 635
An assessment of the credential and federation review has two findings. Finding one: An EC2 SDK cannot retrieve credentials even though an IAM policy grants access. Finding two: A worker's federated portal login succeeds but no target account is listed. Which combination remediates both?
- Verify the instance profile attachment and IMDS availability; and check IAM Identity Center account assignments and permission sets
- Verify the instance profile attachment and IMDS availability; and adjust role session duration within allowed constraints and refresh credentials
- Inspect the role trust policy, provider identifier, and assertion conditions; and check IAM Identity Center account assignments and permission sets
- Adjust role session duration within allowed constraints and refresh credentials; and inspect the role trust policy, provider identifier, and assertion conditions
Explanation
Correct Answer
A:The implementation has a specific control for each objective: Role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel for “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access”; Authentication to the portal alone grants no account entitlement until an assignment connects the principal and permission set for “A worker's federated portal login succeeds but no target account is listed”; the combined option satisfies the two-part request.
Incorrect Answers
B:The first check would be covered, since role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel; yet the second choice is associated with “A principal's temporary role credentials expire during a long-running process,” for which STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys; no corresponding control satisfies “A worker's federated portal login succeeds but no target account is listed.”.
C:While authentication to the portal alone grants no account entitlement until an assignment connects the principal and permission set is relevant to “A worker's federated portal login succeeds but no target account is listed,” the other component targets “A federated role fails to assume despite the user being authenticated with a corporate identity,” where authentication to the IdP does not automatically authorize STS role assumption; the trust must match the federation claims; the first acceptance criterion (“An EC2 SDK cannot retrieve credentials even though an IAM policy grants access”) is not met.
D:The first proposed action addresses “A principal's temporary role credentials expire during a long-running process”: STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys; the second addresses “A federated role fails to assume despite the user being authenticated with a corporate identity”: Authentication to the IdP does not automatically authorize STS role assumption; the trust must match the federation claims; the combination does not achieve the required “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access” and “A worker's federated portal login succeeds but no target account is listed” outcomes in this credential and federation review.
Question 636
During a central log collection migration, reviewers document two independent acceptance criteria. First: Record accepted and rejected IP flows on selected VPC network interfaces. Second: Capture DNS query names resolved through Route 53 Resolver in a VPC. Which combined implementation satisfies both?
- Enable VPC Flow Logs at the required VPC, subnet, or ENI scope; and configure Route 53 Resolver query logging for the relevant VPCs
- Enable VPC Flow Logs at the required VPC, subnet, or ENI scope; and enable WAF logging to a supported delivery destination
- Enable Application Load Balancer access logs to a permitted S3 bucket; and configure Route 53 Resolver query logging for the relevant VPCs
- Enable WAF logging to a supported delivery destination; and enable Application Load Balancer access logs to a permitted S3 bucket
Explanation
Correct Answer
A:The first control addresses the check “Record accepted and rejected IP flows on selected VPC network interfaces”: Flow Logs describe traffic metadata and accept/reject disposition, not packet payloads or every application-level transaction; the other addresses “Capture DNS query names resolved through Route 53 Resolver in a VPC”: Resolver query logs provide domain query details and can be centralized for DNS-based security analysis; these two mechanisms cover the complete central log collection migration.
Incorrect Answers
B:Flow Logs describe traffic metadata and accept/reject disposition, not packet payloads or every application-level transaction; this is relevant to the first objective (“Record accepted and rejected IP flows on selected VPC network interfaces”); however, the other action is meant for “Record requests allowed or blocked by AWS WAF web ACLs”: WAF log records include matched rule and request metadata for supported web requests passing through the associated ACL; it leaves the required “Capture DNS query names resolved through Route 53 Resolver in a VPC” behavior unimplemented.
C:Resolver query logs provide domain query details and can be centralized for DNS-based security analysis; this fulfills the second objective (“Capture DNS query names resolved through Route 53 Resolver in a VPC”); the other action is intended for “Preserve load balancer request traces for application incident analysis”: ALB access logs report HTTP request processing details, while CloudTrail captures configuration API operations instead; it does not meet the requested “Record accepted and rejected IP flows on selected VPC network interfaces” check.
D:The first action belongs to “Record requests allowed or blocked by AWS WAF web ACLs” because WAF log records include matched rule and request metadata for supported web requests passing through the associated ACL; the second belongs to “Preserve load balancer request traces for application incident analysis” because ALB access logs report HTTP request processing details, while CloudTrail captures configuration API operations instead; these are not the required checks, “Record accepted and rejected IP flows on selected VPC network interfaces” and “Capture DNS query names resolved through Route 53 Resolver in a VPC.”.
Question 637
An AWS team is correcting two gaps in the backup and data retention program: Move cold S3 archive objects into a lower-cost storage class after a defined age; and Delete expired object versions while keeping active S3 versions longer. Which proposed set of controls fixes both gaps?
- Configure S3 Lifecycle transition actions; and configure the log group's retention setting
- Configure S3 Lifecycle transition actions; and configure separate versioned-bucket Lifecycle expiration rules
- Configure the log group's retention setting; and create an Amazon Data Lifecycle Manager policy
- Create an Amazon Data Lifecycle Manager policy; and configure separate versioned-bucket Lifecycle expiration rules
Explanation
Correct Answer
B:For “Move cold S3 archive objects into a lower-cost storage class after a defined age,” the governing behavior is: Lifecycle transition automates storage-class movement after configured criteria without itself enforcing tamper-proof retention; for the separate check “Delete expired object versions while keeping active S3 versions longer,” it is: Versioned buckets can retain noncurrent versions with distinct expiration behavior from the current version; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:The first part is appropriate for “Move cold S3 archive objects into a lower-cost storage class after a defined age” because lifecycle transition automates storage-class movement after configured criteria without itself enforcing tamper-proof retention; the second part addresses a different issue (“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; it does not fulfill the “Delete expired object versions while keeping active S3 versions longer” test.
C:This combination targets different outcomes: CloudWatch deletes log events after the configured age, separate from S3 Lifecycle on archived objects helps with “Retain CloudWatch Logs events only for a fixed number of days”; Data Lifecycle Manager orchestrates eligible EBS snapshot and AMI lifecycles using schedules and retention rules helps with “Automate retention of daily EBS snapshots across matching volumes”; neither implements the required “Move cold S3 archive objects into a lower-cost storage class after a defined age” and “Delete expired object versions while keeping active S3 versions longer” outcomes together.
D:Only the second requirement is covered: Versioned buckets can retain noncurrent versions with distinct expiration behavior from the current version supports “Delete expired object versions while keeping active S3 versions longer”; by contrast, Data Lifecycle Manager orchestrates eligible EBS snapshot and AMI lifecycles using schedules and retention rules concerns “Automate retention of daily EBS snapshots across matching volumes,” leaving “Move cold S3 archive objects into a lower-cost storage class after a defined age” unresolved.
Question 638
A review board evaluating the private network troubleshooting exercise rejects fixes that cover just one requirement. The requirements are: Verify a specific route policy does not permit unwanted transitive connectivity; and Troubleshoot private interface endpoint name resolution failures. Which configuration addresses both?
- Model the intended source and destination with Network Access Analyzer or Reachability Analyzer; and check BGP or static route advertisements and route-table propagation
- Model the intended source and destination with Network Access Analyzer or Reachability Analyzer; and verify private DNS settings and VPC DNS resolution options
- Check BGP or static route advertisements and route-table propagation; and verify the gateway endpoint association with the subnet's route table
- Verify the gateway endpoint association with the subnet's route table; and verify private DNS settings and VPC DNS resolution options
Explanation
Correct Answer
B:For “Verify a specific route policy does not permit unwanted transitive connectivity,” the governing behavior is: Static network-path analysis reveals configured reachability and policy exposure without relying only on manual CIDR comparison; for the separate check “Troubleshoot private interface endpoint name resolution failures,” it is: Interface endpoint private DNS and VPC DNS support control whether normal service names resolve to endpoint addresses; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:The first part is appropriate for “Verify a specific route policy does not permit unwanted transitive connectivity” because static network-path analysis reveals configured reachability and policy exposure without relying only on manual CIDR comparison; the second part addresses a different issue (“Diagnose a VPN tunnel that is up but does not carry expected prefixes”) because tunnel establishment and traffic routing are separate; missing prefixes can prevent forwarding despite healthy tunnel status; it does not fulfill the “Troubleshoot private interface endpoint name resolution failures” test.
C:This combination targets different outcomes: Tunnel establishment and traffic routing are separate; missing prefixes can prevent forwarding despite healthy tunnel status helps with “Diagnose a VPN tunnel that is up but does not carry expected prefixes”; Gateway endpoints insert routes into chosen route tables; omitted associations leave instances using other available routes helps with “Investigate why S3 endpoint traffic takes the NAT gateway path”; neither implements the required “Verify a specific route policy does not permit unwanted transitive connectivity” and “Troubleshoot private interface endpoint name resolution failures” outcomes together.
D:Only the second requirement is covered: Interface endpoint private DNS and VPC DNS support control whether normal service names resolve to endpoint addresses supports “Troubleshoot private interface endpoint name resolution failures”; by contrast, Gateway endpoints insert routes into chosen route tables; omitted associations leave instances using other available routes concerns “Investigate why S3 endpoint traffic takes the NAT gateway path,” leaving “Verify a specific route policy does not permit unwanted transitive connectivity” unresolved.
Question 639
In a incident response rehearsal, engineers must cover two different requirements: Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions. In addition, Preserve an encrypted EBS volume's point-in-time contents before destructive remediation. Which option implements both?
- Attach a restrictive isolation security group and verify existing connections; and create an EBS snapshot and restrict its sharing and KMS access
- Attach a restrictive isolation security group and verify existing connections; and match GuardDuty events with an EventBridge rule and invoke a Step Functions workflow
- Normalize the findings into AWS Security Finding Format in Security Hub; and create an EBS snapshot and restrict its sharing and KMS access
- Match GuardDuty events with an EventBridge rule and invoke a Step Functions workflow; and normalize the findings into AWS Security Finding Format in Security Hub
Explanation
Correct Answer
A:This pairing handles the first requirement (“Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions”) because security groups constrain permitted instance traffic, but stateful connection tracking must be considered when isolating sessions already established; it handles the second (“Preserve an encrypted EBS volume's point-in-time contents before destructive remediation”) because A snapshot preserves the volume's blocks for forensic analysis, with access to an encrypted copy controlled by the relevant KMS key permissions; both acceptance criteria are therefore addressed.
Incorrect Answers
B:One action is correctly chosen for “Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions”: Security groups constrain permitted instance traffic, but stateful connection tracking must be considered when isolating sessions already established; the companion action relates to “Route high-severity GuardDuty findings into an approved response workflow”: EventBridge matches supported security finding events, while Step Functions coordinates the ordered response steps and human approval gates; the other requested outcome, “Preserve an encrypted EBS volume's point-in-time contents before destructive remediation,” remains outstanding.
C:This solves the second problem (“Preserve an encrypted EBS volume's point-in-time contents before destructive remediation”): A snapshot preserves the volume's blocks for forensic analysis, with access to an encrypted copy controlled by the relevant KMS key permissions; however, the first action addresses “Make findings from multiple AWS security products use a common event structure”: ASFF provides common fields for the finding origin, resources, severity, and workflow state across integrated products; it does not satisfy “Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions.”.
D:Both mechanisms have legitimate uses, but for other requirements: EventBridge matches supported security finding events, while Step Functions coordinates the ordered response steps and human approval gates supports “Route high-severity GuardDuty findings into an approved response workflow”; ASFF provides common fields for the finding origin, resources, severity, and workflow state across integrated products supports “Make findings from multiple AWS security products use a common event structure”; this does not resolve the stated “Prepare a repeatable EC2 quarantine plan that preserves the host and accounts for established sessions” and “Preserve an encrypted EBS volume's point-in-time contents before destructive remediation” findings.
Question 640
An assessment of the AWS Organizations policy program has two findings. Finding one: Limit who can invite or remove accounts from an organization. Finding two: Centralize access assignment audits for workforce roles. Which combination remediates both?
- Follow an approved account closure and resource offboarding workflow; and review IAM Identity Center assignments and provisioned permission sets
- Register a supported security-service delegated administrator in a member account; and follow an approved account closure and resource offboarding workflow
- Restrict Organizations membership API actions to a central administrative role; and review IAM Identity Center assignments and provisioned permission sets
- Restrict Organizations membership API actions to a central administrative role; and register a supported security-service delegated administrator in a member account
Explanation
Correct Answer
C:The implementation has a specific control for each objective: Organizations permissions control account relationships and policy attachment at the organization boundary for “Limit who can invite or remove accounts from an organization”; Central assignments reveal which users and groups can obtain roles in each managed account for “Centralize access assignment audits for workforce roles”; the combined option satisfies the two-part request.
Incorrect Answers
A:While central assignments reveal which users and groups can obtain roles in each managed account is relevant to “Centralize access assignment audits for workforce roles,” the other component targets “Retire an unused AWS member account without leaving running resources,” where formal closure requires inventory, data preservation and service termination rather than simply deleting a row from a billing report; the first acceptance criterion (“Limit who can invite or remove accounts from an organization”) is not met.
B:The first proposed action addresses “Transfer governance of routine security operations away from the management account”: Service-specific delegation limits day-to-day use of the most privileged organization account without bypassing the overall service guardrails; the second addresses “Retire an unused AWS member account without leaving running resources”: Formal closure requires inventory, data preservation and service termination rather than simply deleting a row from a billing report; the combination does not achieve the required “Limit who can invite or remove accounts from an organization” and “Centralize access assignment audits for workforce roles” outcomes in this AWS Organizations policy program.
D:The first check would be covered, since organizations permissions control account relationships and policy attachment at the organization boundary; yet the second choice is associated with “Transfer governance of routine security operations away from the management account,” for which service-specific delegation limits day-to-day use of the most privileged organization account without bypassing the overall service guardrails; no corresponding control satisfies “Centralize access assignment audits for workforce roles.”.