














































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















































































Which Oracle memory component stores parsed SQL statements and execution plans? A. Database Buffer Cache B. Shared Pool C. Large Pool D. PGA Correct Answer: B Explanation: The Shared Pool contains the Library Cache (parsed SQL and execution plans) and Data Dictionary Cache. It improves performance by avoiding repeated parsing of SQL statements.
Q2. Which background process is responsible for writing modified blocks from memory to disk? A. LGWR B. CKPT C. DBWn D. SMON Correct Answer: C Explanation: DBWn (Database Writer) writes dirty buffers from the buffer cache to data files. This process ensures data consistency and frees memory for new blocks.
Q3. Which file is REQUIRED to open an Oracle database?
A. Redo log file B. Control file C. Archive log file D. Trace file Correct Answer: B Explanation: Control files store metadata such as database name, data file locations, and checkpoint information. Without them, the database cannot mount or open.
Q4. Which Oracle process records all changes made to the database? A. DBWn B. CKPT C. LGWR D. ARCn Correct Answer: C Explanation: LGWR (Log Writer) writes redo entries to redo log files, ensuring recoverability of all committed changes.
Q5. Which tablespace is used to store temporary data such as sort operations? A. SYSTEM B. SYSAUX C. UNDO D. TEMP Correct Answer: D
Correct Answer: B Explanation: In MOUNT mode, Oracle reads control files but does not open data files.
Q9. Which privilege allows a user to create tables in their schema? A. CREATE ANY TABLE B. CREATE TABLE C. ALTER TABLE D. DBA Correct Answer: B Explanation: CREATE TABLE allows table creation only within the user’s own schema.
Q10. Which data dictionary view provides information about all database users? A. USER_USERS B. ALL_USERS C. DBA_USERS D. V$USER Correct Answer: C Explanation: DBA_USERS shows details of all users and requires DBA privileges.
Q11.
Which background process performs instance recovery after a crash? A. PMON B. SMON C. ARCn D. LGWR Correct Answer: B Explanation: SMON (System Monitor) performs crash recovery and cleans temporary segments.
Q12. Which process cleans up failed user sessions? A. DBWn B. SMON C. PMON D. CKPT Correct Answer: C Explanation: PMON (Process Monitor) releases locks and resources held by failed sessions.
Q13. Which statement about redo logs is TRUE? A. Redo logs store undo data B. Redo logs store committed data only C. Redo logs record all database changes D. Redo logs store SQL statements Correct Answer: C Explanation: Redo logs record all changes , committed or uncommitted, ensuring recoverability.
Which tablespace is mandatory for Oracle database creation? A. TEMP B. UNDO C. SYSAUX D. SYSTEM Correct Answer: D Explanation: SYSTEM tablespace contains core data dictionary objects and is required.
Q18. Which type of backup includes only changed blocks since the last backup? A. Full B. Incremental C. Differential D. Logical Correct Answer: B Explanation: Incremental backups store only changed blocks, reducing backup time and storage.
Q19. Which privilege allows a user to connect to the database? A. CONNECT B. CREATE SESSION C. LOGIN D. ACCESS Correct Answer: B
Explanation: CREATE SESSION is required to log in to Oracle.
Q20. Which Oracle feature ensures read consistency? A. Redo logs B. Undo data C. Control files D. Checkpoints Correct Answer: B Explanation: Undo allows queries to see a consistent snapshot of data.
Q21. Which process updates data file headers and control files during checkpoints? A. LGWR B. DBWn C. CKPT D. SMON Correct Answer: C Explanation: CKPT signals DBWn and updates headers during checkpoints.
Q22. Which tablespace stores auxiliary metadata? A. SYSTEM B. SYSAUX C. TEMP D. USERS Correct Answer: B
Which view shows redo log group status? A. DBA_LOGS B. V$LOG C. V$ARCHIVED_LOG D. DBA_REDO Correct Answer: B
Q27. Which mode allows only users with RESTRICTED SESSION privilege? A. MOUNT B. OPEN C. RESTRICTED D. NOMOUNT Correct Answer: C
Q28. Which file is NOT multiplexed by default? A. Control file B. Data file C. Redo log file D. Password file Correct Answer: B
Q29. Which SQL command removes a user and all objects? A. DROP USER B. DROP USER CASCADE C. DELETE USER D. REMOVE USER
Correct Answer: B
Q30. Which wait event indicates commit latency? A. db file scattered read B. buffer busy waits C. log file sync D. latch free Correct Answer: C
Q31. Which component manages SQL parsing? A. Library Cache B. Buffer Cache C. PGA D. Redo Buffer Correct Answer: A
Q32. Which background process archives redo logs? A. LGWR B. ARCn C. SMON D. PMON Correct Answer: B
Q33. Which operation requires TEMP tablespace? A. SELECT * FROM table B. Index rebuild C. INSERT D. UPDATE
Correct Answer: D
Q38. Which view shows database open mode? A. V$INSTANCE B. V$DATABASE C. DBA_DATABASE D. USER_DATABASE Correct Answer: B
Q39. Which tablespace is default for new users? A. SYSTEM B. SYSAUX C. USERS D. TEMP Correct Answer: C
Q40. Which process writes redo buffer to disk? A. DBWn B. ARCn C. LGWR D. CKPT Correct Answer: C
Q41. Which command enables ARCHIVELOG mode? A. ALTER DATABASE ARCHIVE B. ALTER SYSTEM ARCHIVELOG C. ALTER DATABASE ARCHIVELOG D. ENABLE ARCHIVE
Correct Answer: C
Q42. Which backup is required for point-in-time recovery? A. Full only B. Logical export C. Archived redo logs D. Control file only Correct Answer: C
Q43. Which user owns data dictionary objects? A. SYSTEM B. SYS C. ADMIN D. DBA Correct Answer: B
Q44. Which memory structure stores redo temporarily? A. Redo Buffer B. Buffer Cache C. Shared Pool D. PGA Correct Answer: A
Q45. Which process performs coalescing of free space? A. PMON B. SMON C. DBWn D. ARCn
Correct Answer: A
Q50. Which role provides full database administration privileges? A. CONNECT B. RESOURCE C. DBA D. SYSOPER Correct Answer: C
Q51. Which Oracle component ensures that committed data is not lost during instance failure? A. DBWn B. LGWR C. CKPT D. SMON Correct Answer: B Explanation: LGWR writes redo entries to disk at commit time. This guarantees durability (the “D” in ACID), even if DBWn has not yet written data blocks to disk.
Q52. Which tablespace type is recommended for UNDO? A. Temporary B. Smallfile C. Bigfile D. Read-only Correct Answer: C Explanation: Bigfile tablespaces are recommended for UNDO in modern
Oracle databases to simplify management and reduce file count.
Q53. Which view shows free space within tablespaces? A. DBA_TABLESPACES B. DBA_DATA_FILES C. DBA_FREE_SPACE D. USER_FREE_SPACE Correct Answer: C Explanation: DBA_FREE_SPACE displays unallocated extents available in tablespaces.
Q54. Which process is responsible for rolling back uncommitted transactions during crash recovery? A. PMON B. SMON C. DBWn D. LGWR Correct Answer: B Explanation: SMON performs instance recovery, including rolling forward committed changes and rolling back uncommitted transactions using undo.
Q55. Which parameter controls the size of the Shared Pool? A. SHARED_POOL_SIZE B. MEMORY_TARGET
Which SQL command changes a data file’s status to offline? A. ALTER TABLESPACE OFFLINE B. ALTER DATABASE DATAFILE OFFLINE C. ALTER SYSTEM OFFLINE D. DROP DATAFILE Correct Answer: B Explanation: ALTER DATABASE DATAFILE OFFLINE takes a specific data file offline without affecting the entire tablespace.
Q59. Which background process updates the control file with checkpoint information? A. DBWn B. LGWR C. CKPT D. ARCn Correct Answer: C Explanation: CKPT updates control files and data file headers during checkpoints.
Q60. Which type of user authentication relies on the operating system? A. Password authentication B. External authentication C. Token authentication D. Certificate authentication Correct Answer: B
Explanation: External authentication allows users to connect without database passwords, relying on OS authentication.
Q61. Which operation causes a log switch? A. SELECT B. COMMIT C. CHECKPOINT D. ALTER SYSTEM SWITCH LOGFILE Correct Answer: D Explanation: ALTER SYSTEM SWITCH LOGFILE forces LGWR to move to the next redo log group.
Q62. Which view displays background processes? A. V$SESSION B. V$PROCESS C. DBA_PROCESSES D. USER_PROCESS Correct Answer: B Explanation: V$PROCESS shows Oracle background and server processes.
Q63. Which tablespace attribute prevents DML operations? A. TEMPORARY B. READ ONLY C. OFFLINE D. ENCRYPTED Correct Answer: B