Courseiva
Data Acquisition and PreparationeasyMultiple ChoiceObjective-mapped

DA0-002 Data freshness Practice Question

Network Topology
+Refer to the exhibit.```SELECT table_name, num_rows, last_analyzedFROM information_schema.tablesWHERE table_schema = 'public'table_name | num_rows | last_analyzedcustomers | 15234 | 2024-06-01orders | 89732 | 2024-05-30products | 456 | 2024-06-02

Refer to the exhibit. An analyst runs this query before acquiring data from a PostgreSQL database. What is the primary purpose of this query?

⚠ Common exam trap

The trap here is that candidates may misinterpret the query as checking data types or primary keys because they see column names like `last_analyzed` or `last_updated` and assume schema inspection. In reality, any column representing a timestamp of last modification or analysis is used to gauge data freshness, not structural properties.

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

To check for data freshness

The query shown in the exhibit retrieves the `last_analyzed` column from PostgreSQL's system catalog, which records when table statistics were last updated. Analyzing this timestamp helps the analyst determine if the table's data is fresh enough for the intended analysis, thus checking data freshness before acquisition.

Answer analysis

Option-by-option breakdown

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

  • To verify data types

    Why it's wrong here

    Data types are not shown in this output.

  • To check for data freshness

    Why this is correct

    The 'last_analyzed' column shows when statistics were last updated, indicating freshness.

  • To find primary keys

    Why it's wrong here

    The query does not include primary key information.

  • To identify duplicate tables

    Why it's wrong here

    The query lists all tables in public schema, not duplicates.

About these practice questions

One of 986 original DA0-002 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 DA0-002 practice question is part of Courseiva's free CompTIA 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 DA0-002 exam.