Question 70
Before closing the central log collection migration, a team must demonstrate the following: Confirm that delivered CloudTrail log objects have not been altered; plus Search historical CloudTrail activity with SQL without managing an analytics cluster. Which paired change would complete the work?
- Configure CloudTrail advanced event selectors for required resource ARNs and event names; and create or query an appropriate CloudTrail Lake event data store
- Configure a multi-Region CloudTrail trail with an S3 destination; and configure CloudTrail advanced event selectors for required resource ARNs and event names
- Enable CloudTrail log file integrity validation and verify digest files; and create or query an appropriate CloudTrail Lake event data store
- Enable CloudTrail log file integrity validation and verify digest files; and configure a multi-Region CloudTrail trail with an S3 destination
Explanation
Correct Answer
C:The implementation has a specific control for each objective: Signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification for “Confirm that delivered CloudTrail log objects have not been altered”; CloudTrail Lake retains selected event types for SQL analysis subject to configured retention and ingestion choices for “Search historical CloudTrail activity with SQL without managing an analytics cluster”; the combined option satisfies the two-part request.
Incorrect Answers
A:While CloudTrail Lake retains selected event types for SQL analysis subject to configured retention and ingestion choices is relevant to “Search historical CloudTrail activity with SQL without managing an analytics cluster,” the other component targets “Capture a narrow subset of expensive S3 data events rather than every object read,” where advanced selectors limit the chosen high-volume events and can reduce unnecessary collection costs; the first acceptance criterion (“Confirm that delivered CloudTrail log objects have not been altered”) is not met.
B:The first proposed action addresses “Record AWS management API activity in every Region into protected storage”: A multi-Region trail records supported management events across current and newly added Regions in the account; the second addresses “Capture a narrow subset of expensive S3 data events rather than every object read”: Advanced selectors limit the chosen high-volume events and can reduce unnecessary collection costs; the combination does not achieve the required “Confirm that delivered CloudTrail log objects have not been altered” and “Search historical CloudTrail activity with SQL without managing an analytics cluster” outcomes in this central log collection migration.
D:The first check would be covered, since signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification; yet the second choice is associated with “Record AWS management API activity in every Region into protected storage,” for which A multi-Region trail records supported management events across current and newly added Regions in the account; no corresponding control satisfies “Search historical CloudTrail activity with SQL without managing an analytics cluster.”.
Question 71
A security review for a storage-class migration plan identifies one priority: Maintain a second copy of recovery points in another account. Which control is the best choice?
- Configure supported AWS Backup cross-account copy actions
- Configure AWS Backup Vault Lock with appropriate minimum and maximum retention
- Define Amazon ECR lifecycle policies for image tags and age
- Define an AWS Backup plan and assign protected resources
Explanation
Correct Answer
A:Cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites; that AWS behavior meets the requirement to maintain a second copy of recovery points in another account, the decisive objective for a storage-class migration plan.
Incorrect Answers
B:Vault Lock limits destructive retention changes and complements access permissions on the backup vault; its scope is the requirement to ensure retention settings cannot be weakened by routine vault administrators, rather than the requirement to maintain a second copy of recovery points in another account for a storage-class migration plan.
C:Registry lifecycle policies manage container image retention, rather than affecting EBS volume snapshot storage; its purpose is the requirement to expire old ECR images according to repository policy, but the acceptance criterion in a storage-class migration plan is the requirement to maintain a second copy of recovery points in another account.
D:Backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation; its purpose is the requirement to establish policy-based backups across several supported resource types, but the acceptance criterion in a storage-class migration plan is the requirement to maintain a second copy of recovery points in another account.
Question 72
During a credential and federation review, reviewers document two independent acceptance criteria. First: Determine which IAM user password was used for an unexpected console session. Second: Avoid storing static access keys in an EC2 application. Which combined implementation satisfies both?
- Deactivate the compromised key in IAM and replace it securely; and use an IAM role attached through an EC2 instance profile
- Configure a least-privilege Lambda execution role; and deactivate the compromised key in IAM and replace it securely
- Analyze CloudTrail ConsoleLogin records and sign-in context; and use an IAM role attached through an EC2 instance profile
- Analyze CloudTrail ConsoleLogin records and sign-in context; and configure a least-privilege Lambda execution role
Explanation
Correct Answer
C:The first control addresses the check “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; the other addresses “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; these two mechanisms cover the complete credential and federation review.
Incorrect Answers
A:IMDS v2 can deliver temporary role credentials under the instance profile rather than an administrator-managed permanent key; this fulfills the second objective (“Avoid storing static access keys in an EC2 application”); the other action is intended for “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; it does not meet the requested “Determine which IAM user password was used for an unexpected console session” check.
B:The first action belongs to “Ensure a Lambda function has temporary AWS credentials scoped to its own operation” because Lambda assumes its execution role to call AWS services; the function should not carry hardcoded access keys; the second belongs to “Invalidate a leaked IAM access key immediately” because disabling the access key prevents subsequent requests signed with that key while preserving an incident record and permitting a controlled replacement; these are not the required checks, “Determine which IAM user password was used for an unexpected console session” and “Avoid storing static access keys in an EC2 application.”.
D:Console authentication events help attribute sign-ins, while downstream authorization decisions require reviewing the session's policies; this is relevant to the first objective (“Determine which IAM user password was used for an unexpected console session”); however, the other action is meant for “Ensure a Lambda function has temporary AWS credentials scoped to its own operation”: Lambda assumes its execution role to call AWS services; the function should not carry hardcoded access keys; it leaves the required “Avoid storing static access keys in an EC2 application” behavior unimplemented.
Question 73
An AWS team is correcting two gaps in the compute workload hardening effort: Use Secrets Manager values inside application containers without embedding them in image layers; and Restrict a Lambda function's access to S3 operations. Which proposed set of controls fixes both gaps?
- Retrieve secrets at runtime using the workload's permitted IAM role; and assign a least-privilege ECS task IAM role
- Retrieve secrets at runtime using the workload's permitted IAM role; and narrow the Lambda execution role's identity policy
- Assign a least-privilege ECS task IAM role; and use IAM roles for service accounts for the pod's supported identity pattern
- Use IAM roles for service accounts for the pod's supported identity pattern; and narrow the Lambda execution role's identity policy
Explanation
Correct Answer
B:For “Use Secrets Manager values inside application containers without embedding them in image layers,” the governing behavior is: Runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; for the separate check “Restrict a Lambda function's access to S3 operations,” it is: Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:The first part is appropriate for “Use Secrets Manager values inside application containers without embedding them in image layers” because runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; the second part addresses a different issue (“Limit an ECS task's AWS API permissions independently of the host”) because task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope; it does not fulfill the “Restrict a Lambda function's access to S3 operations” test.
C:This combination targets different outcomes: Task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope helps with “Limit an ECS task's AWS API permissions independently of the host”; Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload helps with “Prevent an EKS pod from inheriting broad worker-node permissions”; neither implements the required “Use Secrets Manager values inside application containers without embedding them in image layers” and “Restrict a Lambda function's access to S3 operations” outcomes together.
D:Only the second requirement is covered: Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it supports “Restrict a Lambda function's access to S3 operations”; by contrast, Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload concerns “Prevent an EKS pod from inheriting broad worker-node permissions,” leaving “Use Secrets Manager values inside application containers without embedding them in image layers” unresolved.
Question 74
A review board evaluating the active security incident investigation rejects fixes that cover just one requirement. The requirements are: Examine a suspect EBS snapshot without exposing it to normal production workloads; and Determine whether a suspicious instance communicated with a known bad endpoint. Which configuration addresses both?
- Restore the snapshot into a forensic VPC with restricted analyst access; and combine EventBridge detection with Step Functions and narrowly scoped Lambda actions
- Restore the snapshot into a forensic VPC with restricted analyst access; and correlate VPC Flow Logs with GuardDuty network-related findings
- Combine EventBridge detection with Step Functions and narrowly scoped Lambda actions; and copy artifacts to a separately administered account with S3 Object Lock
- Copy artifacts to a separately administered account with S3 Object Lock; and correlate VPC Flow Logs with GuardDuty network-related findings
Explanation
Correct Answer
B:For “Examine a suspect EBS snapshot without exposing it to normal production workloads,” the governing behavior is: An isolated environment allows disk inspection while keeping suspicious binaries and network behavior away from the production data plane; for the separate check “Determine whether a suspicious instance communicated with a known bad endpoint,” it is: Flow records summarize accepted or rejected traffic metadata, supporting a timeline without claiming packet-payload visibility; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:The first part is appropriate for “Examine a suspect EBS snapshot without exposing it to normal production workloads” because an isolated environment allows disk inspection while keeping suspicious binaries and network behavior away from the production data plane; the second part addresses a different issue (“Execute a repeatable account lock-down process across several response stages”) because the event bus triggers an orchestrated workflow, and each action can run with its own least-privilege execution role; it does not fulfill the “Determine whether a suspicious instance communicated with a known bad endpoint” test.
C:This combination targets different outcomes: The event bus triggers an orchestrated workflow, and each action can run with its own least-privilege execution role helps with “Execute a repeatable account lock-down process across several response stages”; Independent permissions and immutable retention reduce the possibility that a compromised production identity can alter stored evidence helps with “Protect collected incident evidence from modifications by production administrators”; neither implements the required “Examine a suspect EBS snapshot without exposing it to normal production workloads” and “Determine whether a suspicious instance communicated with a known bad endpoint” outcomes together.
D:Only the second requirement is covered: Flow records summarize accepted or rejected traffic metadata, supporting a timeline without claiming packet-payload visibility supports “Determine whether a suspicious instance communicated with a known bad endpoint”; by contrast, Independent permissions and immutable retention reduce the possibility that a compromised production identity can alter stored evidence concerns “Protect collected incident evidence from modifications by production administrators,” leaving “Examine a suspect EBS snapshot without exposing it to normal production workloads” unresolved.
Question 75
An architect is reviewing an infrastructure-as-code rollout. The acceptance criterion reads: Offer only approved infrastructure products to application teams. Which approach satisfies it?
- Apply AWS Firewall Manager organization policies
- Define and enforce a tagging strategy with AWS Organizations tag policies where applicable
- Publish governed AWS Service Catalog products and portfolios
- Use AWS Resource Groups with matching resource tags
- Use AWS Resource Access Manager with explicit shares
Explanation
Correct Answer
C:Service Catalog constrains provisioned products through approved definitions and access assignments rather than unrestricted console creation; that AWS behavior meets the requirement to offer only approved infrastructure products to application teams, the decisive objective for an infrastructure-as-code rollout.
Incorrect Answers
A:Firewall Manager centrally scopes security policy enforcement across accounts and supported resource types; this would help with the requirement to enforce standard firewall and WAF policies for many accounts centrally, leaving the requirement to offer only approved infrastructure products to application teams unresolved in an infrastructure-as-code rollout.
B:Tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation; this addresses the requirement to group AWS resources using consistent key-value business metadata, not the requirement to offer only approved infrastructure products to application teams, which is needed in an infrastructure-as-code rollout.
D:Resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries; this addresses the requirement to manage a fleet of AWS instances as an operational grouping without a new account, not the requirement to offer only approved infrastructure products to application teams, which is needed in an infrastructure-as-code rollout.
E:RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls; its purpose is the requirement to share a supported network resource with other member accounts without duplicating it, but the acceptance criterion in an infrastructure-as-code rollout is the requirement to offer only approved infrastructure products to application teams.
Question 76
A security review for a failed security alarm investigation identifies one priority: An SNS alarm notification goes nowhere even though the alarm changes state. Which control is the best choice?
- Check account association, service enablement, and aggregation Region
- Fix the application's log delivery permissions and stream configuration
- Verify the subscription is confirmed and the alarm has the correct SNS action
- Query the detector and log group in the Region where they are configured
Explanation
Correct Answer
C:A published alarm action still needs an active delivery subscription; the evaluated metric can be perfectly healthy while notification fails; it addresses the reported condition: an SNS alarm notification goes nowhere even though the alarm changes state at the right security boundary during a failed security alarm investigation.
Incorrect Answers
A:Finding availability depends on participating accounts and enabled integrations; a central console alone does not create missing findings; this would help with the reported condition: Security Hub central reporting omits member account findings, leaving the reported condition: an SNS alarm notification goes nowhere even though the alarm changes state unresolved in a failed security alarm investigation.
B:Metric filters only match records that reach the selected log group; a missing ingestion path defeats downstream alarms; the important distinction in a failed security alarm investigation is that this supports the reported condition: a CloudWatch metric filter is silent because the expected log group receives no events instead of the reported condition: an SNS alarm notification goes nowhere even though the alarm changes state.
D:Many AWS security and monitoring resources are Regional, so a dashboard in another Region can appear devoid of expected entries; this addresses the reported condition: a security dashboard seems empty because the wrong Region is selected, not the reported condition: an SNS alarm notification goes nowhere even though the alarm changes state, which is needed in a failed security alarm investigation.
Question 77
During a KMS key-access review, the security team has this work item: Rotate a database password automatically on an approved schedule. Which AWS action is the most direct implementation?
- Apply resource-scoped Secrets Manager IAM or resource policies and matching KMS access
- Configure AWS Secrets Manager rotation with a compatible rotation implementation
- Use a supported dynamic reference to Secrets Manager or Parameter Store
- Review Secrets Manager API events in CloudTrail
Explanation
Correct Answer
B:Secrets Manager schedules secret rotation, coordinating updates to the stored value and underlying system credentials; that AWS behavior meets the requirement to rotate a database password automatically on an approved schedule, the decisive objective for a KMS key-access review.
Incorrect Answers
A:Retrieval authorization and KMS decryption permissions both matter for sensitive secret values; its purpose is the requirement to prevent application teams from seeing a secret outside their environment, but the acceptance criterion in a KMS key-access review is the requirement to rotate a database password automatically on an approved schedule.
C:Dynamic references allow CloudFormation to resolve supported secret values without embedding them in the plaintext template source; this would help with the requirement to avoid passing a secret in plaintext through a CloudFormation template, leaving the requirement to rotate a database password automatically on an approved schedule unresolved in a KMS key-access review.
D:CloudTrail records supported secret-management API calls and caller identities, while secret values themselves should not be logged; this addresses the requirement to track when a production secret was retrieved by an unexpected identity, not the requirement to rotate a database password automatically on an approved schedule, which is needed in a KMS key-access review.
Question 78
The compute workload hardening effort has two control objectives. Requirement one: Identify a vulnerable package but avoid treating a scanner as a patch engine. Requirement two: Ensure a workload can retrieve a secret only through its approved role. Which design passes both checks?
- Use Inspector findings to prioritize Patch Manager remediation; and combine a resource-scoped workload role with a restrictive secret access policy
- Use Inspector findings to prioritize Patch Manager remediation; and configure the operating system's host firewall in addition to VPC controls
- Use Systems Manager State Manager associations and compliance reporting; and combine a resource-scoped workload role with a restrictive secret access policy
- Configure the operating system's host firewall in addition to VPC controls; and use Systems Manager State Manager associations and compliance reporting
Explanation
Correct Answer
A:The first control addresses the check “Identify a vulnerable package but avoid treating a scanner as a patch engine”: Inspector supplies vulnerability evidence; Systems Manager patch workflows perform the operating-system update actions; the other addresses “Ensure a workload can retrieve a secret only through its approved role”: Secret access is constrained by IAM and applicable resource/KMS permissions, limiting which workload sessions may retrieve credentials; these two mechanisms cover the complete compute workload hardening effort.
Incorrect Answers
B:Inspector supplies vulnerability evidence; Systems Manager patch workflows perform the operating-system update actions; this is relevant to the first objective (“Identify a vulnerable package but avoid treating a scanner as a patch engine”); however, the other action is meant for “Block host-level outbound traffic that is not needed for a Linux workload”: A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs; it leaves the required “Ensure a workload can retrieve a secret only through its approved role” behavior unimplemented.
C:Secret access is constrained by IAM and applicable resource/KMS permissions, limiting which workload sessions may retrieve credentials; this fulfills the second objective (“Ensure a workload can retrieve a secret only through its approved role”); the other action is intended for “Detect drift from a golden AMI's approved operating-system configuration”: State Manager helps maintain and report desired managed-node configurations rather than rebuilding every instance on each check; it does not meet the requested “Identify a vulnerable package but avoid treating a scanner as a patch engine” check.
D:The first action belongs to “Block host-level outbound traffic that is not needed for a Linux workload” because A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs; the second belongs to “Detect drift from a golden AMI's approved operating-system configuration” because state Manager helps maintain and report desired managed-node configurations rather than rebuilding every instance on each check; these are not the required checks, “Identify a vulnerable package but avoid treating a scanner as a patch engine” and “Ensure a workload can retrieve a secret only through its approved role.”.
Question 79
During a permissions and authorization review, reviewers document two independent acceptance criteria. First: Prevent member account administrators from disabling baseline security controls. Second: Allow a user to inspect effective permissions without modifying policies. Which combined implementation satisfies both?
- Replace broad key-administration grants with explicit actions and principals; and attach permissions boundaries to delegated role-creation workflows
- Attach permissions boundaries to delegated role-creation workflows; and grant read-only IAM and relevant Access Analyzer inspection actions
- Apply an appropriate Organizations SCP deny to member accounts; and replace broad key-administration grants with explicit actions and principals
- Apply an appropriate Organizations SCP deny to member accounts; and grant read-only IAM and relevant Access Analyzer inspection actions
Explanation
Correct Answer
D:The first control addresses the check “Prevent member account administrators from disabling baseline security controls”: SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions; the other addresses “Allow a user to inspect effective permissions without modifying policies”: Visibility into policies and analysis results can be delegated separately from policy-editing actions to preserve separation of duties; these two mechanisms cover the complete permissions and authorization review.
Incorrect Answers
A:The first action belongs to “Prevent use of wildcards for sensitive KMS administration capabilities” because key policy authorization can be restricted by principal and operation, avoiding an unnecessarily permissive wildcard on high-impact crypto controls; the second belongs to “An organization needs a cap on administrator-created IAM roles” because boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies; these are not the required checks, “Prevent member account administrators from disabling baseline security controls” and “Allow a user to inspect effective permissions without modifying policies.”.
B:Visibility into policies and analysis results can be delegated separately from policy-editing actions to preserve separation of duties; this fulfills the second objective (“Allow a user to inspect effective permissions without modifying policies”); the other action is intended for “An organization needs a cap on administrator-created IAM roles”: Boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies; it does not meet the requested “Prevent member account administrators from disabling baseline security controls” check.
C:SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions; this is relevant to the first objective (“Prevent member account administrators from disabling baseline security controls”); however, the other action is meant for “Prevent use of wildcards for sensitive KMS administration capabilities”: Key policy authorization can be restricted by principal and operation, avoiding an unnecessarily permissive wildcard on high-impact crypto controls; it leaves the required “Allow a user to inspect effective permissions without modifying policies” behavior unimplemented.
Question 80
Two security control owners share a CloudWatch alerting deployment. One is responsible for this outcome: Alert on unusual spending that may indicate unauthorized resource provisioning. The other needs: Create a consolidated high-severity security finding view across integrated detectors. Which implementation covers both?
- Match CloudTrail management API events using an EventBridge rule; and configure Security Hub aggregation and insights
- Attach an Amazon SNS action to the alarm; and match CloudTrail management API events using an EventBridge rule
- Configure AWS Cost Anomaly Detection notifications; and configure Security Hub aggregation and insights
- Configure AWS Cost Anomaly Detection notifications; and attach an Amazon SNS action to the alarm
Explanation
Correct Answer
C:Two different security outcomes are required in this CloudWatch alerting deployment; Cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads supports “Alert on unusual spending that may indicate unauthorized resource provisioning,” while Security Hub consolidates supported security findings and groups them by operational properties for investigation supports “Create a consolidated high-severity security finding view across integrated detectors”; neither check is assumed to follow from the other.
Incorrect Answers
A:The option has a useful control for “Create a consolidated high-severity security finding view across integrated detectors” because Security Hub consolidates supported security findings and groups them by operational properties for investigation; its other control applies to “Notify operators after an IAM policy is modified in a sensitive account” because CloudTrail supplies the control-plane event details and EventBridge evaluates an event pattern to trigger notification or a remediation target; it misses the first requirement, “Alert on unusual spending that may indicate unauthorized resource provisioning.”.
B:SNS delivers subscribed notifications after the CloudWatch alarm evaluates the configured metric and changes state is pertinent to “Notify an incident channel when a CloudWatch alarm changes to ALARM state,” and CloudTrail supplies the control-plane event details and EventBridge evaluates an event pattern to trigger notification or a remediation target is pertinent to “Notify operators after an IAM policy is modified in a sensitive account”; the requested controls for “Alert on unusual spending that may indicate unauthorized resource provisioning” and “Create a consolidated high-severity security finding view across integrated detectors” are absent.
D:This option is only partly effective: Cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads supports “Alert on unusual spending that may indicate unauthorized resource provisioning”; but SNS delivers subscribed notifications after the CloudWatch alarm evaluates the configured metric and changes state supports “Notify an incident channel when a CloudWatch alarm changes to ALARM state,” not the required “Create a consolidated high-severity security finding view across integrated detectors” outcome.