GCP Professional Data Engineer Practice Question

Your team is building a BigQuery ML regression model with CREATE MODEL and a TRANSFORM clause. Column promotion_code is a STRING with roughly 40 unique values. Column order_total is a NUMERIC field that contains many extreme outliers. You must 1) convert promotion_code into individual binary indicator features and 2) rescale order_total so that the model is less sensitive to outliers without clipping zeros. Which combination of manual preprocessing functions satisfies both requirements?

  • Use ML.ONE_HOT_ENCODER on promotion_code and ML.MAX_ABS_SCALER on order_total

  • Use ML.BUCKETIZE on promotion_code and ML.ROBUST_SCALER on order_total

  • Use ML.FEATURE_CROSS on promotion_code and ML.NORMALIZER on order_total

  • Use ML.ONE_HOT_ENCODER on promotion_code and ML.ROBUST_SCALER on order_total

GCP Professional Data Engineer
Preparing and using data for analysis
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot