A company wants to create a chatbot by using a foundation model (FM) on Amazon Bedrock. The FM needs to access encrypted data that is stored in an Amazon S3 bucket. The data is encrypted with Amazon S3 managed keys (SSE-S3). The FM encounters a failure when attempting to access the S3 bucket data. Which solution will meet these requirements?
I see why B might look tempting, since public access would let anything read the S3 files. But that's risky in AWS and not how you'd usually solve it. Seems reasonable for fixing a quick access error if security isn't a concern though.
I’d say B could work if the chatbot just needs access, since public access bypasses some restrictions. But that's not really best practice in AWS security. Could be missing something though, open to other ideas.
This is a good IAM practice example. A is right since Bedrock needs the correct role permissions for S3 decryption (SSE-S3 handles the keys but still checks permissions). I’ve seen a similar scenario in the official AWS guides and practice exams, so I’m pretty confident.