Question 310
An Internet-facing API suffers a volumetric DDoS attack that exhausts upstream resources. Which AWS service supplies managed DDoS protection at the edge?
- Evaluate AWS Shield protection, including Shield Advanced for expanded capabilities where justified
- Use an ALB HTTPS listener with restricted backend security-group access
- Configure supported interface VPC endpoint policies together with IAM and resource policies
- Manage eligible protections with AWS Firewall Manager under AWS Organizations
Explanation
Correct Answer
A:Shield provides DDoS-focused protections for supported AWS resources, distinct from custom HTTP request conditions in WAF.
Incorrect Answers
B:The ALB provides public TLS ingress and forwards only permitted traffic to private targets whose security groups restrict caller sources; this belongs to controlled public TLS entry with nonpublic backend access, while the problem is network and transport DDoS defense for public endpoints.
C:Endpoint policy permissions are an additional authorization boundary for traffic using the endpoint, not a substitute for identity permissions; this changes authorization filtering on private AWS service endpoints, not the necessary network and transport DDoS defense for public endpoints.
D:In the centralized multi-account network security policy rollout workflow, firewall Manager coordinates supported WAF, Shield, network firewall, and security-group policies organization-wide; the current case needs network and transport DDoS defense for public endpoints.
Question 311
A multitenant public site must throttle HTTP requests per client IP when bursts exceed a configured rate. Which security mechanism fits?
- Configure an AWS WAF rate-based rule with the appropriate aggregation key
- Configure an AWS WAF geo-match rule on the supported web ACL
- Associate an AWS WAF web ACL with the Application Load Balancer
- Associate an AWS WAF web ACL with the CloudFront distribution at the supported global scope
Explanation
Correct Answer
A:WAF rate-based rules count recent matching web requests and can block or challenge clients that exceed configured thresholds.
Incorrect Answers
B:WAF inspects inferred geographic source attributes on HTTP requests and can block requests that match the location policy; this belongs to geography-based web request enforcement, while the problem is per-source HTTP request-rate enforcement.
C:WAF evaluates application-layer request properties and managed or custom rules to block malicious HTTP patterns before forwarding; this changes application-layer web request filtering, not the necessary per-source HTTP request-rate enforcement.
D:In the edge-level web filtering for a CDN workflow, cloudFront WAF integration evaluates viewer HTTP requests at the edge, before they reach the distribution's origin; the current case needs per-source HTTP request-rate enforcement.
Question 312
A service should accept only HTTPS from browsers, while backend instances must not expose TCP 80 publicly. Which combination works?
- Permit endpoint ENI ingress on the service port from only the approved workload sources
- Restrict ingress with a security-group rule referencing the approved calling tier
- Put the portal behind an internal ALB in private address space reachable through VPN or Direct Connect
- Use an ALB HTTPS listener with restricted backend security-group access
Explanation
Correct Answer
D:The ALB provides public TLS ingress and forwards only permitted traffic to private targets whose security groups restrict caller sources.
Incorrect Answers
A:Interface endpoints use ENIs and security groups; traffic needs network admission at those endpoint interfaces; that addresses private endpoint interface security-group authorization, rather than controlled public TLS entry with nonpublic backend access.
B:Stateful security groups can match source security-group identity rather than broadly allowing an entire VPC or unpredictable load-balancer addresses; this belongs to stateful source-restricted access from load balancer to target, while the problem is controlled public TLS entry with nonpublic backend access.
C:Internal ALBs serve privately routed clients while avoiding an Internet-facing listener that public users can connect to; this changes internal-only load balancing across hybrid networks, not the necessary controlled public TLS entry with nonpublic backend access.
Question 313
An attacker tries to reach a private EC2 instance using its address from the public Internet. The subnet has no route through an internet gateway. What is the primary topology protection?
- Put the portal behind an internal ALB in private address space reachable through VPN or Direct Connect
- Route egress through an inspection or egress VPC with controlled NAT, firewall, and routing
- Use a NAT gateway in a routed egress subnet with proper private subnet routes
- Keep the instance in a private subnet without an Internet-routable ingress path
Explanation
Correct Answer
D:Security controls start with routing and address exposure: without direct public ingress, Internet hosts cannot address the private interface directly.
Incorrect Answers
A:Internal ALBs serve privately routed clients while avoiding an Internet-facing listener that public users can connect to; that addresses internal-only load balancing across hybrid networks, rather than no direct Internet ingress to private compute.
B:Centralized egress controls outbound paths at routing and firewall layers while workload subnets remain unexposed to an Internet gateway; this belongs to inspected outbound connectivity from private workloads, while the problem is no direct Internet ingress to private compute.
C:NAT gateway enables outbound-initiated IPv4 communication from private addresses without exposing those addresses as inbound endpoints; this changes egress without public IP assignment on workloads, not the necessary no direct Internet ingress to private compute.
Question 314
A developer mistakenly opens a security-group rule to `0.0.0.0/0` for SSH in production. What preventive governance can detect this misconfiguration?
- Permit endpoint ENI ingress on the service port from only the approved workload sources
- Correlate AWS Config configuration history with CloudTrail API modification events
- Restrict ingress with a security-group rule referencing the approved calling tier
- Use AWS Config rules or Firewall Manager security-group policies for broad ingress detection
Explanation
Correct Answer
D:Managed compliance checks can evaluate security-group exposure continuously, revealing deviations after or during changes.
Incorrect Answers
A:Interface endpoints use ENIs and security groups; traffic needs network admission at those endpoint interfaces; that addresses private endpoint interface security-group authorization, rather than continual detection of dangerously permissive ingress.
B:Config shows posture over time while CloudTrail records the principals and APIs that created permissive rules; this belongs to detecting and attributing prolonged network policy drift, while the problem is continual detection of dangerously permissive ingress.
C:Stateful security groups can match source security-group identity rather than broadly allowing an entire VPC or unpredictable load-balancer addresses; this changes stateful source-restricted access from load balancer to target, not the necessary continual detection of dangerously permissive ingress.
Question 315
A central network team needs to restrict which VPCs may communicate even after their attachments join one Transit Gateway. Which control is fundamental?
- Apply Firewall Manager security-group policies or organization-wide compliance rules
- Apply an appropriately limited S3 gateway endpoint policy and bucket resource controls
- Enable appliance mode on the transit attachment used by the centralized inspection VPC
- Segment attachments using separate TGW route-table associations and propagation restrictions
- Rework route tables to carry all protected paths through the firewall endpoints
Explanation
Correct Answer
D:Transit routing tables create forwarding domains; a shared attachment hub need not imply universal VPC reachability.
Incorrect Answers
A:Central policy scans and enforces supported security-group posture at scale rather than relying on individual account owners to self-audit; that addresses centrally governed exposure of sensitive database ports, rather than routing-based isolation among tenant VPCs.
B:Endpoint policies constrain actions and resources used through an endpoint; complementary bucket policies can govern resource-side access; this belongs to private endpoint access constrained to authorized storage resources, while the problem is routing-based isolation among tenant VPCs.
C:Appliance mode preserves flow symmetry through a stateful inspection VPC attachment so connection tracking can evaluate both directions; this changes stateful firewall flow symmetry across AZs, not the necessary routing-based isolation among tenant VPCs.
E:This produces enforced packet path through inspection resources: Firewall rules protect only traffic traversing their enforcement points; route bypass makes those policies ineffective; the stem instead tests routing-based isolation among tenant VPCs.
Question 316
A corporate office should reach an internal portal through private hybrid connectivity, but anonymous Internet users must not discover a publicly accessible listener. What endpoint architecture is preferred?
- Use an ALB HTTPS listener with restricted backend security-group access
- Put the portal behind an internal ALB in private address space reachable through VPN or Direct Connect
- Keep the instance in a private subnet without an Internet-routable ingress path
- Publish the selected service through PrivateLink with approved endpoint consumers
- Use a NAT gateway in a routed egress subnet with proper private subnet routes
- Apply an appropriately limited S3 gateway endpoint policy and bucket resource controls
Explanation
Correct Answer
B:Internal ALBs serve privately routed clients while avoiding an Internet-facing listener that public users can connect to.
Incorrect Answers
A:The ALB provides public TLS ingress and forwards only permitted traffic to private targets whose security groups restrict caller sources; that addresses controlled public TLS entry with nonpublic backend access, rather than internal-only load balancing across hybrid networks.
C:Security controls start with routing and address exposure: without direct public ingress, Internet hosts cannot address the private interface directly; this changes no direct Internet ingress to private compute, not the necessary internal-only load balancing across hybrid networks.
D:In the least-exposure private application connectivity workflow, privateLink limits network exposure to a specific service endpoint without requiring full routed adjacency between customer and provider address ranges; the current case needs internal-only load balancing across hybrid networks.
E:This produces egress without public IP assignment on workloads: NAT gateway enables outbound-initiated IPv4 communication from private addresses without exposing those addresses as inbound endpoints; the stem instead tests internal-only load balancing across hybrid networks.
F:For private endpoint access constrained to authorized storage resources, endpoint policies constrain actions and resources used through an endpoint; complementary bucket policies can govern resource-side access; however, the present requirement is internal-only load balancing across hybrid networks.
Question 317
A production VPC needs to permit S3 access only to specified organization buckets while avoiding Internet egress. Which control can scope the endpoint?
- Apply an appropriately limited S3 gateway endpoint policy and bucket resource controls
- Configure supported interface VPC endpoint policies together with IAM and resource policies
- Add a bucket policy condition requiring access through the approved VPC endpoint, with necessary operational exceptions
- Put the portal behind an internal ALB in private address space reachable through VPN or Direct Connect
Explanation
Correct Answer
A:Endpoint policies constrain actions and resources used through an endpoint; complementary bucket policies can govern resource-side access.
Incorrect Answers
B:Endpoint policy permissions are an additional authorization boundary for traffic using the endpoint, not a substitute for identity permissions; this belongs to authorization filtering on private AWS service endpoints, while the problem is private endpoint access constrained to authorized storage resources.
C:Resource policies can check the endpoint context of S3 requests and reject those arriving from disallowed network paths; this changes resource-side enforcement of private endpoint origin, not the necessary private endpoint access constrained to authorized storage resources.
D:In the internal-only load balancing across hybrid networks workflow, internal ALBs serve privately routed clients while avoiding an Internet-facing listener that public users can connect to; the current case needs private endpoint access constrained to authorized storage resources.
Question 318
The network team must prevent exfiltration through interface endpoints to an AWS API except for authorized resources. What access layer is relevant?
- Permit endpoint ENI ingress on the service port from only the approved workload sources
- Configure supported interface VPC endpoint policies together with IAM and resource policies
- Consume the vendor API through an authorized PrivateLink interface endpoint
- Apply an appropriately limited S3 gateway endpoint policy and bucket resource controls
Explanation
Correct Answer
B:Endpoint policy permissions are an additional authorization boundary for traffic using the endpoint, not a substitute for identity permissions.
Incorrect Answers
A:Interface endpoints use ENIs and security groups; traffic needs network admission at those endpoint interfaces; that addresses private endpoint interface security-group authorization, rather than authorization filtering on private AWS service endpoints.
C:Consumer endpoints expose a local private interface to a selected service and do not establish general-purpose reciprocal VPC routes; this changes narrowly scoped private vendor-service access, not the necessary authorization filtering on private AWS service endpoints.
D:In the private endpoint access constrained to authorized storage resources workflow, endpoint policies constrain actions and resources used through an endpoint; complementary bucket policies can govern resource-side access; the current case needs authorization filtering on private AWS service endpoints.
Question 319
A security architect wants users in multiple accounts to consume a shared service without learning internal server CIDRs. Which network exposure pattern fits?
- Consume the vendor API through an authorized PrivateLink interface endpoint
- Put the portal behind an internal ALB in private address space reachable through VPN or Direct Connect
- Publish the selected service through PrivateLink with approved endpoint consumers
- Manage eligible protections with AWS Firewall Manager under AWS Organizations
Explanation
Correct Answer
C:PrivateLink limits network exposure to a specific service endpoint without requiring full routed adjacency between customer and provider address ranges.
Incorrect Answers
A:Consumer endpoints expose a local private interface to a selected service and do not establish general-purpose reciprocal VPC routes; that addresses narrowly scoped private vendor-service access, rather than least-exposure private application connectivity.
B:Internal ALBs serve privately routed clients while avoiding an Internet-facing listener that public users can connect to; this belongs to internal-only load balancing across hybrid networks, while the problem is least-exposure private application connectivity.
D:In the centralized multi-account network security policy rollout workflow, firewall Manager coordinates supported WAF, Shield, network firewall, and security-group policies organization-wide; the current case needs least-exposure private application connectivity.
Question 320
A company needs explicit packet deny rules for a known bad IPv4 range across multiple subnets. Which enforcement behavior matters?
- Review both inbound and outbound allow rules on the affected ENIs
- Apply Route 53 Resolver DNS Firewall domain rules to relevant VPCs
- Configure an AWS WAF geo-match rule on the supported web ACL
- Use stateless NACL deny rules in the applicable subnet associations
Explanation
Correct Answer
D:The ordered NACL rule set evaluates every matching packet direction and can block identified sources without instance-by-instance rule changes.
Incorrect Answers
A:Security groups filter both traffic directions, and overly broad outbound permissions can undermine restrictive inbound application topology; that addresses bidirectional ENI-level traffic-policy assessment, rather than explicit subnet-level denial of hostile CIDR traffic.
B:DNS Firewall evaluates resolver queries against domain rule groups and can block specified malicious names before resolution; this belongs to domain-based protection of VPC DNS resolution, while the problem is explicit subnet-level denial of hostile CIDR traffic.
C:WAF inspects inferred geographic source attributes on HTTP requests and can block requests that match the location policy; this changes geography-based web request enforcement, not the necessary explicit subnet-level denial of hostile CIDR traffic.