Databricks Certified Machine Learning Associate Exam Practice Questions (P. 1)
- Full Access (74 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
A machine learning engineer has created a Feature Table new_table using Feature Store Client fs. When creating the table, they specified a metadata description with key information about the Feature Table. They now want to retrieve that metadata programmatically.
Which of the following lines of code will return the metadata description?
Which of the following lines of code will return the metadata description?
- AThere is no way to return the metadata description programmatically.
- Bfs.create_training_set("new_table")
- Cfs.get_table("new_table").description
- Dfs.get_table("new_table").load_df()
- Efs.get_table("new_table")
send
light_mode
delete
Question #2
A data scientist has a Spark DataFrame spark_df. They want to create a new Spark DataFrame that contains only the rows from spark_df where the value in column price is greater than 0.
Which of the following code blocks will accomplish this task?
Which of the following code blocks will accomplish this task?
- Aspark_df[spark_df["price"] > 0]
- Bspark_df.filter(col("price") > 0)
- CSELECT * FROM spark_df WHERE price > 0
- Dspark_df.loc[spark_df["price"] > 0,:]
- Espark_df.loc[:,spark_df["price"] > 0]
send
light_mode
delete
Question #3
A health organization is developing a classification model to determine whether or not a patient currently has a specific type of infection. The organization's leaders want to maximize the number of positive cases identified by the model.
Which of the following classification metrics should be used to evaluate the model?
Which of the following classification metrics should be used to evaluate the model?
- ARMSE
- BPrecision
- CArea under the residual operating curve
- DAccuracy
- ERecall
send
light_mode
delete
Question #4
In which of the following situations is it preferable to impute missing feature values with their median value over the mean value?
- AWhen the features are of the categorical type
- BWhen the features are of the boolean type
- CWhen the features contain a lot of extreme outliers
- DWhen the features contain no outliers
- EWhen the features contain no missing values
send
light_mode
delete
Question #5
A data scientist has replaced missing values in their feature set with each respective feature variable’s median value. A colleague suggests that the data scientist is throwing away valuable information by doing this.
Which of the following approaches can they take to include as much information as possible in the feature set?
Which of the following approaches can they take to include as much information as possible in the feature set?
- AImpute the missing values using each respective feature variable’s mean value instead of the median value
- BRefrain from imputing the missing values in favor of letting the machine learning algorithm determine how to handle them
- CRemove all feature variables that originally contained missing values from the feature set
- DCreate a binary feature variable for each feature that contained missing values indicating whether each row’s value has been imputed
- ECreate a constant feature variable for each feature that contained missing values indicating the percentage of rows from the feature that was originally missing
send
light_mode
delete
All Pages