CertKeen

AWS Machine Learning Engineer Associate (MLA-C02) · Free practice question 7 of 12

Serverless provisioned concurrency for cold starts

Glasshouse Florists uses a SageMaker AI serverless endpoint for an order-routing model. Traffic is predictable: a surge every weekday from 8 to 9 AM. Customers complain about slow first responses at the start of the surge. Which change most directly addresses this while keeping the serverless option?

  1. A.Switch the endpoint to asynchronous inference and poll Amazon S3 for the results
  2. B.Raise the endpoint's memory size from 2 GB to 6 GB to make the container start sooner
  3. C.Configure Provisioned Concurrency, scaled on a schedule ahead of the morning surge
  4. D.Lower the maximum concurrency setting so that fewer requests reach the endpoint
Show answer and explanation

Correct answer: C. Configure Provisioned Concurrency, scaled on a schedule ahead of the morning surge

Why: Provisioned Concurrency keeps a set number of serverless endpoint instances warm so they respond without a cold start, and it can be managed with Application Auto Scaling on a schedule, which suits a predictable surge. More memory changes compute size but does not remove the cold start. Lower maximum concurrency causes throttling. Asynchronous inference changes the request model, which does not suit interactive callers.

More free AWS Machine Learning Engineer Associate (MLA-C02) questions