An ML engineer needs to retrieve only the most recent version of a single customer's metadata record from SageMaker Feature Store for real-time inference. Which API or method should the engineer use?
Choose an answer
Tap an option to check your answer.
Correct answer: Call the SageMaker Feature Store GetRecord API with the record identifier..
Why this is the answer
The GetRecord API is the correct choice because it is designed for real-time retrieval of a single record from a SageMaker Feature Store. When you call GetRecord with a record identifier, it automatically returns the most recent version of that record by default, making it efficient for online inference scenarios. Calling BatchGetRecord is incorrect because it's used to retrieve multiple records across different feature groups, not a single record, and would require additional filtering to find the latest version if multiple versions existed for the same record, which GetRecord handles inherently. Running Amazon Athena queries is incorrect because Athena is an analytical query service optimized for large-scale, batch processing of data in S3. It introduces significant latency, making it unsuitable for real-time inference requirements. Even with writetime filtering, Athena's batch nature makes it inappropriate for this use case.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed