Courseiva
Workload-Specific Database DesignhardMultiple SelectObjective-mapped

DBS-C01 Workload-Specific Database Design Practice Question

Which TWO are best practices for designing a DynamoDB table for high-traffic e-commerce application? (Select TWO.)

⚠ Common exam trap

A common mix-up: candidates think a monotonically increasing partition key (like a timestamp) is acceptable for time-series data, but in DynamoDB it creates a hot partition, whereas in other databases it might be fine; AWS tests your understanding of DynamoDB's partitioning model and the importance of high-cardinality, evenly distributed partition keys.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Create Global Secondary Indexes to support different access patterns.

Global Secondary Indexes (GSIs) allow you to support multiple query patterns without duplicating data or redesigning the base table. In a high-traffic e-commerce application, you might need to query orders by customer ID, by status, or by date; GSIs provide alternative access patterns with their own partition and sort keys, enabling efficient queries without full table scans.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create Global Secondary Indexes to support different access patterns.

    Why this is correct

    GSIs allow querying on non-key attributes.

  • Use a constantly increasing value (e.g., timestamp) as the partition key.

    Why it's wrong here

    Constantly increasing partition key causes hot partitions.

  • Design the table to use scan operations for most queries.

    Why it's wrong here

    Scans are expensive and slow; use queries.

  • Use a composite primary key (partition key and sort key) to organize data.

    Why this is correct

    Composite key enables efficient querying and sorting.

  • Use a single attribute as the partition key with low cardinality.

    Why it's wrong here

    Low cardinality leads to hot partitions.

About these practice questions

One of 1,663 original DBS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DBS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DBS-C01 exam.