Oracle Database 23ai Administration Professional Exam-style mock test
Oracle Database 23ai Administration Professional Practice Exams|Practice test
Full explanations
Exam format
Pass line 65%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Database Architecture & Instance Management
A DBA at a B2B SaaS company is documenting the memory architecture of the tenant-reporting database for a new team member. They want to explain which memory structure is shared across all server processes and holds the shared pool, buffer cache, and redo log buffer. Which component should they identify?
✓The System Global Area, a shared memory region allocated at instance startup that all background and server processes attach to
Correct. The SGA is the shared memory region attached by all processes and contains the shared pool, database buffer cache, and redo log buffer.
・The Program Global Area, a private memory region allocated separately for each individual server and background process
Incorrect. The PGA is private, non-shared memory allocated per process, not a shared structure holding the buffer cache.
・The User Global Area, a session-scoped memory region used only when the shared server configuration is enabled
Incorrect. The UGA holds session state and is placed in the SGA only under shared server; it is not the region holding the buffer cache and redo log buffer.
・The Software Code Area, a protected region holding the Oracle executable and read-only code instructions
Incorrect. The software code area holds executable code, not the shared pool, buffer cache, or redo log buffer.
Explanation
The SGA is the instance-level shared memory containing the shared pool, buffer cache, and redo log buffer attached by all processes.
Example2 · Storage, Tablespaces & Undo Management
A DBA at a B2B SaaS firm must host a very large event-logging table that is expected to grow past the single-datafile size limit of a traditional tablespace. The storage team wants a tablespace that scales to a single huge datafile and simplifies file management. Which tablespace type should the DBA create to meet this requirement?
✓A bigfile tablespace, which contains exactly one very large datafile capable of holding far more data than a smallfile tablespace
Correct. A bigfile tablespace uses a single, very large datafile and is designed exactly for extremely large objects while simplifying datafile administration.
・A temporary tablespace group, which pools several temporary tablespaces so sort operations can spread across multiple datafiles
Incorrect. A temporary tablespace group only helps distribute sort and hash work across temporary space; it is not for storing a permanent large logging table.
・A smallfile tablespace, which may contain many datafiles each limited to a smaller maximum size per file
Incorrect. A smallfile tablespace can hold many datafiles but each file has a lower maximum size, which does not solve the single-large-object scaling need as cleanly.
・An undo tablespace, which stores rollback information for in-flight transactions rather than permanent table data
Incorrect. An undo tablespace holds undo segments for transaction rollback and read consistency, not permanent application table data.
Explanation
Bigfile tablespaces are purpose-built for very large single datafiles, reducing the number of files to manage while allowing enormous capacity.
Example3 · Users, Privileges & Security
A DBA at a B2B SaaS company must onboard a new reporting analyst into the Oracle Database 23ai analytics PDB. The analyst needs a schema-less login that connects, consumes default tablespace quota, and expires the password after first use so the analyst resets it. Which CREATE USER clause combination best satisfies these onboarding requirements?
✓DEFAULT TABLESPACE users QUOTA 100M ON users, then grant CREATE SESSION and issue PASSWORD EXPIRE so the analyst must change the initial password
Correct. A permanent default tablespace with a defined quota plus CREATE SESSION gives connect ability and storage, and PASSWORD EXPIRE forces the analyst to change the password at first login.
・IDENTIFIED EXTERNALLY with the operating system account, then grant CREATE SESSION and rely on the OS layer to force the credential rotation at next logon
Incorrect. External authentication delegates credentials to the OS and provides no Oracle password to expire, so the first-use reset requirement cannot be met.
・DEFAULT TABLESPACE temp QUOTA UNLIMITED ON temp, then grant CREATE SESSION and set ACCOUNT LOCK until the analyst contacts the DBA
Incorrect. TEMP cannot be a permanent default tablespace for objects, and ACCOUNT LOCK blocks the login entirely rather than forcing a password reset.
・NO AUTHENTICATION so the schema cannot be logged into, then grant CREATE SESSION and PASSWORD EXPIRE for the analyst to reset the password
Incorrect. NO AUTHENTICATION creates a schema-only account that cannot be logged into at all, which contradicts the requirement for the analyst to connect and reset a password.
Explanation
Standard onboarding of an interactive user needs a permanent default tablespace with quota, CREATE SESSION, and PASSWORD EXPIRE to force the first-login change.
Example4 · Backup, Recovery & Flashback (RMAN)
A DBA at a regional healthcare services firm manages twelve Oracle Database 23ai instances holding patient billing data and wants a single point to store RMAN metadata so retention policies survive loss of the control file. Which RMAN configuration best meets this requirement?
・Rely on each target database control file alone and raise CONTROL_FILE_RECORD_KEEP_TIME to retain backup records longer across all instances
Incorrect. The control file only retains records for a limited window and is lost if the control file itself is lost, so it cannot serve twelve instances durably.
✓Create a recovery catalog database and register every target database so backup metadata persists independently of each control file
Correct. A recovery catalog stores RMAN metadata for many databases in a separate catalog schema, surviving control file loss and centralizing retention.
・Enable a flash recovery area on each target host and let RMAN autobackup the control file after every structural change event
Incorrect. A flash recovery area stores backup files and autobackups but is per-database and does not provide a centralized metadata repository.
・Configure RMAN to write metadata exclusively to the server parameter file and copy that file to shared storage nightly
Incorrect. The server parameter file holds initialization parameters, not RMAN backup metadata, so this cannot track backups across instances.
Explanation
A recovery catalog is the designed mechanism for durable, centralized RMAN metadata across multiple databases, independent of any single control file.
Example5 · Multitenant, Performance & AI Vector Search
A DBA at a healthcare services firm must provision a new PDB named CLAIMS for the billing team by copying the application schema and data from an existing PDB named CLAIMS_DEV within the same CDB. The source PDB must stay available to developers during the operation. Which approach creates the new PDB while keeping the source open?
✓Clone CLAIMS_DEV with CREATE PLUGGABLE DATABASE CLAIMS FROM CLAIMS_DEV, leaving the source open in read write mode
Correct. Oracle Database 23ai supports hot cloning, so CREATE PLUGGABLE DATABASE ... FROM clones the source PDB while it remains open in read write mode, satisfying both requirements.
・Open CLAIMS_DEV in read only mode, unplug it to an XML manifest, and then plug that manifest back in as the new CLAIMS PDB
Incorrect. Unplugging the source requires closing it, which breaks developer availability, and the manifest route is unnecessary for an in-CDB copy.
・Create an empty PDB from the seed with CREATE PLUGGABLE DATABASE CLAIMS ADMIN USER and reload the schema using Data Pump
Incorrect. Creating an empty PDB from the seed and reloading with Data Pump copies the data but is far more work than a direct clone and is not the targeted method here.
・Run CREATE PLUGGABLE DATABASE CLAIMS FROM CLAIMS_DEV after first placing the source PDB into read only mode for consistency
Incorrect. Forcing the source into read only mode is the older cold-clone behavior and is not required because hot cloning keeps the source read write.
Explanation
Hot cloning in 23ai lets CREATE PLUGGABLE DATABASE ... FROM copy a source PDB while it stays open read write, which is exactly what is needed to keep developers working during provisioning.
Example6 · Database Architecture & Instance Management
A DBA at a healthcare services firm is reviewing memory usage for the database that stores patient appointment records. A colleague asks which memory area holds the shared SQL cursors and data dictionary cache that all server processes read from. Which component should the DBA identify?
・The Program Global Area, which is a private memory region allocated for each server process and holds session-specific sort and hash work areas
Incorrect. The PGA is private per-process memory for sorts and hashes, not the shared cursor and dictionary cache used by all sessions.
✓The Shared Pool, which resides in the System Global Area and caches parsed SQL, PL/SQL code, and the data dictionary for all sessions
Correct. The Shared Pool in the SGA caches parsed SQL cursors, PL/SQL, and the data dictionary, shared across all server processes.
・The Large Pool, which supplies memory for backup operations, parallel query message buffers, and shared server session state
Incorrect. The Large Pool serves backup, parallel execution, and shared server buffers, not the shared SQL and dictionary cache.
・The Redo Log Buffer, which temporarily stores change vectors before the log writer flushes them to the online redo log files
Incorrect. The Redo Log Buffer holds redo change vectors awaiting write, not SQL cursors or the dictionary cache.
Explanation
Shared SQL cursors and the data dictionary cache live in the Shared Pool, a component of the SGA accessible to every session.
Example7 · Database Architecture & Instance Management
A DBA at the retailer UrbanThread is explaining the instance architecture to a new hire. The new hire asks which structure holds the data buffer cache, shared pool, and redo log buffer that are allocated when the instance starts. Which memory structure should the DBA identify as containing these components?
・The Program Global Area (PGA), a private region allocated for each individual server and background process
Incorrect. The PGA is private, non-shared memory allocated per process and does not contain the buffer cache, shared pool, or redo log buffer.
✓The System Global Area (SGA), a shared memory region holding data and control information for the instance
Correct. The SGA is the shared memory region allocated at instance startup and contains the database buffer cache, shared pool, and redo log buffer.
・The User Global Area (UGA), which stores session state and cursor data for each connected client
Incorrect. The UGA holds session-specific state such as cursors and is not the container for the three named shared components.
・The large pool, an optional area used mainly for backup, restore, and parallel query buffers
Incorrect. The large pool is only an optional SGA sub-component for specific tasks, not the structure holding all three listed caches.
Explanation
The SGA is the group of shared memory structures allocated when the instance starts and includes the buffer cache, shared pool, and redo log buffer.
Example8 · Database Architecture & Instance Management
During a performance review at UrbanThread's order database, a DBA must identify which background process writes modified (dirty) buffers from the database buffer cache to the data files. Which background process performs this specific task?
・LGWR, which flushes the contents of the redo log buffer to the online redo log files
Incorrect. LGWR writes redo entries from the redo log buffer to the online redo logs, not dirty buffers to data files.
✓DBWn, the database writer process responsible for writing dirty buffers to the data files
Correct. DBWn (database writer) is the process that writes dirty buffers from the buffer cache to the data files.
・CKPT, which updates data file headers and the control file to record checkpoint positions
Incorrect. CKPT records checkpoint information in file headers and the control file but does not itself write the data blocks.
・SMON, which performs instance recovery and cleans up temporary segments after failures
Incorrect. SMON handles instance recovery and temporary segment cleanup, not the routine writing of dirty buffers.
Explanation
DBWn is responsible for writing modified buffers from the buffer cache to disk, while LGWR, CKPT, and SMON have distinct roles.
Example9 · Database Architecture & Instance Management
A DBA at UrbanThread must rename a data file while the database remains unavailable to users, but the control file must be read so the operation can proceed. Which startup state should the DBA bring the instance to before renaming the data file?
・OPEN, so that both the control file and all data files are fully available to end users
Incorrect. In OPEN state users can access the database, which is not appropriate for renaming a data file.
✓MOUNT, where the instance reads the control file but does not open the data files
Correct. In MOUNT state the control file is read but data files are not opened, which is required for operations like renaming data files.
・NOMOUNT, where only the instance is started and no control file has yet been read
Incorrect. In NOMOUNT state the control file has not yet been read, so the rename operation cannot locate the file.
・RESTRICTED, allowing only users with the RESTRICTED SESSION privilege to connect while files change
Incorrect. RESTRICTED limits connections but the database is still open, which is not the state required to rename a data file.
Explanation
Renaming a data file requires the MOUNT state, where the control file is read but data files are not open.
Example10 · Database Architecture & Instance Management
A DBA at a financial services firm is reviewing the memory structures of a newly started Oracle Database 23ai instance that supports the firm's loan-origination system. Which memory structure holds data blocks read from datafiles so that concurrent transactions can share cached copies?
✓The database buffer cache, which caches copies of data blocks read from datafiles for reuse by sessions
Correct. The database buffer cache stores copies of data blocks read from datafiles, letting concurrent sessions share cached blocks and reducing physical reads.
・The large pool, which supplies session memory for shared server and backup operations
Incorrect. The large pool provides memory for shared server, RMAN backup, and parallel execution rather than caching data blocks.
・The redo log buffer, which stores change vectors before they are written to the online redo logs
Incorrect. The redo log buffer holds redo change vectors awaiting write to the online redo logs, not cached data blocks.
・The program global area, which stores private session data such as sort areas and cursor state
Incorrect. The PGA holds private session memory such as sorting and cursor state, not shared data block copies.
Explanation
The database buffer cache is the SGA component that caches data blocks read from datafiles so concurrent transactions can share them.
Example11 · Database Architecture & Instance Management
During a post-incident review at a payments company, a DBA must identify which background process performs instance recovery by rolling forward changes from the online redo logs after an abnormal shutdown. Which process is responsible for this recovery role?
・The database writer process (DBWn), which flushes dirty buffers from the cache to the datafiles
Incorrect. DBWn writes modified buffers to datafiles but does not drive instance recovery from the redo logs.
✓The system monitor process (SMON), which performs instance recovery and coalesces free space
Correct. SMON performs instance recovery at startup by rolling forward redo changes and also handles tasks such as coalescing free space.
・The log writer process (LGWR), which writes the redo log buffer to the online redo log files
Incorrect. LGWR writes redo from the log buffer to the online redo logs but does not perform recovery itself.
・The checkpoint process (CKPT), which updates datafile headers and the control file at checkpoints
Incorrect. CKPT records checkpoint information in headers and the control file but does not execute instance recovery.
Explanation
SMON is the mandatory background process that performs automatic instance recovery, rolling forward committed changes from redo after a crash.
Example12 · Database Architecture & Instance Management
A DBA at a regional auto-parts distributor is documenting how the production Oracle Database 23ai instance is structured for the new operations team. A junior admin asks which combination of components actually makes up a running Oracle instance. Which description is accurate?
✓An instance consists of the System Global Area (SGA) together with the set of background processes, both existing only while the database is open or mounted.
Correct. An instance is the SGA plus the background processes, which exist in memory only while the instance is started; the database is the set of physical files.
・An instance consists of the control files, online redo log files, and the datafiles that persist all committed business transactions on disk.
Incorrect. Control files, redo logs, and datafiles are physical files that make up the database, not the in-memory instance.
・An instance consists of the Program Global Area of each server process and the client-side connection pool managed by the listener on behalf of sessions.
Incorrect. PGA is per-server-process memory and the listener/connection pool are not what define an instance; the instance is SGA plus background processes.
・An instance consists of the tablespaces, their segments, and the extents that together store all persistent table and index data.
Incorrect. Tablespaces, segments, and extents are logical storage structures within the database, not components of the memory instance.
Explanation
An Oracle instance is defined as the SGA shared memory plus the background processes; the database refers to the physical files on disk.
Example13 · Database Architecture & Instance Management
During a nightly batch run that posts thousands of inventory adjustments for a manufacturing distributor, a developer asks why committed rows are durable even though the modified data blocks have not yet appeared in the datafiles. Which explanation correctly describes what guarantees durability at commit time?
✓LGWR flushes the redo entries for the transaction from the redo log buffer to the online redo log files before the commit is acknowledged.
Correct. On commit, LGWR writes the transaction's redo from the log buffer to the online redo logs, which is what makes the change durable.
・DBWn immediately writes every dirty buffer modified by the transaction from the buffer cache to the datafiles during the commit call.
Incorrect. DBWn writes dirty buffers lazily and is not forced to run at commit; durability is provided by redo, not by datafile writes.
・The commit copies all changed data blocks from the buffer cache into the control file so recovery can replay them later if needed.
Incorrect. Control files store database structural metadata, not changed data blocks for recovery replay.
・ARCn copies the current online redo log to the archive destination synchronously as part of completing each individual commit.
Incorrect. ARCn archives filled redo logs asynchronously and is unrelated to acknowledging an individual commit.
Explanation
Durability is guaranteed by LGWR writing redo to the online redo logs at commit (write-ahead logging), not by DBWn writing datafiles.
Example14 · Database Architecture & Instance Management
A DBA at a nationwide telecom operator is reviewing how the billing database instance organizes memory. Which statement correctly describes the relationship between the SGA and PGA in an Oracle 23ai instance serving the billing application?
✓The SGA is a shared memory region accessible by all server and background processes, while each PGA is private memory allocated for an individual server process
Correct. The SGA is a shared memory region used by all server and background processes, whereas each PGA is non-shared memory allocated privately for a single server process.
・The SGA is private memory for each dedicated server process and the PGA is the single shared pool used by every background process on the host
Incorrect. This reverses the two structures; the SGA is shared and the PGA is private to each server process, not the other way around.
・Both the SGA and the PGA are shared regions, and the instance balances user sessions across them using automatic shared memory management
Incorrect. The PGA is private per-process memory, not a shared region; only the SGA is shared across the instance.
・The PGA holds the buffer cache and redo log buffer, and the SGA stores session-specific sort areas for each connected billing user session
Incorrect. The buffer cache and redo log buffer reside in the SGA, while private sort areas belong to each process's PGA, so this inverts both placements.
Explanation
In Oracle's memory architecture the SGA is the shared memory allocated at instance startup for all processes, while the PGA is private memory for each server process holding session-specific work areas such as sort space.
Example15 · Database Architecture & Instance Management
During a post-incident review at a telecom operator, a junior DBA asks which background process is responsible for writing modified buffers from the buffer cache to the data files for the subscriber database. Which process performs this task?
・The log writer process (LGWR), which flushes the redo log buffer to the online redo log files whenever a transaction commits
Incorrect. LGWR writes the redo log buffer to the online redo log files; it does not write data buffers to the data files.
✓The database writer process (DBWn), which writes dirty buffers from the database buffer cache to the data files
Correct. DBWn (the database writer) writes modified, or dirty, buffers from the buffer cache to the data files.
・The checkpoint process (CKPT), which signals the writer to flush buffers and then updates both the control file and the data file headers
Incorrect. CKPT updates the control file and data file headers at checkpoints but does not itself write the data blocks to the data files.
・The system monitor process (SMON), which coalesces free space and recovers terminated transactions after an instance failure occurs
Incorrect. SMON performs instance recovery and space coalescing, not the ongoing writing of dirty buffers to data files.
Explanation
DBWn is the mandatory background process that writes dirty buffers from the database buffer cache to the data files, freeing buffers for reuse and supporting checkpoints.
▶ Try 10 free questions (graded)