A model is deployed behind an API Gateway. You must ensure that each request includes the correct model version for auditing, while keeping endpoint traffic efficient. Which design is most appropriate?

Answer

Use Model Registry versions and require clients to send a model version identifier; map that to the correct SageMaker endpoint variant (or separate endpoints) and log version IDs without sensitive payloads

Explanation

Explicit version selection enables deterministic auditing and aligns responses to a known model build. Logging version IDs (not payloads) preserves efficiency and security.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A batch ML pipeline on AWS must retrain daily from immutable S3 snapshots. The training job writes large artifacts and models to S3, and inference is triggered automatically. Which AWS services/patterns best satisfy reproducibility and traceability across runs?

View question →

A model performs well offline but is unreliable in production due to covariate shift. You must detect drift early and automatically prevent harmful rollouts. Which combination is most appropriate?

View question →

A transformer-based text model is trained with mixed precision. In production, you observe numerical instability only for certain long inputs. Which training/serving strategy most directly addresses this mismatch?

View question →

You are designing a multi-stage pipeline: preprocessing → training → batch scoring. Preprocessing occasionally fails for a subset of objects, and you must avoid reprocessing successful items while keeping full lineage. Which architecture best meets these requirements?

View question →

A compliance requirement states: “Training data must be encrypted at rest and in transit, and all access to training artifacts must be auditable.” A solution must also support secure cross-account sharing of read-only artifacts for evaluation. Which combination best meets these requirements?

View question →

You need to securely pass sensitive inference-time parameters (e.g., customer-specific thresholds) to an ML endpoint. The value must not appear in logs and should be decrypted only within the serving layer. Which approach is best?

View question →

QuestionBack to list