Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Exam Databricks-Machine-Learning-Professional Topic 12 Question 29 Discussion

Actual exam question for Databricks's Databricks Certified Machine Learning Professional exam
Question #: 29
Topic #: 12
[All Databricks Certified Machine Learning Professional Questions]

A data scientist has created a Python function compute_features that returns a Spark DataFrame with the following schema:

The resulting DataFrame is assigned to the features_df variable. The data scientist wants to create a Feature Store table using features_df.

Which of the following code blocks can they use to create and populate the Feature Store table using the Feature Store Client fs?

A)

B)

C)

features_df.write.mode("fs").path("new_table")

D)

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Annette
3 days ago
Hmm, I'd go with Option D. The `fs.create_feature_table()` method looks like it's specifically designed for this use case.
upvoted 0 times
...
Alease
8 days ago
Hmm, that makes sense. Let's see what others think before making a final decision.
upvoted 0 times
...
Catrice
10 days ago
I disagree, I believe Option B is the right choice because it uses the Feature Store Client fs.
upvoted 0 times
...
Nydia
16 days ago
Option B seems the most straightforward way to create the Feature Store table. No need to overcomplicate things.
upvoted 0 times
Carey
2 days ago
User 1: I think Option B is the best choice.
upvoted 0 times
...
...
Alease
25 days ago
I think Option A is the correct code block to create the Feature Store table.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77