Question 36
Domain 1: Databricks Machine LearningA data scientist wants to create a feature table to use in their models. They are working in a workspace with Unity Catalog enabled and want this feature table to be stored and governed by it. What is the correct way of creating this feature table?
Correct answer: C
Explanation
The exam guide’s sample question for “Create a feature store table in Unity Catalog” lists option C: “Use the create_table method of the FeatureEngineeringClient in Python to create the table, then write data to it.” This matches the objective to “Create a feature store table in Unity Catalog” and “Write data to a feature store table.”
Why each option is right or wrong
A. Create a Delta table with data in it, as usual, then use the register_table method from the FeatureStoreClient in Python to register it as a feature table in Unity Catalog.
Registering an existing Delta table is not the sample’s Unity Catalog feature-table creation method.
B. Create an empty Delta table on Unity Catalog with the AS FEATURE STORE clause via SQL, then write data to it.
The sample uses Python `create_table`, not a SQL `AS FEATURE STORE` clause.
C. Use the create_table method of the FeatureEngineeringClient in Python to create the table, then write data to it.
The exam guide’s Unity Catalog feature-table objective is satisfied by the Python Feature Engineering API, which provides `FeatureEngineeringClient.create_table()` to create a governed feature table directly in a UC-enabled workspace. The table is then populated separately, matching the documented workflow of creating the table first and writing data afterward; the alternative SQL/Delta-table paths in the distractors do not reflect the feature-table creation method called out in the guide.
D. Create a Delta table with data in it in Unity Catalog then use the ALTER TABLE command in SQL to configure it as a feature table with the SET AS FEATURE STORE clause.
The sample does not use `ALTER TABLE ... SET AS FEATURE STORE` for feature table creation.