Oracle Certification

1Z0-082 — Oracle Database Administration I Study Guide

61 practice questions with correct answers and detailed explanations. Use this guide to review concepts before taking the practice exam.

▶ Take Practice Exam 61 questions  ·  Free  ·  No registration

About the 1Z0-082 Exam

The Oracle Oracle Database Administration I (1Z0-082) certification validates professional expertise in Oracle technologies. This study guide covers all 61 practice questions from our 1Z0-082 practice test, complete with correct answers and explanations to help you understand each concept thoroughly.

Review each question and explanation below, then test yourself with the full interactive practice exam to measure your readiness.

61 Practice Questions & Answers

Q1 Easy

Which parameter in the initialization file controls the maximum number of processes that can connect to an Oracle database instance?

  • A processes ✓ Correct
  • B session_max_connect_time
  • C open_cursors
  • D max_connections
Explanation

The 'processes' parameter specifies the maximum number of operating system user processes that can simultaneously connect to Oracle. This is a fundamental initialization parameter for controlling database connections.

Q2 Hard

You are managing an Oracle database and need to ensure that archived redo logs are automatically deleted after they have been backed up. Which RMAN configuration command should you use?

  • A CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY; ✓ Correct
  • B CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
  • C CONFIGURE BACKUP OPTIMIZATION ON;
  • D CONFIGURE DELETE INPUT OF ARCHIVELOG ALL COMPLETED;
Explanation

The ARCHIVELOG DELETION POLICY configuration in RMAN specifies when archived logs can be deleted based on whether they have been applied to standby databases or backed up. This ensures logs are retained until they are safely backed up.

Q3 Easy

What is the primary purpose of the alert log in an Oracle database?

  • A To record database errors, warnings, and significant events during instance startup and operation ✓ Correct
  • B To store performance metrics and query execution plans for optimization analysis
  • C To maintain a transaction log of all DML operations performed by users
  • D To record all user login attempts and SQL query execution details for audit trails
Explanation

The alert log is a crucial diagnostic file that records critical database events, errors, warnings, and significant operational messages. It is essential for troubleshooting and monitoring database health.

Q4 Medium

You need to increase the size of a tablespace that is running out of space. The tablespace contains datafiles that cannot be extended further. What is the best approach?

  • A Add a new datafile to the tablespace ✓ Correct
  • B Increase the MAXEXTENTS parameter for all segments in the tablespace
  • C Migrate the tablespace to a different storage location with larger capacity
  • D Shrink all objects in the tablespace and reuse the freed space
Explanation

When existing datafiles reach their maximum size limits, the best solution is to add a new datafile to the tablespace using the ALTER TABLESPACE command. This provides additional space without affecting existing data.

Q5 Medium

Which Oracle feature allows you to temporarily suspend I/O operations to specific datafiles without bringing down the database?

  • A Read-only mode activation
  • B Tablespace offline mode ✓ Correct
  • C Datafile suspension
  • D Instance quiesce
Explanation

Placing a tablespace in offline mode temporarily makes it unavailable while the database continues running. This is useful for maintenance on specific datafiles without shutting down the entire instance.

Q6 Medium

You are configuring automatic undo management for your Oracle database. Which initialization parameter determines the duration that undo data must be retained?

  • A UNDO_RETENTION ✓ Correct
  • B UNDO_TABLESPACE
  • C UNDO_SUPPRESS_ERRORS
  • D DB_RECOVERY_FILE_DEST_SIZE
Explanation

UNDO_RETENTION specifies the minimum duration (in seconds) that undo data should be retained, even if the undo tablespace space needs to be reused. It ensures consistent read queries can complete successfully.

Q7 Easy

What happens when you execute the SHUTDOWN ABORT command on an Oracle database instance?

  • A Active sessions are disconnected but ongoing transactions are rolled back cleanly over time
  • B The database enters restricted session mode and waits for all users to disconnect before shutting down
  • C The instance shuts down gracefully after completing current transactions and checkpoints
  • D The instance terminates immediately without waiting for transactions to complete or performing a checkpoint ✓ Correct
Explanation

SHUTDOWN ABORT performs an immediate termination of the instance without completing checkpoints or transactions. This can leave the database in an inconsistent state and requires recovery on the next startup.

Q8 Hard

You need to move a datafile from one disk to another without downtime. Which method is most appropriate for an online datafile move?

  • A Use RMAN RESTORE command to copy the datafile while the database is running
  • B Use ALTER DATABASE DATAFILE ... RENAME and then restart the database
  • C Use ALTER TABLESPACE ... READ ONLY, then use operating system commands, then ALTER TABLESPACE ... READ WRITE ✓ Correct
  • D Use ALTER DATABASE MOVE DATAFILE command with the tablespace online
Explanation

To move a datafile online, place the tablespace in read-only mode, move the file at the OS level, then update Oracle with the new location and return the tablespace to read-write mode. This allows the database to remain operational.

Q9 Medium

Which view would you query to determine the current size and space usage of all datafiles in the database?

  • A DBA_DATAFILES
  • B V$DATAFILE
  • C DBA_DATA_FILES ✓ Correct
  • D DBA_EXTENTS
Explanation

DBA_DATA_FILES (with underscore) contains information about all datafiles including their current size, location, and usage. This is the correct view name for datafile information in the data dictionary.

Q10 Medium

You are setting up Oracle Net configuration. Which file is primarily responsible for defining how client connections are routed to database services?

  • A tnsnames.ora ✓ Correct
  • B listener.ora
  • C init.ora
  • D sqlnet.ora
Explanation

The tnsnames.ora file defines the client-side connection definitions (net service names) that specify how to route connections to the appropriate database services. Clients use this file to locate and connect to databases.

Q11 Medium

What is the primary advantage of using Automatic Shared Memory Management (ASMM) in Oracle 11g?

  • A It prevents out-of-memory errors by automatically extending physical RAM allocation
  • B It eliminates the need for the database administrator to manage any memory parameters whatsoever
  • C It guarantees that query performance will improve by up to 50% automatically
  • D It automatically adjusts the size of the SGA and PGA based on workload demands without manual intervention ✓ Correct
Explanation

ASMM automatically adjusts SGA components (buffer cache, log buffer, shared pool) based on workload, reducing manual tuning effort. However, PGA still requires manual configuration unless using Automatic Memory Management.

Q12 Medium

You need to recover a dropped table from a backup without restoring the entire database. Which Oracle feature would you use?

  • A Flashback Table
  • B Tablespace Point-in-Time Recovery
  • C Flashback Drop ✓ Correct
  • D Point-in-Time Recovery
Explanation

Flashback Drop allows recovery of a dropped table from the recycle bin without restoring backups, provided the table hasn't been purged. This is the fastest and simplest method for recovering recently dropped tables.

Q13 Medium

When configuring backup and recovery settings, which parameter specifies the location where Oracle will automatically store backup files and archive logs?

  • A LOG_ARCHIVE_DEST
  • B BACKUP_LOCATION
  • C DB_RECOVERY_FILE_DEST ✓ Correct
  • D DB_BACKUP_DEST
Explanation

DB_RECOVERY_FILE_DEST specifies the default location for RMAN backup files, archived logs, and other recovery-related files when using the flash recovery area. Setting this enables automatic backup management.

Q14 Hard

You are analyzing wait events in your database and notice high 'db file sequential read' wait events. What does this typically indicate?

  • A Excessive full table scans are occurring in the database
  • B Network latency is causing delays in client-server communication
  • C The log writer process is unable to keep up with incoming transactions
  • D The database is experiencing I/O contention due to index-based single-block reads, possibly indicating missing indexes or inefficient queries ✓ Correct
Explanation

The 'db file sequential read' wait event indicates single-block reads typically from index lookups. High occurrences suggest missing indexes, poor query optimization, or inefficient execution plans that require excessive I/O operations.

Q15 Medium

Which SQL statement would you use to add a new member to an existing redo log group that currently has only one member?

  • A ALTER DATABASE ADD LOGFILE MEMBER '/path/to/file' TO GROUP 1; ✓ Correct
  • B ALTER SYSTEM ADD LOGFILE MEMBER '/path/to/file' TO GROUP 1;
  • C CREATE LOGFILE MEMBER '/path/to/file' FOR GROUP 1;
  • D ALTER DATABASE ADD MEMBER '/path/to/file' LOGFILE GROUP 1;
Explanation

The correct syntax is ALTER DATABASE ADD LOGFILE MEMBER followed by the file path and TO GROUP clause. This adds a member to an existing redo log group for redundancy and enhanced write performance.

Q16 Medium

You need to implement a backup strategy that can recover from a datafile loss within the last 5 days. What retention policy should you configure in RMAN?

  • A CONFIGURE RETENTION POLICY TO BACKUPS 5;
  • B CONFIGURE RETENTION POLICY TO REDUNDANCY 5;
  • C CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 5 DAYS; ✓ Correct
  • D CONFIGURE RETENTION POLICY TO ARCHIVELOG 5;
Explanation

The RECOVERY WINDOW retention policy specifies the time period during which you can perform point-in-time recovery. Setting it to 5 DAYS ensures you can recover to any point within the last 5 days.

Q17 Easy

What is the minimum privilege level required for a user to view information about all database objects they do not own?

  • A ALTER SYSTEM privilege
  • B SELECT ANY TABLE privilege ✓ Correct
  • C CREATE ANY TABLE privilege
  • D UNLIMITED TABLESPACE privilege
Explanation

The SELECT ANY TABLE system privilege allows a user to query any table in the database regardless of ownership. This is the appropriate privilege for viewing data from all tables.

Q18 Hard

You are managing character set conversion for an Oracle database. Which view would you query to determine the current database character set?

  • A DBA_CHAR_SET_INFO
  • B V$DATABASE
  • C NLS_DATABASE_PARAMETERS ✓ Correct
  • D V$NCHARACTER_SET
Explanation

The NLS_DATABASE_PARAMETERS view (or query to the database itself via NLS_LANG) shows the current character set. You can also check DBA_PROPERTIES or the database alert log during startup to confirm the character set.

Q19 Medium

When a tablespace is created with the AUTOEXTEND OFF clause, what happens when it reaches its maximum size?

  • A The tablespace stops accepting new data and operations fail with 'tablespace full' errors ✓ Correct
  • B Oracle switches to using temporary tablespace to store overflow data
  • C The oldest data in the tablespace is automatically archived and removed
  • D Oracle automatically adds a new datafile to the tablespace
Explanation

With AUTOEXTEND OFF and no additional datafiles available, the tablespace cannot accommodate new space requests. DML operations will fail with 'ORA-01653: unable to extend table' type errors.

Q20 Easy

Which Oracle background process is responsible for writing dirty buffers from the buffer cache to datafiles?

  • A LGWR (Log Writer)
  • B PMON (Process Monitor)
  • C CKPT (Checkpoint)
  • D DBWR (Database Writer) ✓ Correct
Explanation

The Database Writer (DBWR) process writes modified (dirty) data blocks from the buffer cache to the datafiles. LGWR writes redo logs, PMON cleans up failed processes, and CKPT updates file headers.

Q21 Medium

You need to estimate the size of a new table before creating it. Which factor is NOT typically considered in the calculation?

  • A Average row size and expected number of rows
  • B Storage overhead for block headers and row directory entries
  • C Compression and future growth projections
  • D The SQL query complexity that will access this table ✓ Correct
Explanation

Query complexity does not affect table storage size. Size estimation depends on row length, row count, block overhead, compression, and growth. The complexity of queries accessing the table is a performance consideration, not a storage one.

Q22 Medium

When configuring log archiving, what is the result of setting LOG_ARCHIVE_DEST_1 with the LOCATION parameter instead of SERVICE?

  • A Archive logs are written to the specified local or network file system path ✓ Correct
  • B Archive logs are sent to a remote standby database via network services
  • C Archiving is disabled and logs are retained only in online redo log files
  • D Archive logs are compressed before being written to the destination
Explanation

Using the LOCATION parameter directs archived logs to a file system path (local or NFS). The SERVICE parameter is used for sending logs to a remote standby database, and LOCATION is the standard choice for local archiving.

Q23 Hard

You execute a backup of your database without specifying a retention policy. Which of the following best describes the default retention behavior?

  • A Backups are deleted immediately after being restored successfully to the database
  • B Backups are retained according to the CONFIGURE RETENTION POLICY setting, or if none is set, indefinitely ✓ Correct
  • C Backups are automatically deleted after 31 days to conserve storage space
  • D Backups are retained indefinitely until manually deleted by the DBA
Explanation

If no explicit retention policy is configured in RMAN, backups are retained indefinitely. The CONFIGURE RETENTION POLICY command sets a specific retention strategy, but without it, no automatic deletion occurs.

Q24 Medium

Which initialization parameter controls the number of database writer processes in the Oracle instance?

  • A PROCESSES
  • B DB_WRITER_PROCESSES ✓ Correct
  • C DB_RECOVERY_PARALLELISM
  • D DBWR_IO_SLAVES
Explanation

The DB_WRITER_PROCESSES parameter specifies the number of DBWR processes that write dirty buffers to disk. This parameter is useful on systems with multiple CPUs to improve I/O performance.

Q25 Hard

You are investigating a performance issue and suspect that the shared pool is too small. Which dynamic performance view would you query to check the amount of free memory in the shared pool?

  • A V$MEMORY_TARGET_ADVICE
  • B DBA_SEGMENTS where SEGMENT_TYPE='SHARED POOL'
  • C V$INSTANCE_MEMORY
  • D V$SGASTAT where POOL='shared pool' ✓ Correct
Explanation

V$SGASTAT shows detailed SGA memory statistics including free space in the shared pool. Querying this view with POOL='shared pool' reveals how much free memory is available for allocations.

Q26 Easy

Which parameter in the initialization file controls the maximum number of processes that can connect to an Oracle database instance?

  • A SESSION_MAX_OPEN_FILES
  • B MAX_CONNECTIONS
  • C PROCESSES ✓ Correct
  • D DB_FILES
Explanation

The PROCESSES parameter specifies the maximum number of operating system user processes that can simultaneously connect to Oracle. This is a fundamental instance initialization parameter.

Q27 Medium

When you create a new tablespace, which statement about extent allocation is correct?

  • A Dictionary-managed tablespaces automatically create uniform extents regardless of user specifications
  • B Extents are always allocated automatically as the tablespace grows, and you cannot pre-allocate them
  • C You can specify extent sizes at tablespace creation, and for locally managed tablespaces, Oracle allocates extents based on the extent management clause ✓ Correct
  • D All extents in a tablespace must be identical in size
Explanation

When creating a tablespace, the EXTENT MANAGEMENT clause determines how extents are allocated. Locally managed tablespaces use bitmap allocation with specified extent sizes, while dictionary-managed tablespaces use the data dictionary.

Q28 Medium

You need to audit all SELECT statements issued by a specific user. Which audit option should you enable?

  • A AUDIT ALL BY username;
  • B AUDIT SELECT BY username; ✓ Correct
  • C AUDIT SELECT BY SESSION;
  • D AUDIT SELECT BY ACCESS;
Explanation

The syntax 'AUDIT SELECT BY username' audits all SELECT statements executed by the specified user. The BY clause identifies the user, while BY ACCESS creates individual audit records for each statement.

Q29 Medium

What is the primary advantage of using Automatic Storage Management (ASM) in Oracle Database?

  • A It automatically compresses all data stored in the database without DBA intervention or configuration
  • B It provides simplified storage management, striping, and mirroring across multiple disks while hiding filesystem complexity from the DBA ✓ Correct
  • C It increases database performance by bypassing the SQL optimizer
  • D It eliminates the need for backup and recovery procedures entirely
Explanation

ASM simplifies storage management by providing automatic load balancing and mirroring across disk groups, reducing administrative overhead and improving I/O performance distribution.

Q30 Medium

You are configuring backup retention for RMAN. Which setting determines how long backup files are kept before they can be deleted?

  • A RETENTION POLICY ✓ Correct
  • B BACKUP WINDOW
  • C ARCHIVE LOG RETENTION
  • D BACKUP REDUNDANCY
Explanation

RMAN RETENTION POLICY determines when backups become obsolete and eligible for deletion. It can be configured by redundancy (number of copies) or by days of recovery window.

Q31 Hard

Which dynamic performance view would you query to determine the current undo tablespace usage and transaction slots available?

  • A V$ARCHIVE_DEST and V$ARCHIVE_PROCESSES
  • B V$UNDOSTAT and V$TRANSACTION ✓ Correct
  • C V$ROLLSTAT and V$TRANSACTION
  • D V$DATAFILE and V$DATAFILE_HEADER
Explanation

V$UNDOSTAT shows undo tablespace statistics including usage metrics, while V$TRANSACTION displays active transactions. These views together provide comprehensive undo segment monitoring information.

Q32 Hard

When you encounter an 'ORA-01555: snapshot too old' error, what is the root cause?

  • A The flashback database feature is not properly configured
  • B The archive log destination directory is full and preventing log switches
  • C The database control file has become corrupted and needs recovery
  • D A long-running query cannot read consistent data because required undo segments have been overwritten ✓ Correct
Explanation

This error occurs when a query needs to read older versions of data blocks (for read consistency) but those undo records have been overwritten. Increasing undo tablespace size or undo retention resolves this.

Q33 Easy

Which initialization parameter controls whether the database automatically writes redo log files to the archive destination?

  • A ARCHIVE_LAG_TARGET
  • B LOG_ARCHIVE_MODE ✓ Correct
  • C DB_RECOVERY_FILE_DEST
  • D LOG_ARCHIVE_DEST_1
Explanation

LOG_ARCHIVE_MODE, when set to ENABLE, activates automatic archiving of redo logs. LOG_ARCHIVE_DEST_n specifies where logs are archived, but the MODE parameter controls whether archiving is active.

Q34 Hard

You need to move a datafile to a different location due to storage reconfiguration. What is the correct sequence of operations?

  • A Use RMAN COPY command while database is running, then update the control file manually
  • B Shutdown the database, use OS mv command to move the file, and restart without any ALTER commands
  • C Alter tablespace offline, use OS commands to move the file, then use ALTER DATABASE RENAME DATAFILE, and bring tablespace online ✓ Correct
  • D ALTER DATABASE MOVE DATAFILE; then restart the database
Explanation

The correct procedure involves taking the tablespace offline, moving the physical file, using ALTER DATABASE RENAME DATAFILE to update Oracle's metadata, then bringing the tablespace back online.

Q35 Medium

Which statement about Oracle's Transparent Data Encryption (TDE) is accurate?

  • A TDE uses a wallet to store encryption keys, and can be configured at both column and tablespace levels depending on the edition ✓ Correct
  • B TDE requires manual decryption of data by the application layer before processing
  • C TDE can only encrypt specific columns and cannot encrypt entire tablespaces
  • D TDE automatically decrypts all data for every query, which significantly increases query response time
Explanation

TDE supports both column-level and tablespace-level encryption using keys stored in a database or external wallet. Encryption/decryption is transparent to users and has minimal performance impact.

Q36 Hard

You are implementing a recovery strategy and need to test if your backups can restore the database to a specific point in time. What RMAN feature should you use?

  • A RMAN DUPLICATE command to create a duplicate database at a specific point in time without affecting production ✓ Correct
  • B BACKUP VALIDATE command to check backup integrity
  • C RESTORE DATABASE with PREVIEW option
  • D RECOVER DATABASE UNTIL TIME clause with VALIDATE option
Explanation

The RMAN DUPLICATE command creates a copy of the database from backups and can be used to test point-in-time recovery without affecting the production database.

Q37 Medium

What is the purpose of the DB_RECOVERY_FILE_DEST parameter?

  • A It controls the maximum size of individual backup files that RMAN can create
  • B It specifies the location where RMAN backups, archive logs, and flashback logs are stored in the Fast Recovery Area ✓ Correct
  • C It defines the directory where datafile backups are exclusively stored separate from archive logs
  • D It determines which backup destination RMAN uses when multiple LOG_ARCHIVE_DEST_n locations are configured
Explanation

DB_RECOVERY_FILE_DEST specifies the Fast Recovery Area (FRA), a centralized backup storage location where Oracle automatically manages backups, archive logs, and flashback logs.

Q38 Hard

In a Data Guard configuration, what is the primary function of the standby database when using maximum availability mode?

  • A The standby database serves as a read-only reporting system only
  • B The standby database automatically becomes the primary without requiring the database administrator to issue any commands
  • C The standby database is used only for offline backup operations to avoid impacting production workload
  • D The standby database receives and applies redo data synchronously, providing zero data loss protection if the primary fails ✓ Correct
Explanation

In maximum availability mode, redo is applied synchronously to ensure zero data loss. The standby can serve as a read-only system while protecting against primary database failure.

Q39 Medium

Which parameter determines the level of detail recorded in the database audit trail?

  • A AUDIT_LEVEL
  • B AUDIT_SYS_OPERATIONS
  • C UNIFIED_AUDIT_TRAIL_TYPE
  • D AUDIT_TRAIL ✓ Correct
Explanation

AUDIT_TRAIL parameter specifies where audit information is written (NONE, OS, DB, DB_EXTENDED, or XML). When set to DB or higher, detailed audit records are stored in the database.

Q40 Medium

You need to estimate the size required for a new tablespace. Which approach provides the most accurate calculation?

  • A Analyze table structure, estimate row size, multiply by expected row count, add index space and free space for fragmentation ✓ Correct
  • B Use the default allocation of 100 GB for all production tablespaces
  • C Multiply the number of users by 1 GB and add 20% for growth
  • D Query V$SORT_USAGE to determine the minimum required tablespace size
Explanation

Accurate sizing requires analyzing table and index definitions, estimating row counts, calculating storage for indexes and overhead, and reserving space for future growth.

Q41 Medium

Which Oracle tool would you use to clone a database for testing purposes while maintaining complete independence from the source database?

  • A SQL*Plus COPY command with SELECT * FROM remote database
  • B Direct file system copy of all datafiles, control files, and log files
  • C Data Pump Export/Import with full database export parameter
  • D RMAN DUPLICATE command to create an independent clone database from backups ✓ Correct
Explanation

RMAN DUPLICATE creates a new, independent database instance from source database backups, handling all necessary configuration changes and ensuring complete separation from the original.

Q42 Hard

What happens when the Fast Recovery Area becomes full?

  • A Archive logs fail to copy to the FRA, and the database may encounter problems if the primary destination is also full ✓ Correct
  • B The database continues operating normally but RMAN cannot create new backups until space is freed
  • C Oracle automatically deletes the oldest backups to make space for new backups
  • D The database automatically enters read-only mode to prevent further log generation
Explanation

When the FRA is full, new backups cannot be created. If archive log destination also uses the FRA, log switches can be delayed, potentially causing the database to stall.

Q43 Medium

Which statement correctly describes the relationship between control files and database backups?

  • A Control files only need to be backed up when structural changes occur, not during routine maintenance backups
  • B Control files are automatically recreated from datafile headers, making separate control file backups unnecessary
  • C Control files are never needed because all metadata is stored in datafiles
  • D Control files must be backed up regularly as they contain critical database structure information; RMAN automatically includes control files in all backups ✓ Correct
Explanation

Control files are essential metadata files that RMAN includes in all backups. They record database structure, datafile locations, and backup history and must be protected.

Q44 Medium

You are configuring password policies for database users. Which parameter controls the number of days a password remains valid before expiration?

  • A PASSWORD_REUSE_TIME in the profile
  • B PASSWORD_LOCK_TIME in the profile
  • C PASSWORD_GRACE_TIME in the profile
  • D PASSWORD_LIFE_TIME in the profile ✓ Correct
Explanation

PASSWORD_LIFE_TIME (specified in a resource profile) sets the maximum number of days a password is valid. PASSWORD_GRACE_TIME provides additional login attempts after expiration before the account is locked.

Q45 Hard

In the context of Oracle Database recovery, what is the difference between MEDIA RECOVERY and CRASH RECOVERY?

  • A They are identical processes with different terminology in different Oracle versions
  • B MEDIA RECOVERY requires the database to be in archivelog mode; CRASH RECOVERY works in noarchivelog mode
  • C CRASH RECOVERY is used when media failure occurs; MEDIA RECOVERY is used for instance failures
  • D MEDIA RECOVERY restores lost datafiles from backups and applies archived logs; CRASH RECOVERY uses redo logs to recover from instance failures without restoring datafiles ✓ Correct
Explanation

MEDIA RECOVERY restores datafiles from backups and applies archived redo logs for complete recovery. CRASH RECOVERY uses online redo logs to recover from instance failures without datafile restoration.

Q46 Hard

Which view would you query to identify which sessions are blocking other sessions in the database?

  • A V$SESSION, V$LOCK, and V$PROCESS to identify blocking sessions and held locks ✓ Correct
  • B V$WAITSTAT and V$SESSION_WAIT
  • C V$ARCHIVE_DEST and V$LOG
  • D V$INSTANCE_RECOVERY only
Explanation

V$SESSION shows active sessions, V$LOCK displays lock information, and V$PROCESS shows operating system process details. Together they identify which sessions hold locks blocking others.

Q47 Medium

What is the correct syntax to create a locally managed tablespace with automatic segment space management?

  • A CREATE TABLESPACE ts1 DATAFILE '/path/file.dbf' SIZE 100M MANAGEMENT LOCAL AUTO;
  • B CREATE TABLESPACE ts1 DATAFILE '/path/file.dbf' SIZE 100M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO; ✓ Correct
  • C CREATE TABLESPACE ts1 DATAFILE '/path/file.dbf' SIZE 100M LOCAL MANAGED AUTOMATIC SEGMENTS;
  • D CREATE TABLESPACE ts1 DATAFILE '/path/file.dbf' SIZE 100M LOCAL EXTENT ALLOCATION AUTO;
Explanation

The correct syntax uses EXTENT MANAGEMENT LOCAL for locally managed tablespaces and SEGMENT SPACE MANAGEMENT AUTO for automatic segment space management (ASSM).

Q48 Easy

You need to grant the ability to create new users to a role, but without granting full DBA privileges. Which system privilege should you include in the role?

  • A CREATE ANY OBJECT system privilege which grants comprehensive object creation rights
  • B RESOURCE role, which includes all user creation capabilities required
  • C DBA role, which includes the CREATE USER system privilege as part of its permissions
  • D CREATE USER system privilege ✓ Correct
Explanation

The CREATE USER system privilege specifically grants the ability to create new user accounts. This is a granular privilege that can be granted independently without DBA role permissions.

Q49 Hard

Which initialization parameter should you set to enable the Automatic Database Diagnostic Monitor (ADDM)?

  • A DATABASE_DIAGNOSTICS_MODE = ENABLED
  • B ENABLE_DIAGNOSTICS = TRUE
  • C ADDM_ENABLED = TRUE
  • D DIAGNOSTIC_DEST must be configured, and AWR (Automatic Workload Repository) must be enabled with STATISTICS_LEVEL = TYPICAL or ALL ✓ Correct
Explanation

ADDM is automatically enabled when AWR is enabled (via STATISTICS_LEVEL) and DIAGNOSTIC_DEST is configured. ADDM requires AWR data to analyze performance issues.

Q50 Hard

When performing an RMAN backup, what is the significance of the SECTION SIZE parameter in the BACKUP command?

  • A It determines how many tablespaces are included in each backup operation to prevent exceeding file size limits
  • B It divides large datafiles into smaller sections so multiple backup processes can write different file sections in parallel, improving backup performance ✓ Correct
  • C It controls the size of redo log sections that are archived with each backup cycle
  • D It specifies the maximum size of each backup piece created during the backup operation
Explanation

SECTION SIZE enables parallelization of large datafile backups by dividing files into sections that multiple RMAN channels can process simultaneously, reducing total backup time.

Q51 Medium

You want to ensure that expired audit records are automatically purged from the audit trail. Which approach is recommended?

  • A Set the AUDIT_RETENTION parameter to the number of days, and Oracle automatically purges old records
  • B Use the DBMS_AUDIT_MGMT package to set up audit trail purging policies and automatically manage audit data retention ✓ Correct
  • C Manually execute DELETE FROM AUD$ WHERE NTIMESTAMP# < SYSDATE - 90;
  • D Configure a custom shell script to delete audit files from the operating system audit directory daily
Explanation

DBMS_AUDIT_MGMT provides procedures to configure automated audit trail purging based on retention policies, managing audit records in a database-aware manner.

Q52 Medium

You need to configure automatic undo retention for your database. Which initialization parameter controls the minimum amount of time that undo data should be retained?

  • A DB_RECOVERY_FILE_DEST
  • B PROCESSES
  • C UNDO_RETENTION ✓ Correct
  • D UNDO_TABLESPACE
Explanation

UNDO_RETENTION specifies the minimum amount of time (in seconds) that undo data should be retained. This parameter works with automatic undo management to ensure undo data is available for consistent reads.

Q53 Medium

Which type of database control file backup is automatically created and maintained by Oracle when using ARCHIVELOG mode?

  • A Control file multiplexed copies specified by CONTROL_FILES parameter ✓ Correct
  • B XML-formatted metadata backup in the flash recovery area
  • C Binary control file backup in the archive destination
  • D Trace file containing control file structure information
Explanation

Oracle automatically maintains multiplexed copies of the control file as specified in the CONTROL_FILES initialization parameter. These copies ensure redundancy and protection against control file loss.

Q54 Hard

You are configuring a new database and want to enable automatic Secure Sockets Layer (SSL) encryption for database connections. Which parameter should you configure in the sqlnet.ora file?

  • A SSL_VERSION
  • B ENCRYPTION_ALGORITHM
  • C SQLNET.CRYPTO_CHECKSUM
  • D SQLNET.ENCRYPTION_CLIENT ✓ Correct
Explanation

SQLNET.ENCRYPTION_CLIENT controls whether SSL encryption is requested or required for client connections. This parameter in sqlnet.ora enables encryption at the network protocol level for Oracle Net connections.

Q55 Easy

A user reports being unable to connect to the database during peak hours. You suspect that the number of database processes has reached its maximum. Which parameter would you check first?

  • A DB_FILES
  • B MAX_STRING_SIZE
  • C PROCESSES ✓ Correct
  • D OPEN_CURSORS
Explanation

The PROCESSES initialization parameter specifies the maximum number of operating system processes that can simultaneously connect to the database. Reaching this limit would prevent new connections.

Q56 Hard

You need to perform a recovery operation using a backup control file that is older than the current database incarnation. Which RMAN command sequence is most appropriate?

  • A RESTORE CONTROLFILE FROM BACKUP; OPEN RESETLOGS; RECOVER DATABASE;
  • B RESTORE DATABASE; RESTORE CONTROLFILE FROM BACKUP; RECOVER DATABASE UNTIL SEQUENCE 100;
  • C RESTORE CONTROLFILE FROM AUTOBACKUP; RECOVER DATABASE USING BACKUP CONTROLFILE;
  • D RESTORE CONTROLFILE FROM '/path/to/backup'; RESET DATABASE; RECOVER DATABASE USING BACKUP CONTROLFILE; ✓ Correct
Explanation

When recovering with a backup control file, you must restore it, issue RESET DATABASE to resynchronize it with the database files, and then perform recovery with the USING BACKUP CONTROLFILE clause.

Q57 Easy

You are managing a database with multiple tablespaces. Which statement accurately describes the relationship between a tablespace and its datafiles?

  • A Multiple tablespaces can share a single datafile through partitioning.
  • B One tablespace contains exactly one datafile, and one datafile can be shared by multiple tablespaces.
  • C One datafile must belong to multiple tablespaces for better performance.
  • D One tablespace can contain multiple datafiles, and one datafile can belong to exactly one tablespace. ✓ Correct
Explanation

A tablespace is a logical storage unit that contains one or more physical datafiles. Each datafile belongs to exactly one tablespace, but a tablespace can span multiple datafiles.

Q58 Medium

Your database is experiencing severe I/O contention on the redo log files. You decide to add an additional redo log group. What is the correct syntax to accomplish this?

  • A ALTER SYSTEM ADD LOGFILE GROUP 4 SIZE 100M;
  • B ALTER DATABASE ADD LOGFILE ('/path/to/redo04a.log', '/path/to/redo04b.log') SIZE 100M;
  • C ALTER DATABASE ADD LOGFILE GROUP 4 ('/path/to/redo04a.log', '/path/to/redo04b.log') SIZE 100M; ✓ Correct
  • D CREATE LOGFILE GROUP 4 ('/path/to/redo04a.log') SIZE 100M;
Explanation

The correct syntax to add a new redo log group is ALTER DATABASE ADD LOGFILE GROUP <group_number> followed by one or more file specifications. The GROUP keyword explicitly identifies the group number.

Q59 Hard

You need to implement a strategy to prevent unauthorized access to sensitive data stored in specific tables. Which Oracle security feature would be most appropriate for this requirement?

  • A Application-level password complexity requirements and audit logs
  • B Database roles with standard GRANT and REVOKE statements
  • C Virtual Private Database (VPD) with fine-grained access control policies ✓ Correct
  • D Tablespace-level encryption using Transparent Data Encryption (TDE)
Explanation

Virtual Private Database (VPD) provides fine-grained access control at the row level, allowing you to transparently enforce security policies to restrict sensitive data access based on application context or user attributes.

Q60 Hard

During a database startup, you encounter an error indicating that the database cannot find one of the required redo log files. The file was accidentally deleted. What is the most appropriate recovery action?

  • A Restore all redo log files from the most recent backup and perform media recovery.
  • B Add a new redo log group and drop the damaged group using ALTER DATABASE DROP LOGFILE GROUP. ✓ Correct
  • C Perform a complete database restore and recovery from a consistent backup.
  • D Use ALTER DATABASE CLEAR LOGFILE GROUP to reinitialize the group without the file.
Explanation

When a redo log file is permanently lost and cannot be recovered, you should add a replacement redo log group and drop the damaged group. This approach preserves the database without requiring a full restoration.

Q61 Medium

You are tuning database performance and notice that many queries are performing full table scans instead of using indexes. Which dynamic performance view would you query to determine if indexes exist on the frequently scanned tables?

  • A DBA_INDEXES and DBA_IND_COLUMNS ✓ Correct
  • B DBA_TAB_STATISTICS
  • C V$SQLAREA and V$SQL_PLAN
  • D V$ACTIVE_SESSION_HISTORY
Explanation

DBA_INDEXES displays all indexes in the database, and DBA_IND_COLUMNS shows the columns indexed. These data dictionary views help identify existing indexes and their composition on specific tables.

Ready to test your knowledge?

You've reviewed all 61 questions. Take the interactive practice exam to simulate the real test environment.

▶ Start Practice Exam — Free