
Ultimate access to all questions.
A global media application leverages Amazon CloudFront for the distribution of static content stored in an Amazon S3 bucket. This application is accessed by users from multiple countries across various AWS Regions. However, some regions are encountering latency issues particularly when there is a cache miss in CloudFront.
Which of the following configuration adjustments would you recommend to reduce latency and enhance user performance in these affected regions?
A
Redirect requests on cache misses to the S3 bucket nearest to the user country. Create a Lambda@Edge function to redirect requests based on the value of the CloudFront-Viewer-Country header. Associate the Lambda@Edge function with the distribution's viewer request event
B
Redirect requests on cache misses to the S3 bucket nearest to the user country. Create a CloudFront function to redirect requests based on the value of the CloudFront-Viewer-Country header. Associate the CloudFront function with the distribution's origin request event
C
Redirect requests on cache misses to the S3 bucket nearest to the user country. Create a Lambda@Edge function to redirect requests based on the value of the CloudFront-Viewer-Country header. Associate the Lambda@Edge function with the distribution's origin request event
D
Redirect requests on cache misses to the S3 bucket nearest to the user country. Create a CloudFront function to redirect requests based on the value of the CloudFront-Viewer-Country header. Associate the CloudFront function with the distribution's viewer request event