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.
Correct Answer:
Verified
Q652: An enterprise company wants to implement cost
Q653: A software as a service (SaaS) company
Q654: An enterprise company's data science team wants
Q655: A company is developing a new service
Q656: A company has an application that runs
Q658: A company is in the process of
Q659: A large company with hundreds of AWS
Q660: A media company has a static web
Q661: A company has several Amazon EC2 instances
Q662: A company hosts a game player-matching service
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents