
Data and engineering
Security for Data and AI
Secrets, identities, Power BI and Fabric access, and guardrails for AI agents.
- units
- 8
- lessons
- 23
- minutes
- 115
- exercises
- 138
The first unit is free, no credit card required. The other 7 unlock when you buy the course or go Pro. Single course: $12.99, one-time payment.
What's in the course.
.env and .gitignore, leaked keys, service principals, managed identities, Key Vault, secret scopes, OIDC, RLS and OLS, sensitivity labels, prompt injection, MCP and parameterised queries.
8 units, 23 lessons, and about 115 minutes of practice, a few minutes at a time.
What counts as a secret, where it must never live and what to do when a key leaks.
In this unit, you'll learn to
- Keep keys in .env files and environment variables, out of Git
- Use GitHub secret scanning and push protection
- Respond to a leak: revoke, replace and investigate
Lessons
- Secrets out of code, unlocked6 exercises · 5 min
- When a key leaks, unlocked6 exercises · 5 min
How jobs, pipelines and notebooks authenticate without a person's password: service principals, managed identities, vaults and OIDC.
In this unit, you'll learn to
- Choose between a user account, a service principal and a managed identity
- Store and read secrets in Azure Key Vault and Databricks
- Replace secrets stored in GitHub Actions with OIDC
Lessons
- Service principals and vaults, locked6 exercises · 5 min
- Databricks and GitHub Actions, locked6 exercises · 5 min
- Credentials that fail or linger, locked6 exercises · 5 min
Who sees what: workspace roles, RLS and OLS, sensitivity labels, sharing and the credentials behind refreshes.
In this unit, you'll learn to
- Pick the right workspace role for each person
- Protect rows and columns with RLS and OLS
- Avoid leaks through Publish to web, exports and credentials
Lessons
- Workspaces, RLS and OLS, locked6 exercises · 5 min
- Share without leaking, locked6 exercises · 5 min
- Leaks without a break-in, locked6 exercises · 5 min
The risks of using LLMs, agents and MCP with company data, and the defences that work: OWASP, least privilege and human approval.
In this unit, you'll learn to
- Recognise direct and indirect prompt injection
- Keep personal data and secrets away from the model
- Limit agent tools and use parameterised queries
Lessons
- Prompt injection and leaks, locked6 exercises · 5 min
- Agents, tools and SQL, locked6 exercises · 5 min
- When the injection works, locked6 exercises · 5 min
LGPD and GDPR in an analyst's routine, anonymous versus disguised data, and accounts that resist phishing.
In this unit, you'll learn to
- Apply purpose, minimization, and legal basis to a dashboard
- Tell anonymous, pseudonymous, and masked data apart
- Choose a sign-in method that resists phishing
Lessons
- LGPD and GDPR day to day, locked6 exercises · 5 min
- Anonymous or just disguised, locked6 exercises · 5 min
- Phishing, MFA, and passkeys, locked6 exercises · 5 min
Threat model a dashboard, control dependencies, and run an incident from the first alert to the restore.
In this unit, you'll learn to
- Threat model with STRIDE and review access
- Pin and verify the libraries that enter a project
- Run an incident with logs, evidence, and tested backups
Lessons
- Threat modeling a dashboard, locked6 exercises · 5 min
- Dependencies under control, locked6 exercises · 5 min
- Logs, incidents, ransomware, locked6 exercises · 5 min
RAG that respects permissions, agents and MCP with real limits, and an AI policy you can actually prove.
In this unit, you'll learn to
- Carry document permissions into every RAG chunk
- Cut functionality, permissions, and autonomy in agents and MCP
- Vet AI vendors and test guardrails with method
Lessons
- RAG with permissions, locked6 exercises · 5 min
- MCP and agents with limits, locked6 exercises · 5 min
- Policies, vendors, and tests, locked6 exercises · 5 min
A clinic network, an AI agent, and an email that should never have left: from the design to a proven fix.
In this unit, you'll learn to
- Find design gaps before the incident does
- Contain, measure, and report a breach on deadline
- Fix the cause and prove the gap is closed
Lessons
- Case: design and gaps, locked6 exercises · 5 min
- Case: the night it happened, locked6 exercises · 5 min
- Case: fix it and prove it, locked6 exercises · 5 min
Try it for real.
Ready to lock down your data work? Real exercises from this course, solved step by step, exactly as they appear in the app.
138 exercises across 5 types in this course
- Pick the best answer48
- Match34
- Fill in the code23
- Tap the chart21
- Put it in order12
Tap the chart. You tap the point that tells the story or gives the problem away.
The internal audit counted keys exposed over the last year, by source. Tap the source a proper .gitignore would have prevented.
- .env committed to Git14
- Key typed into a notebook9
- Key printed to a log6
- Key pasted into team chat4
Correct. A .gitignore only stops files from entering Git. Keys typed into notebooks, printed to logs or pasted into chat need other habits: read them from an environment variable or a vault and never display the value.
Fill in the code. You pick the right piece from the word bank and see why the others don't fit.
Complete the .gitignore so the secrets file and its variants stay out of Git, while the .env.example template stays versioned.
.env.* *.pem
Correct. .env ignores the main file and .env.* ignores variants such as .env.local. A line starting with ! adds an exception: .env.example, which only holds names, stays in the repository. A line with # is just a comment.
Put it in order. The steps of a process show up shuffled. You put them in the right sequence.
A Databricks token was committed to a public repository. Put the response in the right order.
- ·Revoke the leaked token
- ·Create a new token and update the job that used the old one
- ·Check the audit logs for use of the token by anyone else
- ·Record the incident and enable push protection to stop it happening again
Correct. Cut off access first: while the token is valid, anyone can use it. Then restore the service with a new credential, investigate what happened during the exposure window, and close with prevention.
Practice exams for this course
This course prepares you for these exams. Try free questions before you practice in the app.





