Soru

Zorluk: Çok zorAWS Database Services

A company is refactoring a monolithic application into a microservices architecture on AWS. They need to select database solutions for two new microservices: a product inventory service that requires complex table joins, strict schema enforcement, and automatic storage scaling up to 128 TiB; and a gaming leaderboard service that requires sub-millisecond response times for retrieving simple key-value player scores. Which of the following AWS database services should the company select to meet these requirements? (Select TWO.)

  1. Amazon Aurora to support the product inventory serviceCevap
  2. Amazon ElastiCache to support the gaming leaderboard serviceCevap
  3. C
    Amazon DynamoDB to support both the product inventory and leaderboard services
  4. D
    A single Amazon RDS for MySQL database hosting both the inventory schema and leaderboard tables
  5. E
    Amazon EC2 instances running self-managed PostgreSQL databases with manual storage expansion

Cevap

Amazon Aurora should be selected to support the product inventory service, and Amazon ElastiCache should be selected to support the gaming leaderboard service.
The correct services are Amazon Aurora and Amazon ElastiCache. Amazon Aurora is a cloud-native relational database service that supports complex joins, schema enforcement, and automatically scales its storage up to 128 TiB. Amazon ElastiCache is an in-memory key-value data store that provides the sub-millisecond latency required for high-throughput gaming leaderboards.

Adım Adım Çözüm

1
Analyze the requirements for the first microservice (product inventory).
The microservice requires a relational database (complex joins, schema enforcement) with automated storage scaling up to 128 TiB.
This points directly to Amazon Aurora, which automatically provisions storage in increments up to 128 TiB and supports relational database engines.
2
Analyze the requirements for the second microservice (gaming leaderboard).
The microservice requires an in-memory database capable of delivering sub-millisecond response times for simple key-value store operations.
This matches Amazon ElastiCache, which is designed for sub-millisecond in-memory caching and session/leaderboard store workloads.
3
Evaluate the design architecture principles.
The system must remain decoupled to align with microservices best practices, meaning separate databases are preferred over a single monolithic database.
Choosing separate managed databases ensures fault tolerance and operational efficiency.

Anahtar Kavram

Selecting the appropriate AWS database service based on workload characteristics (relational vs. non-relational vs. in-memory) and adhering to cloud architecture design principles (loose coupling, managed services).
Bu soruyu puanla