Oracle Database 23ai Administration Associate Exam-style mock test
Oracle Database 23ai Administration Associate Practice Exams|Practice test
Full explanations
Exam format
Pass line 65%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Database Architecture Fundamentals
A DBA at a B2B SaaS company is explaining the Oracle Database 23ai architecture to new engineers. One engineer asks what exactly constitutes an Oracle instance. Which statement correctly describes the Oracle instance?
・It is the collection of physical files, including datafiles, control files, and redo log files, that persist the tenant data on disk
Incorrect. Datafiles, control files, and redo log files are the physical database on disk, not the instance, which lives in memory with its processes.
✓It is the set of memory structures and background processes that Oracle allocates and starts to manage a database
Correct. An Oracle instance consists of the System Global Area (SGA) memory plus the background processes started when the database is opened.
・It is the logical storage hierarchy of tablespaces, segments, extents, and data blocks used by the schema
Incorrect. Tablespaces, segments, extents, and blocks are the logical storage structure of the database, separate from the in-memory instance.
・It is the network listener service that routes incoming client connections to the correct database service
Incorrect. The listener is a separate networking component and is not part of the instance's memory and process architecture.
Explanation
An Oracle instance is defined as the combination of memory structures (primarily the SGA) and background processes; the physical files and logical storage make up the database itself.
Example2 · Managing Instances & Storage
A DBA at a B2B SaaS firm must apply a parameter change to the billing database that only takes effect at instance startup. She needs the instance mounted so she can enable ARCHIVELOG mode, but users must not connect yet. Which single startup command places the instance in exactly the right state for this work?
・STARTUP NOMOUNT opens the control file reading stage only, so she can adjust ARCHIVELOG settings before any datafiles are attached
Incorrect. NOMOUNT starts the instance but does not mount the control file or database, so ARCHIVELOG mode cannot be changed in this state.
✓STARTUP MOUNT reads the control file and mounts the database without opening the datafiles for general user access
Correct. STARTUP MOUNT reads the control file and mounts the database but leaves it closed to users, which is the required state to enable ARCHIVELOG mode.
・STARTUP OPEN starts the instance and immediately makes all datafiles available so the billing team can resume transactions
Incorrect. STARTUP OPEN opens the database to users, which is not allowed because ARCHIVELOG mode changes require the database to be mounted but not open.
・STARTUP RESTRICT mounts and opens the database but limits connections to accounts holding the RESTRICTED SESSION privilege
Incorrect. RESTRICT opens the database (restricted to privileged users), but the database must be mounted and not open to change ARCHIVELOG mode.
Explanation
Enabling ARCHIVELOG mode requires the database to be mounted but not open; STARTUP MOUNT reaches exactly that state.
Example3 · Schema Objects & Data Management
A DBA at a B2B SaaS company is designing a table to store tenant subscription records that must hold monetary amounts with exact precision up to two decimal places and no rounding errors. Which data type should the DBA choose for the monthly_fee column?
✓NUMBER(10,2), which stores the value as an exact fixed-point decimal with two digits after the point
Correct. NUMBER(precision,scale) stores exact fixed-point decimals, so NUMBER(10,2) holds currency without the rounding artifacts of binary float types.
・BINARY_DOUBLE, giving the widest possible range of values for all financial calculations
Incorrect. BINARY_DOUBLE is a binary floating-point type and can introduce rounding errors, making it unsuitable for exact monetary values.
・FLOAT(10), which provides floating-point storage suitable for most currency columns
Incorrect. FLOAT is an ANSI floating-point subtype of NUMBER that still represents values in binary precision, which is not appropriate for exact currency.
・VARCHAR2(10), storing the amount as text to preserve its exact display format
Incorrect. Storing amounts as VARCHAR2 prevents arithmetic and sorting as numbers and offers no numeric precision guarantees.
Explanation
Exact monetary values require a fixed-point decimal type; NUMBER with an explicit scale provides deterministic precision, unlike binary floating-point or character types.
Example4 · Users & Basic Security
A DBA at a healthcare services firm must onboard a new claims analyst who will connect to the 23ai database with their own schema. The DBA runs CREATE USER janalyst IDENTIFIED BY ... but the analyst reports they cannot even log in. Which action most directly resolves the login failure?
✓Grant the CREATE SESSION system privilege to the janalyst account so a connection can be established
Correct. A newly created user has no privileges by default; CREATE SESSION is the minimum system privilege required to establish a connection and log in.
・Assign a larger quota on the default tablespace for the janalyst account before they connect
Incorrect. A quota controls how much space a user can consume in a tablespace, not whether they can authenticate and open a session.
・Switch the janalyst account to use external authentication through the operating system layer
Incorrect. The account was created with password authentication; changing to OS authentication is unnecessary and does not address the missing connect privilege.
・Rebuild the password verification function so the janalyst password satisfies the complexity policy
Incorrect. The user cannot log in at all, which points to a missing privilege rather than a password that fails complexity validation during login.
Explanation
A freshly created user holds no privileges until granted; CREATE SESSION is the baseline privilege that permits logging in.
Example5 · Backup Basics & Admin Tools
A DBA at a healthcare services firm is explaining why the production patient-records database must run in a specific log mode to support online backups. Which database mode allows the redo logs to be archived so that a full recovery to the point of failure is possible?
・NOARCHIVELOG mode, which overwrites redo logs during cycling but keeps backups current
Incorrect. NOARCHIVELOG mode discards filled redo logs when they are reused, so point-of-failure recovery from online backups is not possible.
✓ARCHIVELOG mode, which copies filled redo log groups before they are reused
Correct. ARCHIVELOG mode preserves each filled redo log group by archiving it before reuse, enabling online backups and complete recovery.
・SUSPEND mode, which temporarily halts all writes to the redo log buffers
Incorrect. There is no SUSPEND log mode governing archiving; suspending writes does not enable archived redo generation.
・FLASHBACK mode, which generates flashback logs instead of archived redo
Incorrect. Flashback features are separate capabilities and do not replace archived redo for enabling complete media recovery.
Explanation
Complete, point-of-failure recovery and online backups require ARCHIVELOG mode, which archives filled online redo logs before they are overwritten.
Example6 · Database Architecture Fundamentals
A DBA at a regional healthcare services firm is explaining the Oracle 23ai instance to a new analyst. The analyst asks which two primary structures together make up an Oracle instance after the database is started. What is the correct answer?
・The datafiles stored on disk together with the online redo log files that record all committed changes
Incorrect. Datafiles and online redo logs are persistent components of the database on disk, not the in-memory and process components that define the instance.
✓The System Global Area (SGA) memory structure together with the set of Oracle background processes
Correct. An Oracle instance consists of the SGA (shared memory region) plus the background processes that manage the database on behalf of all users.
・The control files that track physical structure together with the server parameter file read at startup
Incorrect. Control files and the SPFILE are physical database and configuration files, not the memory-and-process pairing that constitutes the instance itself.
・The Program Global Area for each session together with the tablespaces that organize schema objects logically
Incorrect. The PGA is private session memory and tablespaces are logical storage structures, so neither pairing describes the two primary instance structures.
Explanation
An Oracle instance is defined as the combination of the SGA (shared memory) and the background processes; the database refers to the physical files on disk.
Example7 · Database Architecture Fundamentals
A DBA at UrbanThread, a clothing retailer, is explaining to a new hire what constitutes an Oracle Database 23ai instance after a routine startup. Which statement most accurately describes what the instance comprises?
✓The combination of the System Global Area memory region and the set of background processes that manage the database for connected users
Correct. An Oracle instance is defined as the SGA memory structures plus the background processes that are started when the database is opened.
・The physical collection of data files, redo log files, and control files stored permanently on disk
Incorrect. Data files, redo logs, and control files make up the database on disk, not the instance.
・The listener process together with the network configuration files that route incoming client connections to services
Incorrect. The listener and network files handle connection routing but are external to the instance definition.
・The tablespaces and schema objects such as tables and indexes that hold the application data
Incorrect. Tablespaces and schema objects are logical and physical storage structures of the database, not the instance.
Explanation
An instance is the running set of memory (SGA) and background processes; the database is the on-disk files it manages.
Example8 · Database Architecture Fundamentals
During a performance review at UrbanThread, the DBA notes that frequently executed SQL statements are being reparsed too often. Which SGA component is primarily responsible for caching parsed SQL statements and their execution plans so they can be reused?
✓The shared pool, which stores parsed SQL, execution plans, and data dictionary information for reuse across sessions
Correct. The shared pool, specifically the library cache within it, caches parsed SQL and execution plans so repeated statements avoid hard parsing.
・The database buffer cache, which holds copies of recently accessed data blocks read from the data files
Incorrect. The buffer cache caches data blocks, not parsed SQL or execution plans.
・The large pool, which provides memory for backup operations and shared server session allocations
Incorrect. The large pool supports backups and shared server allocations, not SQL statement caching.
・The redo log buffer, which temporarily holds change vectors before they are written to the redo log files
Incorrect. The redo log buffer stores redo change vectors prior to writing, unrelated to SQL plan reuse.
Explanation
The library cache portion of the shared pool caches parsed SQL and execution plans, reducing reparse overhead.
Example9 · Database Architecture Fundamentals
An analyst at UrbanThread runs a query that reads several thousand rows from the SALES table. The DBA wants to explain where these data blocks are held in memory so the server process can modify or return them. Which SGA structure holds these blocks?
✓The database buffer cache, which keeps copies of data blocks read from data files available for server processes
Correct. Data blocks read from data files are placed in the database buffer cache where server processes read and modify them.
・The program global area, which stores private session data such as sort areas and cursor state for one process
Incorrect. The PGA holds private session memory, not shared data blocks available to all server processes.
・The shared pool reserved area, which is set aside for large contiguous memory allocations in the library cache
Incorrect. The shared pool reserved area handles large library cache allocations, not cached data blocks.
・The flashback buffer, which stores before-images of blocks used when flashback database is enabled
Incorrect. The flashback buffer handles flashback logging, not general query block caching.
Explanation
Server processes read data blocks into the buffer cache; subsequent access reuses the cached copy.
Example10 · Database Architecture Fundamentals
A DBA at a financial services firm is explaining to a new auditor what an Oracle Database 23ai instance actually consists of at the operating-system level. Which statement correctly describes the composition of a running instance?
✓The instance is the combination of the shared memory structures of the SGA together with the set of background processes that manage the database.
Correct. An Oracle instance is defined as the System Global Area (SGA) shared memory plus the background processes that manage the database on behalf of users.
・The instance is the collection of physical datafiles, control files, and online redo log files stored on disk for the database.
Incorrect. Datafiles, control files, and redo log files are the persistent database on disk, not the transient instance in memory.
・The instance is the private PGA memory region allocated exclusively to each individual user session connected to the server.
Incorrect. The PGA is per-process private memory for server sessions; it is one piece of the architecture but does not by itself constitute the instance.
・The instance is the network listener process that accepts and routes all incoming client connection requests to servers.
Incorrect. The listener is a separate networking component that brokers connections; it is not part of the instance itself.
Explanation
An Oracle instance is memory (SGA) plus background processes; the set of files on disk is the database, which the instance mounts and opens.
Example11 · Database Architecture Fundamentals
At a retail bank, reporting applications repeatedly submit identical SELECT statements against the accounts tables. The DBA wants to explain which SGA component lets the database avoid re-parsing and re-optimizing these recurring statements. Which component is responsible?
・The large pool, which supplies session memory for shared servers, parallel execution, and RMAN backup buffers.
Incorrect. The large pool offloads certain large allocations from the shared pool but does not cache parsed SQL and plans.
✓The shared pool, which caches parsed SQL statements and their execution plans in the library cache for reuse.
Correct. The shared pool contains the library cache, which stores parsed SQL and execution plans so repeated identical statements can be reused.
・The database buffer cache, which holds copies of data blocks that have been read from the datafiles.
Incorrect. The buffer cache stores data blocks, not parsed SQL text or execution plans.
・The redo log buffer, which temporarily stores change records before they are written to the redo log files.
Incorrect. The redo log buffer holds redo change vectors awaiting write, not SQL parse results.
Explanation
Soft parsing reuses cached cursors in the library cache, which resides in the shared pool, avoiding the cost of hard parsing identical statements.
Example12 · Database Architecture Fundamentals
A manufacturing distributor runs its ERP on Oracle Database 23ai configured as a multitenant container database (CDB). The DBA needs to explain to an auditor which container holds the data dictionary metadata that is common to the entire container database and is shared by all the pluggable databases. Which container serves this role?
・The seed pluggable database (PDB$SEED), a read-only template that supplies a fast starting point for creating brand-new application PDBs
Incorrect. PDB$SEED is a read-only template used to provision new PDBs quickly, but it does not hold the CDB-wide shared system metadata that every PDB uses.
・An application root container, which stores application-common objects shared only among the PDBs belonging to one application container
Incorrect. An application root stores objects shared among PDBs of a single application container only, not metadata common to the entire CDB.
✓The root container (CDB$ROOT), which stores system metadata and common users shared across the whole CDB
Correct. CDB$ROOT holds the system metadata and common users that are shared across the entire container database.
・Each individual pluggable database, since every PDB independently stores a full private copy of the entire shared data dictionary
Incorrect. A PDB stores its own application data and a pointer-based local dictionary, not a full private copy of all CDB-wide shared metadata.
Explanation
In the multitenant architecture, CDB$ROOT is the single root container that holds Oracle-supplied system metadata and common users shared across all PDBs, while PDB$SEED is only a provisioning template.
Example13 · Database Architecture Fundamentals
During a performance review at a parts distributor, the DBA examines the memory structure that caches data blocks read from datafiles so that repeated queries against the hot inventory table avoid physical disk reads. Which SGA component provides this caching of data blocks?
・The large pool, an optional area set aside for backup operations, shared server session memory, and parallel execution message buffers
Incorrect. The large pool supports backup, shared server, and parallel execution memory, but it does not cache table data blocks for queries.
・The redo log buffer, a circular memory area that temporarily holds change vectors before they are written to the online redo log files
Incorrect. The redo log buffer holds redo change vectors awaiting writing to redo logs, not cached data blocks for read reuse.
✓The database buffer cache, which holds copies of data blocks read from the datafiles in memory
Correct. The database buffer cache holds copies of data blocks read from datafiles so that subsequent accesses can be satisfied from memory.
・The shared pool, which caches parsed SQL statements, PL/SQL program units, and dictionary information for reuse
Incorrect. The shared pool caches parsed SQL and dictionary data, but data blocks themselves are cached in the buffer cache.
Explanation
The database buffer cache is the SGA structure that stores data blocks in memory, reducing physical I/O when the same blocks are accessed repeatedly.
Example14 · Database Architecture Fundamentals
A DBA at a telecom operator is explaining to new hires how an Oracle Database 23ai instance differs from the database it opens. Which statement correctly characterizes the relationship between the instance and the database?
✓The instance consists of memory structures and background processes, while the database is the set of physical files that store the actual data on disk
Correct. The instance is the combination of the SGA memory structures and the background processes, and the database is the physical files (datafiles, control files, redo logs) persisted on disk.
・The instance is the collection of physical datafiles, control files, and redo logs, while the database is the SGA plus the running server processes allocated at startup
Incorrect. This reverses the definitions: the instance is memory and processes, not the physical files, and the database is the files, not the SGA and server processes.
・The instance and the database are two names for the same collection of operating-system files that users connect to over the network each session
Incorrect. The instance and database are distinct; an instance can exist without an open database (NOMOUNT), so they are not the same set of files.
・The instance is the listener process that routes connections, while the database is the client-side cache that each user session maintains during its lifetime
Incorrect. The listener is a separate network process and is not the instance, and the database is not a client-side cache maintained per session.
Explanation
An Oracle instance is memory (SGA) plus background processes; the database is the collection of physical files on disk. The instance mounts and opens the database.
Example15 · Database Architecture Fundamentals
While reviewing memory usage on the telecom operator's billing database, a DBA needs to identify which SGA component caches data blocks read from datafiles so repeated queries avoid physical disk reads. Which component serves this purpose?
・The shared pool, which caches parsed SQL statements, the library cache, and the data dictionary metadata used during statement parsing
Incorrect. The shared pool caches SQL, PL/SQL, and dictionary metadata, but it does not cache the actual data blocks read from datafiles.
・The large pool, which provides memory for backup, recovery, and shared-server session allocations outside the shared pool
Incorrect. The large pool supports backup, recovery, and shared-server operations; it is not where data blocks are cached for query reuse.
✓The database buffer cache, which holds copies of data blocks read from datafiles so later accesses can be served from memory
Correct. The database buffer cache stores copies of data blocks read from datafiles so subsequent accesses to the same blocks can be satisfied from memory.
・The redo log buffer, which temporarily stores change vectors before they are written by the log writer to the online redo logs
Incorrect. The redo log buffer holds redo change vectors awaiting write to the redo logs; it does not cache data blocks for reads.
Explanation
The database buffer cache holds in-memory copies of data blocks, reducing physical I/O for repeated access. The shared pool, large pool, and redo log buffer serve other roles.
▶ Try 10 free questions (graded)