LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Databricks Certified Machine Learning - Associate

Databricks Certified Machine Learning - Associate

Get started today

Ultimate access to all questions.


After instantiating FeatureStoreClient as fs, the following code snippet results in an error. What is the correct way to fix this code?

fs.create_table(
    name=table_name,
    schema=airbnb_df.schema,
    description="All Errors are captured in this table"
)

Real Exam



Explanation:

The correct answer is to add the primary_keys parameter inside fs.create_table. This is because the create_table method requires the specification of primary keys to uniquely identify records in the table. The provided code snippet lacks this essential parameter, leading to the error.

Powered ByGPT-5