This website uses cookies to ensure you get the best experience.
Learn more.
A text-to-SQL assistant should answer analytics questions but must never modify production data. Which two controls are appropriate? Select 2 answers.
Published
- Give the model database administrator credentials and rely only on a polite prompt.
- Allow any generated SQL because the user asked in natural language.
- Disable query logging to prevent discovering accidental writes.
- Validate and constrain generated queries, with execution limits and a safe failure path.
- Use a database identity restricted to the approved read-only data scope.
Comments — 0
Sign in to comment