Question 460
An implementation in the credential and federation review must solve two separate problems, not merely strengthen one safeguard: Reduce repeated console logins to separate AWS member accounts; Avoid storing static access keys in an EC2 application. Which change meets the full request?
- Deactivate the compromised key in IAM and replace it securely; and analyze CloudTrail ConsoleLogin records and sign-in context
- Analyze CloudTrail ConsoleLogin records and sign-in context; and use an IAM role attached through an EC2 instance profile
- Provision IAM Identity Center permission sets for account assignments; and deactivate the compromised key in IAM and replace it securely
- Provision IAM Identity Center permission sets for account assignments; and use an IAM role attached through an EC2 instance profile
Explanation
Correct Answer
D:This pairing handles the first requirement (“Reduce repeated console logins to separate AWS member accounts”) because permission sets supply consistent role-based entitlements to users and groups across accounts from the central access portal; it handles the second (“Avoid storing static access keys in an EC2 application”) because IMDS v2 can deliver temporary role credentials under the instance profile rather than an administrator-managed permanent key; both acceptance criteria are therefore addressed.
Incorrect Answers
A:Both mechanisms have legitimate uses, but for other requirements: Disabling the access key prevents subsequent requests signed with that key while preserving an incident record and permitting a controlled replacement supports “Invalidate a leaked IAM access key immediately”; Console authentication events help attribute sign-ins, while downstream authorization decisions require reviewing the session's policies supports “Determine which IAM user password was used for an unexpected console session”; this does not resolve the stated “Reduce repeated console logins to separate AWS member accounts” and “Avoid storing static access keys in an EC2 application” findings.
B:This solves the second problem (“Avoid storing static access keys in an EC2 application”): IMDS v2 can deliver temporary role credentials under the instance profile rather than an administrator-managed permanent key; however, the first action addresses “Determine which IAM user password was used for an unexpected console session”: Console authentication events help attribute sign-ins, while downstream authorization decisions require reviewing the session's policies; it does not satisfy “Reduce repeated console logins to separate AWS member accounts.”.
C:One action is correctly chosen for “Reduce repeated console logins to separate AWS member accounts”: Permission sets supply consistent role-based entitlements to users and groups across accounts from the central access portal; the companion action relates to “Invalidate a leaked IAM access key immediately”: Disabling the access key prevents subsequent requests signed with that key while preserving an incident record and permitting a controlled replacement; the other requested outcome, “Avoid storing static access keys in an EC2 application,” remains outstanding.
Question 461
For a disaster response and containment rehearsal, engineers have been assigned this security outcome: Prevent a response Lambda from having blanket administrator privileges. What implementation best fits?
- Route the finding event through EventBridge to an SNS topic
- Inspect the AssumeRole event and session identity fields in CloudTrail
- Deactivate the affected access key and replace it through a controlled process
- Launch replacement capacity from a verified hardened AMI
- Assign its execution role only the actions and resources needed by the runbook
Explanation
Correct Answer
E:Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused; it addresses the requirement to prevent a response Lambda from having blanket administrator privileges at the right security boundary during a disaster response and containment rehearsal.
Incorrect Answers
A:SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; its scope is the requirement to send incident alerts to an on-call distribution group after matching a security finding, rather than the requirement to prevent a response Lambda from having blanket administrator privileges for a disaster response and containment rehearsal.
B:CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; its purpose is the requirement to determine which principal originally assumed a suspicious cross-account role, but the acceptance criterion in a disaster response and containment rehearsal is the requirement to prevent a response Lambda from having blanket administrator privileges.
C:An inactive access key cannot authenticate future signed API requests, allowing responders to eliminate the exposed credential while tracing historical use; this addresses the requirement to stop further use of a disclosed IAM user's long-term API key, not the requirement to prevent a response Lambda from having blanket administrator privileges, which is needed in a disaster response and containment rehearsal.
D:Rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated; its purpose is the requirement to recover a known-good workload after an incident while retaining compromised images for evidence, but the acceptance criterion in a disaster response and containment rehearsal is the requirement to prevent a response Lambda from having blanket administrator privileges.
Question 462
A proposed solution for the AWS Organizations policy program is incomplete unless it addresses both of these checks: Apply common permission guardrails across member AWS accounts; and Provide a central place to manage security findings for multiple accounts. Which choice provides the necessary controls?
- Configure an AWS Config aggregator with appropriate authorization; and configure a delegated administrator for AWS Security Hub
- Establish an AWS Control Tower landing zone with account governance; and configure an AWS Config aggregator with appropriate authorization
- Configure AWS Organizations service control policies at the appropriate hierarchy; and configure a delegated administrator for AWS Security Hub
- Configure AWS Organizations service control policies at the appropriate hierarchy; and establish an AWS Control Tower landing zone with account governance
Explanation
Correct Answer
C:For the first acceptance test, “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; for the second, “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 proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:The mechanism for “Provide a central place to manage security findings for multiple accounts” is present: Delegated administration allows a designated member account to administer a security service's supported organization-wide features; the additional mechanism relates to “Aggregate AWS Config compliance data from many accounts and Regions”: Config aggregators centralize resource configuration and compliance views without themselves changing the member resources; nothing here completes “Apply common permission guardrails across member AWS accounts.”.
B:Neither action is targeted at the two acceptance tests: Control Tower orchestrates account setup and preventive/detective controls on top of Organizations and related services is about “Provision a governed set of accounts with baseline logging and identity controls,” and Config aggregators centralize resource configuration and compliance views without themselves changing the member resources is about “Aggregate AWS Config compliance data from many accounts and Regions”; the intended “Apply common permission guardrails across member AWS accounts” and “Provide a central place to manage security findings for multiple accounts” requirements remain unsatisfied.
D:SCPs constrain affected principals' maximum permissions in member accounts, independently from the IAM policies that grant actions supports the “Apply common permission guardrails across member AWS accounts” acceptance test; Control Tower orchestrates account setup and preventive/detective controls on top of Organizations and related services is pertinent to “Provision a governed set of accounts with baseline logging and identity controls” instead; the change therefore omits the separate requirement “Provide a central place to manage security findings for multiple accounts.”.
Question 463
During a compute workload hardening effort, reviewers document two independent acceptance criteria. First: Deploy a repeatable hardened operating-system image to new instances. Second: Avoid storing long-term AWS access keys on an EC2 instance. Which combined implementation satisfies both?
- Enable Amazon Inspector EC2 scanning and review its findings; and require IMDSv2 on the instance metadata options
- Require IMDSv2 on the instance metadata options; and attach an IAM instance profile with a least-privilege role
- Build and test a hardened AMI with EC2 Image Builder; and enable Amazon Inspector EC2 scanning and review its findings
- Build and test a hardened AMI with EC2 Image Builder; and attach an IAM instance profile with a least-privilege role
Explanation
Correct Answer
D:The first control addresses the check “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; the other addresses “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; these two mechanisms cover the complete compute workload hardening effort.
Incorrect Answers
A:The first action belongs to “Detect package vulnerabilities on supported EC2 instances” because inspector inventories applicable packages and matches vulnerabilities where workload and scanning prerequisites are satisfied; the second belongs to “Block access to the EC2 Instance Metadata Service version 1” because enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios; these are not the required checks, “Deploy a repeatable hardened operating-system image to new instances” and “Avoid storing long-term AWS access keys on an EC2 instance.”.
B:Instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys; this fulfills the second objective (“Avoid storing long-term AWS access keys on an EC2 instance”); the other action is intended for “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 meet the requested “Deploy a repeatable hardened operating-system image to new instances” check.
C:Image Builder automates image build pipelines and validation so baseline changes can be propagated consistently; this is relevant to the first objective (“Deploy a repeatable hardened operating-system image to new instances”); however, the other action is meant for “Detect package vulnerabilities on supported EC2 instances”: Inspector inventories applicable packages and matches vulnerabilities where workload and scanning prerequisites are satisfied; it leaves the required “Avoid storing long-term AWS access keys on an EC2 instance” behavior unimplemented.
Question 464
An AWS team is correcting two gaps in the telemetry and alarm repair exercise: An alert filter never matches a numeric application status field; and An application sends logs but fails to publish custom metrics. Which proposed set of controls fixes both gaps?
- Verify GuardDuty is enabled in that account and the relevant Region and protection plan; and check event-pattern fields and permission for EventBridge to invoke the target
- Check event-pattern fields and permission for EventBridge to invoke the target; and grant cloudwatch:PutMetricData to the publisher and verify the metric namespace
- Use a valid CloudWatch Logs filter pattern for the actual JSON structure; and verify GuardDuty is enabled in that account and the relevant Region and protection plan
- Use a valid CloudWatch Logs filter pattern for the actual JSON structure; and grant cloudwatch:PutMetricData to the publisher and verify the metric namespace
Explanation
Correct Answer
D:For “An alert filter never matches a numeric application status field,” the governing behavior is: Filter expressions must match the logged field names and data types rather than the structure assumed by the operator; for the separate check “An application sends logs but fails to publish custom metrics,” it is: Logging permissions are different from custom metric publication rights; metrics can be absent despite healthy log ingestion; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:This combination targets different outcomes: Regional service enablement and feature-specific coverage determine which supported threats can be detected helps with “New GuardDuty detections do not appear in an expected account”; both rule matching and target invocation authorization must succeed before automation starts helps with “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda”; neither implements the required “An alert filter never matches a numeric application status field” and “An application sends logs but fails to publish custom metrics” outcomes together.
B:Only the second requirement is covered: Logging permissions are different from custom metric publication rights; metrics can be absent despite healthy log ingestion supports “An application sends logs but fails to publish custom metrics”; by contrast, Both rule matching and target invocation authorization must succeed before automation starts concerns “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda,” leaving “An alert filter never matches a numeric application status field” unresolved.
C:The first part is appropriate for “An alert filter never matches a numeric application status field” because filter expressions must match the logged field names and data types rather than the structure assumed by the operator; the second part addresses a different issue (“New GuardDuty detections do not appear in an expected account”) because regional service enablement and feature-specific coverage determine which supported threats can be detected; it does not fulfill the “An application sends logs but fails to publish custom metrics” test.
Question 465
The storage encryption control review cannot pass unless both of these outcomes are demonstrated: Enforce a specific SSE-KMS key for new uploads; Use a customer-managed KMS key for S3 object encryption with key-level access controls. Which two-part plan is suitable?
- Deny noncompliant PutObject requests with S3 bucket-policy encryption conditions; and use SSE-S3 for the objects
- Deny noncompliant PutObject requests with S3 bucket-policy encryption conditions; and configure default bucket encryption with SSE-KMS and the chosen customer-managed key
- Use SSE-S3 for the objects; and apply client-side encryption with controlled client key management
- Apply client-side encryption with controlled client key management; and configure default bucket encryption with SSE-KMS and the chosen customer-managed key
Explanation
Correct Answer
B:Two different security outcomes are required in this storage encryption control review; Bucket policies can inspect encryption-related request headers and key IDs to reject uploads that violate mandated encryption settings supports “Enforce a specific SSE-KMS key for new uploads,” while SSE-KMS integrates S3 object encryption with KMS authorization and key-use auditing beyond S3-managed key controls supports “Use a customer-managed KMS key for S3 object encryption with key-level access controls”; neither check is assumed to follow from the other.
Incorrect Answers
A:This option is only partly effective: Bucket policies can inspect encryption-related request headers and key IDs to reject uploads that violate mandated encryption settings supports “Enforce a specific SSE-KMS key for new uploads”; but SSE-S3 encrypts stored objects with S3-managed keys and does not provide customer-managed KMS key-policy control supports “Encrypt S3 object payloads with keys managed entirely by the S3 service,” not the required “Use a customer-managed KMS key for S3 object encryption with key-level access controls” outcome.
C:SSE-S3 encrypts stored objects with S3-managed keys and does not provide customer-managed KMS key-policy control is pertinent to “Encrypt S3 object payloads with keys managed entirely by the S3 service,” and Client-side encryption transforms plaintext before the upload, so the AWS storage service does not receive the clear payload is pertinent to “Require clients to encrypt sensitive objects before uploading to AWS”; the requested controls for “Enforce a specific SSE-KMS key for new uploads” and “Use a customer-managed KMS key for S3 object encryption with key-level access controls” are absent.
D:The option has a useful control for “Use a customer-managed KMS key for S3 object encryption with key-level access controls” because SSE-KMS integrates S3 object encryption with KMS authorization and key-use auditing beyond S3-managed key controls; its other control applies to “Require clients to encrypt sensitive objects before uploading to AWS” because client-side encryption transforms plaintext before the upload, so the AWS storage service does not receive the clear payload; it misses the first requirement, “Enforce a specific SSE-KMS key for new uploads.”.
Question 466
A security review for a least-privilege IAM authorization review identifies one priority: Reduce privilege escalation through arbitrary iam:PassRole on service launch. Which control is the best choice?
- Evaluate the key policy, grantee permissions, and relevant identity policy
- Add sts:ExternalId validation to the cross-account role trust policy
- Combine explicit-deny bucket-policy conditions with necessary service exceptions
- Restrict iam:PassRole by role ARN and iam:PassedToService condition
Explanation
Correct Answer
D:Limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads; for a least-privilege IAM authorization review, this is the measure that delivers the requirement to reduce privilege escalation through arbitrary iam:PassRole on service launch.
Incorrect Answers
A:Cross-account cryptographic use depends on permissions on both sides plus key-policy authorization, not simply a role name match; the important distinction in a least-privilege IAM authorization review is that this supports the requirement to identify exactly what authorizes cross-account access to a specific KMS key instead of the requirement to reduce privilege escalation through arbitrary iam:PassRole on service launch.
B:External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers; this addresses the requirement to constrain a third-party role assumption to a unique customer relationship, not the requirement to reduce privilege escalation through arbitrary iam:PassRole on service launch, which is needed in a least-privilege IAM authorization review.
C:A deny conditioned on source endpoint can enforce a private path but must account for AWS service requests that lack normal VPC endpoint keys; this would help with the requirement to deny an application access to a bucket except through the dedicated network path, leaving the requirement to reduce privilege escalation through arbitrary iam:PassRole on service launch unresolved in a least-privilege IAM authorization review.
Question 467
An assessment of the public application protection review has two findings. Finding one: Match SQL injection signatures in a specific HTTP request field using a custom WAF rule. Finding two: Apply a maintained collection of common web exploit signatures without individually authoring each rule. Which combination remediates both?
- Enable AWS WAF SQL injection match or an appropriate managed rule group; and associate an appropriate AWS WAF managed rule group with the front-end resource
- Enable AWS WAF SQL injection match or an appropriate managed rule group; and use an AWS WAF byte-match statement on the specified header
- Configure an AWS WAF rate-based rule with an appropriate evaluation limit; and associate an appropriate AWS WAF managed rule group with the front-end resource
- Use an AWS WAF byte-match statement on the specified header; and configure an AWS WAF rate-based rule with an appropriate evaluation limit
Explanation
Correct Answer
A:The implementation has a specific control for each objective: Web ACL inspection can identify suspicious SQL payload patterns before the application processes the HTTP request for “Match SQL injection signatures in a specific HTTP request field using a custom WAF rule”; Managed rule groups apply curated signatures and rules for common web exploits while allowing tuning of false positives for “Apply a maintained collection of common web exploit signatures without individually authoring each rule”; the combined option satisfies the two-part request.
Incorrect Answers
B:The first check would be covered, since web ACL inspection can identify suspicious SQL payload patterns before the application processes the HTTP request; yet the second choice is associated with “Block HTTP requests carrying a disallowed header value,” for which byte matching inspects configured parts of an HTTP request, providing an application-layer condition rather than a transport-layer port rule; no corresponding control satisfies “Apply a maintained collection of common web exploit signatures without individually authoring each rule.”.
C:While managed rule groups apply curated signatures and rules for common web exploits while allowing tuning of false positives is relevant to “Apply a maintained collection of common web exploit signatures without individually authoring each rule,” the other component targets “Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules,” where A rate-based web ACL rule counts matching requests over an evaluation window and can restrict abusive HTTP clients; the first acceptance criterion (“Match SQL injection signatures in a specific HTTP request field using a custom WAF rule”) is not met.
D:The first proposed action addresses “Block HTTP requests carrying a disallowed header value”: Byte matching inspects configured parts of an HTTP request, providing an application-layer condition rather than a transport-layer port rule; the second addresses “Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules”: A rate-based web ACL rule counts matching requests over an evaluation window and can restrict abusive HTTP clients; the combination does not achieve the required “Match SQL injection signatures in a specific HTTP request field using a custom WAF rule” and “Apply a maintained collection of common web exploit signatures without individually authoring each rule” outcomes in this public application protection review.
Question 468
A change request in the active security incident investigation will be approved only if it delivers both outcomes: Confirm which forensic AWS API actions investigators performed; Reconstruct an incident timeline from management and data-plane evidence. What should be included?
- Send audit records from the forensic account to a protected CloudTrail trail; and correlate CloudTrail events with timestamps and logged resource identifiers
- Send audit records from the forensic account to a protected CloudTrail trail; and replace the isolated node from a trusted launch template and validate health checks
- Run a game-day exercise with predefined success and rollback criteria; and correlate CloudTrail events with timestamps and logged resource identifiers
- Replace the isolated node from a trusted launch template and validate health checks; and run a game-day exercise with predefined success and rollback criteria
Explanation
Correct Answer
A:For the first acceptance test, “Confirm which forensic AWS API actions investigators performed,” independent API activity logging makes evidence handling reviewable, including who changed artifact access or retention settings; for the second, “Reconstruct an incident timeline from management and data-plane evidence,” combining actor and resource fields across enabled event types makes a defensible timeline possible despite differences in event-delivery timing; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
B:Independent API activity logging makes evidence handling reviewable, including who changed artifact access or retention settings supports the “Confirm which forensic AWS API actions investigators performed” acceptance test; Auto Scaling can replenish healthy capacity, but responders must ensure the template and image have not inherited the compromise is pertinent to “Restore availability after quarantining an Auto Scaling instance” instead; the change therefore omits the separate requirement “Reconstruct an incident timeline from management and data-plane evidence.”.
C:The mechanism for “Reconstruct an incident timeline from management and data-plane evidence” is present: Combining actor and resource fields across enabled event types makes a defensible timeline possible despite differences in event-delivery timing; the additional mechanism relates to “Measure whether a documented incident playbook actually works”: Rehearsals expose missing permissions, notification gaps, and automation failure modes before a live security event; nothing here completes “Confirm which forensic AWS API actions investigators performed.”.
D:Neither action is targeted at the two acceptance tests: Auto Scaling can replenish healthy capacity, but responders must ensure the template and image have not inherited the compromise is about “Restore availability after quarantining an Auto Scaling instance,” and Rehearsals expose missing permissions, notification gaps, and automation failure modes before a live security event is about “Measure whether a documented incident playbook actually works”; the intended “Confirm which forensic AWS API actions investigators performed” and “Reconstruct an incident timeline from management and data-plane evidence” requirements remain unsatisfied.
Question 469
The cloud security governance assessment has two control objectives. Requirement one: Detect an unexpectedly public S3 resource in a high-risk environment. Requirement two: Identify an unexplained increase in EC2 runtime following unusual API activity. Which design passes both checks?
- Use IAM Access Analyzer findings with S3 Block Public Access guardrails; and compare Cost Explorer usage trends with CloudTrail instance-launch events
- Use IAM Access Analyzer findings with S3 Block Public Access guardrails; and use IAM credential reports and last-used evidence to plan safe deactivation
- Review AWS Backup coverage and vault protection against recovery objectives; and compare Cost Explorer usage trends with CloudTrail instance-launch events
- Use IAM credential reports and last-used evidence to plan safe deactivation; and review AWS Backup coverage and vault protection against recovery objectives
Explanation
Correct Answer
A:The first control addresses the check “Detect an unexpectedly public S3 resource in a high-risk environment”: External-access analysis identifies exposure paths and Block Public Access can constrain accidental public configurations; the other addresses “Identify an unexplained increase in EC2 runtime following unusual API activity”: Cost Explorer reveals consumption patterns and CloudTrail helps attribute provisioning events to caller identities; these two mechanisms cover the complete cloud security governance assessment.
Incorrect Answers
B:External-access analysis identifies exposure paths and Block Public Access can constrain accidental public configurations; this is relevant to the first objective (“Detect an unexpectedly public S3 resource in a high-risk environment”); however, the other action is meant for “Reduce the attack surface of abandoned access keys”: Credential hygiene identifies stale long-term access paths that can remain exploitable even when related compute is unused; it leaves the required “Identify an unexplained increase in EC2 runtime following unusual API activity” behavior unimplemented.
C:Cost Explorer reveals consumption patterns and CloudTrail helps attribute provisioning events to caller identities; this fulfills the second objective (“Identify an unexplained increase in EC2 runtime following unusual API activity”); the other action is intended for “Evaluate whether a backup design satisfies recovery and protection requirements”: Recovery readiness requires verified backup selection, retention and restoration controls rather than relying solely on low storage cost; it does not meet the requested “Detect an unexpectedly public S3 resource in a high-risk environment” check.
D:The first action belongs to “Reduce the attack surface of abandoned access keys” because credential hygiene identifies stale long-term access paths that can remain exploitable even when related compute is unused; the second belongs to “Evaluate whether a backup design satisfies recovery and protection requirements” because recovery readiness requires verified backup selection, retention and restoration controls rather than relying solely on low storage cost; these are not the required checks, “Detect an unexpectedly public S3 resource in a high-risk environment” and “Identify an unexplained increase in EC2 runtime following unusual API activity.”.
Question 470
During a cloud audit log deployment, the security team has this work item: Confirm that delivered CloudTrail log objects have not been altered. Which AWS action is the most direct implementation?
- Create or query an appropriate CloudTrail Lake event data store
- Enable CloudTrail S3 data event logging for the selected object resources
- Enable CloudTrail log file integrity validation and verify digest files
- Configure CloudTrail advanced event selectors for required resource ARNs and event names
Explanation
Correct Answer
C:Signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification; this behavior fulfills the requirement to confirm that delivered CloudTrail log objects have not been altered during a cloud audit log deployment.
Incorrect Answers
A:CloudTrail Lake retains selected event types for SQL analysis subject to configured retention and ingestion choices; the important distinction in a cloud audit log deployment is that this supports the requirement to search historical CloudTrail activity with SQL without managing an analytics cluster instead of the requirement to confirm that delivered CloudTrail log objects have not been altered.
B:Object-level data-plane reads are not included in ordinary management-event history unless data events are configured; this addresses the requirement to audit S3 GetObject operations instead of only bucket-policy changes, not the requirement to confirm that delivered CloudTrail log objects have not been altered, which is needed in a cloud audit log deployment.
D:Advanced selectors limit the chosen high-volume events and can reduce unnecessary collection costs; its scope is the requirement to capture a narrow subset of expensive S3 data events rather than every object read, rather than the requirement to confirm that delivered CloudTrail log objects have not been altered for a cloud audit log deployment.