A data scientist needs to package code into a container that produces both a new scikit-learn model forecast and a benchmark forecast, and wants AWS to handle operational maintenance of the container. Which packaging approach satisfies this requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: Extend the Amazon SageMaker scikit-learn container with the code and use that container..
Why this is the answer
Extending the Amazon SageMaker scikit-learn container allows the data scientist to leverage AWS's operational maintenance for the base container while adding custom code for both the new scikit-learn model forecast and the benchmark forecast. This approach provides the flexibility to include additional logic beyond a simple training script, such as generating multiple forecasts, without building a container entirely from scratch. Providing code as a training script inside the existing container is too restrictive for generating two distinct forecasts. Building a custom container image and pushing it to Amazon ECR or deploying it to AWS Fargate would require the data scientist to manage the entire container's operational maintenance, which contradicts the requirement for AWS to handle it.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed