A real-time fraud endpoint needs feature lookups in milliseconds. How do you make the features available?
- 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: Configure online tables for low-latency applications using Databricks SDK.
Configuring online tables with the SDK is named.
Why B is the answer
Publish the table to an online store, set up with the SDK
Online stores serve low-latency key lookups. Publishing the offline table there keeps serving fast and consistent.
Remember: Online stores for low latency.
How it works
Online stores serve features at request latency.
In detail
- Publish to an online store.
- Automate it with the SDK.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Copy features into the model artifact at training timeWrong
Embedded features go stale.
B. Publish the table to an online store, set up with the SDKRight
Online stores for low latency.
C. Email features to the endpointWrong
Not a mechanism.
D. Have the endpoint run a Spark SQL query against the offline Delta table on every requestWrongMost tempting
Spark queries are too slow per request.
Why it tempts: The offline table already has the data.
Use case
An illustrative scenario, not a real incident.
Illustrative: card velocity features are published online and read by the fraud endpoint.
See it in different ways
sequenceDiagram participant P0 as Offline table participant P1 as Online store participant P2 as Endpoint P0->>P1: publish P2-->>P1: lookup by key P1->>P2: features in ms
How to read this chart
- 1. Offline table sends "publish" to Online store.
- 2. Online store gets a reply from Endpoint: "lookup by key".
- 3. Online store sends "features in ms" to Endpoint.
mindmap
root(("Online features"))
n1["Source"]
n2["Offline Delta table"]
n3["Store"]
n4["Online table"]
n5["Automation"]
n6["Databricks SDK"]How to read this chart
- The centre is "Online features".
- "Source" covers "Offline Delta table".
- "Store" covers "Online table".
- "Automation" covers "Databricks SDK".