1 Answers
It seems this question was taken from a practice (or potentially a previous attempt at the) exam.
Anyway Googling it I found this: https://www.examtopics.com/exams/google/professional-data-engineer/view/6/
See Question 28 – correct answer D
There are some discussions attached to this as well that suggest B
"BigQueryIO.read.from() directly reads the whole table from BigQuery. This function exports the whole table to temporary files in Google Cloud Storage, where it will later be read from. This requires almost no computation, as it only performs an export job, and later Dataflow reads from GCS (not from BigQuery).
BigQueryIO.read.fromQuery() executes a query and then reads the results received after the query execution. Therefore, this function is more time-consuming, given that it requires that a query is first executed (which will incur in the corresponding economic and computational costs)."