AWS Certified Machine Learning – Specialty — Question 347

A machine learning (ML) engineer is integrating a production model with a customer metadata repository for real-time inference. The repository is hosted in Amazon SageMaker Feature Store. The engineer wants to retrieve only the latest version of the customer metadata record for a single customer at a time.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

The GetRecord API is the most efficient and lowest-latency method to retrieve a single record from the Amazon SageMaker Feature Store Online Store, which always contains the latest version of the data. BatchGetRecord is designed for retrieving multiple records and adds unnecessary complexity for single-record retrieval. Amazon Athena queries run against the Offline Store, which is built for batch analysis and introduces too much latency for real-time inference.