Soru

Zorluk: ZorAWS Database Services

A digital advertising company is building a real-time bidding platform. The platform must process millions of ad impression events per second, where each event payload has a highly variable schema with different metadata fields depending on the ad network. The platform needs to retrieve user profile preferences with single-digit millisecond latency using a unique visitor ID to serve targeted ads, and the storage tier must automatically scale throughput to handle fluctuating daily traffic patterns. Which AWS database service should the company select to meet these requirements?

  1. A
    Amazon Aurora
  2. Amazon DynamoDBCevap
  3. C
    Amazon Redshift
  4. D
    Amazon ElastiCache

Cevap

Amazon DynamoDB is the correct choice because it is a managed NoSQL database that offers schema flexibility, single-digit millisecond response times, and automatic throughput scaling for key-value lookups.
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. It is designed to handle document and key-value data structures, which easily accommodates the highly variable metadata payloads in the scenario. Additionally, its ability to scale storage and throughput automatically while maintaining single-digit millisecond latency makes it the perfect fit for real-time bidding workloads.

Adım Adım Çözüm

1
Analyze the data structure requirements.
The requirement specifies a highly variable schema with different metadata fields, which points to a NoSQL (non-relational) document or key-value store rather than a relational database.
Relational databases require a rigid, predefined schema, which makes storing variable metadata payloads inefficient.
2
Analyze the latency and access pattern requirements.
The application needs to retrieve data using a unique visitor ID (key-value lookup) with single-digit millisecond latency.
DynamoDB is optimized for key-value lookups and consistently delivers single-digit millisecond latency at any scale.
3
Analyze the scaling and operational requirements.
The database must handle millions of events per second and automatically scale throughput up and down to match fluctuating traffic.
DynamoDB is fully managed and features auto-scaling capabilities for both read and write capacity, adjusting to traffic spikes without administrative overhead.

Anahtar Kavram

Selecting the appropriate AWS database service based on data structure, access patterns, and latency requirements.
Bu soruyu puanla