In a multi-account setup, you need to allow a SageMaker job in Account A to read training data from a data bucket in Account B while preventing data exfiltration to unauthorized destinations. Which combination is most appropriate?
Answer
Use cross-account IAM roles with least-privilege S3 read permissions for the training role and restrict access using bucket policies and (if applicable) VPC endpoints with security controls
Explanation
Cross-account roles plus bucket policies provide least-privilege data access and allow additional guardrails. Hardcoding credentials increases leakage risk and SCP-only isn’t sufficient for resource-specific access.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
You are using SageMaker Automatic Model Tuning for an expensive neural network. Training time is the dominant cost, and you must reduce total trials while still exploring the hyperparameter space effectively. Which strategy is most suitable?
View question →
When selecting a deployment option for a large model with highly variable request volume, which decision best balances cost and availability while supporting near-real-time inference?
View question →
You need to detect label leakage caused by a late-appearing feature that correlates strongly with the target in training but is unavailable at inference time. Which approach most directly prevents this problem?
View question →
You are diagnosing a model monitoring alert in SageMaker for prediction drift. You suspect the root cause is a schema change that still maps to the correct feature names but alters feature distributions. Which monitoring strategy is most appropriate to isolate the change and reduce false positives?
View question →
A model trained in SageMaker has to be versioned with reproducible preprocessing, feature semantics, and consistent serving. Which design most directly achieves end-to-end governance?
View question →
A team wants to train a PyTorch model with large embeddings that do not fit in memory, and they need efficient input throughput from S3 to GPUs on Amazon SageMaker. Which configuration best aligns with scalable training?
View question →