Question 490
A security review for a cost-anomaly security investigation identifies one priority: Prioritize publicly exposed resources found during an architectural security review. Which control is the best choice?
- Compare Cost Explorer usage trends with CloudTrail instance-launch events
- Review AWS Trusted Advisor and Cost Explorer utilization signals
- Record prioritized Security pillar improvement actions and revisit open risks in the Well-Architected Tool
- Correlate IAM Access Analyzer exposure with network reachability assessments
- Review the Security pillar in AWS Well-Architected Tool
Explanation
Correct Answer
D:Policy exposure and network path analysis reveal different ways resources could be reachable by unintended parties; that AWS behavior meets the requirement to prioritize publicly exposed resources found during an architectural security review, the decisive objective for a cost-anomaly security investigation.
Incorrect Answers
A:For the different objective “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; the scenario instead requires “Prioritize publicly exposed resources found during an architectural security review,” which is a separate security mechanism.
B:Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment; its purpose is the requirement to spot unused or idle infrastructure that unnecessarily expands attack surface, but the acceptance criterion in a cost-anomaly security investigation is the requirement to prioritize publicly exposed resources found during an architectural security review.
C:A documented improvement plan turns review findings into tracked mitigation decisions instead of treating the questionnaire as a one-time score; this would help with the requirement to track closure of previously identified architecture security risks over multiple reviews, leaving the requirement to prioritize publicly exposed resources found during an architectural security review unresolved in a cost-anomaly security investigation.
E:The tool guides a structured workload review and produces improvement guidance based on pillar questions; this would help with the requirement to find security design gaps against AWS architecture best practices, leaving the requirement to prioritize publicly exposed resources found during an architectural security review unresolved in a cost-anomaly security investigation.
Question 491
For a workforce authentication rollout, engineers have been assigned this security outcome: Require a second authentication factor for privileged console sessions. What implementation best fits?
- Federate workforce access through IAM Identity Center
- Configure an IAM SAML identity provider and trusting role
- Enforce MFA on the relevant workforce or IAM sign-in pathway
- Use Amazon Cognito user pools for application authentication
Explanation
Correct Answer
C:MFA adds possession or another factor to the authentication step and limits damage from a password-only compromise; that AWS behavior meets the requirement to require a second authentication factor for privileged console sessions, the decisive objective for a workforce authentication rollout.
Incorrect Answers
A:For the different objective “Give employees single sign-on to multiple AWS accounts using an existing corporate identity provider,” identity Center integrates a workforce identity source with permission sets that provision account access without creating separate long-term IAM users; the scenario instead requires “Require a second authentication factor for privileged console sessions,” which is a separate security mechanism.
B:STS can issue temporary role credentials when a properly configured SAML trust relationship accepts the assertion; its scope is the requirement to allow an external enterprise identity provider to exchange signed SAML assertions for AWS role sessions, rather than the requirement to require a second authentication factor for privileged console sessions for a workforce authentication rollout.
D:User pools handle application-user sign-up and sign-in, separating consumer identity from workforce IAM account administration; its purpose is the requirement to authenticate mobile-app end users without granting them AWS account user identities, but the acceptance criterion in a workforce authentication rollout is the requirement to require a second authentication factor for privileged console sessions.
Question 492
A security review for a log storage and retention architecture identifies one priority: Capture a narrow subset of expensive S3 data events rather than every object read. Which control is the best choice?
- Configure a multi-Region CloudTrail trail with an S3 destination
- Create or query an appropriate CloudTrail Lake event data store
- 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
D:Advanced selectors limit the chosen high-volume events and can reduce unnecessary collection costs; for a log storage and retention architecture, this is the measure that delivers the requirement to capture a narrow subset of expensive S3 data events rather than every object read.
Incorrect Answers
A:A multi-Region trail records supported management events across current and newly added Regions in the account; its scope is the requirement to record AWS management API activity in every Region into protected storage, rather than the requirement to capture a narrow subset of expensive S3 data events rather than every object read for a log storage and retention architecture.
B:CloudTrail Lake retains selected event types for SQL analysis subject to configured retention and ingestion choices; this would help with the requirement to search historical CloudTrail activity with SQL without managing an analytics cluster, leaving the requirement to capture a narrow subset of expensive S3 data events rather than every object read unresolved in a log storage and retention architecture.
C:Signed digest chains allow validation of log-file integrity after delivery; enabling the feature alone is not equivalent to performing verification; its purpose is the requirement to confirm that delivered CloudTrail log objects have not been altered, but the acceptance criterion in a log storage and retention architecture is the requirement to capture a narrow subset of expensive S3 data events rather than every object read.
Question 493
The storage encryption control review has two control objectives. Requirement one: Limit sensitive KMS key use to one AWS service integration. Requirement two: Allow an authorized principal to use a KMS key for decryption rather than just list it. Which design passes both checks?
- Use AWS CloudHSM for supported HSM-controlled key workloads; and disable the key while coordinating a recovery and re-encryption plan
- Disable the key while coordinating a recovery and re-encryption plan; and grant kms:Decrypt through the key policy and necessary IAM authorization
- Constrain the KMS key policy using kms:ViaService where supported; and use AWS CloudHSM for supported HSM-controlled key workloads
- Constrain the KMS key policy using kms:ViaService where supported; and grant kms:Decrypt through the key policy and necessary IAM authorization
Explanation
Correct Answer
D:The first control addresses the check “Limit sensitive KMS key use to one AWS service integration”: Service-context conditions limit when the KMS key may be used through an approved integrated AWS service; the other addresses “Allow an authorized principal to use a KMS key for decryption rather than just list it”: KMS cryptographic permissions depend on key-policy access and any required identity policy, which is distinct from metadata visibility; these two mechanisms cover the complete storage encryption control review.
Incorrect Answers
A:The first action belongs to “Keep hardware-security-module key operations under a customer-managed HSM cluster” because CloudHSM gives customers dedicated HSM administration and key control with different operations from a managed KMS key; the second belongs to “Stop further encrypted data operations with a compromised customer-managed KMS key” because A disabled KMS key cannot perform new cryptographic operations, which can also make dependent encrypted data inaccessible; these are not the required checks, “Limit sensitive KMS key use to one AWS service integration” and “Allow an authorized principal to use a KMS key for decryption rather than just list it.”.
B:KMS cryptographic permissions depend on key-policy access and any required identity policy, which is distinct from metadata visibility; this fulfills the second objective (“Allow an authorized principal to use a KMS key for decryption rather than just list it”); the other action is intended for “Stop further encrypted data operations with a compromised customer-managed KMS key”: A disabled KMS key cannot perform new cryptographic operations, which can also make dependent encrypted data inaccessible; it does not meet the requested “Limit sensitive KMS key use to one AWS service integration” check.
C:Service-context conditions limit when the KMS key may be used through an approved integrated AWS service; this is relevant to the first objective (“Limit sensitive KMS key use to one AWS service integration”); however, the other action is meant for “Keep hardware-security-module key operations under a customer-managed HSM cluster”: CloudHSM gives customers dedicated HSM administration and key control with different operations from a managed KMS key; it leaves the required “Allow an authorized principal to use a KMS key for decryption rather than just list it” behavior unimplemented.
Question 494
The public application protection review cannot pass unless both of these outcomes are demonstrated: Block HTTP requests carrying a disallowed header value; Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules. Which two-part plan is suitable?
- Use an AWS WAF byte-match statement on the specified header; and configure an AWS WAF rate-based rule with an appropriate evaluation limit
- Use an AWS WAF byte-match statement on the specified header; 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 configure an AWS WAF rate-based rule with an appropriate evaluation limit
- Associate an appropriate AWS WAF managed rule group with the front-end resource; and enable AWS WAF SQL injection match or an appropriate managed rule group
Explanation
Correct Answer
A:Two different security outcomes are required in this public application protection review; Byte matching inspects configured parts of an HTTP request, providing an application-layer condition rather than a transport-layer port rule supports “Block HTTP requests carrying a disallowed header value,” while A rate-based web ACL rule counts matching requests over an evaluation window and can restrict abusive HTTP clients supports “Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: Byte matching inspects configured parts of an HTTP request, providing an application-layer condition rather than a transport-layer port rule supports “Block HTTP requests carrying a disallowed header value”; but Managed rule groups apply curated signatures and rules for common web exploits while allowing tuning of false positives supports “Apply a maintained collection of common web exploit signatures without individually authoring each rule,” not the required “Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules” outcome.
C:The option has a useful control for “Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules” because A rate-based web ACL rule counts matching requests over an evaluation window and can restrict abusive HTTP clients; its other control applies to “Match SQL injection signatures in a specific HTTP request field using a custom WAF rule” because web ACL inspection can identify suspicious SQL payload patterns before the application processes the HTTP request; it misses the first requirement, “Block HTTP requests carrying a disallowed header value.”.
D:Managed rule groups apply curated signatures and rules for common web exploits while allowing tuning of false positives is pertinent to “Apply a maintained collection of common web exploit signatures without individually authoring each rule,” and Web ACL inspection can identify suspicious SQL payload patterns before the application processes the HTTP request is pertinent to “Match SQL injection signatures in a specific HTTP request field using a custom WAF rule”; the requested controls for “Block HTTP requests carrying a disallowed header value” and “Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules” are absent.
Question 495
In a managed threat detection rollout, engineers must cover two different requirements: Find exposed internet-facing EC2 software vulnerabilities. In addition, Identify externally accessible resources implied by resource policies. Which option implements both?
- Run Amazon Macie sensitive-data discovery on selected S3 buckets; and enable GuardDuty S3 Protection for supported object activity
- Enable GuardDuty S3 Protection for supported object activity; and run IAM Access Analyzer external-access analysis
- Enable Amazon Inspector EC2 vulnerability scanning; and run Amazon Macie sensitive-data discovery on selected S3 buckets
- Enable Amazon Inspector EC2 vulnerability scanning; and run IAM Access Analyzer external-access analysis
Explanation
Correct Answer
D:This pairing handles the first requirement (“Find exposed internet-facing EC2 software vulnerabilities”) because inspector assesses supported workloads for package vulnerabilities and prioritizes exploitable exposures rather than analyzing account API anomalies; it handles the second (“Identify externally accessible resources implied by resource policies”) because access Analyzer evaluates supported resource policies for access outside the configured zone of trust, highlighting unexpected sharing; both acceptance criteria are therefore addressed.
Incorrect Answers
A:Both mechanisms have legitimate uses, but for other requirements: Macie discovers sensitive data in Amazon S3 and reports locations and categories that need protection or review supports “Find S3 objects containing regulated identifiers at scale”; GuardDuty S3 Protection analyzes relevant S3 object activity for potential threats, while ordinary CloudTrail management history does not cover all object operations supports “Detect anomalous API activity against S3 objects with managed threat monitoring”; this does not resolve the stated “Find exposed internet-facing EC2 software vulnerabilities” and “Identify externally accessible resources implied by resource policies” findings.
B:This solves the second problem (“Identify externally accessible resources implied by resource policies”): Access Analyzer evaluates supported resource policies for access outside the configured zone of trust, highlighting unexpected sharing; however, the first action addresses “Detect anomalous API activity against S3 objects with managed threat monitoring”: GuardDuty S3 Protection analyzes relevant S3 object activity for potential threats, while ordinary CloudTrail management history does not cover all object operations; it does not satisfy “Find exposed internet-facing EC2 software vulnerabilities.”.
C:One action is correctly chosen for “Find exposed internet-facing EC2 software vulnerabilities”: Inspector assesses supported workloads for package vulnerabilities and prioritizes exploitable exposures rather than analyzing account API anomalies; the companion action relates to “Find S3 objects containing regulated identifiers at scale”: Macie discovers sensitive data in Amazon S3 and reports locations and categories that need protection or review; the other requested outcome, “Identify externally accessible resources implied by resource policies,” remains outstanding.
Question 496
An implementation in the compliance evidence and drift review must solve two separate problems, not merely strengthen one safeguard: Preserve compliance history of changes to resource configurations; Report audit findings from multiple security tools in a common format. Which change meets the full request?
- Query historical AWS Config configuration items and rule evaluations; and cross-reference CloudTrail API activity with AWS Config configuration history
- Cross-reference CloudTrail API activity with AWS Config configuration history; and consolidate compatible findings in AWS Security Hub
- Enable AWS Config recorders and delivery to controlled storage; and query historical AWS Config configuration items and rule evaluations
- Enable AWS Config recorders and delivery to controlled storage; and consolidate compatible findings in AWS Security Hub
Explanation
Correct Answer
D:This pairing handles the first requirement (“Preserve compliance history of changes to resource configurations”) because configuration item history supports reconstruction of resource state changes rather than tracking only a current compliance flag; it handles the second (“Report audit findings from multiple security tools in a common format”) because finding normalization enables shared prioritization, while raw evidence may remain in the originating tool; both acceptance criteria are therefore addressed.
Incorrect Answers
A:Both mechanisms have legitimate uses, but for other requirements: Config history records supported configuration states, providing evidence of earlier insecure ingress settings supports “Determine whether a security group ever allowed public administrative ports”; CloudTrail identifies calling principals, while Config describes recorded resource state changes and compliance impacts supports “Demonstrate which account actions changed a security posture setting”; this does not resolve the stated “Preserve compliance history of changes to resource configurations” and “Report audit findings from multiple security tools in a common format” findings.
B:This solves the second problem (“Report audit findings from multiple security tools in a common format”): Finding normalization enables shared prioritization, while raw evidence may remain in the originating tool; however, the first action addresses “Demonstrate which account actions changed a security posture setting”: CloudTrail identifies calling principals, while Config describes recorded resource state changes and compliance impacts; it does not satisfy “Preserve compliance history of changes to resource configurations.”.
C:One action is correctly chosen for “Preserve compliance history of changes to resource configurations”: Configuration item history supports reconstruction of resource state changes rather than tracking only a current compliance flag; the companion action relates to “Determine whether a security group ever allowed public administrative ports”: Config history records supported configuration states, providing evidence of earlier insecure ingress settings; the other requested outcome, “Report audit findings from multiple security tools in a common format,” remains outstanding.
Question 497
A change request in the credential and federation review will be approved only if it delivers both outcomes: Trace which workforce user started an assumed-role API call; Require IAM users to activate MFA before performing sensitive API operations. What should be included?
- Inspect CloudTrail userIdentity and role session context; and apply a policy condition on aws:MultiFactorAuthPresent in the applicable context
- Inspect CloudTrail userIdentity and role session context; and set an appropriate role maximum session duration and request a bounded session
- Use STS AssumeRole with a cross-account role trust policy; and apply a policy condition on aws:MultiFactorAuthPresent in the applicable context
- Set an appropriate role maximum session duration and request a bounded session; and use STS AssumeRole with a cross-account role trust policy
Explanation
Correct Answer
A:For the first acceptance test, “Trace which workforce user started an assumed-role API call,” CloudTrail's assumed-role identity fields identify the session and support tracing back to the initiating role assumption; for the second, “Require IAM users to activate MFA before performing sensitive API operations,” the MFA context key can restrict supported requests according to whether MFA was present in the authenticated session; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
B:CloudTrail's assumed-role identity fields identify the session and support tracing back to the initiating role assumption supports the “Trace which workforce user started an assumed-role API call” acceptance test; Temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys is pertinent to “Restrict the duration of an elevated administrative session” instead; the change therefore omits the separate requirement “Require IAM users to activate MFA before performing sensitive API operations.”.
C:The mechanism for “Require IAM users to activate MFA before performing sensitive API operations” is present: The MFA context key can restrict supported requests according to whether MFA was present in the authenticated session; the additional mechanism relates to “Run a workload in a different account without storing destination-account access keys”: AssumeRole issues expiring credentials for a trusted principal, and the assumed role's permissions determine permitted destination actions; nothing here completes “Trace which workforce user started an assumed-role API call.”.
D:Neither action is targeted at the two acceptance tests: Temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys is about “Restrict the duration of an elevated administrative session,” and AssumeRole issues expiring credentials for a trusted principal, and the assumed role's permissions determine permitted destination actions is about “Run a workload in a different account without storing destination-account access keys”; the intended “Trace which workforce user started an assumed-role API call” and “Require IAM users to activate MFA before performing sensitive API operations” requirements remain unsatisfied.
Question 498
For a cloud audit log deployment, engineers have been assigned this security outcome: Record CloudFront viewer requests for forensic review. What implementation best fits?
- Enable Application Load Balancer access logs to a permitted S3 bucket
- Enable WAF logging to a supported delivery destination
- Configure Route 53 Resolver query logging for the relevant VPCs
- Enable CloudFront access logging for the distribution
Explanation
Correct Answer
D:Distribution access logs describe viewer requests at the edge; they differ from control-plane change records; this behavior fulfills the requirement to record CloudFront viewer requests for forensic review during a cloud audit log deployment.
Incorrect Answers
A:For the different objective “Preserve load balancer request traces for application incident analysis,” ALB access logs report HTTP request processing details, while CloudTrail captures configuration API operations instead; the scenario instead requires “Record CloudFront viewer requests for forensic review,” which is a separate security mechanism.
B:WAF log records include matched rule and request metadata for supported web requests passing through the associated ACL; its purpose is the requirement to record requests allowed or blocked by AWS WAF web ACLs, but the acceptance criterion in a cloud audit log deployment is the requirement to record CloudFront viewer requests for forensic review.
C:Resolver query logs provide domain query details and can be centralized for DNS-based security analysis; its scope is the requirement to capture DNS query names resolved through Route 53 Resolver in a VPC, rather than the requirement to record CloudFront viewer requests for forensic review for a cloud audit log deployment.
Question 499
A review board evaluating the backup and data retention program rejects fixes that cover just one requirement. The requirements are: Maintain a second copy of recovery points in another account; and Ensure retention settings cannot be weakened by routine vault administrators. Which configuration addresses both?
- Define Amazon ECR lifecycle policies for image tags and age; and monitor AWS Backup job status and coverage with suitable notifications
- Monitor AWS Backup job status and coverage with suitable notifications; and configure AWS Backup Vault Lock with appropriate minimum and maximum retention
- Configure supported AWS Backup cross-account copy actions; and define Amazon ECR lifecycle policies for image tags and age
- Configure supported AWS Backup cross-account copy actions; and configure AWS Backup Vault Lock with appropriate minimum and maximum retention
Explanation
Correct Answer
D:For “Maintain a second copy of recovery points in another account,” the governing behavior is: Cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites; for the separate check “Ensure retention settings cannot be weakened by routine vault administrators,” it is: Vault Lock limits destructive retention changes and complements access permissions on the backup vault; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:This combination targets different outcomes: Registry lifecycle policies manage container image retention, rather than affecting EBS volume snapshot storage helps with “Expire old ECR images according to repository policy”; Backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed helps with “Detect a missing backup before the end of a recovery service-level agreement”; neither implements the required “Maintain a second copy of recovery points in another account” and “Ensure retention settings cannot be weakened by routine vault administrators” outcomes together.
B:Only the second requirement is covered: 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”; by contrast, Backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed concerns “Detect a missing backup before the end of a recovery service-level agreement,” leaving “Maintain a second copy of recovery points in another account” unresolved.
C:The first part is appropriate for “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; the second part addresses a different issue (“Expire old ECR images according to repository policy”) because registry lifecycle policies manage container image retention, rather than affecting EBS volume snapshot storage; it does not fulfill the “Ensure retention settings cannot be weakened by routine vault administrators” test.
Question 500
Two security control owners share a compute workload hardening effort. One is responsible for this outcome: Prevent an EKS pod from inheriting broad worker-node permissions. The other needs: Use Secrets Manager values inside application containers without embedding them in image layers. Which implementation covers both?
- Enable Amazon ECR image scanning with an appropriate scanning mode; and retrieve secrets at runtime using the workload's permitted IAM role
- Narrow the Lambda execution role's identity policy; and enable Amazon ECR image scanning with an appropriate scanning mode
- Use IAM roles for service accounts for the pod's supported identity pattern; and retrieve secrets at runtime using the workload's permitted IAM role
- 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
C:Two different security outcomes are required in this compute workload hardening effort; Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload supports “Prevent an EKS pod from inheriting broad worker-node permissions,” while Runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity supports “Use Secrets Manager values inside application containers without embedding them in image layers”; neither check is assumed to follow from the other.
Incorrect Answers
A:The option has a useful control 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; its other control applies to “Assess known vulnerabilities in container images stored in a registry” because ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; it misses the first requirement, “Prevent an EKS pod from inheriting broad worker-node permissions.”.
B:Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it is pertinent to “Restrict a Lambda function's access to S3 operations,” and ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image is pertinent to “Assess known vulnerabilities in container images stored in a registry”; the requested controls for “Prevent an EKS pod from inheriting broad worker-node permissions” and “Use Secrets Manager values inside application containers without embedding them in image layers” are absent.
D:This option is only partly effective: Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload supports “Prevent an EKS pod from inheriting broad worker-node permissions”; but 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,” not the required “Use Secrets Manager values inside application containers without embedding them in image layers” outcome.