You need to host a trained model that receives an uneven request rate during the day. The hosting must scale to peak demand but minimize cost when idle. Which hosting approach meets these constraints?
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy the model to an Amazon SageMaker endpoint and configure SageMaker endpoint autoscaling policies based on Amazon CloudWatch metrics to adjust instance count dynamically..
Why this is the answer
Deploying the model to an Amazon SageMaker endpoint with autoscaling policies is the most suitable solution. SageMaker endpoints are designed for hosting models and can automatically adjust the number of instances based on CloudWatch metrics like CPU utilization or invocation count. This ensures the endpoint scales up to handle peak demand efficiently and scales down during idle periods, minimizing costs. Incorrect options: AWS Lambda with fixed concurrency won't scale automatically based on model invocation load, leading to potential performance issues or over-provisioning. Deploying to Amazon ECS on Fargate with a static number of tasks sized for peak load will incur unnecessary costs during idle times as resources remain provisioned. Hosting multiple copies behind an ALB without autoscaling still requires manual scaling or a separate autoscaling mechanism, which SageMaker endpoints provide natively and more integrated for ML models.
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