An ML engineer needs custom Python libraries available in SageMaker processing jobs, training jobs, and pipelines. Which option provides that capability with the LEAST implementation effort?
Choose an answer
Tap an option to check your answer.
Correct answer: Build a custom Docker image containing the required libraries, push it to Amazon ECR, and use that ECR image for SageMaker jobs and pipelines..
Why this is the answer
Building a custom Docker image with the necessary libraries and pushing it to Amazon ECR is the most efficient and scalable solution. SageMaker natively supports using custom ECR images for processing, training, and pipeline steps, ensuring all environments consistently have the required dependencies. This approach minimizes implementation effort compared to manual installations or external orchestration. Manually installing libraries inside default containers is not persistent across job runs and is cumbersome. Using a SageMaker notebook instance for job execution is not a scalable or production-ready solution for pipelines and processing jobs. Executing code externally on EC2 instances adds unnecessary complexity and overhead, defeating the purpose of SageMaker's managed services.
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