exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 299 discussion

A company serves a multilingual website from a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). This architecture is currently running in the us-west-1 Region but is exhibiting high request latency for users located in other parts of the world.
The website needs to serve requests quickly and efficiently regardless of a user's location. However, the company does not want to recreate the existing architecture across multiple Regions.
How should a solutions architect accomplish this?

  • A. Replace the existing architecture with a website served from an Amazon S3 bucket. Configure an Amazon CloudFront distribution with the S3 bucket as the origin.
  • B. Configure an Amazon CloudFront distribution with the ALB as the origin. Set the cache behavior settings to only cache based on the Accept-Language request header.
  • C. Set up Amazon API Gateway with the ALB as an integration. Configure API Gateway to use an HTTP integration type. Set up an API Gateway stage to enable the API cache.
  • D. Launch an EC2 instance in each additional Region and configure NGINX to act as a cache server for that Region. Put all the instances plus the ALB behind an Amazon Route 53 record set with a geolocation routing policy.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DrCloud
Highly Voted 3 years, 2 months ago
B https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html Configuring caching based on the language of the viewer: If you want CloudFront to cache different versions of your objects based on the language specified in the request, configure CloudFront to forward the Accept-Language header to your origin.
upvoted 41 times
AA11
3 years, 2 months ago
Also we do not know if the website has dynamic content or not. Putting it in S3 means that we have assumed that the website is static.
upvoted 13 times
...
...
CountryGent
Highly Voted 3 years, 2 months ago
B for sure. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html
upvoted 10 times
...
StacyY
Most Recent 1 year, 5 months ago
The answer shall be B, there never mentioned S3, so A is not.
upvoted 1 times
...
welcomeYM
2 years, 4 months ago
Selected Answer: B
BBBBBBB
upvoted 1 times
...
Action
2 years, 5 months ago
Thank you guys !
upvoted 1 times
bora4motion
2 years, 5 months ago
did you pass the exam?
upvoted 1 times
...
...
gargaditya
3 years, 1 month ago
B. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-language: "If you want CloudFront to cache different versions of your objects based on the language specified in the request, configure CloudFront to forward the Accept-Language header to your origin." A is out because they did not say its a Static website. D is out because of the keyword 'does not want to duplicate the present infrastructure across numerous regions'
upvoted 2 times
...
jkwek
3 years, 1 month ago
Answer is B. Refer url which has an example diagram similar to question setup: https://aws.amazon.com/blogs/security/how-to-enhance-amazon-cloudfront-origin-security-with-aws-waf-and-aws-secrets-manager/
upvoted 4 times
...
Gupshup
3 years, 1 month ago
Answer: B world wide users -> CF multi-language -> Accept-Language Request Header. Does not recreate -> Not A (Replace)
upvoted 10 times
...
syu31svc
3 years, 1 month ago
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-language: "If you want CloudFront to cache different versions of your objects based on the language specified in the request, configure CloudFront to forward the Accept-Language header to your origin." Answer is B
upvoted 5 times
...
Yogi
3 years, 1 month ago
Ans=B. Configure an Amazon CloudFront distribution with the ALB as the origin. Set the cache behavior settings to only cache based on the Accept-Language request header. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-language
upvoted 2 times
...
Sam82
3 years, 2 months ago
Answer is B Configuring caching based on the language of the viewer If you want CloudFront to cache different versions of your objects based on the language specified in the request, configure CloudFront to forward the Accept-Language header to your origin.
upvoted 2 times
...
CCNPWILL
3 years, 2 months ago
TIE BREAKER .. COMBO!!!! Answer is B. Caching is key along with NOT needing to restructure the current cloud architecture from instances to S3. The auto-scaling will work fine.
upvoted 5 times
...
Deeputhegreat
3 years, 2 months ago
It's A
upvoted 1 times
...
toto059
3 years, 3 months ago
it should be A
upvoted 3 times
ismai1
3 years, 1 month ago
the company does not want to recreate the existing architecture across multiple Regions, B is more correct
upvoted 4 times
cryogenic007
3 years, 1 month ago
Also, the didn't say it's a static website to host on S3. That's why B is the answer.
upvoted 2 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago