Computer Knowledge
Database Management Systems
5,543 Questions
Database Management Systems (DBMS) form the core framework for data storage, retrieval, and security in modern software applications. Concepts such as the E-R model, backup planning, SQL integration, and big data architecture are essential for computer knowledge sections. This hub offers a comprehensive set of practice questions to master DBMS fundamentals and advanced database operations.
E-R Model ConceptsBackup and RecoverySQL Server UpgradesJDBC and ODBCBig Data CharacteristicsData VirtualizationOracle Database
Database Management Systems Questions
-
The Oracle instance
-
The Oracle server
-
The Oracle database
-
Recover
-
The archive file
A
Correct answer
Explanation
An Oracle instance always opens one and only one database.
-
Extents
-
Segments
-
Views
-
The password file
-
Tablespaces
E
Correct answer
Explanation
Tablespaces commonly group together all application objects to simplify some administrative operations.
-
Process monitor
-
Queue monitor
-
Job queue processes
-
Archiver
-
Mounting the database
A
Correct answer
Explanation
This background process is responsible for cleaning up the cache and freeing resources that the process was using.
-
Session memory
-
The java pool
-
The stream pool
-
The archive file
-
Private SQL area
E
Correct answer
Explanation
In a dedicated server environment, the private SQL area is created in the program global area of their server process.
-
The stream pool
-
The shared pool
-
The java pool
-
Session memory
-
The password file
B
Correct answer
Explanation
In this memory component of the SGA, the sizes of the library cache and the data dictionary caches are not set individually and are automatically determined by the Oracle server.
-
The stream pool
-
Redo log buffer
-
The java pool
-
Session memory
-
The archive file
B
Correct answer
Explanation
This memory component of the SGA is a circular buffer that contains redo entries.
-
It is a shared memory region that contains data and control information for one Oracle instance.
-
The database buffers and the shared pool are not the parts of SGA.
-
It also consists of stack-space and session-information.
-
It maintains the memory in a non-shared medium.
-
One can create a number of instances for the shared memory.
A
Correct answer
Explanation
Oracle allocates the SGA when an instance starts and deallocates it when the instance shuts down.
-
These files are used to copy the redo log file in a single location.
-
These files are mandatory to apply changes to a standby database.
-
These files are used exclusively for temporary storage data.
-
These files provide the physical storage of data, which can consist of the data-dictionary data.
-
It provides data specific usability in the system.
B
Correct answer
Explanation
This is correct as these files perform recovery after a media failure and archive to multiple locations for the specific database.
-
These files provide the physical storage of data, which consists of the data-dictionary data.
-
These files have the information about the physical structure of a database.
-
These files have the information about the time stamp of the database creation, the current log sequence number and the checkpoint information.
-
At the physical level, data files comprise one or more data blocks.
-
These files maintain the information of the database.
A
Correct answer
Explanation
Data and index files provide such information. Control file does not provide physical storage of data but have information about the physical structure of the database.
-
It is responsible for storing the shared SQL statements and execution steps for that.
-
It is used to enhance the amount of memory needed and the processing-time used for parsing and execution planning.
-
It has user information and user privileges.
-
In this cache, the information on space is allocated and used for schema objects.
-
In this cache, the information is managed as per the specific execution plan.
A
Correct answer
Explanation
The library cache stores shared SQL, caching the parse tree and the execution plan for every unique SQL statement.
-
It has user information, such as user privileges.
-
It contains the names and datatypes of all columns in database tables.
-
It has integrity constraints defined for tables in the database.
-
It has names and datatypes of all columns in database tables.
-
It is not suitable for user authentication.
E
Correct answer
Explanation
It provides user authentication effectively.
-
It is the memory that holds the session's variables, arrays and so on.
-
In this, the database instance stores its session-information in the PGA and the session-information goes in the SGA.
-
It is an area that holds information such as bind-variables and runtime-buffers.
-
It is an area in the PGA that holds information on sorts, hash-joins etc.
-
It is the area that stores the information about memory management.
A
Correct answer
Explanation
This is correct about 'stack-space' in Program Global Area. It stores all these information in its memory area.
-
It is the memory that holds the session's variables, arrays and so on.
-
In this, the database instance stores its session-information in the PGA and the session-information goes in the SGA.
-
It is an area that holds information such as bind-variables and runtime-buffers.
-
It is an area in the PGA that holds information on sorts, hash-joins etc.
-
It has the information about memory utilization.
C
Correct answer
Explanation
This is called 'private SQL-area'. It has all the runtime-buffer related information for every database.
-
It stores the program code.
-
It has information about a connected session, even if it is not currently active.
-
It has the information needed during program execution.
-
It has the information about the cached data that is also permanently stored on peripheral memory.
-
It does not have the information related to cache and memory.
E
Correct answer
Explanation
This is incorrect as Shared pool is responsible for all such information.
-
Oracle locking is performed automatically and requires no user action.
-
Oracle's lock manager automatically locks table data at the row level.
-
Oracle's lock manager maintains several different types of row locks.
-
There are two general types of locks-exclusive locks and share locks.
-
Exclusive lock checks the status of memory leak.
E
Correct answer
Explanation
Executive lock does not check the status of memory leak.