QuestionQ136
VerifiedTesting, Validation, and TroubleshootingA company is carrying out a 2-week initiative to integrate GenAI into several hundred existing applications, providing context-driven natural-language assistance to users. To streamline selecting a suitable model for each application, a GenAI Developer is building a system that automatically compares foundation models (FMs) for general text-generation accuracy. The system runs a job that completes a series of steps.
First, the system creates a service role and attaches an IAM permissions policy that permits Amazon Bedrock to invoke the FMs and provides access to Amazon S3. Next, the system requests and receives access to all FMs that must be tested. The system then creates S3 buckets to store evaluation results. It creates evaluation configurations using the TREX built-in dataset. Finally, it specifies the Accuracy metric and the Generation evaluation type in each evaluation configuration.
When the GenAI Developer tries to run the system, it fails with an AccessDenied exception. The GenAI Developer must fix the issue.
Which solution meets this requirement?
Community Discussion