CY0-001 practice question 14 of 35

Security logs from a Python-based Jupyter environment indicate that a generative AI assistant used by developers is generating code snippets that…

Choose your answer, then check it against the explanation.

Security logs from a Python-based Jupyter environment indicate that a generative AI assistant used by developers is generating code snippets that include unvalidated strings from the model's output. An attacker successfully manipulated the model into generating a payload that, when rendered in the developer's web-based IDE, executed a malicious script to steal session cookies. Which of the following actions represents the MOST eeective compensating control to mitigate this specific vulnerability?
Answer options
Question 14 of 35

Keep practicing

Take the free CY0-001 practice test

Ten exam-style questions with answers and explanations, plus the exam facts and study guides.

Start the free practice test

More questions

Other CY0-001 practice questions

Scroll to Top