Question 285 of 1,000
Maintaining and Automating Data WorkloadshardMultiple ChoiceObjective-mapped

PDE Maintaining and Automating Data Workloads Practice Question

This PDE practice question tests your understanding of maintaining and automating data workloads. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A data engineer is designing a Dataflow pipeline that reads from a Kafka topic (using Pub/Sub for Kafka) and writes to BigQuery. The data schema may change over time, with new fields appearing. The engineer wants to handle schema drift automatically without failing the pipeline. Which approach should the engineer use?

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

Store the entire record as a single JSON string column in BigQuery and parse it later.

Option C is correct because storing the entire record as a single JSON string column in BigQuery allows the pipeline to accept any schema changes without requiring schema modifications at write time. This approach decouples the ingestion from schema evolution, enabling the data to be parsed later using BigQuery's JSON functions (e.g., JSON_EXTRACT) or by loading into a separate schema-on-read layer. It avoids pipeline failures caused by mismatched fields or type changes.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Use a Dataflow side input that reads the latest schema from a file and updates the BigQuery schema accordingly.

    Why it's wrong here

    This approach can work but is complex and requires custom logic to update BigQuery schema. It is not a built-in feature and adds latency.

  • Define a UDF in Dataflow that dynamically adjusts the output schema.

    Why it's wrong here

    Dataflow does not support dynamic schema changes per element; the output schema is fixed at pipeline construction time.

  • Store the entire record as a single JSON string column in BigQuery and parse it later.

    Why this is correct

    This is a common pattern: store raw data in a JSON column (with a flexible schema), and handle schema evolution by adding new fields as nested columns or using SQL to extract them later.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Configure the Dataflow pipeline to use BigQuery's schema autodetect option for each insert.

    Why it's wrong here

    BigQuery streaming inserts do not support schema autodetect; the schema must be predefined. Autodetect is for batch load jobs.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Cisco often tests the misconception that BigQuery's schema autodetect works with streaming inserts, but it is only available for batch load jobs, leading candidates to incorrectly choose option D.

Trap categories for this question

  • Command / output trap

    Dataflow does not support dynamic schema changes per element; the output schema is fixed at pipeline construction time.

Detailed technical explanation

How to think about this question

Under the hood, BigQuery's streaming insert API requires an exact schema match at the time of insertion; any extra fields cause a 'No such field' error. By storing the payload as a JSON string, the pipeline can use the BigQuery JSON data type (or a STRING column) to bypass this restriction. In production, this pattern is often combined with a scheduled job that uses BigQuery's CREATE TABLE AS SELECT or MERGE to extract fields into a normalized schema, enabling both flexibility and query performance.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

Quick reference

Common DNS Record Types

RecordPurposeExample
AIPv4 address mappingexample.com → 93.184.216.34
AAAAIPv6 address mappingexample.com → 2606:2800::1
CNAMEAlias to another hostnamewww → example.com
MXMail server for domainexample.com → mail.example.com (priority 10)
TXTText data (SPF, DKIM, verification)v=spf1 include:_spf.example.com ~all
NSAuthoritative name serversexample.com NS ns1.example.com
PTRReverse DNS (IP → hostname)34.216.184.93.in-addr.arpa → example.com
SOAZone authority recordPrimary NS, admin email, serial, TTL defaults

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PDE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PDE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PDE question test?

Maintaining and Automating Data Workloads — This question tests Maintaining and Automating Data Workloads — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Store the entire record as a single JSON string column in BigQuery and parse it later. — Option C is correct because storing the entire record as a single JSON string column in BigQuery allows the pipeline to accept any schema changes without requiring schema modifications at write time. This approach decouples the ingestion from schema evolution, enabling the data to be parsed later using BigQuery's JSON functions (e.g., JSON_EXTRACT) or by loading into a separate schema-on-read layer. It avoids pipeline failures caused by mismatched fields or type changes.

What should I do if I get this PDE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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: Jul 4, 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 PDE practice question is part of Courseiva's free Google Cloud 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 PDE exam.