‹ All AIF-C01 questions

AIF-C01 Practice Question 22: Batch vs Real Time Inference

AWS Certified AI Practitioner (AIF-C01) · Test 3 · question 2 of 10

Fundamentals of AI and MLmedium

Every night an insurance company scores roughly 40 million policy records with a churn model. The results are only read the next morning by an analytics team, so no user is waiting on any individual prediction, and the company wants to avoid paying for compute during the 23 hours a day when nothing is being scored. Which inference option fits these requirements at the lowest cost?

Select one answer
Show answer and explanation

Answer:

  • B. Run a batch transform job that scores the whole dataset and writes the output to Amazon S3

Batch transform is the right fit when you need inferences from a large dataset, no persistent endpoint is required, and results can be written to Amazon S3 rather than returned in a request. SageMaker AI starts the compute instances, distributes the dataset across them, writes the output files, and then shuts the instances down, so you pay only for the length of the job, not for 24 hours of idle endpoint (option B).

- A is wrong because a real-time endpoint runs, and bills, continuously, including the 23 hours a day when nothing is being scored. Forty million individual HTTP calls is also a slow and expensive way to move a bulk workload. - C is wrong for the same reason, and makes it worse: a larger instance raises the hourly cost of an endpoint that is idle most of the day. Auto scaling reduces instances under low load but does not remove the always-on baseline. - D is wrong because serverless inference is designed for intermittent, low-volume, latency-sensitive traffic. Invoking it 40 million times in one window is a bulk job wearing a request/response shape, and it does not beat batch transform on cost here.

Reference: Batch transform for inference with Amazon SageMaker AI

Practice Test 3 ›

Study guides for AIF-C01

AI engineer roadmap 2026: skills, certs and the orderAI engineer roadmap for 2026: skills to learn in order, AI engineer vs ML engineer, which certifications fit each stage, and what to skip.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
How AWS Certification Exams Work: Scoring and RenewalHow AWS certification exams work: levels, booking, question types, unscored questions, scaled scores, pass marks, validity and how recertification works.
What Is Amazon Bedrock? Models, Pricing and GuardrailsWhat is Amazon Bedrock? How a request reaches a model, what happens to your data, token pricing, Guardrails, Knowledge Bases, AgentCore and the exam traps.
Google Cloud Generative AI Leader vs AWS AI PractitionerGoogle Cloud Generative AI Leader vs AWS AI Practitioner: format, cost, topics, free preparation and which certification to take first.
AWS certification cost in 2026, and free ways to prepareWhat every AWS certification costs in 2026 in USD and INR, retake and reschedule rules, the 50% voucher, and the free official ways to prepare.
AWS Generative AI Developer Professional (AIP-C01) guideWhat the AWS Certified Generative AI Developer – Professional (AIP-C01) exam covers - format, cost, the five domains, the services, and how to prepare.
Best AI certifications 2026: AWS, Google, Microsoft, ClaudeThe best AI certifications in 2026 from AWS, Google, Microsoft, Claude and Databricks, by level, with price, status and which one to take first.
Which AWS certification should you get? 2026 roadmapWhich AWS certification to get first, by role and experience, with each exam's status in October 2026, what is changing, and prices in USD and INR.
What Is RAG? How Retrieval-Augmented Generation WorksWhat RAG is and how it works: chunking, embeddings, vector search, hybrid search, reranking, GraphRAG and agentic RAG on AWS, Google and Azure.
Prompt engineering vs RAG vs fine-tuningWhen to use prompt engineering, retrieval-augmented generation, fine-tuning or continued pre-training, compared on cost, freshness, hallucination and privacy.