ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 277 - SOA-C02 discussion

Report
Export

A company is managing a website with a global user base hosted on Amazon EC2 with an Application Load Balancer (ALB). To reduce the load on the web servers, a SysOps administrator configures an Amazon CloudFront distribution with the ALB as the origin. After a week of monitoring the solution, the administrator notices that requests are still being served by the ALB and there is no change in the web server load.

What are possible causes for this problem? (Choose two.)

A.
CloudFront does not have the ALB configured as the origin access identity.
Answers
A.
CloudFront does not have the ALB configured as the origin access identity.
B.
The DNS is still pointing to the ALB instead of the CloudFront distribution.
Answers
B.
The DNS is still pointing to the ALB instead of the CloudFront distribution.
C.
The ALB security group is not permitting inbound traffic from CloudFront.
Answers
C.
The ALB security group is not permitting inbound traffic from CloudFront.
D.
The default, minimum, and maximum Time to Live (TTL) are set to 0 seconds on the CloudFront distribution.
Answers
D.
The default, minimum, and maximum Time to Live (TTL) are set to 0 seconds on the CloudFront distribution.
E.
The target groups associated with the ALB are configured for sticky sessions.
Answers
E.
The target groups associated with the ALB are configured for sticky sessions.
Suggested answer: B, D

Explanation:

To effectively use Amazon CloudFront as a content delivery network for an application using an Application Load Balancer as the origin, several configuration steps need to be correctly implemented:

DNS Configuration: Ensure that the DNS records for the domain serving the content point to the CloudFront distribution's DNS name rather than directly to the ALB. If the DNS still points to the ALB, users' requests will bypass CloudFront, leading directly to the ALB and maintaining the existing load on your web servers.

TTL Settings: The Time to Live (TTL) settings in the CloudFront distribution dictate how long the content is cached in CloudFront edge locations before CloudFront fetches a fresh copy from the origin. If the TTL values are set to 0, it means that CloudFront does not cache the content at all, resulting in each user request being forwarded to the ALB, which does not reduce the load.

AWS Documentation

Reference: For more information on DNS and TTL configurations for CloudFront, you can refer to the following AWS documentation:

Configuring DNS

CloudFront TTL Settings.

asked 16/09/2024
None None
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first