Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 481 discussion

A company hosts a three-tier web application in the AWS Cloud. A Multi-AZAmazon RDS for MySQL server forms the database layer Amazon ElastiCache forms the cache layer. The company wants a caching strategy that adds or updates data in the cache when a customer adds an item to the database. The data in the cache must always match the data in the database.

Which solution will meet these requirements?

  • A. Implement the lazy loading caching strategy
  • B. Implement the write-through caching strategy
  • C. Implement the adding TTL caching strategy
  • D. Implement the AWS AppConfig caching strategy
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
cloudenthusiast
Highly Voted 1 year, 1 month ago
Selected Answer: B
In the write-through caching strategy, when a customer adds or updates an item in the database, the application first writes the data to the database and then updates the cache with the same data. This ensures that the cache is always synchronized with the database, as every write operation triggers an update to the cache.
upvoted 22 times
cloudenthusiast
1 year, 1 month ago
Lazy loading caching strategy (option A) typically involves populating the cache only when data is requested, and it does not guarantee that the data in the cache always matches the data in the database. Adding TTL (Time-to-Live) caching strategy (option C) involves setting an expiration time for cached data. It is useful for scenarios where the data can be considered valid for a specific period, but it does not guarantee that the data in the cache is always in sync with the database. AWS AppConfig caching strategy (option D) is a service that helps you deploy and manage application configurations. It is not specifically designed for caching data synchronization between a database and cache layer.
upvoted 32 times
Kp88
11 months, 1 week ago
Great explanation , thanks
upvoted 2 times
...
...
...
zinabu
Most Recent 2 months, 4 weeks ago
write-through cashing strategy
upvoted 1 times
...
dikshya1233
5 months, 1 week ago
In exam
upvoted 3 times
...
awsgeek75
5 months, 2 weeks ago
Selected Answer: B
More helpful reading for why B is the answer: https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/Strategies.html#Strategies.WriteThrough
upvoted 3 times
...
Guru4Cloud
10 months, 2 weeks ago
Selected Answer: B
B. Implement the write-through caching strategy
upvoted 3 times
...
TariqKipkemei
1 year ago
Selected Answer: B
The answer is definitely B. I couldn't provide any more details than what has been shared by @cloudenthusiast.
upvoted 1 times
...
nosense
1 year, 1 month ago
Selected Answer: B
write-through caching strategy updates the cache at the same time as the database
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in