FutureMindsStudyStart Practice
← Back to MLA-C01 Overview

Feature Engineering & Optimization Scenario-Based Selector Guide

Matrix 1 of 17

This scenario-based selector guide maps common dataset patterns directly to the correct feature engineering and optimization techniques tested on the AWS exam.

Dataset ConditionThe Problem**Correct Technique**AWS Exam Keyword Triggers
Unordered text words *(Low count)*Models only read numbers.**One-Hot Encoding**`Fabric type`, `City names`, `Device type`.
Ordered text words *(e.g., Low, Medium, High)*Order holds mathematical meaning.**Ordinal / Label Encoding**`Education level`, `Survey ratings`, `T-shirt sizes`.
Too many unique words *(High Cardinality)*One-hot creates too many columns.**Target Encoding / Embeddings**`Zip codes`, `User IDs`, `IP addresses`.
Dense combined stringsInformation is mashed together.**Feature Splitting**`Timestamps`, `Full Addresses`, `Product codes`.
Dataset ConditionThe Problem**Correct Technique**AWS Exam Keyword Triggers
:---:---:---:---
Vastly differing rangesBig numbers drown out small numbers.**Standardization (Z-score)**`Distance-based models`, `KNN`, `House size vs. Bedrooms`.
Bounded range requiredModel requires strict 0-to-1 input boundaries.**Min-Max Normalization**`Image pixel arrays (0-255)`, `Neural network input layers`.
Heavily skewed distributionLong tail of extreme outliers breaks math.**Log Transformation**`Income distribution`, `Company revenues`, `Population sizes`.
Continuous range varianceFine-grained values reduce accuracy.**Binning / Bucketing**`Age into life-stages`, `Credit scores into tiers`.
Machine Learning ConditionThe Problem**Correct Technique**AWS Exam Keyword Triggers
:---:---:---:---
Tabular model overfittingModel memorizes training noise.**L1 Regularization (Lasso)**`Drive weights to zero`, `Enforce feature selection`.
Neural network overfittingConnected nodes become overly dependent.**Dropout Layers**`Randomly deactivate neurons`, `Force robust learning paths`.
Retraining loss driftPerformance degrades as epochs continue.**Early Stopping**`Monitor validation loss`, `Halt training automatically`.
Edge / Mobile deploymentModel file is too heavy for phone memory.**Pruning & Quantization**`SageMaker Neo`, `Convert 32-bit to 8-bit`, `Cut dead layers`.

πŸ’‘ Quick Elimination Rules for the Exam

  • Is it an image pixel or audio stream? βž” **Eliminate** One-Hot Encoding and PCA.
  • Is it a classification problem (Yes/No)? βž” **Eliminate** RMSE and MAE.
  • Is it an unsupervised problem (No labels)? βž” **Eliminate** Linear Learner and XGBoost.
  • Is it an edge device (IoT/Mobile) problem? βž” **Eliminate** standard EC2 endpoints. Look for **SageMaker Neo**.