Bird
0
0

In a Lambda architecture, if the batch layer updates data every 24 hours and the speed layer processes data every second, what is the best way to ensure the serving layer shows the most accurate and up-to-date results?

hard📝 Application Q15 of 15
Hadoop - Modern Data Architecture with Hadoop
In a Lambda architecture, if the batch layer updates data every 24 hours and the speed layer processes data every second, what is the best way to ensure the serving layer shows the most accurate and up-to-date results?
AUse the speed layer results immediately and replace them with batch results after 24 hours
BOnly show batch layer results to avoid inconsistency
CIgnore speed layer and rely on batch layer for all queries
DMerge speed and batch results continuously, updating serving layer with combined data
Step-by-Step Solution
Solution:
  1. Step 1: Understand serving layer role

    The serving layer combines batch and speed layer outputs to provide accurate and timely results.
  2. Step 2: Evaluate options

    Merge speed and batch results continuously, updating serving layer with combined data merges both results continuously, ensuring the serving layer is both up-to-date and accurate.
  3. Final Answer:

    Merge speed and batch results continuously, updating serving layer with combined data -> Option D
  4. Quick Check:

    Serving layer = combined batch + speed data [OK]
Quick Trick: Serving layer merges batch and speed data continuously [OK]
Common Mistakes:
  • Using only speed or batch layer results alone
  • Replacing speed results abruptly without merging
  • Ignoring serving layer's combining role

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes