Quiz 10 Question 5 of 20

A permitting chatbot's backend service, running as an AWS Lambda function inside the office's own account, needs to call a Bedrock model. The team is deciding between issuing a Bedrock API key and attaching an IAM role to the function for this access. Which choice best fits least-privilege service-to-service access?

Select an answer to reveal the explanation.

Motivation