AIF-C01 Applications of Foundation Models • Set 4
AIF-C01 Applications of Foundation Models Practice Test 4 — 15 questions with explanations. Free, no signup.
A company uses Amazon Bedrock to generate code snippets for internal tools. They notice that the generated code often contains security vulnerabilities such as SQL injection and cross-site scripting. The security team has compiled a comprehensive list of secure coding guidelines and examples of vulnerable patterns. The development team wants to reduce vulnerabilities without significantly slowing down the code generation process. They have tried adding the guidelines to the system prompt, but the model still produces insecure code occasionally. The team is considering additional measures. Which action should they take to most effectively eliminate security vulnerabilities in the generated code?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.