Question 440
For a governed multi-account deployment, engineers have been assigned this security outcome: Distribute standardized infrastructure stacks to many AWS accounts and Regions. What implementation best fits?
- Apply CloudFormation Hooks or supported predeployment policy checks
- Use CloudFormation change sets and an approval workflow
- Use version-controlled AWS CloudFormation templates with approved parameters
- Run CloudFormation drift detection on supported stack resources
- Deploy CloudFormation StackSets with appropriate execution permissions
Explanation
Correct Answer
E:StackSets manage stack instances across accounts and Regions from a central deployment model; that AWS behavior meets the requirement to distribute standardized infrastructure stacks to many AWS accounts and Regions, the decisive objective for a governed multi-account deployment.
Incorrect Answers
A:Preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation; this would help with the requirement to prevent deployment of a CloudFormation stack that violates defined policy requirements, leaving the requirement to distribute standardized infrastructure stacks to many AWS accounts and Regions unresolved in a governed multi-account deployment.
B:Change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution; its purpose is the requirement to require an explicit review before changing production infrastructure templates, but the acceptance criterion in a governed multi-account deployment is the requirement to distribute standardized infrastructure stacks to many AWS accounts and Regions.
C:Infrastructure as code expresses resource baselines reproducibly and makes unauthorized differences easier to investigate; this would help with the requirement to deploy the same reviewed infrastructure security settings across environments, leaving the requirement to distribute standardized infrastructure stacks to many AWS accounts and Regions unresolved in a governed multi-account deployment.
D:Drift detection compares actual supported resource properties with declared template expectations; its purpose is the requirement to detect manual changes to a resource after CloudFormation deployment, but the acceptance criterion in a governed multi-account deployment is the requirement to distribute standardized infrastructure stacks to many AWS accounts and Regions.
Question 441
An implementation in the permissions and authorization review must solve two separate problems, not merely strengthen one safeguard: Prevent member account administrators from disabling baseline security controls; Grant temporary support access to one project rather than an entire account. Which change meets the full request?
- Apply an appropriate Organizations SCP deny to member accounts; and define a narrow support role with resource ARNs and bounded session duration
- Apply an appropriate Organizations SCP deny to member accounts; and add required permissions to the assumed role rather than the original user
- Split data-access and IAM-management duties across separate roles; and define a narrow support role with resource ARNs and bounded session duration
- Add required permissions to the assumed role rather than the original user; and split data-access and IAM-management duties across separate roles
Explanation
Correct Answer
A:This pairing handles the first requirement (“Prevent member account administrators from disabling baseline security controls”) because SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions; it handles the second (“Grant temporary support access to one project rather than an entire account”) because resource-scoped role policies and temporary sessions limit both what support staff can touch and how long credentials persist; both acceptance criteria are therefore addressed.
Incorrect Answers
B:One action is correctly chosen for “Prevent member account administrators from disabling baseline security controls”: SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions; the companion action relates to “Explain why an IAM inline policy attached to a user does not affect an assumed role”: After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller; the other requested outcome, “Grant temporary support access to one project rather than an entire account,” remains outstanding.
C:This solves the second problem (“Grant temporary support access to one project rather than an entire account”): Resource-scoped role policies and temporary sessions limit both what support staff can touch and how long credentials persist; however, the first action addresses “A workload should read secrets but never manage the IAM roles that authorize it”: Segregated roles limit privilege escalation paths by preventing the application identity from changing its own authorization perimeter; it does not satisfy “Prevent member account administrators from disabling baseline security controls.”.
D:Both mechanisms have legitimate uses, but for other requirements: After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller supports “Explain why an IAM inline policy attached to a user does not affect an assumed role”; Segregated roles limit privilege escalation paths by preventing the application identity from changing its own authorization perimeter supports “A workload should read secrets but never manage the IAM roles that authorize it”; this does not resolve the stated “Prevent member account administrators from disabling baseline security controls” and “Grant temporary support access to one project rather than an entire account” findings.
Question 442
A security review for a cloud audit log deployment identifies one priority: Record accepted and rejected IP flows on selected VPC network interfaces. Which control is the best choice?
- Configure Route 53 Resolver query logging for the relevant VPCs
- Enable VPC Flow Logs at the required VPC, subnet, or ENI scope
- Enable CloudFront access logging for the distribution
- Enable WAF logging to a supported delivery destination
- Enable Application Load Balancer access logs to a permitted S3 bucket
Explanation
Correct Answer
B:Flow Logs describe traffic metadata and accept/reject disposition, not packet payloads or every application-level transaction; that AWS behavior meets the requirement to record accepted and rejected IP flows on selected VPC network interfaces, the decisive objective for a cloud audit log deployment.
Incorrect Answers
A: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 accepted and rejected IP flows on selected VPC network interfaces for a cloud audit log deployment.
C:Distribution access logs describe viewer requests at the edge; they differ from control-plane change records; the important distinction in a cloud audit log deployment is that this supports the requirement to record CloudFront viewer requests for forensic review instead of the requirement to record accepted and rejected IP flows on selected VPC network interfaces.
D:WAF log records include matched rule and request metadata for supported web requests passing through the associated ACL; its scope is the requirement to record requests allowed or blocked by AWS WAF web ACLs, rather than the requirement to record accepted and rejected IP flows on selected VPC network interfaces for a cloud audit log deployment.
E:ALB access logs report HTTP request processing details, while CloudTrail captures configuration API operations instead; its scope is the requirement to preserve load balancer request traces for application incident analysis, rather than the requirement to record accepted and rejected IP flows on selected VPC network interfaces for a cloud audit log deployment.
Question 443
A proposed solution for the traffic encryption assessment is incomplete unless it addresses both of these checks: Connect a corporate network to AWS using encrypted tunnels; and Serve HTTPS API Gateway custom-domain traffic with managed certificates. Which choice provides the necessary controls?
- Use AWS Site-to-Site VPN with IPsec and resilient tunnel configuration; and use Systems Manager Session Manager with secure endpoints and authorized session roles
- Use AWS Site-to-Site VPN with IPsec and resilient tunnel configuration; and associate an ACM certificate with the supported API Gateway custom domain
- Use Systems Manager Session Manager with secure endpoints and authorized session roles; and add a bucket policy deny conditioned on aws:SecureTransport being false
- Add a bucket policy deny conditioned on aws:SecureTransport being false; and associate an ACM certificate with the supported API Gateway custom domain
Explanation
Correct Answer
B:For the first acceptance test, “Connect a corporate network to AWS using encrypted tunnels,” IPsec provides encryption and authentication for the supported gateway-to-gateway path over the selected underlying connectivity; for the second, “Serve HTTPS API Gateway custom-domain traffic with managed certificates,” the custom domain's TLS certificate enables verified HTTPS client connections; authorizers and resource policies remain separate access controls; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:IPsec provides encryption and authentication for the supported gateway-to-gateway path over the selected underlying connectivity supports the “Connect a corporate network to AWS using encrypted tunnels” acceptance test; Session Manager provides an audited management channel without relying on a publicly reachable SSH service is pertinent to “Avoid opening inbound SSH ports for remote EC2 administration” instead; the change therefore omits the separate requirement “Serve HTTPS API Gateway custom-domain traffic with managed certificates.”.
C:Neither action is targeted at the two acceptance tests: Session Manager provides an audited management channel without relying on a publicly reachable SSH service is about “Avoid opening inbound SSH ports for remote EC2 administration,” and Transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest is about “Require client connections to an S3 bucket to use TLS”; the intended “Connect a corporate network to AWS using encrypted tunnels” and “Serve HTTPS API Gateway custom-domain traffic with managed certificates” requirements remain unsatisfied.
D:The mechanism for “Serve HTTPS API Gateway custom-domain traffic with managed certificates” is present: The custom domain's TLS certificate enables verified HTTPS client connections; authorizers and resource policies remain separate access controls; the additional mechanism relates to “Require client connections to an S3 bucket to use TLS”: Transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest; nothing here completes “Connect a corporate network to AWS using encrypted tunnels.”.
Question 444
A change request in the public application protection review will be approved only if it delivers both outcomes: Prevent viewers from directly fetching private S3 objects behind CloudFront; Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription. What should be included?
- Put a CloudFront distribution in front of the supported origin; and use AWS Shield Standard protections on supported AWS resources
- Enroll eligible resources in AWS Shield Advanced; and put a CloudFront distribution in front of the supported origin
- Configure CloudFront origin access control and restrict the bucket policy; and use AWS Shield Standard protections on supported AWS resources
- Configure CloudFront origin access control and restrict the bucket policy; and enroll eligible resources in AWS Shield Advanced
Explanation
Correct Answer
C:For the first acceptance test, “Prevent viewers from directly fetching private S3 objects behind CloudFront,” origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads; for the second, “Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription,” shield Standard provides built-in network and transport layer DDoS protection for supported services without requiring a WAF rule; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:The mechanism for “Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription” is present: Shield Standard provides built-in network and transport layer DDoS protection for supported services without requiring a WAF rule; the additional mechanism relates to “Distribute incoming web traffic globally while reducing direct exposure of the origin”: CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests; nothing here completes “Prevent viewers from directly fetching private S3 objects behind CloudFront.”.
B:Neither action is targeted at the two acceptance tests: Shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope is about “Provide enhanced DDoS protections and response-team assistance for critical internet services,” and CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests is about “Distribute incoming web traffic globally while reducing direct exposure of the origin”; the intended “Prevent viewers from directly fetching private S3 objects behind CloudFront” and “Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription” requirements remain unsatisfied.
D:Origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads supports the “Prevent viewers from directly fetching private S3 objects behind CloudFront” acceptance test; Shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope is pertinent to “Provide enhanced DDoS protections and response-team assistance for critical internet services” instead; the change therefore omits the separate requirement “Provide baseline Layer 3 and Layer 4 DDoS mitigation for supported AWS resources without an extra security subscription.”.
Question 445
The incident response rehearsal has two control objectives. Requirement one: Recover a known-good workload after an incident while retaining compromised images for evidence. Requirement two: Determine which principal originally assumed a suspicious cross-account role. Which design passes both checks?
- Assign its execution role only the actions and resources needed by the runbook; and inspect the AssumeRole event and session identity fields in CloudTrail
- Route the finding event through EventBridge to an SNS topic; and assign its execution role only the actions and resources needed by the runbook
- Launch replacement capacity from a verified hardened AMI; and inspect the AssumeRole event and session identity fields in CloudTrail
- Launch replacement capacity from a verified hardened AMI; and route the finding event through EventBridge to an SNS topic
Explanation
Correct Answer
C:The first control addresses the check “Recover a known-good workload after an incident while retaining compromised images for evidence”: Rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated; the other addresses “Determine which principal originally assumed a suspicious cross-account role”: CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; these two mechanisms cover the complete incident response rehearsal.
Incorrect Answers
A:CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; this fulfills the second objective (“Determine which principal originally assumed a suspicious cross-account role”); the other action is intended for “Prevent a response Lambda from having blanket administrator privileges”: Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused; it does not meet the requested “Recover a known-good workload after an incident while retaining compromised images for evidence” check.
B:The first action belongs to “Send incident alerts to an on-call distribution group after matching a security finding” because SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; the second belongs to “Prevent a response Lambda from having blanket administrator privileges” because Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused; these are not the required checks, “Recover a known-good workload after an incident while retaining compromised images for evidence” and “Determine which principal originally assumed a suspicious cross-account role.”.
D:Rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated; this is relevant to the first objective (“Recover a known-good workload after an incident while retaining compromised images for evidence”); however, the other action is meant for “Send incident alerts to an on-call distribution group after matching a security finding”: SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; it leaves the required “Determine which principal originally assumed a suspicious cross-account role” behavior unimplemented.
Question 446
A review board evaluating the cloud security governance assessment rejects fixes that cover just one requirement. The requirements are: Reduce the attack surface of abandoned access keys; and Evaluate whether a backup design satisfies recovery and protection requirements. Which configuration addresses both?
- Use IAM Access Analyzer findings with S3 Block Public Access guardrails; and compare Cost Explorer usage trends with CloudTrail instance-launch events
- Compare Cost Explorer usage trends with CloudTrail instance-launch events; and review AWS Backup coverage and vault protection against recovery objectives
- Use IAM credential reports and last-used evidence to plan safe deactivation; and use IAM Access Analyzer findings with S3 Block Public Access guardrails
- Use IAM credential reports and last-used evidence to plan safe deactivation; and review AWS Backup coverage and vault protection against recovery objectives
Explanation
Correct Answer
D:For “Reduce the attack surface of abandoned access keys,” the governing behavior is: Credential hygiene identifies stale long-term access paths that can remain exploitable even when related compute is unused; for the separate check “Evaluate whether a backup design satisfies recovery and protection requirements,” it is: Recovery readiness requires verified backup selection, retention and restoration controls rather than relying solely on low storage cost; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:This combination targets different outcomes: External-access analysis identifies exposure paths and Block Public Access can constrain accidental public configurations helps with “Detect an unexpectedly public S3 resource in a high-risk environment”; Cost Explorer reveals consumption patterns and CloudTrail helps attribute provisioning events to caller identities helps with “Identify an unexplained increase in EC2 runtime following unusual API activity”; neither implements the required “Reduce the attack surface of abandoned access keys” and “Evaluate whether a backup design satisfies recovery and protection requirements” outcomes together.
B:Only the second requirement is covered: Recovery readiness requires verified backup selection, retention and restoration controls rather than relying solely on low storage cost supports “Evaluate whether a backup design satisfies recovery and protection requirements”; by contrast, Cost Explorer reveals consumption patterns and CloudTrail helps attribute provisioning events to caller identities concerns “Identify an unexplained increase in EC2 runtime following unusual API activity,” leaving “Reduce the attack surface of abandoned access keys” unresolved.
C:The first part is appropriate for “Reduce the attack surface of abandoned access keys” because credential hygiene identifies stale long-term access paths that can remain exploitable even when related compute is unused; the second part addresses a different issue (“Detect an unexpectedly public S3 resource in a high-risk environment”) because external-access analysis identifies exposure paths and Block Public Access can constrain accidental public configurations; it does not fulfill the “Evaluate whether a backup design satisfies recovery and protection requirements” test.
Question 447
Two security control owners share a credential and federation review. One is responsible for this outcome: A principal's temporary role credentials expire during a long-running process. The other needs: An EC2 SDK cannot retrieve credentials even though an IAM policy grants access. Which implementation covers both?
- Adjust role session duration within allowed constraints and refresh credentials; and verify the instance profile attachment and IMDS availability
- Adjust role session duration within allowed constraints and refresh credentials; and inspect the role trust policy, provider identifier, and assertion conditions
- Correct the identity provider client ID and role trust audience condition; and verify the instance profile attachment and IMDS availability
- Inspect the role trust policy, provider identifier, and assertion conditions; and correct the identity provider client ID and role trust audience condition
Explanation
Correct Answer
A:Two different security outcomes are required in this credential and federation review; STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys supports “A principal's temporary role credentials expire during a long-running process,” while Role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel supports “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access”; neither check is assumed to follow from the other.
Incorrect Answers
B:This option is only partly effective: STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys supports “A principal's temporary role credentials expire during a long-running process”; but Authentication to the IdP does not automatically authorize STS role assumption; the trust must match the federation claims supports “A federated role fails to assume despite the user being authenticated with a corporate identity,” not the required “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access” outcome.
C:The option has a useful control for “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access” because role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel; its other control applies to “An OIDC role assumption is denied because the token audience does not match” because OIDC federation relies on token claims satisfying the trust policy, including the expected audience; it misses the first requirement, “A principal's temporary role credentials expire during a long-running process.”.
D:Authentication to the IdP does not automatically authorize STS role assumption; the trust must match the federation claims is pertinent to “A federated role fails to assume despite the user being authenticated with a corporate identity,” and OIDC federation relies on token claims satisfying the trust policy, including the expected audience is pertinent to “An OIDC role assumption is denied because the token audience does not match”; the requested controls for “A principal's temporary role credentials expire during a long-running process” and “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access” are absent.
Question 448
During a metrics and detector troubleshooting session, the security team has this work item: A security dashboard seems empty because the wrong Region is selected. Which AWS action is the most direct implementation?
- Query the detector and log group in the Region where they are configured
- Align the alarm's dimensions with the application's published dimensions
- Check account association, service enablement, and aggregation Region
- Fix the application's log delivery permissions and stream configuration
Explanation
Correct Answer
A:Many AWS security and monitoring resources are Regional, so a dashboard in another Region can appear devoid of expected entries; that AWS behavior meets the reported condition: a security dashboard seems empty because the wrong Region is selected, the decisive objective for a metrics and detector troubleshooting session.
Incorrect Answers
B:CloudWatch metric identity includes namespace, name, and dimension set; a mismatch creates a different time series; its scope is the reported condition: a custom metric alarm ignores emitted points because their dimensions differ, rather than the reported condition: a security dashboard seems empty because the wrong Region is selected for a metrics and detector troubleshooting session.
C:Finding availability depends on participating accounts and enabled integrations; a central console alone does not create missing findings; this addresses the reported condition: Security Hub central reporting omits member account findings, not the reported condition: a security dashboard seems empty because the wrong Region is selected, which is needed in a metrics and detector troubleshooting session.
D:Metric filters only match records that reach the selected log group; a missing ingestion path defeats downstream alarms; its purpose is the reported condition: a CloudWatch metric filter is silent because the expected log group receives no events, but the acceptance criterion in a metrics and detector troubleshooting session is the reported condition: a security dashboard seems empty because the wrong Region is selected.
Question 449
Before closing the storage encryption control review, a team must demonstrate the following: Encrypt new EC2 EBS volumes by default in an account and Region; plus Encrypt an RDS database's storage at creation. Which paired change would complete the work?
- Enable EBS encryption by default with the approved KMS key; and enable RDS storage encryption and select a suitable KMS key
- Enable EBS encryption by default with the approved KMS key; and configure SQS server-side encryption with a suitable KMS key
- Snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume; and enable RDS storage encryption and select a suitable KMS key
- Configure SQS server-side encryption with a suitable KMS key; and snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume
Explanation
Correct Answer
A:The implementation has a specific control for each objective: EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path for “Encrypt new EC2 EBS volumes by default in an account and Region”; RDS at-rest encryption protects supported storage components and must be planned at creation or through an appropriate snapshot migration for “Encrypt an RDS database's storage at creation”; the combined option satisfies the two-part request.
Incorrect Answers
B:The first check would be covered, since EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path; yet the second choice is associated with “Encrypt application messages stored in an SQS queue,” for which queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies; no corresponding control satisfies “Encrypt an RDS database's storage at creation.”.
C:While RDS at-rest encryption protects supported storage components and must be planned at creation or through an appropriate snapshot migration is relevant to “Encrypt an RDS database's storage at creation,” the other component targets “Migrate an unencrypted EBS volume to encrypted storage,” where EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; the first acceptance criterion (“Encrypt new EC2 EBS volumes by default in an account and Region”) is not met.
D:The first proposed action addresses “Encrypt application messages stored in an SQS queue”: Queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies; the second addresses “Migrate an unencrypted EBS volume to encrypted storage”: EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; the combination does not achieve the required “Encrypt new EC2 EBS volumes by default in an account and Region” and “Encrypt an RDS database's storage at creation” outcomes in this storage encryption control review.
Question 450
During a VPC endpoint access review, the security team has this work item: Connect many VPCs through centralized routing without individual full meshes. Which AWS action is the most direct implementation?
- Configure AWS Site-to-Site VPN with suitable customer gateway settings
- Attach VPCs to a Transit Gateway with controlled route tables
- Provision Direct Connect and add VPN or other encryption when confidentiality is required
- Create an interface VPC endpoint using AWS PrivateLink
Explanation
Correct Answer
B:Transit Gateway centralizes network transit and segmentation through attachments and route-table associations and propagations; it addresses the requirement to connect many VPCs through centralized routing without individual full meshes at the right security boundary during a VPC endpoint access review.
Incorrect Answers
A:Site-to-Site VPN encrypts supported network traffic between gateways using IPsec tunnels over the selected transport; its scope is the requirement to connect on-premises and AWS over an IPsec tunnel across the internet, rather than the requirement to connect many VPCs through centralized routing without individual full meshes for a VPC endpoint access review.
C:Direct Connect provides private connectivity capacity but does not by itself encrypt all customer traffic in transit; this would help with the requirement to use dedicated network connectivity without claiming it is encrypted by default, leaving the requirement to connect many VPCs through centralized routing without individual full meshes unresolved in a VPC endpoint access review.
D:An interface endpoint creates endpoint network interfaces and supports private connections to compatible services; the important distinction in a VPC endpoint access review is that this supports the requirement to access a supported AWS service privately through private VPC IP addresses instead of the requirement to connect many VPCs through centralized routing without individual full meshes.