AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 38

A Network Engineer is designing a new system on AWS that will take advantage of Amazon CloudFront for both content caching and for protecting the underlying origin. There is concern that an external agency might be able to access the IP addresses for the application's origin and then attack the origin despite it being served by CloudFront. Which of the following solutions provides the strongest level of protection to the origin?

Answer options

Correct answer: A

Explanation

Option A is the correct answer because using an IP whitelist in AWS WAF restricts access to the application only to known client IPs, providing a robust layer of security. Options B and C do not completely isolate the origin from external access, as they rely on headers or traffic validation that could potentially be spoofed. Option D, while it provides some level of protection, does not specifically enforce access only to known IPs, which is crucial in this scenario.