AWS Certified Machine Learning Engineer – Associate (MLA-C01) — Question 39

An ML engineer needs to use AWS CloudFormation to create an ML model that an Amazon SageMaker endpoint will host.
Which resource should the ML engineer declare in the CloudFormation template to meet this requirement?

Answer options

Correct answer: A

Explanation

The correct answer is A, AWS::SageMaker::Model, because this resource is specifically used to create a machine learning model in SageMaker. Option B would create an endpoint but does not define the model, while options C and D pertain to notebook instances and pipelines respectively, which are not directly related to defining a model for hosting.