AIF-C01 practice question 15 of 25

A company has developed an ML model to predict real estate sale prices. The company wants to deploy the model to make predictions without managing servers or infrastructure. Which solution meets these requirements?

Full set: 397 questions

Domain Explain modeling in AI/ML

Answer options
A: Deploy the model on an Amazon EC2 instance.
B: Deploy the model on an Amazon Elastic Kubernetes Service (Amazon EKS) cluster.
C: Deploy the model by using Amazon CloudFront with an Amazon S3 integration.
D: Deploy the model by using an Amazon SageMaker AI endpoint. Correct answer
Correct Answer:
D. Deploy the model by using an Amazon SageMaker AI endpoint.
Explanation

Amazon SageMaker is a fully managed service designed to build, train, and deploy machine learning models at scale. When a model is deployed using a SageMaker endpoint, SageMaker provisions and manages all the necessary underlying infrastructure. This includes handling server provisioning, maintenance, and autoscaling to match inference traffic. This serverless approach allows the company to focus on the model and application logic rather than managing infrastructure, directly fulfilling the core requirement of the question.

Why Incorrect

A. Deploying on an Amazon EC2 instance requires the company to provision, configure, and manage the virtual server, which directly contradicts the "without managing servers" requirement.
B. Amazon EKS abstracts the Kubernetes control plane, but the company is still responsible for managing the worker node cluster (the infrastructure where the model runs).
C. Amazon CloudFront is a content delivery network (CDN) and Amazon S3 is an object store; this combination is used for distributing static content, not for executing an ML model for real-time predictions.

References

1. Amazon SageMaker Developer Guide: "When you deploy a model to a SageMaker endpoint, SageMaker launches the compute resources and deploys your model. SageMaker manages the underlying infrastructure for you." (Source: Amazon SageMaker Developer Guide, "Deploy models for inference with Amazon SageMaker", Section: "Real-time inference").

2. Amazon EC2 User Guide for Linux Instances: "Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) Cloud. Using Amazon EC2 eliminates your need to invest in hardware up front... You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage." This highlights the user's responsibility for managing the virtual server. (Source: Amazon EC2 User Guide for Linux Instances, "What is Amazon EC2?").

3. Amazon EKS User Guide: "Amazon EKS is a managed service that you can use to run Kubernetes on AWS without needing to install, operate, and maintain your own Kubernetes control plane or nodes." However, it clarifies that users manage worker nodes: "An Amazon EKS cluster consists of two primary components: The Amazon EKS control plane and the Amazon EKS nodes (or AWS Fargate) that are registered with the control plane." (Source: Amazon EKS User Guide, "What is Amazon EKS?").

Scroll to Top