Features must be recomputed every hour from new source data. What is a sound pipeline?
- Exam domain
- Model Development44% of the exam
- Difficulty
- Medium
- In this mock
- 22 questions on this domainPractise this domain
Why the exam asks this
Model Development (44% of the exam)
Objective in the exam guide: Build automated pipelines for feature computation using the FeatureEngineering Client
Automated feature computation pipelines are named.
Why B is the answer
A scheduled job that merges features with write_table
A scheduled job keeps features fresh, and write_table merges new values on the primary key.
Remember: Schedule computation; merge writes.
How it works
Feature pipelines are scheduled jobs that merge into feature tables.
In detail
- Schedule the computation.
- Merge into the feature table.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Compute features only at training timeWrong
Serving needs fresh features too.
B. A scheduled job that merges features with write_tableRight
Schedule computation; merge writes.
C. An analyst reruns a notebook by hand each hour and pastes the output into a tableWrong
Manual runs fail silently.
D. Recreate the feature table every hour with create_tableWrongMost tempting
create_table is one-time.
Why it tempts: Recreating feels like refreshing.
Use case
An illustrative scenario, not a real incident.
Illustrative: an hourly job merges session features for 3 million users.
See it in different ways
flowchart LR S0["Job trigger"] --> S1["Compute features"] --> S2["write_table merge"] --> S3["Publish online if needed"]
How to read this chart
- Read it in order: Job trigger, then Compute features, then write_table merge, then Publish online if needed.
stateDiagram-v2 state "Stale" as s0 state "Computing" as s1 state "Fresh" as s2 [*] --> s0 s0 --> s1: hourly trigger s1 --> s2: merge done s2 --> [*]
How to read this chart
- It starts at "Stale".
- From "Stale", "hourly trigger" moves it to "Computing".
- From "Computing", "merge done" moves it to "Fresh".
- It ends at "Fresh".