Flashcardsfor IT Certifications

D2: SageMaker Script Mode & Frameworks

AWS Certified Machine Learning Engineer – Associate exam practice questions · 10 flashcards

Question
What is script mode?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 SageMaker Script Mode & Frameworks practice questions and answers
  1. What is script mode?
    Bring your own training script to SageMaker's prebuilt framework containers (PyTorch, TensorFlow, scikit-learn, XGBoost, Hugging Face).
  2. Estimator in SageMaker Python SDK?
    Configures training job: entry_point, framework version, instance type/count, hyperparameters, role.
  3. Training data channels?
    Named inputs (train, validation) mapped to /opt/ml/input/data/<channel>.
  4. Where should the script save the model?
    /opt/ml/model (SM_MODEL_DIR), uploaded to S3 as model.tar.gz.
  5. Environment variables in script mode?
    SM_CHANNEL_TRAIN, SM_MODEL_DIR, SM_HPS, SM_NUM_GPUS etc.
  6. Bring your own container (BYOC)?
    Custom Docker image in ECR when frameworks don't fit.
  7. requirements.txt in script mode?
    Install extra libraries in source_dir.
  8. SageMaker ModelTrainer?
    Newer SDK v3 interface for configuring training jobs.
  9. Local mode?
    Run training/inference containers locally to debug before cloud runs.
  10. Scenario: existing PyTorch code needs managed training with minimal changes. Approach?
    Script mode with PyTorch estimator.