Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Certified Data Engineer Associate Exam - Topic 2 Question 44 Discussion

Posted by Jamie on Jan 23, 2025 at 02:38 AM

Which query is performing a streaming hop from raw data to a Bronze table?

A)

B)

C)

D)

Suggested Answer: D

The query performing a streaming hop from raw data to a Bronze table is identified by using the Spark streaming read capability and then writing to a Bronze table. Let's analyze the options:

Option A: Utilizes .writeStream but performs a complete aggregation which is more characteristic of a roll-up into a summarized table rather than a hop into a Bronze table.

Option B: Also uses .writeStream but calculates an average, which again does not typically represent the raw to Bronze transformation, which usually involves minimal transformations.

Option C: This uses a basic .write with .mode('append') which is not a streaming operation, and hence not suitable for real-time streaming data transformation to a Bronze table.

Option D: It employs spark.readStream.load() to ingest raw data as a stream and then writes it out with .writeStream, which is a typical pattern for streaming data into a Bronze table where raw data is captured in real-time and minimal transformation is applied. This approach aligns with the concept of a Bronze table in a modern data architecture, where raw data is ingested continuously and stored in a more accessible format.

Reference: Databricks documentation on Structured Streaming: Structured Streaming in Databricks


Get Premium Databricks Certified Data Engineer Associate Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
32 comments · newest first
HO
Hoa 10 months ago
Wait, are we sure this is about streaming hops?
BU
Buck 11 months ago
Definitely Option C, no doubt about it!
VI
Vi 11 months ago
Surprised that people are unsure about this!
JE
Jeannetta 11 months ago
I disagree, I believe it's Option A.
AR
Arlean 11 months ago
I think Option B is the right choice.
LI
Lili 12 months ago
I think Option A looks familiar, but I can't recall if it really represents the raw data transition to Bronze. I need to double-check my notes!
CH
Chauncey 12 months ago
I'm a bit confused about the differences between Bronze and Silver tables. I hope I can remember which query corresponds to the streaming process.
ME
Mendy 12 months ago
I remember practicing a similar question where we had to identify the correct data flow. I feel like Option C might be the right choice here.
JU
Jules 1 year ago
I think a streaming hop to a Bronze table should involve some sort of initial transformation, but I'm not entirely sure which option shows that clearly.
GO
Goldie 1 year ago
This is a tricky one, but I'm going to take my time and carefully examine each query. I want to make sure I understand the data movement before selecting my answer.
RA
Raylene 1 year ago
I'm feeling pretty confident about this one. Based on the data flow depicted in the images, Option A appears to be the only query performing a streaming hop from the raw data to the Bronze table.
GE
Gerri 1 year ago
Okay, I think I've got a handle on this. Option A looks like it's reading directly from the raw data source and writing to the Bronze table, so that's likely the streaming hop we're looking for.
DY
Dylan 1 year ago
Hmm, I'm a bit unsure about this one. The query syntax is not super familiar to me, so I'll need to really analyze the details of each option to figure out which one is doing the streaming hop.
ED
Edna 1 year ago
This looks like a pretty straightforward query comparison. I'll carefully review each option and think through the data flow to determine which one is performing a streaming hop to the Bronze table.
SA
Samira 2 years ago
I'm feeling lucky today, so I'm picking Option A. What could go wrong?
LA
Latanya 2 years ago
↳ replying to Samira
User 2
KR
Kristel 2 years ago
↳ replying to Samira
User 1
YU
Yun 2 years ago
Option A seems too simple, so it's probably not the right answer. I'll go with Option D - it's got that 'streaming' vibe going on.
TI
Tina 2 years ago
Hmm, this is a tough one. I'm torn between Options B and D. Maybe I should just flip a coin?
KA
Karan 2 years ago
↳ replying to Tina
Maybe you should go with your gut feeling on this one.
GA
Gabriele 2 years ago
↳ replying to Tina
I'm leaning towards Option D actually.
CA
Carylon 2 years ago
↳ replying to Tina
I agree, Option B seems like the right choice.
BR
Brittani 2 years ago
↳ replying to Tina
I think Option B is the correct one.
LA
Lai 2 years ago
I'm not sure, but I think B could also be a valid option for streaming hop based on the image provided.
VI
Virgie 2 years ago
I'm going with Option B. The query looks a bit more complex, so it might be the one doing the streaming hop.
EL
Elouise 2 years ago
I disagree, I believe the answer is C, as it seems to be the correct query for streaming hop.
YU
Yuki 2 years ago
I think the answer is A, because it shows a streaming hop from raw data to a Bronze table.
TY
Tyra 2 years ago
Option C looks like it's doing a streaming transformation, so that's my pick.
LA
Laurel 2 years ago
↳ replying to Tyra
Option C it is!
FR
Franchesca 2 years ago
↳ replying to Tyra
Let's go with Option C then.
FL
Florinda 2 years ago
↳ replying to Tyra
I agree, Option C seems to be the one with the streaming hop.
ER
Erasmo 2 years ago
↳ replying to Tyra
I think Option C is the correct choice.
0/2000 characters

Save Cancel