ShopRight has a latency-sensitive product recommendation endpoint that must fetch feature vectors in single-digit milliseconds for each incoming inference request. The features are customer-session attributes that change frequently. Which setup gives the most reliable low-latency retrieval pattern for real-time inference while staying within managed SageMaker services?
Choose an answer
Tap an option to check your answer.
Correct answer: Create Feature Groups with online store enabled, ingest with BatchPutRecord/PutRecord, and have the model container call the SageMaker Feature Store Runtime API (GetRecord) to retrieve features by record identifier on each request. Ensure the model's IAM role has FeatureStoreRuntime:GetRecord permission and the feature groups are in the same region..
Why this is the answer
The correct option leverages SageMaker Feature Store's online store, specifically designed for low-latency, real-time feature retrieval. Using GetRecord with online store enabled ensures single-digit millisecond latency, which is critical for the product recommendation endpoint. The features are ingested using BatchPutRecord/PutRecord to keep the online store up-to-date with frequently changing customer-session attributes. Proper IAM permissions and regional consistency are essential for secure and efficient access. Storing features only in S3 and using Athena (first incorrect option) would introduce significant latency, as S3 and Athena are not optimized for real-time, single-record lookups. Caching might help for repeated requests but not for the first access or frequently changing data. Using DynamoDB (third incorrect option) is a viable pattern for low-latency retrieval, but it bypasses the managed benefits and integrations of SageMaker Feature Store's online store, adding operational overhead. Asynchronous batch inference (fourth incorrect option) is unsuitable for real-time, latency-sensitive recommendations that require immediate feature access for each incoming request.
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