09/10/2026
🎯 Oracle DBA Interview Series | Q #15 – OCI: "Which IAM policies does a DBA need for Base DB / ExaCS?"
Most candidates say "just give me admin on the tenancy". The interviewer wants least privilege, written as real policy statements.
What they're really testing: do you know the verb + resource-type + compartment model, and can you scope a DBA without handing over the tenancy?
A strong answer covers:
✅ The core policy uses the aggregate resource type: Allow group DBAdmins to manage database-family in compartment Prod
✅ Launching a DB system also touches the network: Allow group DBAdmins to use virtual-network-family in compartment Network
✅ ExaCS split duties — the infra team manages cloud-exadata-infrastructures, DBAs get: Allow group DBAs to use cloud-vmclusters in compartment Prod (plus manage db-homes and databases)
✅ Block destructive actions with a condition: Allow group DBAs to manage databases in compartment Prod where request.permission != 'DATABASE_DELETE'
✅ Read-only for operators and auditors: Allow group DBOps to read database-family in compartment Prod
❌ Trap: "Allow group DBAs to manage all-resources in tenancy". It works, and it tells the interviewer you have never been through a security review.
Four verbs, each including the one before: inspect, read, use, manage. database-family is the aggregate covering db-systems, db-nodes, db-homes, databases, pluggable-databases and db-backups — and on Exadata also cloud-exadata-infrastructures and cloud-vmclusters. One "manage database-family" statement makes a full DBA admin for a compartment; the individual types let you carve that up.
The classic production story: a new DBA has manage database-family, clicks Create DB system and gets an authorization error. LaunchDbSystem also needs VNIC_CREATE, VNIC_ATTACH and SUBNET_ATTACH, and nobody granted "use" on the network compartment.
On ExaCS, creating a DB home or a database needs "use cloud-vmclusters" on top of manage db-homes and manage databases. That lets DBAs own databases while another team owns the rack.
Follow-ups to expect:
• Do policies inherit? Yes — a policy on a compartment applies to all its child compartments.
• Why 404 NotAuthorizedOrNotFound? OCI does not reveal whether the resource is missing or you lack permission. Check the policy first.
• Which permission is dangerous on ExaCS? CLOUD_VM_CLUSTER_UPDATE_SSH_KEY — adding a key gives root on the guest VMs.
💡 Interview tip: say the policy out loud — group, verb, resource-type, compartment.
📌 Save this for your next Oracle DBA interview — and answer out loud before reading the card.
🌐 Live Oracle DBA (26ai) Training, Mock Interviews & Consulting
www.dbnexus.co.in
📞 +91 81691 58909
🎓 Recorded Courses: https://www.dbnexus.co.in/recorded-courses.html
▶️ YouTube:
💬 How would YOU answer this in 60 seconds? Drop your version below.