CompTIA DataX DY0-001 (V1) Practice Question

You are ingesting daily JSON files from a marketing platform into a cloud data warehouse. Each JSON object looks like:

{
  "campaign_id": 123,
  "start_date": "2024-06-01",
  "ads": [
    {"ad_id": 1, "spend": 12.5, "clicks": 37},
    {"ad_id": 2, "spend": 18.0, "clicks": 42}
  ]
}

Business analysts need a tabular view where every ad appears as its own row while the campaign_id and start_date values remain attached to each ad. Which data-wrangling step will achieve this result with the least duplication and without information loss?

  • Apply an array explode/UNNEST on the ads array, then select the ad-level fields along with campaign_id and start_date.

  • Concatenate all ad objects into a single semicolon-delimited VARCHAR column in the table.

  • Pivot the ads array so that the first, second, and third ads become separate groups of columns in the same campaign row.

  • Leave the JSON intact and rely on the BI tool's JSON parsing functions to interpret the ads array at query time.

CompTIA DataX DY0-001 (V1)
Operations and Processes
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $64
$529.00 $465.00
Bash, the Crucial Exams Chat Bot
AI Bot