Question 1 · Databricks Machine Learning
What must a Databricks Feature Store feature table have so that features can be reliably looked up by a given entity later, such as a specific customer?
Show answer & explanation
Correct answer: B
- B. A defined primary key (or composite key) that uniquely identifies each row's entity
Feature tables require a primary key definition so that lookups can join a batch of entity IDs to the correct feature rows; the key can be any appropriately named column(s), it does not need to be literally called 'id'. There is no requirement that features be string-typed, and partitioning every column is not a feature table requirement (and would typically hurt, not help, performance).