2. Question
Category: CSAA – Design High-Performing Architectures
A Solutions Architect needs to launch a web application that will be served globally using Amazon CloudFront. The application is hosted in an Amazon EC2 instance which will be configured as the origin server to process and serve dynamic content to its customers.
Which of the following options provides high availability for the application?
- Use Lambda@Edge to improve the performance of your web application and ensure high availability. Set the Lambda@Edge functions to be part of an origin group.
- Provision two EC2 instances deployed in different Availability Zones and configure them to be part of an origin group.
- Launch an Auto Scaling group of EC2 instances and configure it to be part of an origin group.
- Use Amazon S3 to serve the dynamic content of your web application and configure the S3 bucket to be part of an origin group.
- đáp án
7. Question
Category: CSAA – Design High-Performing Architectures
A global news network created a CloudFront distribution for their web application. However, you noticed that the application’s origin server is being hit for each request instead of the AWS Edge locations, which serve the cached objects. The issue occurs even for the commonly requested objects.
What could be a possible cause of this issue?
- An object is only cached by CloudFront once a successful request has been made hence, the objects were not requested before, which is why the request is still directed to the origin server.
- There are two primary origins configured in your Amazon CloudFront Origin Group.
- The file sizes of the cached objects are too large for CloudFront to handle.
- The Cache-Control max-age directive is set to zero.
- đáp án