CloudGuild · Blog · Cheat sheets · Lessons · Certifications
AWS Certified Solutions Architect - Associate Exam: Low-Latency Database Access
Explore a key AWS exam question on low-latency database access and understand why Amazon Aurora Serverless is the best choice.
You may encounter questions that test your understanding of cost-effective solutions for specific workloads. This one trips many candidates up, especially when considering the trade-offs between various AWS database services.
The question
You are designing a system that requires low-latency access to a database and must support variable workloads. Which AWS service is the most cost-effective option?
- A. Amazon Aurora Serverless
- B. Amazon RDS Provisioned
- C. Amazon DynamoDB
- D. Amazon ElastiCache
Think before you scroll
Before making a choice, consider the requirements: low-latency access and variable workloads. Each option has different cost structures and performance characteristics that affect their suitability.
The answer
The correct option is A. Amazon Aurora Serverless. This service offers an on-demand, auto-scaling configuration that allows for low-latency access while handling variable workloads cost-effectively. It adjusts its capacity based on demand, which helps manage costs efficiently.
Why the other options lose
- B. Amazon RDS Provisioned: While RDS can provide low-latency access, it is typically more expensive and less flexible than Aurora Serverless. Provisioned RDS instances require you to pay for the capacity you provision, regardless of usage.
- C. Amazon DynamoDB: This is a NoSQL database that excels in performance for variable workloads. However, it may not meet specific relational database requirements, making it unsuitable for applications needing relational features.
- D. Amazon ElastiCache: Designed primarily for caching, ElastiCache helps speed up data retrieval but is not suitable as a primary database. It does not fulfill the need for a low-latency database that can handle variable workloads directly.
The concept behind it
Understanding the differences between database services is crucial. Aurora Serverless is specifically built for scenarios where demand fluctuates. It provides the relational capabilities of Amazon Aurora while automatically adjusting resources to optimize costs. Recognizing when to choose a serverless model over provisioned instances can save money and improve performance.
Exam trap to remember
Always weigh the cost against the specific needs of your application. For variable workloads requiring low-latency access, serverless options often provide the best value.