🔥 3-day streak
AWS Certified Generative AI Developer - Professional128 / 166
Question 128 of 166
A financial services company runs a customer-facing chatbot on Amazon Bedrock. The application's system prompt contains internal business rules and a partner API key that the LLM uses to format responses. Security testing reveals that adversarial users can craft prompts that trick the model into revealing portions of the system prompt, including the embedded API key. The team must eliminate this data exfiltration risk while keeping the chatbot functional. What is the MOST effective remediation?
Reviewed for accuracy · Report an issueNext question