☎  076 959 6407✉  support@quizcrazepro.co.za
Learn. Practice. Build your future.
BlogHelpContact
G

Google Professional Machine Learning Engineer

280 Questions120 Minutes70% Passing Score▣ Updated: Sep 2026

Question 78 of 280

Single answer
You are creating a deep neural network classification model using a dataset with categorical input values. Certain columns have a cardinality greater than 10,000 unique values. How should you encode these categorical values as input into the model?
AConvert each categorical value into an integer value.
BConvert the categorical string data to one-hot hash buckets.
CMap the categorical variables into a vector of boolean values.
DConvert each categorical value into a run-length encoded string.
Correct Answer: B

Convert the categorical string data to one-hot hash buckets.

Explanation

The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.

About this practice exam

Review 280 Google questions with answers and explanations. Use the navigation to move through the exam at your own pace.