In SageMaker, you must fine-tune a large language model on proprietary text but also restrict training data exposure to approved datasets only. Which practice best supports least-privilege governance?
Answer
Use separate encrypted S3 locations per dataset with KMS keys and scope IAM roles to only those resources
Explanation
Least-privilege governance is strongest when IAM and encryption boundaries align to approved datasets. Public storage and wildcard roles increase the chance of unintended access.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A tenant wants to prevent cross-document leakage in a knowledge base. Which design choice provides the strongest isolation?
View question →
You need to build a robust fallback strategy for model calls in a multi-agent system. Which mechanism best improves resilience against transient failures without degrading answer quality?
View question →
You need to implement an end-to-end retrieval-augmented generation (RAG) pipeline. Which combination best addresses both relevance and groundedness?
View question →
A RAG solution must prevent prompt injection where retrieved text contains malicious instructions. Which mitigation is best?
View question →
You are designing a knowledge base ingestion pipeline. Some documents contain OCR noise and tables with inconsistent formatting. Which approach most improves chunk quality for downstream semantic search?
View question →
A model output must be constrained to a strict JSON schema. Which configuration strategy in Bedrock most directly improves schema validity while preserving semantic correctness?
View question →