What should an audit trail for an AI system record, and who uses it?
Responsible AI and governance · Pro 1
Short answer
For each decision or action: who or what made the request, on whose behalf, the input, the model and prompt version, the data or documents used, the output, any tool actions, who approved or overrode it, and when. Auditors, investigators and the product team use it to explain decisions, investigate incidents and prove controls work.
Deeper answer
An audit trail answers 'what happened and why' months later. It differs from debugging logs: it must be complete for the events that matter, protected from tampering, kept for a defined period and accessible only to authorised people.
Record versions, because the same input can give a different output after a prompt or model change. Record the human step, because accountability rests with people. Mask or minimise personal data in the trail itself, and set retention to match legal and business needs, not 'forever'.
What a strong answer covers
- Records who acted and on whose behalf
- Records input, output and data used
- Records model and prompt versions
- Records human approval or override
- Protects logs: tamper-proof, access, retention, minimised data
Answer it out loud in the mock interview about 1.5 min
Follow-ups to expect
- How long would you keep audit logs, and who decides?
- How do you keep personal data out of the logs?
Common mistakes
- Logging outputs without the model or prompt version
- Keeping logs forever with full personal data
Learn it
- If an AI agent makes a costly mistake, who is accountable, and how do you design for that?
- How do you limit what an agent can do?
- What is bias in AI? Give an example and how to reduce it.
- Would you use AI to summarise a confidential meeting? How would you decide?
- Your team wants to use AI-generated images in a social media campaign. What do you check first?
- Walk me through how you would assess the risks of a new AI feature before launch.
- Your AI assistant gave harmful advice to a customer. What do you do?
- Your company wants to buy an AI tool from a vendor. What do you check before approving it?
- Your automation handles customer personal data. What precautions do you take?
- An AI tool your team uses to shortlist job applicants seems to favour one group. What do you do?
- What should a company's AI usage policy cover?
- What does India's DPDP Act mean for a company using AI?
- How does the EU AI Act sort AI systems by risk, and why could it matter to an Indian company?
- A caller who sounds exactly like your boss asks you to make an urgent payment today. What do you do?
- A client's security team sends a long questionnaire about your AI system. How do you handle it?
- What responsible AI checks would you run before launching an AI feature?
- How would you spot a deepfake or AI-generated misinformation?
- What information should you never paste into a public AI chatbot at work?