A DNF repository is a signed directory of RPMs plus metadata (repodata/repomd.xml, primary.xml.gz, etc.) that DNF can list and install from. On RHEL you typically have the vendor-provided BaseOS and AppStream repos (which ship with redhat-release), plus any third-party repos you add — EPEL, vendor package archives, or your own local mirror. On the exam you'll often be asked to add a local repo (usually a mounted ISO or a file:// URL) and install packages from it.