A container-based inference pipeline performs heavy preprocessing and calls an external HTTP service. You want to minimize risk of endpoint throttling and improve reliability. Which design is best?
Answer
Move heavy preprocessing into an asynchronous inference workflow and incorporate retries/timeouts with circuit breaking for the external call; use distributed tracing to observe failures
Explanation
Async inference decouples request handling from long-running work, reducing endpoint saturation. Reliability improves with bounded retries/timeouts and observability to pinpoint failure modes.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A data scientist wants to use SageMaker Autopilot for tabular forecasting, but the organization requires reproducibility and strict control over training data versions. What is the best way to enforce deterministic input datasets?
View question →
A team trains a model with data from a feature store. At inference time, you must ensure that the training-time feature definitions, event-time handling, and data freshness logic are consistent with the online pipeline. Which approach is most appropriate?
View question →
You need to evaluate a model for training/serving skew using feature distributions. Which metric and workflow combination is most appropriate for diagnosing whether skew is due to data drift or label leakage?
View question →
An organization uses AWS KMS for encryption and needs to ensure model artifacts and data remain protected at rest and in transit between services. The security team requires that encryption keys are controlled, rotated, and used consistently for both training and model deployment artifacts.
View question →
For a solution that must meet low-latency and high-throughput requirements, you consider switching from synchronous to batch scoring. Under which conditions is batch transform usually a poor fit?
View question →
In a multi-account AWS organization, you need to enable SageMaker model monitoring across all member accounts with least privilege. Which strategy best satisfies both governance and least privilege while supporting centralized workflows?
View question →