A customer wants to deploy an LLM-powered service in multiple AWS accounts. They must ensure that model invocation, data access, and logging comply with strict separation of duties. Which AWS-side design best meets this requirement?

Answer

Use least-privilege IAM roles for model invocation, separate roles/policies for retrieval and tooling, and restrict logging via KMS-encrypted log stores with controlled access

Explanation

Separation of duties is enforced by least-privilege IAM and role scoping per capability (invoke, retrieve, tool access). Encrypting and restricting logs reduces risk of unauthorized access to sensitive traces.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A Step Functions workflow calls two different Bedrock models sequentially: first extracts entities and then drafts a final response. The extracted entities are sometimes missing key constraints needed for correct downstream policy logic. What control is most appropriate?

View question →

A regulated workload requires that model outputs never reveal sensitive customer attributes. You can choose between prompt-only instructions, content filtering, or a combination of both with pre/post-processing. What is the best practice?

View question →

A multi-modal application uses a Bedrock foundation model to generate answers from images. The requirement is to minimize unsafe content while preserving helpfulness. Which approach best aligns with production-grade safety controls?

View question →

You need to reduce hallucinations in a multi-step workflow that uses Bedrock and an orchestration layer (e.g., Step Functions). Which control strategy is most aligned with an AI Practitioner foundational approach?

View question →

A team deploys an Amazon SageMaker endpoint for text classification. The model is producing occasional underconfident predictions for rare classes after a data drift event. Which action is most appropriate to diagnose and mitigate the issue?

View question →

You ingest documents into a vector store and periodically re-embed them. After an embedding model version change, retrieval recall drops for certain categories even though the documents are unchanged. What is the best first hypothesis and next action?

View question →

QuestionBack to list