Question 1 · choose 1
A payments company is building a fraud model. At inference time the endpoint must look up each card's latest aggregated features within milliseconds. Data scientists also need every historical value of those features, with the time each value was valid, to build training sets. Which Amazon SageMaker Feature Store configuration meets both needs?
- AA feature group with only the offline store, queried with Amazon Athena at inference time
- BA feature group with only the online store, exported nightly for training
- CTwo feature groups that use the same record identifier, one per store
- DA feature group with both the online store and the offline store enabled
Show the answer and why
AA feature group with only the offline store, queried with Amazon Athena at inference time
Incorrect
The offline store is meant for cases where sub-second reads are not needed, such as exploration, training and batch inference. It is not a millisecond lookup path for a live endpoint.
BA feature group with only the online store, exported nightly for training
Incorrect
The online store keeps only the record with the latest event time for each record identifier, so the earlier values that training needs are not there to export.
CTwo feature groups that use the same record identifier, one per store
Incorrect
One feature group can enable both stores, and Feature Store keeps them in sync. Two separate groups would have to be written and kept consistent by the team, which adds work and risks training-serving skew.
DA feature group with both the online store and the offline store enabled
Correct
The online store serves the latest record for each identifier with low latency through GetRecord, and the offline store in Amazon S3 keeps every historical record for training. When both are enabled they stay in sync.
Online store for the newest value at low latency, offline store for full history: enabling both on one feature group is the standard way to serve and train from the same feature definitions.
AWS documentation