Amazon AWS Certified Solutions Architect - Associate SAA-C03 Practice Test 58
Question 570
A static content service needs geographically distributed caching to reduce origin fetches. Which edge service fits?
- Narrow CloudFront cache-key cookies and headers to those affecting responses.
- Use Amazon CloudFront with appropriate cache policies.
- Attach AWS WAF to the CloudFront distribution.
- Invalidate the affected CloudFront cache paths or use versioned asset URLs.
Explanation
Correct Answer
B:CloudFront caches content near viewers and reduces repeat origin requests. Measure cache hit ratio and origin load.
Incorrect Answers
A:Unnecessary cache-key variation fragments cached content and increases origin requests. Use Amazon CloudFront with appropriate cache policies. Measure cache hit ratio and origin load.
C:WAF inspects supported web requests at the CDN edge for defined rules. Use Amazon CloudFront with appropriate cache policies. Measure cache hit ratio and origin load.
D:Edge caching respects TTL until expiration or invalidation. Use Amazon CloudFront with appropriate cache policies. Measure cache hit ratio and origin load.
Question 571
A service has stateful TCP sessions and requires fast regional endpoint failover without DNS cache delays. Which global service helps?
- Use AWS Global Accelerator with supported UDP endpoints.
- Use Global Accelerator with health-checked regional endpoints.
- Use Global Accelerator for supported non-HTTP TCP endpoints.
- Serve static assets from S3 through CloudFront while retaining ALB for dynamic endpoints.
Explanation
Correct Answer
B:Static anycast accelerator addresses can route new traffic to healthy endpoints. Fail a regional endpoint and measure client recovery.
Incorrect Answers
A:Global Accelerator improves traffic routing using the AWS global network for TCP/UDP services. Use Global Accelerator with health-checked regional endpoints. Fail a regional endpoint and measure client recovery.
C:CloudFront primarily accelerates HTTP object delivery whereas Accelerator routes TCP/UDP. Use Global Accelerator with health-checked regional endpoints. Fail a regional endpoint and measure client recovery.
D:Edge object caching reduces geographic network latency for cacheable files. Use Global Accelerator with health-checked regional endpoints. Fail a regional endpoint and measure client recovery.
Question 572
A CloudFront distribution has poor cache hit ratio because it forwards unneeded cookies in the cache key. What should be tuned?
- Invalidate the affected CloudFront cache paths or use versioned asset URLs.
- Narrow CloudFront cache-key cookies and headers to those affecting responses.
- Use Amazon CloudFront with appropriate cache policies.
- Use AWS Global Accelerator with supported UDP endpoints.
Explanation
Correct Answer
B:Unnecessary cache-key variation fragments cached content and increases origin requests. Compare cache hit rate after configuration change.
Incorrect Answers
A:Edge caching respects TTL until expiration or invalidation. Narrow CloudFront cache-key cookies and headers to those affecting responses. Compare cache hit rate after configuration change.
C:CloudFront caches content near viewers and reduces repeat origin requests. Narrow CloudFront cache-key cookies and headers to those affecting responses. Compare cache hit rate after configuration change.
D:Global Accelerator improves traffic routing using the AWS global network for TCP/UDP services. Unnecessary cache-key variation fragments cached content and increases origin requests.
Question 573
An application serves dynamic TCP protocols rather than HTTP and engineers choose CloudFront to accelerate connections. What service is more suitable?
- Use Global Accelerator for supported non-HTTP TCP endpoints.
- Use AWS Global Accelerator with supported UDP endpoints.
- Serve static assets from S3 through CloudFront while retaining ALB for dynamic endpoints.
- Use Amazon CloudFront with appropriate cache policies.
Explanation
Correct Answer
A:CloudFront primarily accelerates HTTP object delivery whereas Accelerator routes TCP/UDP. Test the actual protocol and endpoint health.
Incorrect Answers
B:Global Accelerator improves traffic routing using the AWS global network for TCP/UDP services. Use Global Accelerator for supported non-HTTP TCP endpoints. Test the actual protocol and endpoint health.
C:Edge object caching reduces geographic network latency for cacheable files. Use Global Accelerator for supported non-HTTP TCP endpoints. Test the actual protocol and endpoint health.
D:CloudFront caches content near viewers and reduces repeat origin requests. CloudFront primarily accelerates HTTP object delivery whereas Accelerator routes TCP/UDP.
Question 574
A company wants edge protection against HTTP-layer malicious requests in its cached website. What AWS control should be associated with CloudFront?
- Attach AWS WAF to the CloudFront distribution.
- Use AWS Global Accelerator with supported UDP endpoints.
- Invalidate the affected CloudFront cache paths or use versioned asset URLs.
- Use Amazon CloudFront with appropriate cache policies.
Explanation
Correct Answer
A:WAF inspects supported web requests at the CDN edge for defined rules. Send a safe malicious-pattern test request.
Incorrect Answers
B:Global Accelerator improves traffic routing using the AWS global network for TCP/UDP services. Attach AWS WAF to the CloudFront distribution. Send a safe malicious-pattern test request.
C:Edge caching respects TTL until expiration or invalidation. Attach AWS WAF to the CloudFront distribution. Send a safe malicious-pattern test request.
D:CloudFront caches content near viewers and reduces repeat origin requests. Attach AWS WAF to the CloudFront distribution. Send a safe malicious-pattern test request.
Question 575
A static API response must refresh globally after a product update, but CloudFront still serves the previous version. What control helps?
- Use Amazon CloudFront with appropriate cache policies.
- Attach AWS WAF to the CloudFront distribution.
- Invalidate the affected CloudFront cache paths or use versioned asset URLs.
- Serve static assets from S3 through CloudFront while retaining ALB for dynamic endpoints.
Explanation
Correct Answer
C:Edge caching respects TTL until expiration or invalidation. Request the invalidated object from multiple locations.
Incorrect Answers
A:CloudFront caches content near viewers and reduces repeat origin requests. Invalidate the affected CloudFront cache paths or use versioned asset URLs. Request the invalidated object from multiple locations.
B:WAF inspects supported web requests at the CDN edge for defined rules. Invalidate the affected CloudFront cache paths or use versioned asset URLs. Request the invalidated object from multiple locations.
D:Edge object caching reduces geographic network latency for cacheable files. Invalidate the affected CloudFront cache paths or use versioned asset URLs. Request the invalidated object from multiple locations.
Question 576
A global user base experiences high round-trip times to one Region even though its site is served by an ALB. Which architecture helps for static assets?
- Invalidate the affected CloudFront cache paths or use versioned asset URLs.
- Serve static assets from S3 through CloudFront while retaining ALB for dynamic endpoints.
- Use Amazon CloudFront with appropriate cache policies.
- Use Global Accelerator for supported non-HTTP TCP endpoints.
Explanation
Correct Answer
B:Edge object caching reduces geographic network latency for cacheable files. Compare asset loading time by geography.
Incorrect Answers
A:Edge caching respects TTL until expiration or invalidation. Serve static assets from S3 through CloudFront while retaining ALB for dynamic endpoints. Compare asset loading time by geography.
C:CloudFront caches content near viewers and reduces repeat origin requests. Serve static assets from S3 through CloudFront while retaining ALB for dynamic endpoints. Compare asset loading time by geography.
D:CloudFront primarily accelerates HTTP object delivery whereas Accelerator routes TCP/UDP. Serve static assets from S3 through CloudFront while retaining ALB for dynamic endpoints. Compare asset loading time by geography.
Question 577
An internet-facing HTTP service must route requests to distinct microservices based on host/path, while security wants managed inspection of common web exploits before requests reach targets. Which TWO managed edge controls fit? (Select TWO.)
- Allow every client request and rely on ELB access logs alone to prevent web exploits.
- Enable a Route 53 TXT record to block SQL injection request bodies.
- Use a TCP-only Network Load Balancer listener and assume it can evaluate HTTP path expressions.
- Associate an AWS WAF web ACL with the supported ALB resource and configure relevant managed and custom rules.
- Use an Application Load Balancer with host- and path-based listener rules and appropriate target groups.
Explanation
Correct Answers
D:AWS WAF examines HTTP(S) requests for eligible malicious patterns before they reach the application targets.
E:An ALB provides HTTP/HTTPS Layer 7 routing to the required backend services.
Incorrect Answers
A:Logging supports diagnosis but does not enforce web-request screening; a WAF rule must actually inspect and block matching requests.
B:DNS TXT records cannot inspect or block HTTP request payloads reaching an application.
C:NLB operates at transport layer and does not implement ALB-style path-based listener routing.
Question 578
A trading application carries raw TCP and needs static addresses for partner firewall allowlisting. Which load balancer fits?
- Use Gateway Load Balancer with the supported GENEVE appliance interface.
- Use an Application Load Balancer with Layer 7 routing rules.
- Use a Network Load Balancer with static IP support.
- Use Network Load Balancer with a UDP listener and suitable targets.
Explanation
Correct Answer
C:NLB operates at Layer 4 and supports fixed IP endpoints in eligible setups. Inspect advertised IPs and TCP latency.
Incorrect Answers
A:Gateway Load Balancer distributes traffic to third-party network virtual appliances. Use a Network Load Balancer with static IP support. Inspect advertised IPs and TCP latency.
B:ALB matches HTTP host/path conditions to target groups. Use a Network Load Balancer with static IP support. Inspect advertised IPs and TCP latency.
D:NLB supports UDP traffic and network-level load balancing. Use a Network Load Balancer with static IP support. Inspect advertised IPs and TCP latency.
Question 579
A network security vendor wants transparent insertion of fleet-based inspection appliances. Which AWS service is designed for that?
- Use Network Load Balancer with a UDP listener and suitable targets.
- Use Gateway Load Balancer with the supported GENEVE appliance interface.
- Route both directions through the Gateway Load Balancer insertion path with supported symmetry.
- Use a Network Load Balancer with static IP support.
Explanation
Correct Answer
B:Gateway Load Balancer distributes traffic to third-party network virtual appliances. Trace symmetric request and return flows through appliances.
Incorrect Answers
A:NLB supports UDP traffic and network-level load balancing. Use Gateway Load Balancer with the supported GENEVE appliance interface. Trace symmetric request and return flows through appliances.
C:Stateful inspection requires flow consistency and correct route propagation. Use Gateway Load Balancer with the supported GENEVE appliance interface. Trace symmetric request and return flows through appliances.
D:NLB operates at Layer 4 and supports fixed IP endpoints in eligible setups. Use Gateway Load Balancer with the supported GENEVE appliance interface. Trace symmetric request and return flows through appliances.
Question 580
A web service wants ALB-managed OIDC login before requests reach its EC2 backend. Which feature is appropriate?
- Inspect listener rules, target registration and target-group health status.
- Use Network Load Balancer with a UDP listener and suitable targets.
- Use an ALB authenticate-oidc listener action before forwarding.
- Use an Application Load Balancer with Layer 7 routing rules.
Explanation
Correct Answer
C:Application Load Balancer can handle supported web authentication flows. Test redirect and token handling.
Incorrect Answers
A:ALB forwarding depends on matched listener action and healthy eligible targets. Use an ALB authenticate-oidc listener action before forwarding. Test redirect and token handling.
B:NLB supports UDP traffic and network-level load balancing. Use an ALB authenticate-oidc listener action before forwarding. Test redirect and token handling.
D:ALB matches HTTP host/path conditions to target groups. Use an ALB authenticate-oidc listener action before forwarding. Test redirect and token handling.