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

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

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, 6 months 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 27 times
cloudenthusiast
1 year, 6 months 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 35 times
Kp88
1 year, 3 months ago
Great explanation , thanks
upvoted 2 times
...
...
...
zinabu
Most Recent 7 months, 2 weeks ago
write-through cashing strategy
upvoted 1 times
...
dikshya1233
10 months ago
In exam
upvoted 3 times
...
awsgeek75
10 months 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
1 year, 3 months ago
Selected Answer: B
B. Implement the write-through caching strategy
upvoted 3 times
...
TariqKipkemei
1 year, 5 months 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, 6 months 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 ...