Home › Forums › AWS › AWS Certified Solutions Architect Professional › help offload some of the traffic quickly? › Reply To: help offload some of the traffic quickly?
-
Hi alexander.friesen,
Thank you for seeking clarification regarding this question.
The following options both use CloudFront:
“Use an S3 bucket to host all the static files of the website and create a CloudFront web distribution for serving the dynamic files. Set up Origin Shield and launch a CloudFront Function to offload the DNS to AWS to handle CloudFront traffic.” (incorrect)
“Launch a CloudFront web distribution with the URL of the on-premises web application as the origin. Offload the DNS to AWS to handle CloudFront traffic.” (correct answer)
The key difference is that the former uses S3 as the origin of the files, whereas the latter uses the on-premises server as the origin. Please note that we are looking for a solution to implement a ‘hybrid cloud architecture’ in the scenario. Migrating the data to S3 would imply adopting a full cloud architecture. This would violate the condition in the scenario, hence why it’s incorrect. As for the correct answer, the on-premises server is still involved in the architecture and using it as the origin of the CloudFront Distribution, thus meeting the requirement.
Furthermore, the part, “launch a CloudFront Function to offload the DNS to AWS to handle CloudFront Traffic”, is wrong because the CloudFront function is not capable of DNS offloading, which is typically handled by DNS management services like Route 53.
I understand that it’s not clearly explained why using S3 is considered wrong. We’ll make sure to include what we discuss here in the rationale.
Regards,
Neil @ Tutorials Dojo