MLS-C01 · Question #197
A machine learning (ML) specialist wants to create a data preparation job that uses a PySpark script with complex window aggregation operations to create data for training and testing. The ML…
The correct answer is B. Add an Amazon SageMaker Experiments tracker to the script to capture key metrics. Run. Amazon SageMaker Experiments (Option B) is the correct service for this task. It provides a structured framework to log, compare, and visualize the parameters and metrics across multiple experiment runs - exactly what is needed to evaluate how varying the number of features and…
Question
A machine learning (ML) specialist wants to create a data preparation job that uses a PySpark script with complex window aggregation operations to create data for training and testing. The ML specialist needs to evaluate the impact of the number of features and the sample count on model performance. Which approach should the ML specialist use to determine the ideal data transformations for the model?
Options
- AAdd an Amazon SageMaker Debugger hook to the script to capture key metrics. Run the
- BAdd an Amazon SageMaker Experiments tracker to the script to capture key metrics. Run
- CAdd an Amazon SageMaker Debugger hook to the script to capture key parameters. Run
- DAdd an Amazon SageMaker Experiments tracker to the script to capture key parameters.
How the community answered
(60 responses)- A3% (2)
- B80% (48)
- C5% (3)
- D12% (7)
Explanation
Amazon SageMaker Experiments (Option B) is the correct service for this task. It provides a structured framework to log, compare, and visualize the parameters and metrics across multiple experiment runs - exactly what is needed to evaluate how varying the number of features and sample counts affects model performance. Metrics (accuracy, loss, etc.) captured during each run are stored and searchable, enabling systematic comparison. Amazon SageMaker Debugger (Options A and C) is designed to detect training anomalies like vanishing gradients or overfitting during a running training job - it is a debugging tool, not an experiment tracking tool. Option D describes SageMaker Experiments but focuses on 'parameters' only; Option B correctly captures both metrics and parameters, making it the more complete and accurate choice for evaluating the impact on model performance.
Topics
Community Discussion
No community discussion yet for this question.