AI-901 ยท Principles of responsible AI
Privacy and security
Protecting personal data and models: data consent and minimization, access control, data leakage through prompts or training data, and secure handling of keys.
Key points
- AI systems must protect personal data and resist misuse.
- Collect only what you need with consent, limit access with least privilege, keep personal data out of prompts, logs and training sets unless justified, and handle keys and secrets carefully (rotate them, never hard-code them).
Practice questions
Which responsible AI principle includes data minimisation, consent and protecting access keys?
- Privacy and security
- Inclusiveness
- Fairness
- Transparency
Show answer
Answer: A. Privacy and security
Privacy and security covers protecting personal data and systems. The other principles address accessibility, equitable treatment and explainability.
Which practices help protect privacy and security in an AI solution?
- Collect only the data needed for the stated purpose
- Obtain consent before using personal data to train a model
- Grant users only the permissions their role requires
- Place secret keys inside prompts so the model can use them
- Keep every raw customer conversation forever for possible future training
Show answer
Answer: A. Collect only the data needed for the stated purpose, B. Obtain consent before using personal data to train a model, C. Grant users only the permissions their role requires
Minimisation, consent and least privilege protect people and systems. Secrets in prompts can leak, and indefinite retention of raw conversations increases exposure.
Embedding an API key directly in a mobile app's code is safe as long as the code is obfuscated.
Show answer
Answer: False
False. Obfuscation only slows attackers, and keys shipped in client code can be extracted. Keep secrets on the server or in a secret store and prefer identity-based access.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
