AWS Certified Sysops Administrator Associate · Free Practice Question Medium
Question 21
You distribute a monthly raw data extract of your public forum's discussions that is about 10TB each month. Currently, the archive is distributed through an EFS drive, that is mounted on all your EC2 instances. Customers retrieve the file through the load balancer you have. This solution is costing you a lot of money and forces you to tremendously scale on the 1st of each month as people all try to retrieve the file at the same time.
What can you do to improve the situation?
-
A
Enable enhanced networking between EC2 and ALB
-
B
Store the files in S3 and distribute them using a CloudFront distribution instead
-
C
Store the files on instance stores instead, so you don't need to use EFS anymore
-
D
Enable static file caching on the ALB
Reveal correct answer
Correct answer: B
Explanation
Correct option:
Store the files in S3 and distribute them using a CloudFront distribution instead
S3 is more cost-effective than EFS. For example, per GB storage cost for S3 is $0.023/month whereas per GB storage cost for EFS is $0.3/month. Further, storing your static content with S3 provides a lot of advantages. But to help optimize your application’s performance and security while effectively managing cost, AWS recommends that you also set up Amazon CloudFront to work with your S3 bucket to serve and protect the content. CloudFront is a content delivery network (CDN) service that delivers static and dynamic web content, video streams, and APIs around the world, securely and at scale. By design, delivering data out of CloudFront can be more cost-effective than delivering it from S3 directly to your users.
Incorrect options:
Enable static file caching on the ALB - This is a distractor as there is no such thing as static file caching on the ALB.
Store the files on instance stores instead, so you don't need to use EFS anymore - You cannot use Instance Stores since they are physically attached to their own EC2 instances. Instance Store is not a shared storage like EFS, so this option is ruled out.
Enable enhanced networking between EC2 and ALB - Enhanced networking uses single root I/O virtualization (SR-IOV) to provide high-performance networking capabilities on supported EC2 instance types. SR-IOV is a method of device virtualization that provides higher I/O performance and lower CPU utilization when compared to traditional virtualized network interfaces. There is no such thing as enhanced networking between EC2 and ALB.
References:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
