AI and LLMs · Senior · Question 62 of 75

What is the risk of letting a model generate and run database queries for analytics?

Show the answer

Correct answer: Wrong or costly queries, data leaks, unguarded writes

Explanation

Use read-only roles, row-level security, query cost limits and show the SQL to users for verification.

Further reading

Problem with a question

AI and LLMs · Senior · question 62

Test yourself

Take the AI and LLMs · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz