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.
Question 471
In a backup and data retention program, engineers must cover two different requirements: Establish policy-based backups across several supported resource types. In addition, Maintain a second copy of recovery points in another account. Which option implements both?
- Configure AWS Backup Vault Lock with appropriate minimum and maximum retention; and define Amazon ECR lifecycle policies for image tags and age
- Define Amazon ECR lifecycle policies for image tags and age; and configure supported AWS Backup cross-account copy actions
- Define an AWS Backup plan and assign protected resources; and configure AWS Backup Vault Lock with appropriate minimum and maximum retention
- Define an AWS Backup plan and assign protected resources; and configure supported AWS Backup cross-account copy actions
Explanation
Correct Answer
D:This pairing handles the first requirement (“Establish policy-based backups across several supported resource types”) because backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation; it handles the second (“Maintain a second copy of recovery points in another account”) because cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites; both acceptance criteria are therefore addressed.
Incorrect Answers
A:Both mechanisms have legitimate uses, but for other requirements: Vault Lock limits destructive retention changes and complements access permissions on the backup vault supports “Ensure retention settings cannot be weakened by routine vault administrators”; Registry lifecycle policies manage container image retention, rather than affecting EBS volume snapshot storage supports “Expire old ECR images according to repository policy”; this does not resolve the stated “Establish policy-based backups across several supported resource types” and “Maintain a second copy of recovery points in another account” findings.
B:This solves the second problem (“Maintain a second copy of recovery points in another account”): Cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites; however, the first action addresses “Expire old ECR images according to repository policy”: Registry lifecycle policies manage container image retention, rather than affecting EBS volume snapshot storage; it does not satisfy “Establish policy-based backups across several supported resource types.”.
C:One action is correctly chosen for “Establish policy-based backups across several supported resource types”: Backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation; the companion action relates to “Ensure retention settings cannot be weakened by routine vault administrators”: Vault Lock limits destructive retention changes and complements access permissions on the backup vault; the other requested outcome, “Maintain a second copy of recovery points in another account,” remains outstanding.
Question 472
A security architecture review for a workforce authentication rollout contains 2 independently assessed work items: (1) Require a second authentication factor for privileged console sessions; (2) Authenticate mobile-app end users without granting them AWS account user identities. Which actions directly implement those requirements? Choose TWO.
- Use Amazon Cognito user pools for application authentication
- Enforce MFA on the relevant workforce or IAM sign-in pathway
- Use Cognito identity pools to exchange supported identities for AWS credentials
- Federate workforce access through IAM Identity Center
Explanation
Correct Answers
A:User pools handle application-user sign-up and sign-in, separating consumer identity from workforce IAM account administration; in a workforce authentication rollout, this is one of the independently required safeguards because it addresses the requirement to authenticate mobile-app end users without granting them AWS account user identities.
B:MFA adds possession or another factor to the authentication step and limits damage from a password-only compromise; in a workforce authentication rollout, this is one of the independently required safeguards because it addresses the requirement to require a second authentication factor for privileged console sessions.
Incorrect Answers
C:Identity pools broker temporary AWS credentials through roles for application users, distinct from user-pool authentication itself; in a workforce authentication rollout, that supports the requirement to give an authenticated mobile user limited temporary AWS permissions, which is distinct from the 2 enumerated security work items.
D:Identity Center integrates a workforce identity source with permission sets that provision account access without creating separate long-term IAM users; in a workforce authentication rollout, that supports the requirement to give employees single sign-on to multiple AWS accounts using an existing corporate identity provider, which is distinct from the 2 enumerated security work items.
Question 473
During an EC2 and EKS workload security assessment, the security team has this work item: Assess known vulnerabilities in container images stored in a registry. Which AWS action is the most direct implementation?
- Enable Amazon ECR image scanning with an appropriate scanning mode
- Narrow the Lambda execution role's identity policy
- Use IAM roles for service accounts for the pod's supported identity pattern
- Assign a least-privilege ECS task IAM role
Explanation
Correct Answer
A:ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; this is the direct solution to the requirement to assess known vulnerabilities in container images stored in a registry in an EC2 and EKS workload security assessment.
Incorrect Answers
B:Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it; this would help with the requirement to restrict a Lambda function's access to S3 operations, leaving the requirement to assess known vulnerabilities in container images stored in a registry unresolved in an EC2 and EKS workload security assessment.
C:Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload; the important distinction in an EC2 and EKS workload security assessment is that this supports the requirement to prevent an EKS pod from inheriting broad worker-node permissions instead of the requirement to assess known vulnerabilities in container images stored in a registry.
D:Task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope; this addresses the requirement to limit an ECS task's AWS API permissions independently of the host, not the requirement to assess known vulnerabilities in container images stored in a registry, which is needed in an EC2 and EKS workload security assessment.
Question 474
A proposed solution for the incident response rehearsal is incomplete unless it addresses both of these checks: Rotate an exposed database password without hardcoding the replacement in an application; and Prevent accidental removal of a forensic evidence object during an investigation. Which choice provides the necessary controls?
- Apply a role session revocation deny to sessions issued before the cutoff; and use S3 Object Lock retention on the evidence bucket and objects
- Establish a dedicated forensic account with emergency cross-account roles; and apply a role session revocation deny to sessions issued before the cutoff
- Rotate the stored value through Secrets Manager and update dependent clients; and use S3 Object Lock retention on the evidence bucket and objects
- Rotate the stored value through Secrets Manager and update dependent clients; and establish a dedicated forensic account with emergency cross-account roles
Explanation
Correct Answer
C:For the first acceptance test, “Rotate an exposed database password without hardcoding the replacement in an application,” Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password; for the second, “Prevent accidental removal of a forensic evidence object during an investigation,” version-level write-once retention protects retained evidence against deletion or overwriting for the selected period; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:The mechanism for “Prevent accidental removal of a forensic evidence object during an investigation” is present: Version-level write-once retention protects retained evidence against deletion or overwriting for the selected period; the additional mechanism relates to “Invalidate temporary sessions that might remain after an IAM role credential concern”: Revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials; nothing here completes “Rotate an exposed database password without hardcoding the replacement in an application.”.
B:Neither action is targeted at the two acceptance tests: Separating forensic tooling and artifacts from the production blast radius reduces dependence on possibly compromised accounts is about “Ensure responders can reach a separate investigative environment if production credentials are compromised,” and Revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials is about “Invalidate temporary sessions that might remain after an IAM role credential concern”; the intended “Rotate an exposed database password without hardcoding the replacement in an application” and “Prevent accidental removal of a forensic evidence object during an investigation” requirements remain unsatisfied.
D:Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password supports the “Rotate an exposed database password without hardcoding the replacement in an application” acceptance test; Separating forensic tooling and artifacts from the production blast radius reduces dependence on possibly compromised accounts is pertinent to “Ensure responders can reach a separate investigative environment if production credentials are compromised” instead; the change therefore omits the separate requirement “Prevent accidental removal of a forensic evidence object during an investigation.”.
Question 475
During a security event analytics project, reviewers document two independent acceptance criteria. First: Search raw CloudWatch log messages for failed authentication patterns across streams. Second: Find unusual API call rates rather than just inspect routine event counts. Which combined implementation satisfies both?
- Run a CloudWatch Logs Insights query selecting and filtering relevant fields; and enable CloudTrail Insights for the supported management-event analysis
- Run a CloudWatch Logs Insights query selecting and filtering relevant fields; and inspect CloudTrail UpdateAssumeRolePolicy records and request context
- Examine supported KMS API activity in CloudTrail management events; and enable CloudTrail Insights for the supported management-event analysis
- Inspect CloudTrail UpdateAssumeRolePolicy records and request context; and examine supported KMS API activity in CloudTrail management events
Explanation
Correct Answer
A:The first control addresses the check “Search raw CloudWatch log messages for failed authentication patterns across streams”: Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first; the other addresses “Find unusual API call rates rather than just inspect routine event counts”: Insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations; these two mechanisms cover the complete security event analytics project.
Incorrect Answers
B:Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first; this is relevant to the first objective (“Search raw CloudWatch log messages for failed authentication patterns across streams”); however, the other action is meant for “Determine which caller changed an IAM trust policy”: CloudTrail management events expose who invoked role trust changes and which policy update was submitted; it leaves the required “Find unusual API call rates rather than just inspect routine event counts” behavior unimplemented.
C:Insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations; this fulfills the second objective (“Find unusual API call rates rather than just inspect routine event counts”); the other action is intended for “Audit how a customer-managed KMS key has been used by AWS callers”: CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes; it does not meet the requested “Search raw CloudWatch log messages for failed authentication patterns across streams” check.
D:The first action belongs to “Determine which caller changed an IAM trust policy” because CloudTrail management events expose who invoked role trust changes and which policy update was submitted; the second belongs to “Audit how a customer-managed KMS key has been used by AWS callers” because CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes; these are not the required checks, “Search raw CloudWatch log messages for failed authentication patterns across streams” and “Find unusual API call rates rather than just inspect routine event counts.”.
Question 476
A security review for a KMS key-access review identifies one priority: Separate symmetric encryption keys from signing keys. Which control is the best choice?
- Configure AWS Secrets Manager rotation with a compatible rotation implementation
- Configure supported AWS KMS automatic key rotation
- Choose the appropriate KMS key spec and key usage for encryption or sign/verify
- Create a narrowly scoped AWS KMS grant
Explanation
Correct Answer
C:KMS key usage and key spec define supported cryptographic operations; encryption keys are not interchangeable with signing keys; this behavior fulfills the requirement to separate symmetric encryption keys from signing keys during a KMS key-access review.
Incorrect Answers
A:For the different objective “Rotate a database password automatically on an approved schedule,” Secrets Manager schedules secret rotation, coordinating updates to the stored value and underlying system credentials; the scenario instead requires “Separate symmetric encryption keys from signing keys,” which is a separate security mechanism.
B:Key rotation changes key material while keeping the logical key identifier for supported symmetric customer-managed keys; its scope is the requirement to rotate cryptographic key material for eligible symmetric customer-managed KMS keys, rather than the requirement to separate symmetric encryption keys from signing keys for a KMS key-access review.
D:Grants delegate selected KMS operations under constraints, useful for temporary or AWS-service-driven access patterns; its scope is the requirement to authorize cryptographic key use for a temporary service integration without broadly editing policies, rather than the requirement to separate symmetric encryption keys from signing keys for a KMS key-access review.
Question 477
An implementation in the cloud security governance assessment must solve two separate problems, not merely strengthen one safeguard: Track closure of previously identified architecture security risks over multiple reviews; Find security design gaps against AWS architecture best practices. Which change meets the full request?
- Configure AWS Cost Anomaly Detection monitoring; and review the Security pillar in AWS Well-Architected Tool
- Review AWS Trusted Advisor and Cost Explorer utilization signals; and configure AWS Cost Anomaly Detection monitoring
- Record prioritized Security pillar improvement actions and revisit open risks in the Well-Architected Tool; and review the Security pillar in AWS Well-Architected Tool
- Record prioritized Security pillar improvement actions and revisit open risks in the Well-Architected Tool; and review AWS Trusted Advisor and Cost Explorer utilization signals
Explanation
Correct Answer
C:This pairing handles the first requirement (“Track closure of previously identified architecture security risks over multiple reviews”) because A documented improvement plan turns review findings into tracked mitigation decisions instead of treating the questionnaire as a one-time score; it handles the second (“Find security design gaps against AWS architecture best practices”) because the tool guides a structured workload review and produces improvement guidance based on pillar questions; both acceptance criteria are therefore addressed.
Incorrect Answers
A:This solves the second problem (“Find security design gaps against AWS architecture best practices”): The tool guides a structured workload review and produces improvement guidance based on pillar questions; however, the first action addresses “Detect unexpected cost growth that might reflect compromised compute workloads”: Abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise; it does not satisfy “Track closure of previously identified architecture security risks over multiple reviews.”.
B:Both mechanisms have legitimate uses, but for other requirements: Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment supports “Spot unused or idle infrastructure that unnecessarily expands attack surface”; Abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise supports “Detect unexpected cost growth that might reflect compromised compute workloads”; this does not resolve the stated “Track closure of previously identified architecture security risks over multiple reviews” and “Find security design gaps against AWS architecture best practices” findings.
D:One action is correctly chosen for “Track closure of previously identified architecture security risks over multiple reviews”: A documented improvement plan turns review findings into tracked mitigation decisions instead of treating the questionnaire as a one-time score; the companion action relates to “Spot unused or idle infrastructure that unnecessarily expands attack surface”: Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment; the other requested outcome, “Find security design gaps against AWS architecture best practices,” remains outstanding.
Question 478
Before closing the compute workload hardening effort, a team must demonstrate the following: Block host-level outbound traffic that is not needed for a Linux workload; plus Detect drift from a golden AMI's approved operating-system configuration. Which paired change would complete the work?
- Combine a resource-scoped workload role with a restrictive secret access policy; and use Systems Manager State Manager associations and compliance reporting
- Use Inspector findings to prioritize Patch Manager remediation; 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
- Configure the operating system's host firewall in addition to VPC controls; and use Inspector findings to prioritize Patch Manager remediation
Explanation
Correct Answer
C:The implementation has a specific control for each objective: A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs for “Block host-level outbound traffic that is not needed for a Linux workload”; State Manager helps maintain and report desired managed-node configurations rather than rebuilding every instance on each check for “Detect drift from a golden AMI's approved operating-system configuration”; the combined option satisfies the two-part request.
Incorrect Answers
A:While state Manager helps maintain and report desired managed-node configurations rather than rebuilding every instance on each check is relevant to “Detect drift from a golden AMI's approved operating-system configuration,” the other component targets “Ensure a workload can retrieve a secret only through its approved role,” where secret access is constrained by IAM and applicable resource/KMS permissions, limiting which workload sessions may retrieve credentials; the first acceptance criterion (“Block host-level outbound traffic that is not needed for a Linux workload”) is not met.
B:The first proposed action addresses “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 second 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; the combination does not achieve the required “Block host-level outbound traffic that is not needed for a Linux workload” and “Detect drift from a golden AMI's approved operating-system configuration” outcomes in this compute workload hardening effort.
D:The first check would be covered, since A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs; yet the second choice is associated with “Identify a vulnerable package but avoid treating a scanner as a patch engine,” for which inspector supplies vulnerability evidence; Systems Manager patch workflows perform the operating-system update actions; no corresponding control satisfies “Detect drift from a golden AMI's approved operating-system configuration.”.
Question 479
An assessment of the permissions and authorization review has two findings. Finding one: A role session should have fewer privileges than its parent role policy. Finding two: An identity has an IAM allow but a matching explicit deny is also present. Which combination remediates both?
- Pass a restrictive STS session policy when assuming the role; and remove or narrow the applicable explicit deny only after validating policy intent
- Pass a restrictive STS session policy when assuming the role; and add a narrowly scoped explicit allow where the policy model requires it
- Update the SCP guardrail or choose an allowed operation while retaining least privilege; and remove or narrow the applicable explicit deny only after validating policy intent
- Add a narrowly scoped explicit allow where the policy model requires it; and update the SCP guardrail or choose an allowed operation while retaining least privilege
Explanation
Correct Answer
A:The implementation has a specific control for each objective: Session policies further limit the temporary session's effective permissions instead of expanding the base role for “A role session should have fewer privileges than its parent role policy”; IAM explicit deny takes precedence over allows from other applicable permission policies for the same request for “An identity has an IAM allow but a matching explicit deny is also present”; the combined option satisfies the two-part request.
Incorrect Answers
B:The first check would be covered, since session policies further limit the temporary session's effective permissions instead of expanding the base role; yet the second choice is associated with “An identity has no applicable allow for an AWS operation,” for which IAM starts from implicit denial for ordinary principals, so an absent allow leaves the operation unauthorized; no corresponding control satisfies “An identity has an IAM allow but a matching explicit deny is also present.”.
C:While IAM explicit deny takes precedence over allows from other applicable permission policies for the same request is relevant to “An identity has an IAM allow but a matching explicit deny is also present,” the other component targets “An IAM policy allows an action but an Organizations SCP excludes it,” where SCPs restrict the maximum available permissions of affected member-account identities; an IAM allow cannot exceed the guardrail; the first acceptance criterion (“A role session should have fewer privileges than its parent role policy”) is not met.
D:The first proposed action addresses “An identity has no applicable allow for an AWS operation”: IAM starts from implicit denial for ordinary principals, so an absent allow leaves the operation unauthorized; the second addresses “An IAM policy allows an action but an Organizations SCP excludes it”: SCPs restrict the maximum available permissions of affected member-account identities; an IAM allow cannot exceed the guardrail; the combination does not achieve the required “A role session should have fewer privileges than its parent role policy” and “An identity has an IAM allow but a matching explicit deny is also present” outcomes in this permissions and authorization review.
Question 480
A change request in the telemetry and alarm repair exercise will be approved only if it delivers both outcomes: EventBridge rules receive CloudTrail events but matching rules never invoke Lambda; An alert filter never matches a numeric application status field. What should be included?
- Check event-pattern fields and permission for EventBridge to invoke the target; and review missing-data treatment and whether the expected metric publishes regularly
- Check event-pattern fields and permission for EventBridge to invoke the target; and use a valid CloudWatch Logs filter pattern for the actual JSON structure
- Review missing-data treatment and whether the expected metric publishes regularly; and verify GuardDuty is enabled in that account and the relevant Region and protection plan
- Verify GuardDuty is enabled in that account and the relevant Region and protection plan; and use a valid CloudWatch Logs filter pattern for the actual JSON structure
Explanation
Correct Answer
B:For the first acceptance test, “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda,” both rule matching and target invocation authorization must succeed before automation starts; for the second, “An alert filter never matches a numeric application status field,” filter expressions must match the logged field names and data types rather than the structure assumed by the operator; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:Both rule matching and target invocation authorization must succeed before automation starts supports the “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda” acceptance test; Missing metrics are not necessarily healthy values; alarm evaluation needs an intentional policy for periods without samples is pertinent to “CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods” instead; the change therefore omits the separate requirement “An alert filter never matches a numeric application status field.”.
C:Neither action is targeted at the two acceptance tests: Missing metrics are not necessarily healthy values; alarm evaluation needs an intentional policy for periods without samples is about “CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods,” and Regional service enablement and feature-specific coverage determine which supported threats can be detected is about “New GuardDuty detections do not appear in an expected account”; the intended “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda” and “An alert filter never matches a numeric application status field” requirements remain unsatisfied.
D:The mechanism for “An alert filter never matches a numeric application status field” is present: Filter expressions must match the logged field names and data types rather than the structure assumed by the operator; the additional mechanism relates to “New GuardDuty detections do not appear in an expected account”: Regional service enablement and feature-specific coverage determine which supported threats can be detected; nothing here completes “EventBridge rules receive CloudTrail events but matching rules never invoke Lambda.”.