exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 602 discussion

A company has been using a third-party provider for its content delivery network and recently decided to switch to Amazon CloudFront. The development team wants to maximize performance for the global user base. The company uses a content management system (CMS) that serves both static and dynamic content.
The CMS is behind an Application Load Balancer (ALB) which is set as the default origin for the distribution. Static assets are served from an Amazon S3 bucket.
The Origin Access Identity (OAI) was created properly and the S3 bucket policy has been updated to allow the GetObject action from the OAI, but static assets are receiving a 404 error.
Which combination of steps should the solutions architect take to fix the error? (Choose two.)

  • A. Add another origin to the CloudFront distribution for the static assets.
  • B. Add a path-based rule to the ALB to forward requests for the static assets.
  • C. Add an RTMP distribution to allow caching of both static and dynamic content.
  • D. Add a behavior to the CloudFront distribution for the path pattern and the origin of the static assets.
  • E. Add a host header condition to the ALB listener and forward the header from CloudFront to add traffic to the allow list.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
Nemer
Highly Voted 3 years, 8 months ago
AD. Add an origin and a behavior. https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-distribution-serve-content/
upvoted 27 times
oscargee
3 years, 7 months ago
Add another origin for S3, not for CloudFront in the page you pointed out.
upvoted 2 times
...
...
maxh8086
Most Recent 2 years, 5 months ago
Key : The CMS is behind an Application Load Balancer (ALB) which is set as the default origin for the distribution. https://aws.amazon.com/premiumsupport/knowledge-center/elb-achieve-path-based-routing-alb/
upvoted 2 times
...
kangtamo
2 years, 11 months ago
Selected Answer: AD
Agree with AD.
upvoted 1 times
...
AzureDP900
3 years, 6 months ago
I'll go with A,D
upvoted 2 times
...
tgv
3 years, 7 months ago
AAA DDD ---
upvoted 1 times
...
WhyIronMan
3 years, 7 months ago
I'll go with A,D
upvoted 2 times
...
blackgamer
3 years, 7 months ago
A and D .
upvoted 1 times
...
Waiweng
3 years, 7 months ago
it's A&D
upvoted 3 times
...
Kian1
3 years, 7 months ago
going with AD origin
upvoted 2 times
...
Ebi
3 years, 7 months ago
Answer is AD
upvoted 4 times
...
01037
3 years, 7 months ago
CMS serves both static and dynamic content, so why 404 happens?
upvoted 2 times
...
T14102020
3 years, 7 months ago
Correct is AD. Add an origin and a behavior.
upvoted 2 times
...
jackdryan
3 years, 7 months ago
I'll go with A,D
upvoted 4 times
...
CYL
3 years, 7 months ago
AD allows us to store static content on S3 and have cloudfront assess it directly.
upvoted 1 times
...
ishuiyutian
3 years, 8 months ago
A & D is correct
upvoted 1 times
...
Bulti
3 years, 8 months ago
aD is correct
upvoted 1 times
...
wsw
3 years, 8 months ago
AD is correct yes
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 ...