Question 930
The logging access troubleshooting session has two control objectives. Requirement one: A trail reports S3 delivery errors after a bucket-policy hardening change. Requirement two: CloudTrail events stop arriving after the KMS key policy is tightened. Which design passes both checks?
- Expand or create Flow Logs coverage for that network interface or containing subnet; and review the key policy for the CloudTrail log-encryption service permissions
- Add the necessary S3 object data-event selectors to the trail; and expand or create Flow Logs coverage for that network interface or containing subnet
- Restore the precise S3 bucket policy statements that permit CloudTrail delivery; and review the key policy for the CloudTrail log-encryption service permissions
- Restore the precise S3 bucket policy statements that permit CloudTrail delivery; and add the necessary S3 object data-event selectors to the trail
Explanation
Correct Answer
C:The first control addresses the check “A trail reports S3 delivery errors after a bucket-policy hardening change”: A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; the other addresses “CloudTrail events stop arriving after the KMS key policy is tightened”: SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations; these two mechanisms cover the complete logging access troubleshooting session.
Incorrect Answers
A:SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations; this fulfills the second objective (“CloudTrail events stop arriving after the KMS key policy is tightened”); the other action is intended for “Flow logs show no records for a new ENI outside the original logging scope”: Flow Logs capture only interfaces covered by the configured scope and supported traffic records; it does not meet the requested “A trail reports S3 delivery errors after a bucket-policy hardening change” check.
B:The first action belongs to “S3 GetObject calls are absent while management calls remain visible” because management-event collection does not imply coverage of object-level operations, even in the same account; the second belongs to “Flow logs show no records for a new ENI outside the original logging scope” because flow Logs capture only interfaces covered by the configured scope and supported traffic records; these are not the required checks, “A trail reports S3 delivery errors after a bucket-policy hardening change” and “CloudTrail events stop arriving after the KMS key policy is tightened.”.
D:A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; this is relevant to the first objective (“A trail reports S3 delivery errors after a bucket-policy hardening change”); however, the other action is meant for “S3 GetObject calls are absent while management calls remain visible”: Management-event collection does not imply coverage of object-level operations, even in the same account; it leaves the required “CloudTrail events stop arriving after the KMS key policy is tightened” behavior unimplemented.
Question 931
A review board evaluating the traffic encryption assessment rejects fixes that cover just one requirement. The requirements are: Require HTTPS for all viewer connections through CloudFront; and Encrypt traffic between CloudFront and a custom HTTPS origin. Which configuration addresses both?
- Set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy; and set the distribution's origin protocol policy to HTTPS only
- Set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy; and provision the certificate for CloudFront in ACM in us-east-1 where required
- Apply an appropriate ALB SSL security policy to the HTTPS listener; and set the distribution's origin protocol policy to HTTPS only
- Provision the certificate for CloudFront in ACM in us-east-1 where required; and apply an appropriate ALB SSL security policy to the HTTPS listener
Explanation
Correct Answer
A:For “Require HTTPS for all viewer connections through CloudFront,” the governing behavior is: The viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin; for the separate check “Encrypt traffic between CloudFront and a custom HTTPS origin,” it is: Origin-side HTTPS protects the edge-to-origin hop; enforcing viewer HTTPS alone does not establish origin TLS; this is why the two controls belong together in the proposed change.
Incorrect Answers
B:The first part is appropriate for “Require HTTPS for all viewer connections through CloudFront” because the viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin; the second part addresses a different issue (“Use a custom domain with an HTTPS CloudFront distribution”) because cloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates; it does not fulfill the “Encrypt traffic between CloudFront and a custom HTTPS origin” test.
C:Only the second requirement is covered: Origin-side HTTPS protects the edge-to-origin hop; enforcing viewer HTTPS alone does not establish origin TLS supports “Encrypt traffic between CloudFront and a custom HTTPS origin”; by contrast, The listener security policy controls supported TLS protocols and cipher choices for client TLS negotiation concerns “Protect inbound application traffic while enforcing modern TLS versions,” leaving “Require HTTPS for all viewer connections through CloudFront” unresolved.
D:This combination targets different outcomes: CloudFront's ACM certificate integration has a specific Region requirement for custom viewer certificates helps with “Use a custom domain with an HTTPS CloudFront distribution”; the listener security policy controls supported TLS protocols and cipher choices for client TLS negotiation helps with “Protect inbound application traffic while enforcing modern TLS versions”; neither implements the required “Require HTTPS for all viewer connections through CloudFront” and “Encrypt traffic between CloudFront and a custom HTTPS origin” outcomes together.
Question 932
Two security control owners share a managed threat detection rollout. One is responsible for this outcome: Aggregate cross-account findings in a central security team account. The other needs: Find why a custom CloudWatch alarm never triggered during an incident. Which implementation covers both?
- Create a Security Hub custom insight grouped by workflow status and severity; and inspect GuardDuty anomaly findings with relevant CloudTrail events
- Inspect GuardDuty anomaly findings with relevant CloudTrail events; and verify its namespace, metric dimensions, period, and alarm threshold
- Configure a delegated Security Hub administrator and member accounts; and create a Security Hub custom insight grouped by workflow status and severity
- Configure a delegated Security Hub administrator and member accounts; and verify its namespace, metric dimensions, period, and alarm threshold
Explanation
Correct Answer
D:Two different security outcomes are required in this managed threat detection rollout; Security Hub supports central security finding management when administrators and members are configured in supported Regions supports “Aggregate cross-account findings in a central security team account,” while CloudWatch alarms evaluate a particular metric time series; incorrect dimensions or period selection can make the intended events invisible supports “Find why a custom CloudWatch alarm never triggered during an incident”; neither check is assumed to follow from the other.
Incorrect Answers
A:Insights filter and aggregate standardized findings for prioritization; they do not replace detector collection is pertinent to “Identify security findings that remain unresolved despite repeated alerts,” and Threat findings provide an anomaly lead, while CloudTrail records show the specific API actor and sequence for verification is pertinent to “Identify a change in user behavior from an unusual sequence of AWS API calls”; the requested controls for “Aggregate cross-account findings in a central security team account” and “Find why a custom CloudWatch alarm never triggered during an incident” are absent.
B:The option has a useful control for “Find why a custom CloudWatch alarm never triggered during an incident” because CloudWatch alarms evaluate a particular metric time series; incorrect dimensions or period selection can make the intended events invisible; its other control applies to “Identify a change in user behavior from an unusual sequence of AWS API calls” because threat findings provide an anomaly lead, while CloudTrail records show the specific API actor and sequence for verification; it misses the first requirement, “Aggregate cross-account findings in a central security team account.”.
C:This option is only partly effective: Security Hub supports central security finding management when administrators and members are configured in supported Regions supports “Aggregate cross-account findings in a central security team account”; but Insights filter and aggregate standardized findings for prioritization; they do not replace detector collection supports “Identify security findings that remain unresolved despite repeated alerts,” not the required “Find why a custom CloudWatch alarm never triggered during an incident” outcome.
Question 933
For a Well-Architected security review, engineers have been assigned this security outcome: Spot unused or idle infrastructure that unnecessarily expands attack surface. What implementation best fits?
- Correlate IAM Access Analyzer exposure with network reachability assessments
- Configure AWS Cost Anomaly Detection monitoring
- Review the Security pillar in AWS Well-Architected Tool
- Review AWS Trusted Advisor and Cost Explorer utilization signals
Explanation
Correct Answer
D:Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment; it addresses the requirement to spot unused or idle infrastructure that unnecessarily expands attack surface at the right security boundary during a Well-Architected security review.
Incorrect Answers
A:Policy exposure and network path analysis reveal different ways resources could be reachable by unintended parties; this would help with the requirement to prioritize publicly exposed resources found during an architectural security review, leaving the requirement to spot unused or idle infrastructure that unnecessarily expands attack surface unresolved in a Well-Architected security review.
B:Abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise; this addresses the requirement to detect unexpected cost growth that might reflect compromised compute workloads, not the requirement to spot unused or idle infrastructure that unnecessarily expands attack surface, which is needed in a Well-Architected security review.
C:The tool guides a structured workload review and produces improvement guidance based on pillar questions; its scope is the requirement to find security design gaps against AWS architecture best practices, rather than the requirement to spot unused or idle infrastructure that unnecessarily expands attack surface for a Well-Architected security review.
Question 934
In a compute workload hardening effort, engineers must cover two different requirements: Detect package vulnerabilities on supported EC2 instances. In addition, Deploy a repeatable hardened operating-system image to new instances. Which option implements both?
- Attach an IAM instance profile with a least-privilege role; and require IMDSv2 on the instance metadata options
- Require IMDSv2 on the instance metadata options; and build and test a hardened AMI with EC2 Image Builder
- Enable Amazon Inspector EC2 scanning and review its findings; and attach an IAM instance profile with a least-privilege role
- Enable Amazon Inspector EC2 scanning and review its findings; and build and test a hardened AMI with EC2 Image Builder
Explanation
Correct Answer
D:This pairing handles the first requirement (“Detect package vulnerabilities on supported EC2 instances”) because inspector inventories applicable packages and matches vulnerabilities where workload and scanning prerequisites are satisfied; it handles the second (“Deploy a repeatable hardened operating-system image to new instances”) because image Builder automates image build pipelines and validation so baseline changes can be propagated consistently; both acceptance criteria are therefore addressed.
Incorrect Answers
A:Both mechanisms have legitimate uses, but for other requirements: Instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys supports “Avoid storing long-term AWS access keys on an EC2 instance”; Enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios supports “Block access to the EC2 Instance Metadata Service version 1”; this does not resolve the stated “Detect package vulnerabilities on supported EC2 instances” and “Deploy a repeatable hardened operating-system image to new instances” findings.
B:This solves the second problem (“Deploy a repeatable hardened operating-system image to new instances”): Image Builder automates image build pipelines and validation so baseline changes can be propagated consistently; however, the first action addresses “Block access to the EC2 Instance Metadata Service version 1”: Enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios; it does not satisfy “Detect package vulnerabilities on supported EC2 instances.”.
C:One action is correctly chosen for “Detect package vulnerabilities on supported EC2 instances”: Inspector inventories applicable packages and matches vulnerabilities where workload and scanning prerequisites are satisfied; the companion action relates to “Avoid storing long-term AWS access keys on an EC2 instance”: Instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys; the other requested outcome, “Deploy a repeatable hardened operating-system image to new instances,” remains outstanding.
Question 935
For a resource-policy access decision, engineers have been assigned this security outcome: Prevent a public S3 bucket policy even when administrators mistakenly add one. What implementation best fits?
- Configure an S3 bucket policy with the intended principal and object resources
- Enable S3 Block Public Access at the desired account or bucket level
- Grant the resource's specific policy-management actions for its ARN
- Narrow the IAM role trust policy Principal and conditions
Explanation
Correct Answer
B:Block Public Access controls can reject or restrict public-access configurations independently of normal bucket-policy permits; this is the direct solution to the requirement to prevent a public S3 bucket policy even when administrators mistakenly add one in a resource-policy access decision.
Incorrect Answers
A:For the different objective “Allow a designated role in another account to read specific S3 objects,” S3 resource policies can grant specific cross-account access subject to applicable identity and guardrail evaluation; the scenario instead requires “Prevent a public S3 bucket policy even when administrators mistakenly add one,” which is a separate security mechanism.
C:Service-specific resource policy API rights can be scoped independently from unrelated IAM user and role management privileges; this would help with the requirement to delegate permissions to modify one resource's policy without granting broad IAM administration, leaving the requirement to prevent a public S3 bucket policy even when administrators mistakenly add one unresolved in a resource-policy access decision.
D:The trust policy governs who may assume the role; the role permission policy governs what the resulting session may do; its purpose is the requirement to ensure a role can be assumed only by the approved external account and principal, but the acceptance criterion in a resource-policy access decision is the requirement to prevent a public S3 bucket policy even when administrators mistakenly add one.
Question 936
During a centralized security logging pipeline, the security team has this work item: Record AWS management API activity in every Region into protected storage. Which AWS action is the most direct implementation?
- Enable CloudTrail S3 data event logging for the selected object resources
- Configure a multi-Region CloudTrail trail with an S3 destination
- Create or query an appropriate CloudTrail Lake event data store
- Create a subscription filter to an authorized Kinesis delivery destination
Explanation
Correct Answer
B:A multi-Region trail records supported management events across current and newly added Regions in the account; this behavior fulfills the requirement to record AWS management API activity in every Region into protected storage during a centralized security logging pipeline.
Incorrect Answers
A:For the different objective “Audit S3 GetObject operations instead of only bucket-policy changes,” object-level data-plane reads are not included in ordinary management-event history unless data events are configured; the scenario instead requires “Record AWS management API activity in every Region into protected storage,” which is a separate security mechanism.
C:CloudTrail Lake retains selected event types for SQL analysis subject to configured retention and ingestion choices; its purpose is the requirement to search historical CloudTrail activity with SQL without managing an analytics cluster, but the acceptance criterion in a centralized security logging pipeline is the requirement to record AWS management API activity in every Region into protected storage.
D:CloudWatch Logs subscriptions forward matching log events continuously, unlike Logs Insights which is primarily an interactive query tool; this would help with the requirement to stream application log events from CloudWatch Logs toward an external SIEM, leaving the requirement to record AWS management API activity in every Region into protected storage unresolved in a centralized security logging pipeline.
Question 937
An AWS team is correcting two gaps in the storage encryption control review: Migrate an unencrypted EBS volume to encrypted storage; and Encrypt an RDS database's storage at creation. Which proposed set of controls fixes both gaps?
- Configure SQS server-side encryption with a suitable KMS key; and enable RDS storage encryption and select a suitable KMS key
- Select the customer-managed AWS KMS key for DynamoDB server-side encryption; and configure SQS server-side encryption with a suitable KMS key
- Snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume; and enable RDS storage encryption and select a suitable KMS key
- Snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume; and select the customer-managed AWS KMS key for DynamoDB server-side encryption
Explanation
Correct Answer
C:For “Migrate an unencrypted EBS volume to encrypted storage,” the governing behavior is: EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; for the separate check “Encrypt an RDS database's storage at creation,” it is: RDS at-rest encryption protects supported storage components and must be planned at creation or through an appropriate snapshot migration; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:Only the second requirement is covered: RDS at-rest encryption protects supported storage components and must be planned at creation or through an appropriate snapshot migration supports “Encrypt an RDS database's storage at creation”; 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 “Migrate an unencrypted EBS volume to encrypted storage” unresolved.
B: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 “Migrate an unencrypted EBS volume to encrypted storage” and “Encrypt an RDS database's storage at creation” outcomes together.
D:The first part is appropriate for “Migrate an unencrypted EBS volume to encrypted storage” because EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; 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 “Encrypt an RDS database's storage at creation” test.
Question 938
A review board evaluating the public application protection review rejects fixes that cover just one requirement. The requirements are: Require viewer connections to a CloudFront distribution to use HTTPS; and Protect against unwanted DNS redirection through domain management. Which configuration addresses both?
- Use API Gateway private endpoint access with an appropriate resource policy; and enable Route 53 domain transfer lock where applicable
- Use AWS WAF Bot Control managed rule groups where supported; and use API Gateway private endpoint access with an appropriate resource policy
- Configure the CloudFront viewer protocol policy to redirect or require HTTPS; and enable Route 53 domain transfer lock where applicable
- Configure the CloudFront viewer protocol policy to redirect or require HTTPS; and use AWS WAF Bot Control managed rule groups where supported
Explanation
Correct Answer
C:For “Require viewer connections to a CloudFront distribution to use HTTPS,” the governing behavior is: The viewer-side protocol policy governs HTTP-to-HTTPS behavior independently of origin protocol configuration; for the separate check “Protect against unwanted DNS redirection through domain management,” it is: Transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:Only the second requirement is covered: Transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule supports “Protect against unwanted DNS redirection through domain management”; by contrast, A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL concerns “Prevent all public access to an internal API endpoint,” leaving “Require viewer connections to a CloudFront distribution to use HTTPS” unresolved.
B:This combination targets different outcomes: Bot Control evaluates bot-related request signals at the web ACL, rather than relying only on Layer 3 network filtering helps with “Identify and block bot-like HTTP behaviors with application-aware inspection”; A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL helps with “Prevent all public access to an internal API endpoint”; neither implements the required “Require viewer connections to a CloudFront distribution to use HTTPS” and “Protect against unwanted DNS redirection through domain management” outcomes together.
D:The first part is appropriate for “Require viewer connections to a CloudFront distribution to use HTTPS” because the viewer-side protocol policy governs HTTP-to-HTTPS behavior independently of origin protocol configuration; the second part addresses a different issue (“Identify and block bot-like HTTP behaviors with application-aware inspection”) because bot Control evaluates bot-related request signals at the web ACL, rather than relying only on Layer 3 network filtering; it does not fulfill the “Protect against unwanted DNS redirection through domain management” test.
Question 939
In a incident response rehearsal, engineers must cover two different requirements: Stop further use of a disclosed IAM user's long-term API key. In addition, Determine which principal originally assumed a suspicious cross-account role. Which option implements both?
- Deactivate the affected access key and replace it through a controlled process; and route the finding event through EventBridge to an SNS topic
- Deactivate the affected access key and replace it through a controlled process; and inspect the AssumeRole event and session identity fields in CloudTrail
- Route the finding event through EventBridge to an SNS topic; and assign its execution role only the actions and resources needed by the runbook
- Assign its execution role only the actions and resources needed by the runbook; and inspect the AssumeRole event and session identity fields in CloudTrail
Explanation
Correct Answer
B:This pairing handles the first requirement (“Stop further use of a disclosed IAM user's long-term API key”) because an inactive access key cannot authenticate future signed API requests, allowing responders to eliminate the exposed credential while tracing historical use; it handles the second (“Determine which principal originally assumed a suspicious cross-account role”) because CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; both acceptance criteria are therefore addressed.
Incorrect Answers
A:One action is correctly chosen for “Stop further use of a disclosed IAM user's long-term API key”: An inactive access key cannot authenticate future signed API requests, allowing responders to eliminate the exposed credential while tracing historical use; the companion action relates to “Send incident alerts to an on-call distribution group after matching a security finding”: SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; the other requested outcome, “Determine which principal originally assumed a suspicious cross-account role,” remains outstanding.
C:Both mechanisms have legitimate uses, but for other requirements: SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention supports “Send incident alerts to an on-call distribution group after matching a security finding”; Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused supports “Prevent a response Lambda from having blanket administrator privileges”; this does not resolve the stated “Stop further use of a disclosed IAM user's long-term API key” and “Determine which principal originally assumed a suspicious cross-account role” findings.
D:This solves the second problem (“Determine which principal originally assumed a suspicious cross-account role”): CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; however, the first action addresses “Prevent a response Lambda from having blanket administrator privileges”: Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused; it does not satisfy “Stop further use of a disclosed IAM user's long-term API key.”.
Question 940
An implementation in the AWS Organizations policy program must solve two separate problems, not merely strengthen one safeguard: Give security staff cross-account administrative access without sharing root passwords; Provision a governed set of accounts with baseline logging and identity controls. Which change meets the full request?
- Configure an AWS Config aggregator with appropriate authorization; and establish an AWS Control Tower landing zone with account governance
- Configure a delegated administrator for AWS Security Hub; and configure an AWS Config aggregator with appropriate authorization
- Create trusted cross-account IAM roles and controlled STS assumption paths; and establish an AWS Control Tower landing zone with account governance
- Create trusted cross-account IAM roles and controlled STS assumption paths; and configure a delegated administrator for AWS Security Hub
Explanation
Correct Answer
C:This pairing handles the first requirement (“Give security staff cross-account administrative access without sharing root passwords”) because cross-account role sessions supply temporary access bounded by the target role's trust and permission policies; it handles the second (“Provision a governed set of accounts with baseline logging and identity controls”) because control Tower orchestrates account setup and preventive/detective controls on top of Organizations and related services; both acceptance criteria are therefore addressed.
Incorrect Answers
A:This solves the second problem (“Provision a governed set of accounts with baseline logging and identity controls”): Control Tower orchestrates account setup and preventive/detective controls on top of Organizations and related services; however, the first 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; it does not satisfy “Give security staff cross-account administrative access without sharing root passwords.”.
B:Both mechanisms have legitimate uses, but for other requirements: Delegated administration allows a designated member account to administer a security service's supported organization-wide features supports “Provide a central place to manage security findings for multiple accounts”; Config aggregators centralize resource configuration and compliance views without themselves changing the member resources supports “Aggregate AWS Config compliance data from many accounts and Regions”; this does not resolve the stated “Give security staff cross-account administrative access without sharing root passwords” and “Provision a governed set of accounts with baseline logging and identity controls” findings.
D:One action is correctly chosen for “Give security staff cross-account administrative access without sharing root passwords”: Cross-account role sessions supply temporary access bounded by the target role's trust and permission policies; the companion action relates to “Provide a central place to manage security findings for multiple accounts”: Delegated administration allows a designated member account to administer a security service's supported organization-wide features; the other requested outcome, “Provision a governed set of accounts with baseline logging and identity controls,” remains outstanding.