Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Oracle · OCI Foundations · FREE PRACTICE

OCI Foundations practice questions

Free Oracle Cloud Infrastructure Foundations Associate practice, with shuffled choices and an explanation behind every answer. A little practice, a clearer next step.

Loading your practice…

From the videos

Mock exam questions50
Training questions48
Lesson quick checks45

These questions come from the course videos. Information as of November 2026.

OCI Foundations sample questions

10 of the 143 questions, as plain text. Start a session above for shuffled choices, a score and the reason behind every choice.

  1. Kettlebrook has two tenancies, one for production and one for testing, in a region with three availability domains. Each one shows a first availability domain. Are they the same data center?

    • Yes: the first one is the same in every tenancy
    • Not necessarily: each tenancy has its own names
    • No: two tenancies never share a data center
    • Yes, as long as both tenancies are in one realm
    Show the answer

    Not necessarily: each tenancy has its own names

    The names of availability domains differ from one tenancy to another, so the first one of a tenancy may not be the first of another. “Yes: the first one is the same in every tenancy” is wrong, since each tenancy has its own mapping of availability domain names. “No: two tenancies never share a data center” is too strong, since two tenancies can use the same data center under different names. And “Yes, as long as both tenancies are in one realm” would not help, since the names are mapped for each tenancy, even within one realm.

  2. Kettlebrook subscribes to a second region. What must it do with its compartments?

    • Create a copy of each compartment there
    • Nothing: compartments are global
    • Move every compartment to the new region
    • Attach them to the VCN of the new region
    Show the answer

    Nothing: compartments are global

    Compartments are global, so one compartment spans all the regions of the tenancy. “Create a copy of each compartment there” would duplicate compartments that already span every region. “Move every compartment to the new region” is not possible, since a compartment does not belong to one region. And “Attach them to the VCN of the new region” would mix up compartments with networks, which are regional.

  3. Kettlebrook’s network team wants to add a sixth security list to one subnet. What happens?

    • It works, since there is no limit
    • Not possible: five is the maximum
    • It replaces the oldest security list
    • It turns into a network security group
    Show the answer

    Not possible: five is the maximum

    A subnet can use up to five security lists, so a sixth one cannot be added. “It works, since there is no limit” is wrong, since a subnet can use up to five security lists. “It replaces the oldest security list” would not happen, since a subnet simply stops at five. And “It turns into a network security group” would not happen, since NSGs are separate, with up to five for each VNIC.

  4. A licensing rule requires Kettlebrook to run its scheduling software on a whole physical server, used by no other customer. What fits?

    • A virtual machine with a flexible shape
    • A container instance
    • A bare metal instance
    • An instance pool of small VMs
    Show the answer

    A bare metal instance

    A bare metal instance is a whole physical server for one customer alone, for the highest performance and strong isolation. “A virtual machine with a flexible shape” would run on a host that can be shared, even with a flexible shape. “A container instance” would run containers on infrastructure that Oracle manages. And “An instance pool of small VMs” would add many virtual machines, none of them a whole server.

  5. A trainer deletes a shared file by mistake on Kettlebrook’s NFS file system. What lets the team recover it?

    • A new mount target
    • Object versioning
    • A higher performance level
    • A snapshot of the file system
    Show the answer

    A snapshot of the file system

    Snapshots keep a point-in-time view of a file system, so you can recover files that were changed or deleted by mistake. “A new mount target” only gives instances a way to mount the file system. “Object versioning” only applies to objects in buckets. And “A higher performance level” only changes the performance of a block volume.

  6. A Kettlebrook developer keeps the database password in the app’s configuration file. What should hold it instead?

    • A free-form tag on the database
    • A text file in a private bucket
    • A secret, encrypted by a master key
    • A comment in the IAM policy of the app
    Show the answer

    A secret, encrypted by a master key

    Secrets, like database passwords, API keys, and tokens, are stored encrypted by a master key, so that they stay out of code and configuration files. “A free-form tag on the database” would show the password to anyone who can see the tags. “A text file in a private bucket” would still keep the password as plain text in a file. And “A comment in the IAM policy of the app” would write the password in plain text in a policy.

  7. An auditor asks who created an unknown instance, and when. Nobody set up any tags. Where can Kettlebrook look?

    • In the two tags that OCI adds automatically
    • In its free-form tags
    • In the tag namespace of the compartment
    • In the Cloud Advisor recommendations
    Show the answer

    In the two tags that OCI adds automatically

    OCI adds two automatic tags to new resources, which show who created each one, and when. “In its free-form tags” is wrong, since nobody added any free-form tags. “In the tag namespace of the compartment” would need someone to define and apply those tags first. And “In the Cloud Advisor recommendations” only suggests savings and improvements.

  8. Kettlebrook’s region has three availability domains. It wants its booking servers to keep running if one data center loses power and cooling. Where should it place them?

    • In different availability domains
    • In different fault domains of one availability domain
    • In two compartments of the same availability domain
    • On one bare metal instance, for the best performance
    Show the answer

    In different availability domains

    Availability domains share no power, no cooling, and no internal network, so an outage in one is unlikely to reach the others. “In different fault domains of one availability domain” would only protect against hardware failures and maintenance inside one availability domain. “In two compartments of the same availability domain” is a logical grouping, which changes nothing about where the servers run. And “On one bare metal instance, for the best performance” would put every server on one machine, the opposite of high availability.

  9. Kettlebrook gives the Apps compartment its own group of administrators, with a policy that lets them manage all resources in Apps. What is outside their reach?

    • Creating child compartments under Apps
    • Writing policies for access inside Apps
    • Changing access in the root compartment
    • Launching instances in the Apps compartment
    Show the answer

    Changing access in the root compartment

    The administrators of a project manage their own compartment and its children, but have no administrator rights on the root or on other projects. “Creating child compartments under Apps” is allowed, since they manage all resources in Apps. “Writing policies for access inside Apps” is allowed too, since they control access inside their own compartment. And “Launching instances in the Apps compartment” is part of managing all resources in Apps.

  10. A new public subnet has an internet gateway in its VCN, but its instances cannot reach the internet. Its security rules allow the traffic. What is missing?

    • A NAT gateway in the same subnet
    • A service gateway for Oracle services
    • A local peering gateway
    • A route rule to the internet gateway
    Show the answer

    A route rule to the internet gateway

    A new route table has no rules, so the subnet needs a rule that sends internet traffic to the internet gateway. “A NAT gateway in the same subnet” would serve resources without public addresses, and still needs a route rule. “A service gateway for Oracle services” only reaches Oracle services, not the internet. And “A local peering gateway” only connects two VCNs of the same region.

Original practice questions written for Cert Espresso, not real exam questions.