exam questions

Exam Professional Data Engineer All Questions

View all questions & answers for the Professional Data Engineer exam

Exam Professional Data Engineer topic 1 question 248 discussion

Actual exam question from Google's Professional Data Engineer
Question #: 248
Topic #: 1
[All Professional Data Engineer Questions]

dataset.inventory_vm sample records:



You have an inventory of VM data stored in the BigQuery table. You want to prepare the data for regular reporting in the most cost-effective way. You need to exclude VM rows with fewer than 8 vCPU in your report. What should you do?

  • A. Create a view with a filter to drop rows with fewer than 8 vCPU, and use the UNNEST operator.
  • B. Create a materialized view with a filter to drop rows with fewer than 8 vCPU, and use the WITH common table expression.
  • C. Create a view with a filter to drop rows with fewer than 8 vCPU, and use the WITH common table expression.
  • D. Use Dataflow to batch process and write the result to another BigQuery table.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
raaad
Highly Voted 9 months, 4 weeks ago
Selected Answer: A
- The table structure shows that the vCPU data is stored in a nested field within the components column. - Using the UNNEST operator to flatten the nested field and apply the filter.
upvoted 6 times
...
hanoverquay
Most Recent 7 months, 1 week ago
Selected Answer: A
option A
upvoted 1 times
...
JyoGCP
8 months, 1 week ago
Selected Answer: A
Option A - UNNEST
upvoted 1 times
...
Krauser59
9 months, 2 weeks ago
Selected Answer: A
A seems to be the correct answer because of the table structure and the UNNEST operator. However, i don’t understand why wouldn’t we chose a materialized view
upvoted 4 times
...
Matt_108
9 months, 2 weeks ago
Selected Answer: A
Option A - The regular reporting doesn't justify a materialized view, since the frequency of access is not so high; a simple view would do the trick. Moreover, the vcpu data is in a nested field and requires Unnest.
upvoted 4 times
...
scaenruy
10 months ago
Selected Answer: A
A. Create a view with a filter to drop rows with fewer than 8 vCPU, and use the UNNEST operator.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago