Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Oracle · OCI Foundations

Tenancy setup

OCI Foundations · Lesson 5 of 15 · 27:24

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the Oracle Cloud Infrastructure Foundations Associate exam (1Z0-1085-26). In this lesson: the Administrators group, how to set up a new tenancy with compartments and an administrator group for each project, and best practices such as keeping resources out of the root compartment. Includes three original practice questions, with Kettlebrook Fitness, a fictional gym chain, as the example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

One account for everything

When Kettlebrook signed up, Oracle made one person the default administrator of the new tenancy. Since then, that person has done all the work with that one account, and the teams are about to move in. This lesson covers the Administrators group, and the best practices for a tenancy setup.

The Administrators group

When a company signs up, Oracle sets up a default administrator, the first user of the tenancy. This user belongs to a group called Administrators, which cannot be deleted, and which must always keep at least one member. The tenancy also comes with a policy that lets the Administrators group manage all resources in the tenancy, and you cannot change or delete that policy either. So every member of this group can do anything: create users, groups, compartments, and policies, and every kind of cloud resource. That is why the group should stay small.

Plan compartments and groups

Before adding users and resources, plan two things together: the compartments that organize your resources, and the groups of users who need access to them, because both shape every policy that you write. Users and groups are added at the tenancy level, while compartments hold the resources, up to six levels deep under the root. A small company, or a proof of concept, can keep its resources in the root compartment, and still use groups and policies. A larger company usually creates a compartment for each project, department, or environment.

Project administrators

For each project, Kettlebrook gives a compartment, like Apps, its own group of administrators. A policy lets that group manage all resources in that compartment, and only there. These project administrators can create child compartments, and write the policies that control access inside their own compartment. But they have no administrator rights on the root compartment, or on any other project. And users and groups are still added at the tenancy level.

Sandbox and least privilege

Oracle also recommends a sandbox compartment: a dedicated space where users can create and manage resources to try out features, while the root compartment keeps stricter permissions. Everywhere else, follow least privilege: each group gets only the verbs and resource types that its job needs, on the compartments where it works, and loses that access when it no longer needs it. Projects that need the strictest security can also use a security zone, which lesson twelve covers. And set budgets and quotas early, before the teams start creating resources, as lesson fourteen explains.

Protect the administrators

The tenancy administrators hold the keys to everything, so protect them. Grant membership of the Administrators group only when it is needed, and remove it as soon as someone leaves the company. Give these accounts strong passwords and multi-factor authentication, and change their passwords regularly. After the initial setup, do not use the tenancy administrator account for day-to-day work: create less privileged users and groups instead. And keep a secure, auditable break-glass procedure for emergencies, so that the company is never locked out when an administrator leaves.

Recap

Let's recap. The Administrators group and its tenancy policy come with every tenancy, and neither can be deleted. Plan compartments and groups together, because they shape every policy. Give each project its own compartment and group of administrators, and give users a sandbox compartment to experiment. Follow least privilege, and set budgets and quotas early. And protect the tenancy administrators: a small group, multi-factor authentication, no daily use, and a break-glass procedure.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. Now that each Kettlebrook project has its own administrators, the first administrator wants to delete the Administrators group. What happens?

    • The group and its tenancy policy are both deleted
    • The group is deleted, and its users move to project groups
    • The group is disabled, but its policy stays in place
    • It is refused: the group cannot be deleted
    Show the answer

    It is refused: the group cannot be deleted

    The Administrators group cannot be deleted, and it must always keep at least one member. “The group and its tenancy policy are both deleted” would also remove the tenancy policy, which cannot be changed or deleted either. “The group is deleted, and its users move to project groups” describes a move that OCI does not make. And “The group is disabled, but its policy stays in place” describes a disabled state that this group does not have.

  2. Kettlebrook’s developers want to try new OCI features, without any risk to the resources of the booking website. What does Oracle recommend?

    • A sandbox compartment for them
    • Membership of the Administrators group
    • The use verb on the whole tenancy
    • A separate tenancy for each developer
    Show the answer

    A sandbox compartment for them

    A sandbox compartment gives the developers a dedicated space to create and manage resources, while the other compartments keep stricter permissions. “Membership of the Administrators group” would give them full access to everything, the opposite of least privilege. “The use verb on the whole tenancy” would let them work with resources across the whole tenancy, the booking website included. And “A separate tenancy for each developer” would add a whole tenancy to govern, when a compartment already isolates the experiments.

  3. Since the setup, Kettlebrook’s cloud lead has done all daily work, like starting instances and checking logs, with the tenancy administrator account. What does Oracle recommend?

    • A second account in the Administrators group
    • Every resource moved to the root compartment
    • A less privileged account for daily work
    • A new password for that account each week
    Show the answer

    A less privileged account for daily work

    After the setup, Oracle recommends that you do not use the tenancy administrator account for day-to-day work, but less privileged users and groups. “A second account in the Administrators group” would only add another account with full access. “Every resource moved to the root compartment” would change where the resources are, not who can act on them. And “A new password for that account each week” is good hygiene, but the account would still hold full access for routine tasks.