Courseiva
Question 582 of 1,711
Data Store ManagementhardMultiple ChoiceObjective-mapped

DEA-C01 Data Store Management Practice Question

Network Topology
$ aws dynamodb describe-tabletable-name OrdersRefer to the exhibit."Table": {"TableName": "Orders","KeySchema": ["AttributeName": "OrderID","KeyType": "HASH"},"AttributeName": "OrderDate","KeyType": "RANGE"],"AttributeDefinitions": ["AttributeType": "S""AttributeName": "CustomerID","GlobalSecondaryIndexes": ["IndexName": "CustomerIndex","Projection": {"ProjectionType": "ALL"

A data engineer runs this CLI command. Which query is MOST efficient against this table?

⚠ Common exam trap

A common mix-up: candidates default to scanning or creating a local secondary index without recognizing that a GSI already exists and is purpose-built for the query pattern, leading to inefficient or invalid solutions.

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

Query the CustomerIndex GSI by CustomerID and OrderDate.

The CLI command likely created a global secondary index (GSI) named CustomerIndex on CustomerID and OrderDate. Querying this GSI directly is the most efficient because it uses the index's sort key to retrieve only the relevant items without scanning the entire table, minimizing read capacity consumption.

Answer analysis

Option-by-option breakdown

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

  • Query the CustomerIndex GSI by CustomerID and OrderDate.

    Why this is correct

    The GSI is designed for this query pattern.

  • Scan the table to find all orders for a CustomerID.

    Why it's wrong here

    Scan is inefficient compared to using GSI.

  • Create a local secondary index on CustomerID.

    Why it's wrong here

    LSI is not shown; GSI exists.

  • Query by OrderID and filter by OrderDate.

    Why it's wrong here

    This is efficient but not the most for CustomerID queries.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This DEA-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 DEA-C01 exam.