Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SAP-C02 Exam - Topic 3 Question 64 Discussion

An EC2-based ticketing service pulls a frequently updated pricing file (stored in S3) on startup. Sometimes EC2s have stale pricing, causing charge issues.
C) Use Mountpoint for S3 to mount the pricing file to EC2.
A) Lambda updates DynamoDB with new prices.
B) Lambda updates Amazon EFS.
D) Use Multi-Attach EBS volume for price file.

Amazon SAP-C02 Exam - Topic 3 Question 64 Discussion

Actual exam question for Amazon's SAP-C02 exam
Question #: 64
Topic #: 3
[All SAP-C02 Questions]

An EC2-based ticketing service pulls a frequently updated pricing file (stored in S3) on startup. Sometimes EC2s have stale pricing, causing charge issues.

Show Suggested Answer Hide Answer
Suggested Answer: C

Mountpoint for Amazon S3allows EC2 instances to directly access files in S3 as aPOSIX-compliant mount point, ensuring they always get the latest data without copying or syncing.

It's simple and cost-effective for read-heavy patterns.

Mountpoint for Amazon S3


Contribute your Thoughts:

0/2000 characters
Ollie
1 month ago
This question is tricky.
upvoted 0 times
...
Tamie
1 month ago
Sounds like a simple fix, but why is this still happening?
upvoted 0 times
...
Dianne
1 month ago
Just use a Lambda function to refresh pricing on startup!
upvoted 0 times
...
Robt
2 months ago
Wait, I thought S3 always served the latest version?
upvoted 0 times
...
Gladys
2 months ago
Totally agree, this is a common issue with caching!
upvoted 0 times
...
Shalon
2 months ago
EC2 instances can cache data, leading to stale pricing.
upvoted 0 times
...
Jin
2 months ago
What if we just let the customers decide the prices? No more stale data!
upvoted 0 times
...
Shanda
2 months ago
I'd paint a happy little cache on the EC2 to solve this problem.
upvoted 0 times
...
Izetta
3 months ago
Implementing a caching mechanism with TTL would help keep the pricing up-to-date.
upvoted 0 times
...
Penney
3 months ago
The pricing file should be cached on the EC2 instance to avoid stale data.
upvoted 0 times
...
Noe
3 months ago
I feel like we might need to implement a versioning system for the pricing file in S3 to avoid stale data, but I'm not entirely sure how that would work.
upvoted 0 times
...
Danica
3 months ago
I think we discussed using Lambda to refresh the pricing file on EC2 startup, but I can't recall the exact implementation details.
upvoted 0 times
...
Francoise
4 months ago
This sounds similar to a practice question about caching strategies. Should we consider using a cache invalidation strategy for the pricing file?
upvoted 0 times
...
Brunilda
4 months ago
I remember something about using S3 event notifications to trigger updates, but I'm not sure if that's the best approach here.
upvoted 0 times
...
Lamonica
4 months ago
This seems like a classic case of keeping cached data fresh. I'd experiment with different caching strategies, like using DynamoDB or ElastiCache to store the pricing data, and see if that helps avoid the staleness issue.
upvoted 0 times
...
Merilyn
4 months ago
I'm a little confused on the best approach here. Should I focus on the EC2 instances or the S3 file? I guess I'd start by understanding the current architecture and workflow in more detail.
upvoted 0 times
...
Mi
4 months ago
Okay, so the key is making sure the EC2 instances always have the latest pricing data. I'd look at setting up some kind of event-driven architecture, where the S3 file update triggers an update to the EC2 instances.
upvoted 0 times
...
Dottie
5 months ago
Hmm, this seems tricky. I'd want to dig into the EC2 startup process and see if there's a way to automatically refresh the pricing data on a regular schedule. Maybe some kind of cron job or scheduled Lambda function?
upvoted 0 times
...
Jess
5 months ago
I'd start by checking the S3 pricing file for any issues with the data or update frequency. Then I'd look at the EC2 instances and see if there's a way to cache the pricing info more effectively.
upvoted 0 times
...

Save Cancel