Course menuAIP-C01

Exams / AIP-C01 / Choosing how to deploy models (on-demand, Provisioned Throughput, SageMaker AI endpoints) / Question 1

AIP-C01 practice question: Choosing how to deploy models (on-demand, Provisioned Throughput, SageMaker AI endpoints)

Implementation and Integration A free question from our original AIP-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

A recruiting platform is adding a feature that summarizes candidate resumes. The feature is new, so the team has no traffic history yet. Usage is spiky: recruiters upload batches on weekday mornings, and on most other days the feature handles only a few hundred summaries.

The team wants to pay only for the tokens it actually processes, and it does not want to commit to hourly capacity until real usage patterns are known. During a batch, each summary must return within a few seconds.

Which deployment option is the MOST cost-effective for these requirements?

Choose one answer.

  1. A. Call the foundation model on demand through the Amazon Bedrock Converse API, paying per token processed, and retry throttled requests with exponential backoff.
  2. B. Purchase Provisioned Throughput with a one-month commitment, sized for the weekday morning peak, so that every request has dedicated capacity.
  3. C. Deploy the model to a SageMaker AI real-time endpoint on GPU instances that run around the clock, with autoscaling to a minimum of one instance.
  4. D. Run the summaries with a SageMaker AI batch transform job each night over that day's uploads, so that each resume is processed at the lowest cost per job.
Show the answer and explanation

Answer: A

  • A. Right: On-demand pricing charges only for tokens processed, with no commitment and no idle capacity. Short responses during a batch meet the latency target, and the team can move to reserved capacity later if usage grows.
  • B. Wrong: Provisioned Throughput bills for reserved model units every hour, including the many days with little traffic. This conflicts with the pay-only-for-tokens requirement before any usage pattern is known.
  • C. Wrong: A real-time endpoint keeps GPU instances running at night and on quiet days, so the team pays for idle hours. It also adds endpoint and model operations the team does not need for a new feature.
  • D. Wrong: Batch transform is cheap per job, but results arrive hours later, which misses the requirement of a few seconds per summary during a batch. Recruiters need answers while they are working.

Explanation

On-demand inference suits a new feature with unknown and spiky traffic, because the team pays only for tokens processed and has no hourly commitment. Provisioned Throughput and always-on endpoints charge for capacity during quiet periods, and batch transform gives up the seconds-level response that recruiters need.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Choosing how to deploy models (on-demand, Provisioned Throughput, SageMaker AI endpoints)? The 5 full-length practice sets have 7 more Choosing how to deploy models (on-demand, Provisioned Throughput, SageMaker AI endpoints) questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets