Tag: databases

Questions Related to databases

  1. The loss of an entire redo log file group, but no loss in any other group

  2. The loss of one member of each redo log file group

  3. The failure of the ARC0 background process

  4. The failure of the LGWR background process


Correct Option: A
  1. The last redo log file switch

  2. The last checkpoint position

  3. The last commit

  4. The last incremental backup using RMAN


Correct Option: C
  1. ALTER SYSTEM ARCHIVELOG;

  2. ALTER DATABASE ARCHIVELOG;

  3. ALTER SYSTEM SET ARCHIVELOG=TRUE;

  4. ALTER DATABASE ENABLE ARCHIVELOG MODE;

  5. ALTER DATABASE ARCHIVELOG MODE;


Correct Option: B

What is the biggest advantage of having the control files on different disks?

  1. Database performance

  2. Guards against failure

  3. Faster archiving

  4. Writes are concurrent, so having control files on different disks speeds up control file writes


Correct Option: B
Explanation:

To answer this question, the user needs to have basic knowledge of database architecture and file systems.

The biggest advantage of having control files on different disks is to guard against failure. Option B is the correct answer.

Explanation for each option:

A. Database performance: Although disk performance can impact database performance, having control files on different disks does not necessarily improve database performance.

B. Guards against failure: When control files are located on separate disks, it provides redundancy and a safeguard against disk failure. If one disk fails, the other disk can still provide the necessary control files for the database.

C. Faster archiving: Control files are not directly related to archiving. Having control files on different disks does not necessarily speed up archiving.

D. Writes are concurrent, so having control files on different disks speeds up control file writes: While it is true that having control files on different disks can speed up control file writes, this is not the biggest advantage of having control files on different disks. The biggest advantage is the redundancy and safeguard against disk failure.

Therefore, the correct answer is:

The Answer is: B. Guards against failure.

  1. ALTER DATABASE ADD LOGFILE ‘/logs/redo22.log’ TO GROUP 2;

  2. ALTER DATABASE ADD LOGFILE MEMBER ‘/logs/redo22.log’ TO GROUP 2;

  3. ALTER DATABASE ADD MEMBER ‘/logs/redo22.log’ TO GROUP 2;

  4. ALTER DATABASE ADD LOGFILE ‘/logs/redo22.log’;


Correct Option: B
  1. LOG_ARCHIVE_DEST

  2. STANDBY_ARCHIVE_DEST

  3. LOG_ARCHIVE_DUPLEX_DEST

  4. DB_RECOVERY_FILE_DEST

  5. USE_DB_RECOVERY_FILE_DEST


Correct Option: D
  1. Commit

  2. Cursors

  3. savepoint

  4. truncate


Correct Option: B