Question 110
An architect is reviewing a cross-account delegation audit. The acceptance criterion reads: Prevent use of wildcards for sensitive KMS administration capabilities. Which approach satisfies it?
- Attach permissions boundaries to delegated role-creation workflows
- Apply an appropriate Organizations SCP deny to member accounts
- Replace broad key-administration grants with explicit actions and principals
- Grant read-only IAM and relevant Access Analyzer inspection actions
Explanation
Correct Answer
C:Key policy authorization can be restricted by principal and operation, avoiding an unnecessarily permissive wildcard on high-impact crypto controls; it addresses the requirement to prevent use of wildcards for sensitive KMS administration capabilities at the right security boundary during a cross-account delegation audit.
Incorrect Answers
A:Boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies; this would help with the reported condition: an organization needs a cap on administrator-created IAM roles, leaving the requirement to prevent use of wildcards for sensitive KMS administration capabilities unresolved in a cross-account delegation audit.
B:SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions; this would help with the requirement to prevent member account administrators from disabling baseline security controls, leaving the requirement to prevent use of wildcards for sensitive KMS administration capabilities unresolved in a cross-account delegation audit.
D:Visibility into policies and analysis results can be delegated separately from policy-editing actions to preserve separation of duties; the important distinction in a cross-account delegation audit is that this supports the requirement to allow a user to inspect effective permissions without modifying policies instead of the requirement to prevent use of wildcards for sensitive KMS administration capabilities.
Question 111
In a production service recovery review, a control owner must address the following requirement: Contain an EC2 instance showing command-and-control traffic without deleting the machine. Which option should be selected?
- Capture a memory image before shutting down the suspect instance
- Quarantine its network interfaces with restrictive security-group rules
- Inspect S3 data events in CloudTrail for the bucket
- Apply an AWS WAF IP or rate-based rule to the application edge
- Rotate the secret and force safe refresh of cached credentials
Explanation
Correct Answer
B:Network isolation can stop new unwanted communication while preserving the host for examination and snapshot capture; this is the direct solution to the requirement to contain an EC2 instance showing command-and-control traffic without deleting the machine in a production service recovery review.
Incorrect Answers
A:EBS snapshots preserve disk blocks, whereas RAM artifacts and active process state require a separate live-memory capture procedure; this addresses the requirement to preserve volatile evidence that an EBS snapshot would miss, not the requirement to contain an EC2 instance showing command-and-control traffic without deleting the machine, which is needed in a production service recovery review.
C:Object-level API events reveal callers and resources when the relevant data-event selectors were enabled during the period; this addresses the requirement to find which IAM session made a suspicious DeleteObject call, not the requirement to contain an EC2 instance showing command-and-control traffic without deleting the machine, which is needed in a production service recovery review.
D:WAF filters applicable HTTP(S) requests at supported front ends; it is not a host-level response for arbitrary TCP flows; its scope is the requirement to block repeated malicious web requests while the origin is being investigated, rather than the requirement to contain an EC2 instance showing command-and-control traffic without deleting the machine for a production service recovery review.
E:Updating Secrets Manager alone does not invalidate a still-valid downstream credential unless the backing credential is changed and consumers refresh; the important distinction in a production service recovery review is that this supports the requirement to revoke exposure of a leaked application secret used by Lambda functions instead of the requirement to contain an EC2 instance showing command-and-control traffic without deleting the machine.
Question 112
An assessment of the compliance evidence and drift review has two findings. Finding one: Identify sensitive personal data in S3 archives. Finding two: Measure consolidated security posture against security controls. Which combination remediates both?
- Use AWS Audit Manager assessments and evidence collection; and enable Security Hub security standards and review control findings
- Configure AWS Config organization rules or conformance packs where supported; and use AWS Audit Manager assessments and evidence collection
- Run Amazon Macie sensitive-data discovery jobs; and enable Security Hub security standards and review control findings
- Run Amazon Macie sensitive-data discovery jobs; and configure AWS Config organization rules or conformance packs where supported
Explanation
Correct Answer
C:The implementation has a specific control for each objective: Macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls for “Identify sensitive personal data in S3 archives”; Security Hub evaluates supported control checks and consolidates findings; remediation remains an independent action for “Measure consolidated security posture against security controls”; the combined option satisfies the two-part request.
Incorrect Answers
A:While Security Hub evaluates supported control checks and consolidates findings; remediation remains an independent action is relevant to “Measure consolidated security posture against security controls,” the other component targets “Collect control evidence for audits from multiple AWS services,” where audit Manager organizes evidence against configured control frameworks but does not itself certify legal compliance; the first acceptance criterion (“Identify sensitive personal data in S3 archives”) is not met.
B:The first proposed action addresses “Run organization-level compliance checks on many accounts”: Organization-wide configuration evaluations provide a shared control definition across participating accounts; the second addresses “Collect control evidence for audits from multiple AWS services”: Audit Manager organizes evidence against configured control frameworks but does not itself certify legal compliance; the combination does not achieve the required “Identify sensitive personal data in S3 archives” and “Measure consolidated security posture against security controls” outcomes in this compliance evidence and drift review.
D:The first check would be covered, since macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls; yet the second choice is associated with “Run organization-level compliance checks on many accounts,” for which organization-wide configuration evaluations provide a shared control definition across participating accounts; no corresponding control satisfies “Measure consolidated security posture against security controls.”.
Question 113
Before closing the compute workload hardening effort, a team must demonstrate the following: Prevent an EKS pod from inheriting broad worker-node permissions; plus Restrict a Lambda function's access to S3 operations. Which paired change would complete the work?
- 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
- Retrieve secrets at runtime using the workload's permitted IAM role; and enable Amazon ECR image scanning with an appropriate scanning mode
- Enable Amazon ECR image scanning with an appropriate scanning mode; and narrow the Lambda execution role's identity policy
Explanation
Correct Answer
B:The implementation has a specific control for each objective: Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload for “Prevent an EKS pod from inheriting broad worker-node permissions”; Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it for “Restrict a Lambda function's access to S3 operations”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first check would be covered, since pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload; yet the second choice is associated with “Use Secrets Manager values inside application containers without embedding them in image layers,” for which runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; no corresponding control satisfies “Restrict a Lambda function's access to S3 operations.”.
C:The first proposed action addresses “Use Secrets Manager values inside application containers without embedding them in image layers”: Runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; the second addresses “Assess known vulnerabilities in container images stored in a registry”: ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; the combination does not achieve the required “Prevent an EKS pod from inheriting broad worker-node permissions” and “Restrict a Lambda function's access to S3 operations” outcomes in this compute workload hardening effort.
D:While Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it is relevant to “Restrict a Lambda function's access to S3 operations,” the other component targets “Assess known vulnerabilities in container images stored in a registry,” where ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; the first acceptance criterion (“Prevent an EKS pod from inheriting broad worker-node permissions”) is not met.
Question 114
The security event analytics project has two control objectives. Requirement one: Find which WAF rule blocked a specific web request. Requirement two: Investigate a DNS-based exfiltration indicator by queried domain. Which design passes both checks?
- Query WAF logs for the matched rule and terminating action; and analyze Route 53 Resolver query logs for suspicious domain patterns
- Query WAF logs for the matched rule and terminating action; and filter VPC Flow Logs by REJECT entries and source/destination details
- Create a metric filter from the log pattern and alarm on its resulting metric; and analyze Route 53 Resolver query logs for suspicious domain patterns
- Filter VPC Flow Logs by REJECT entries and source/destination details; and create a metric filter from the log pattern and alarm on its resulting metric
Explanation
Correct Answer
A:The first control addresses the check “Find which WAF rule blocked a specific web request”: WAF logs identify web ACL evaluation outcomes and request attributes at the HTTP filtering layer; the other addresses “Investigate a DNS-based exfiltration indicator by queried domain”: Resolver logs record query names and associated context, unlike VPC Flow Logs which do not supply full domain names; these two mechanisms cover the complete security event analytics project.
Incorrect Answers
B:WAF logs identify web ACL evaluation outcomes and request attributes at the HTTP filtering layer; this is relevant to the first objective (“Find which WAF rule blocked a specific web request”); however, the other action is meant for “Identify a denied subnet connection from recorded network-flow dispositions”: Flow metadata includes action and addresses for supported traffic, supporting triage of network policy outcomes; it leaves the required “Investigate a DNS-based exfiltration indicator by queried domain” behavior unimplemented.
C:Resolver logs record query names and associated context, unlike VPC Flow Logs which do not supply full domain names; this fulfills the second objective (“Investigate a DNS-based exfiltration indicator by queried domain”); the other action is intended for “Reduce repeated manual searches for a frequent CloudWatch log anomaly”: Metric filters convert qualifying records to numeric series for continuous alerting after the pattern is understood; it does not meet the requested “Find which WAF rule blocked a specific web request” check.
D:The first action belongs to “Identify a denied subnet connection from recorded network-flow dispositions” because flow metadata includes action and addresses for supported traffic, supporting triage of network policy outcomes; the second belongs to “Reduce repeated manual searches for a frequent CloudWatch log anomaly” because metric filters convert qualifying records to numeric series for continuous alerting after the pattern is understood; these are not the required checks, “Find which WAF rule blocked a specific web request” and “Investigate a DNS-based exfiltration indicator by queried domain.”.
Question 115
During a storage encryption control review, reviewers document two independent acceptance criteria. First: Prevent public reads of any S3 buckets in an AWS account. Second: Encrypt S3 object payloads with keys managed entirely by the S3 service. Which combined implementation satisfies both?
- Enable account-level S3 Block Public Access; and apply client-side encryption with controlled client key management
- Enable account-level S3 Block Public Access; and use SSE-S3 for the objects
- Apply client-side encryption with controlled client key management; and deny noncompliant PutObject requests with S3 bucket-policy encryption conditions
- Deny noncompliant PutObject requests with S3 bucket-policy encryption conditions; and use SSE-S3 for the objects
Explanation
Correct Answer
B:The first control addresses the check “Prevent public reads of any S3 buckets in an AWS account”: Account-level controls provide a broad safety boundary against public bucket and access point configuration mistakes; the other addresses “Encrypt S3 object payloads with keys managed entirely by the S3 service”: SSE-S3 encrypts stored objects with S3-managed keys and does not provide customer-managed KMS key-policy control; these two mechanisms cover the complete storage encryption control review.
Incorrect Answers
A:Account-level controls provide a broad safety boundary against public bucket and access point configuration mistakes; this is relevant to the first objective (“Prevent public reads of any S3 buckets in an AWS account”); however, the other action is meant for “Require clients to encrypt sensitive objects before uploading to AWS”: Client-side encryption transforms plaintext before the upload, so the AWS storage service does not receive the clear payload; it leaves the required “Encrypt S3 object payloads with keys managed entirely by the S3 service” behavior unimplemented.
C:The first action belongs to “Require clients to encrypt sensitive objects before uploading to AWS” because client-side encryption transforms plaintext before the upload, so the AWS storage service does not receive the clear payload; the second belongs to “Enforce a specific SSE-KMS key for new uploads” because bucket policies can inspect encryption-related request headers and key IDs to reject uploads that violate mandated encryption settings; these are not the required checks, “Prevent public reads of any S3 buckets in an AWS account” and “Encrypt S3 object payloads with keys managed entirely by the S3 service.”.
D:SSE-S3 encrypts stored objects with S3-managed keys and does not provide customer-managed KMS key-policy control; this fulfills the second objective (“Encrypt S3 object payloads with keys managed entirely by the S3 service”); the other action is intended for “Enforce a specific SSE-KMS key for new uploads”: Bucket policies can inspect encryption-related request headers and key IDs to reject uploads that violate mandated encryption settings; it does not meet the requested “Prevent public reads of any S3 buckets in an AWS account” check.
Question 116
Two security control owners share a permissions and authorization review. One is responsible for this outcome: Allow administrative actions only from a restricted set of source public IP ranges. The other needs: Limit a role's access to resources carrying a matching project tag. Which implementation covers both?
- Use an applicable aws:SourceIp condition in the identity or resource policy; and use an aws:RequestedRegion condition in an appropriate SCP
- Use an applicable aws:SourceIp condition in the identity or resource policy; and implement ABAC with principal-tag and resource-tag policy conditions
- Use an aws:RequestedRegion condition in an appropriate SCP; and apply an S3 bucket-policy condition on aws:sourceVpce
- Apply an S3 bucket-policy condition on aws:sourceVpce; and implement ABAC with principal-tag and resource-tag policy conditions
Explanation
Correct Answer
B:Two different security outcomes are required in this permissions and authorization review; Source IP evaluation can restrict request origins, subject to the actual request context and service-forwarding behavior supports “Allow administrative actions only from a restricted set of source public IP ranges,” while Attribute-based conditions compare request context and resource attributes, reducing dependence on separately authored policies per project supports “Limit a role's access to resources carrying a matching project tag”; neither check is assumed to follow from the other.
Incorrect Answers
A:This option is only partly effective: Source IP evaluation can restrict request origins, subject to the actual request context and service-forwarding behavior supports “Allow administrative actions only from a restricted set of source public IP ranges”; but A Region condition in an organizational guardrail can block scoped API requests outside approved Regions, with necessary global-service exceptions supports “Prevent nonapproved Regions for supported AWS API operations,” not the required “Limit a role's access to resources carrying a matching project tag” outcome.
C:A Region condition in an organizational guardrail can block scoped API requests outside approved Regions, with necessary global-service exceptions is pertinent to “Prevent nonapproved Regions for supported AWS API operations,” and The endpoint context key ties access to the intended private path, with careful exceptions for services that do not supply that context is pertinent to “Allow object reads only when requests use a specific VPC endpoint”; the requested controls for “Allow administrative actions only from a restricted set of source public IP ranges” and “Limit a role's access to resources carrying a matching project tag” are absent.
D:The option has a useful control for “Limit a role's access to resources carrying a matching project tag” because attribute-based conditions compare request context and resource attributes, reducing dependence on separately authored policies per project; its other control applies to “Allow object reads only when requests use a specific VPC endpoint” because the endpoint context key ties access to the intended private path, with careful exceptions for services that do not supply that context; it misses the first requirement, “Allow administrative actions only from a restricted set of source public IP ranges.”.
Question 117
An architect is reviewing a hybrid network access redesign. The acceptance criterion reads: Restrict which S3 buckets applications can reach through a gateway endpoint. Which approach satisfies it?
- Apply a least-privilege VPC endpoint policy
- Attach VPCs to a Transit Gateway with controlled route tables
- Configure AWS Site-to-Site VPN with suitable customer gateway settings
- Create an interface VPC endpoint using AWS PrivateLink
Explanation
Correct Answer
A:Endpoint policies filter requests traversing the endpoint; they complement rather than replace IAM and bucket policies; this behavior fulfills the requirement to restrict which S3 buckets applications can reach through a gateway endpoint during a hybrid network access redesign.
Incorrect Answers
B:Transit Gateway centralizes network transit and segmentation through attachments and route-table associations and propagations; its scope is the requirement to connect many VPCs through centralized routing without individual full meshes, rather than the requirement to restrict which S3 buckets applications can reach through a gateway endpoint for a hybrid network access redesign.
C:Site-to-Site VPN encrypts supported network traffic between gateways using IPsec tunnels over the selected transport; this addresses the requirement to connect on-premises and AWS over an IPsec tunnel across the internet, not the requirement to restrict which S3 buckets applications can reach through a gateway endpoint, which is needed in a hybrid network access redesign.
D:An interface endpoint creates endpoint network interfaces and supports private connections to compatible services; this addresses the requirement to access a supported AWS service privately through private VPC IP addresses, not the requirement to restrict which S3 buckets applications can reach through a gateway endpoint, which is needed in a hybrid network access redesign.
Question 118
Before closing the active security incident investigation, a team must demonstrate the following: Revoke exposure of a leaked application secret used by Lambda functions; plus Find which IAM session made a suspicious DeleteObject call. Which paired change would complete the work?
- Apply an AWS WAF IP or rate-based rule to the application edge; and inspect S3 data events in CloudTrail for the bucket
- Capture a memory image before shutting down the suspect instance; and apply an AWS WAF IP or rate-based rule to the application edge
- Rotate the secret and force safe refresh of cached credentials; and inspect S3 data events in CloudTrail for the bucket
- Rotate the secret and force safe refresh of cached credentials; and capture a memory image before shutting down the suspect instance
Explanation
Correct Answer
C:The implementation has a specific control for each objective: Updating Secrets Manager alone does not invalidate a still-valid downstream credential unless the backing credential is changed and consumers refresh for “Revoke exposure of a leaked application secret used by Lambda functions”; Object-level API events reveal callers and resources when the relevant data-event selectors were enabled during the period for “Find which IAM session made a suspicious DeleteObject call”; the combined option satisfies the two-part request.
Incorrect Answers
A:While object-level API events reveal callers and resources when the relevant data-event selectors were enabled during the period is relevant to “Find which IAM session made a suspicious DeleteObject call,” the other component targets “Block repeated malicious web requests while the origin is being investigated,” where WAF filters applicable HTTP(S) requests at supported front ends; it is not a host-level response for arbitrary TCP flows; the first acceptance criterion (“Revoke exposure of a leaked application secret used by Lambda functions”) is not met.
B:The first proposed action addresses “Preserve volatile evidence that an EBS snapshot would miss”: EBS snapshots preserve disk blocks, whereas RAM artifacts and active process state require a separate live-memory capture procedure; the second addresses “Block repeated malicious web requests while the origin is being investigated”: WAF filters applicable HTTP(S) requests at supported front ends; it is not a host-level response for arbitrary TCP flows; the combination does not achieve the required “Revoke exposure of a leaked application secret used by Lambda functions” and “Find which IAM session made a suspicious DeleteObject call” outcomes in this active security incident investigation.
D:The first check would be covered, since updating Secrets Manager alone does not invalidate a still-valid downstream credential unless the backing credential is changed and consumers refresh; yet the second choice is associated with “Preserve volatile evidence that an EBS snapshot would miss,” for which EBS snapshots preserve disk blocks, whereas RAM artifacts and active process state require a separate live-memory capture procedure; no corresponding control satisfies “Find which IAM session made a suspicious DeleteObject call.”.
Question 119
An assessment of the multi-account infrastructure deployment has two findings. Finding one: Deploy the same reviewed infrastructure security settings across environments. Finding two: Prevent deployment of a CloudFormation stack that violates defined policy requirements. Which combination remediates both?
- Use version-controlled AWS CloudFormation templates with approved parameters; and use CloudFormation change sets and an approval workflow
- Use version-controlled AWS CloudFormation templates with approved parameters; and apply CloudFormation Hooks or supported predeployment policy checks
- Use CloudFormation change sets and an approval workflow; and run CloudFormation drift detection on supported stack resources
- Run CloudFormation drift detection on supported stack resources; and apply CloudFormation Hooks or supported predeployment policy checks
Explanation
Correct Answer
B:The implementation has a specific control for each objective: Infrastructure as code expresses resource baselines reproducibly and makes unauthorized differences easier to investigate for “Deploy the same reviewed infrastructure security settings across environments”; Preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation for “Prevent deployment of a CloudFormation stack that violates defined policy requirements”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first check would be covered, since infrastructure as code expresses resource baselines reproducibly and makes unauthorized differences easier to investigate; yet the second choice is associated with “Require an explicit review before changing production infrastructure templates,” for which change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution; no corresponding control satisfies “Prevent deployment of a CloudFormation stack that violates defined policy requirements.”.
C:The first proposed action addresses “Require an explicit review before changing production infrastructure templates”: Change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution; the second addresses “Detect manual changes to a resource after CloudFormation deployment”: Drift detection compares actual supported resource properties with declared template expectations; the combination does not achieve the required “Deploy the same reviewed infrastructure security settings across environments” and “Prevent deployment of a CloudFormation stack that violates defined policy requirements” outcomes in this multi-account infrastructure deployment.
D:While preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation is relevant to “Prevent deployment of a CloudFormation stack that violates defined policy requirements,” the other component targets “Detect manual changes to a resource after CloudFormation deployment,” where drift detection compares actual supported resource properties with declared template expectations; the first acceptance criterion (“Deploy the same reviewed infrastructure security settings across environments”) is not met.
Question 120
A change request in the CloudWatch alerting deployment will be approved only if it delivers both outcomes: Escalate only sustained error rates rather than transient one-minute spikes; Report a custom application's failed-login count as a CloudWatch time series. What should be included?
- Forward structured application events into CloudWatch Logs; and publish a custom metric with consistent namespace and dimensions
- Build a CloudWatch dashboard using EC2 metrics and relevant custom or log-derived metrics; and forward structured application events into CloudWatch Logs
- Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately; and publish a custom metric with consistent namespace and dimensions
- Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately; and build a CloudWatch dashboard using EC2 metrics and relevant custom or log-derived metrics
Explanation
Correct Answer
C:For the first acceptance test, “Escalate only sustained error rates rather than transient one-minute spikes,” alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required; for the second, “Report a custom application's failed-login count as a CloudWatch time series,” custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:The mechanism for “Report a custom application's failed-login count as a CloudWatch time series” is present: Custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically; the additional mechanism relates to “Provide application logs for real-time filtering and alarms”: Log groups and streams collect application messages; metric filters and Logs Insights can then analyze the stored entries; nothing here completes “Escalate only sustained error rates rather than transient one-minute spikes.”.
B:Neither action is targeted at the two acceptance tests: Dashboards display multiple time series for correlation without themselves blocking network requests is about “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard,” and Log groups and streams collect application messages; metric filters and Logs Insights can then analyze the stored entries is about “Provide application logs for real-time filtering and alarms”; the intended “Escalate only sustained error rates rather than transient one-minute spikes” and “Report a custom application's failed-login count as a CloudWatch time series” requirements remain unsatisfied.
D:Alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required supports the “Escalate only sustained error rates rather than transient one-minute spikes” acceptance test; Dashboards display multiple time series for correlation without themselves blocking network requests is pertinent to “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard” instead; the change therefore omits the separate requirement “Report a custom application's failed-login count as a CloudWatch time series.”.