Courseiva
Data Store Management →mediumMultiple Choice

DEA-C01 Data Store Management Practice Question

Exhibit

Refer to the exhibit.

{
  "Tables": [
    {
      "Name": "sales",
      "Type": "EXTERNAL_TABLE",
      "Parameters": {
        "EXTERNAL": "TRUE",
        "classification": "csv"
      },
      "StorageDescriptor": {
        "Location": "s3://data-lake/sales/",
        "InputFormat": "org.apache.hadoop.mapred.TextInputFormat",
        "OutputFormat": "org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat",
        "SerdeInfo": {
          "SerializationLib": "org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe",
          "Parameters": {
            "field.delim": ","
          }
        }
      }
    }
  ]
}

A data engineer sees this AWS Glue table definition in the Data Catalog. The engineer wants to query this table with Amazon Athena, but the query returns zero rows. What is the MOST likely cause?

⚠ Common exam trap

Watch out — candidates often assume the issue is with the SerDe or format compatibility, but the most common real-world cause is simply that the data files are not present at the specified S3 location, leading to zero rows returned.

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

✓

The data files are not in the specified S3 location.

The most likely cause is that the data files are not in the specified S3 location. When an AWS Glue table is defined in the Data Catalog, Athena reads the table's metadata (including the S3 location) and then attempts to read the underlying data files from that exact path. If the files are missing, misnamed, or in a different prefix, Athena returns zero rows because there is no data to scan. This is a common misconfiguration when the S3 path in the table definition does not match the actual data storage.

Answer analysis

Option-by-option breakdown

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

  • ✓

    The data files are not in the specified S3 location.

    Why this is correct

    Athena reads the table's declared S3 location from the Data Catalog; if no objects exist at that prefix, the query scans nothing and returns zero rows. The partition metadata and schema may be valid, but the underlying files must reside at the specified location.

  • ✗

    The SerDe library is incorrect for CSV files.

    Why it's wrong here

    An incorrect SerDe typically produces errors or garbled values, not an empty result set, so it does not match the symptom. OpenCSVSerde is the correct choice for CSV data. A wrong SerDe would be the cause when columns return nulls or parsing exceptions rather than zero rows.

  • ✗

    The table format CSV is not supported by Athena.

    Why it's wrong here

    Athena natively supports CSV through OpenCSVSerde and LazySimpleSerDe, so the format itself cannot cause zero rows. This distractor exploits uncertainty about supported formats. CSV would be the wrong selection only when the underlying data is genuinely another format such as Parquet or JSON.

  • ✗

    Athena cannot read tables from the Glue Data Catalog.

    Why it's wrong here

    Athena queries Glue Data Catalog tables directly through its Hive metastore integration, so this claim is false and cannot explain zero rows. It tempts candidates unfamiliar with the Athena–Glue relationship. Athena would be the wrong tool only for non-catalog sources such as querying DynamoDB items directly.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every DEA-C01 question from scratch — 1,321 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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 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.