Question 457 of 500
Fundamentals of AI and MLhardMultiple ChoiceObjective-mapped

Quick Answer

The answer is Amazon SageMaker Serverless Inference because it meets both the need for automatic scaling from zero during sudden traffic spikes and the sub-5-second latency requirement, while avoiding idle provisioning costs. SageMaker Serverless Inference uses a pay-per-invocation model that scales compute resources on demand, making it ideal for variable workloads like promotional events where request volume is unpredictable. On the AWS Certified AI Practitioner AIF-C01 exam, this scenario tests your ability to distinguish between serverless and real-time endpoints: the key trap is assuming that any latency-sensitive workload requires a provisioned real-time endpoint, but serverless can handle latencies under five seconds for most models. Remember that serverless is best for intermittent or spiky traffic with moderate latency needs, while real-time endpoints suit consistent, sub-second latency demands. A simple memory tip: “Spikes and low cost? Serverless is your boss.”

AIF-C01 Fundamentals of AI and ML Practice Question

This AIF-C01 practice question tests your understanding of fundamentals of ai and ml. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A financial institution is deploying a fraud detection model using Amazon SageMaker. The model must be able to handle sudden spikes in inference requests during promotional events while keeping costs low. The team wants to use a serverless architecture to avoid provisioning idle capacity and to scale automatically from zero. However, the inference latency requirement is under 5 seconds for each request. Which SageMaker inference option should they choose?

Question 1hardmultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use Amazon SageMaker Serverless Inference

Amazon SageMaker Serverless Inference is the correct choice because it automatically scales from zero to handle sudden spikes in inference requests, aligning with the requirement to avoid provisioning idle capacity. It also meets the sub-5-second latency requirement for fraud detection, as it is designed for low-latency, on-demand inference without managing underlying infrastructure.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use Amazon SageMaker Serverless Inference

    Why this is correct

    Serverless Inference scales automatically from zero and reduces costs during idle periods.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use Amazon SageMaker Multi-Model Endpoints

    Why it's wrong here

    Multi-Model Endpoints still require provisioned instances and cannot scale to zero.

  • Use Amazon SageMaker real-time endpoints with auto-scaling

    Why it's wrong here

    Real-time endpoints require provisioned instances and incur costs even when idle; auto-scaling does not scale to zero.

  • Use Amazon SageMaker Asynchronous Inference

    Why it's wrong here

    Asynchronous Inference is designed for large payloads and higher latency (up to 30 min), not for sub-5 second latency.

Common exam traps

Common exam trap: answer the scenario, not the keyword

AWS often tests the misconception that serverless inference cannot meet low-latency requirements, but SageMaker Serverless Inference is specifically designed for sub-second to few-second latency, making it suitable for real-time fraud detection scenarios.

Detailed technical explanation

How to think about this question

SageMaker Serverless Inference uses AWS Lambda under the hood to automatically scale compute resources based on request volume, with a maximum concurrency limit that can be configured. It is optimized for workloads with variable traffic patterns, such as promotional events, by charging only for the compute time used (in milliseconds) and data processed, making it cost-effective for sporadic inference requests. However, it has a maximum invocation payload size of 6 MB and a maximum response timeout of 60 seconds, which should be verified against the fraud detection model's input size and processing time.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AIF-C01 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AIF-C01 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AIF-C01 question test?

Fundamentals of AI and ML — This question tests Fundamentals of AI and ML — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use Amazon SageMaker Serverless Inference — Amazon SageMaker Serverless Inference is the correct choice because it automatically scales from zero to handle sudden spikes in inference requests, aligning with the requirement to avoid provisioning idle capacity. It also meets the sub-5-second latency requirement for fraud detection, as it is designed for low-latency, on-demand inference without managing underlying infrastructure.

What should I do if I get this AIF-C01 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on AIF-C01

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A data scientist wants to host a pre-trained model on Amazon SageMaker for real-time inference with minimal latency. Which approach should they use?

easy
  • A.Run inference using AWS Lambda with the model packaged as a container
  • B.Use SageMaker batch transform
  • C.Create a SageMaker asynchronous inference endpoint
  • D.Deploy the model on a SageMaker real-time endpoint

Why D: Option D is correct because SageMaker real-time endpoints are designed for low-latency, synchronous inference. They keep the model loaded and ready to respond to individual requests, making them ideal for real-time applications where minimal latency is critical.

Variation 2. A deployed model on an Amazon SageMaker endpoint is experiencing high inference latency (average 500ms) during peak hours. The model is a deep neural network with 10 million parameters. The endpoint uses a single ml.c5.xlarge instance. The company wants to reduce latency to under 200ms without retraining or changing the model architecture. Which action should they take?

hard
  • A.Enable automatic scaling to add more instances
  • B.Switch to a GPU-based instance type like ml.p2.xlarge
  • C.Deploy the model on a multi-model endpoint
  • D.Use SageMaker Neo to compile and optimize the model

Why D: SageMaker Neo compiles trained models into an optimized format for the target hardware, reducing inference latency without altering the model architecture. For a deep neural network with 10 million parameters on a CPU instance, Neo applies hardware-specific optimizations like operator fusion and memory layout tuning, which can significantly lower latency. This directly addresses the requirement to reduce latency from 500ms to under 200ms without retraining or changing the model.

Keep practising

More AIF-C01 practice questions

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.