An ML engineer needs to implement a solution to host a trained ML model. The rate of requests to the model will be inconsistent throughout the day.
The ML engineer needs a scalable solution that minimizes costs when the model is not in use. The solution also must maintain the model's capacity to respond to requests during times of peak usage.
Which solution will meet these requirements?
Suggested Answer: D
Get Premium MLA-C01 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
28 comments · newest first
JI
Jina
7 months ago
I like D as well. CloudWatch metrics are reliable for scaling decisions.
NI
Nieves
7 months ago
Option A seems good too, but fixed concurrency might limit flexibility.
TY
Ty
7 months ago
Agreed! It saves costs when demand is low.
CH
Chantay
8 months ago
I think option D is the best. Auto scaling is key for fluctuating requests.
BA
Bambi
8 months ago
I agree, D is definitely the way to go for cost efficiency and responsiveness.
EM
Emmett
8 months ago
Wait, can SageMaker really auto scale like that? Sounds too good to be true!
AL
Aliza
8 months ago
B seems too rigid for fluctuating requests.
TE
Tegan
9 months ago
I think A could work too, but fixed concurrency might limit flexibility.
VA
Vallie
9 months ago
I'm a big fan of the serverless approach, but Option A with Lambda doesn't seem like the right fit here. The SageMaker auto-scaling in Option D is the way to go.
BA
Barney
9 months ago
Haha, using Lambda functions with fixed concurrency? That's like trying to put a square peg in a round hole. Option D is clearly the way to go.
NO
Novella
9 months ago
Option C with the Application Load Balancer could work, but it might be overkill for this use case. The SageMaker auto-scaling in Option D seems more straightforward.
SI
Sina
9 months ago
I'm not sure about Option B. Manually setting the number of tasks on ECS seems like it might not be flexible enough to handle the changing demand.
SA
Salena
9 months ago
I recall that using multiple copies of the model in option C could help with load balancing, but it might not be the most cost-efficient solution when the model is idle.
LU
Luann
10 months ago
I feel like option D with SageMaker and auto-scaling makes the most sense since it can adjust based on demand, but I’m not entirely clear on how the scaling policies work.
WI
William
10 months ago
I think deploying on Amazon ECS with Fargate could work, but it seems like having a static number of tasks might not be cost-effective during low usage times.
JA
Javier
10 months ago
Option D sounds like the best choice for scalability!
KI
King
10 months ago
Option D sounds like the best solution. Automatically scaling the SageMaker endpoint based on CloudWatch metrics seems like a great way to handle the inconsistent request rate.
MA
Madelyn
11 months ago
I remember we discussed using AWS Lambda for handling variable request rates, but I'm not sure if fixed concurrency is the best approach for this scenario.
MA
Martha
11 months ago
The SageMaker options (C and D) seem like the most straightforward way to address the requirements. I'm not as familiar with the Lambda and ECS solutions, so I'd want to do some more research on how they would work in this scenario.
GW
Gwen
11 months ago
I'm leaning towards option D as well. The ability to dynamically adjust the number of instances based on usage patterns seems like it would meet the requirements of scalability and cost-effectiveness.
SA
Sarah
12 months ago
Option C with the Application Load Balancer routing traffic between multiple copies of the model on a SageMaker endpoint also seems like a good choice. That way you can handle fluctuations in demand without over-provisioning resources.
TO
Tonette
12 months ago
I'm a bit confused by the different options. Can someone explain the differences between the AWS Lambda and Amazon ECS solutions? I'm not sure I fully understand how they would work for this use case.
CR
Craig
12 months ago
I think option D sounds like the best approach here. Deploying the model to a SageMaker endpoint and using auto-scaling policies based on CloudWatch metrics seems like a scalable and cost-effective solution.
DI
Diego
7 months ago
Exactly! Flexibility is key for ML deployments.
GR
Graham
7 months ago
Plus, SageMaker is built for ML models. Makes sense.
AL
Alline
10 months ago
Yeah, it keeps costs low when usage is low. Smart choice!
DO
Dominque
11 months ago
I agree, option D is definitely the way to go. Auto-scaling is crucial.
PA
Paz
11 months ago
I like how it can handle peak loads efficiently too.