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
-
Checkpoint process
-
Process monitor
-
Log writer
-
Job queue processes
-
Segment
A
Correct answer
Explanation
This background process is responsible for signaling database writer at the check points.
-
RAID level 0
-
RAID level 5
-
RAID level 1
-
Redo log buffer
-
Oracle datablock
B
Correct answer
Explanation
In this RAID level, drive failure requires replacement but the array is not destroyed by a single drive failure.
-
Duplicate database
-
Media management catalog
-
Media management application
-
Log writer
-
Redo log buffer
A
Correct answer
Explanation
Here, the DBID is different from the database from which it was created.
-
Log writer
-
Redo log buffer
-
Process monitor
-
Media management application
-
Database writer
E
Correct answer
Explanation
Because oracle uses write-ahead logging, this background process does not need to write blocks when a transaction commits.
-
JDBC driver manager
-
JDBC-ODBC bridge
-
JDBC
-
JDBC URL
-
Transaction
C
Correct answer
Explanation
JDBC helps you to write java applications that manage the activities such as connecting to a data source, sending queries to the database, etc.
-
database is structured
-
database is well-designed
-
database has no data
-
database is relatively small
-
database is relatively large
-
java.dbms
-
java.Odbc
-
java.Jdbc
-
java.sql
D
Correct answer
Explanation
Java.Sql provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language.
-
It includes all used data blocks in the datafiles.
-
It includes a backup of datafiles that includes only the blocks that have changed since a previous incremental backup.
-
Incremental backups of control files and archived logs always include all blocks in the files.
-
Incremental backups require a full or incremental level 0 backup to serve as a basis.
-
Both (2) and (4)
E
Correct answer
Explanation
These are the true statements.
-
Backing up the control file can be done only when the database is mounted or open.
-
The control file autobackup contains metadata about the previous backup.
-
We can not manually set the autobackup.
-
BACKUP CURRENT CONTROLFILE command is used to run the backup.
-
Both (2) and (3)
C
Correct answer
Explanation
This is false as the autobackup can be set manually if it is not set.
-
In this recovery, RMAN is responsible for creating the copes of datafiles and control files.
-
In this backup, RMAN only records backup sets in the repository that complete successfully.
-
Image copy backups can only be created on disk.
-
All of the above
-
Both (1) and (3)
E
Correct answer
Explanation
These are the correct statements.
-
A consistent database will be in consistent state when the database is shut down normally.
-
At consistent state, all the changes in the redo log have been applied to the datafiles.
-
For a consistent database state, Oracle must perform media recovery before the database can be opened.
-
All of the above
-
Both (1) and (2)
E
Correct answer
Explanation
These are the correct statement about consistent backups with RMAN.
-
Datafiles exist or not.
-
This backup validation discovers corrupt blocks.
-
RMAN can issues an error message, in case if it cannot validate the backup of one or more of the files.
-
All of the above
-
Both (1) and (3)
D
Correct answer
Explanation
All are the correct statements.
-
Backing Up database files using RMAN, we can backup one or more individual tablespaces.
-
Backing Up database files using RMAN , we can back up datafiles and datafile copies when the database is mounted or open.
-
In this backup, RMAN uses a snapshot control file to ensure a read-consistent version.
-
In this back up, datafile copies exist on disk only.
-
None of the above
E
Correct answer
Explanation
All of the above are the correct statements.
-
Information related to the datafiles backup
-
Information related to datafiles recoverability
-
Information related to current physical schema of the database
-
All of the above
-
Both (2) and (3)
D
Correct answer
Explanation
All are the correct statements.
-
It is responsible for maintaining performance statistics for problem detection and self-tuning purposes.
-
It provides a quick and efficient technique for optimizing SQL statements without modifying any statements.
-
It provides advice on materialized views, indexes, and materialized view logs.
-
It provides server generated alerts.
-
Both (1) and (2)
A
Correct answer
Explanation
AWR maintains the statistics report for the processes and their related problems.