Deloitte Data Engineer
Deloitte Data Engineer
engineer
www.prominentacademy.in
Question:
Explanation:
Read streaming data from Kafka.
Parse the data and filter sensors with values exceeding the threshold.
Write the output to the console.
Explanation:
Explanation:
Read streaming data from Kafka.
Parse the data and group by user_id and a 1-minute window.
Write the output to the console.
Common Mistakes:
Not defining the window correctly.
Forgetting to start the streaming query with awaitTermination().
Explanation:
Add a random salt to the skewed key (user_id) to distribute the data
evenly.
Perform the first aggregation on the salted key.
Remove the salt and perform a second aggregation to get the final
result.
Common Mistakes:
Not addressing data skew, leading to slow performance.
Forgetting to remove the salt in the final aggregation.
Common Mistakes:
Not using explode to handle nested arrays.
Forgot to include the payment.method in the groupBy.
✅
engineering interviews by:
✅
Offering scenario-based mock interviews
Providing hands-on training with data engineering
✅
features
✅
Optimizing your resume & LinkedIn profile
Giving personalized interview coaching to ensure
you’re job-ready
Don’t leave your future to chance!