Tag: databases

Questions Related to databases

  1. RMAN prompt

  2. SQLPLUS prompt

  3. Oracle Enterprise Manager 11g (OEM)

  4. DRA prompt


Correct Option: A,C
  1. rman > list failure;

  2. rman > report failure;

  3. rman > diagnose failure;

  4. rman > advise failure;

  5. rman > repair failure preview;

  6. rman > repair failure;


Correct Option: A,D,E,F
  1. database

  2. datafile

  3. tracefile

  4. spfile

  5. controlfilecopy

  6. flash recovery area


Correct Option: C
  1. ZLIB compression gives better compression ratio in comparison to BZIP2 compression

  2. BZIP2 compression gives better compression ratio in comparison to ZLIB compression

  3. ZLIB compression consumes much lesser CPU in comparison to BZIP2 compression

  4. BZIP2 compression consumes much lesser CPU in comparison to ZLIB compression

  5. ZLIB compression comes with additional licensing cost. BZIP2 compression comes with no additional cost

  6. BZIP2 compression comes with additional licensing cost. ZLIB compression comes with no additional cost


Correct Option: B,C,E
  1. rman > configure compression algorithm ‘zlib’;

  2. rman > configure compression algorithm ‘zlib11g’;

  3. rman > set compression algorithm ‘zlib’;

  4. rman > set compression algorithm ‘zlib11g’;


Correct Option: A
  1. Scenario 1: Backup 2 datafiles each of 20 GB datafile using 4 RMAN channels. Use the default setting for all RMAN channels

  2. Scenario 2: Backup 2 datafiles each of 20 GB datafile using 4 RMAN channels. Each channel backs up 2 datafiles at the same time with “parallel=2”

  3. Scenario 3: Backup 2 datafiles each of 20 GB size using 4 RMAN channels. Each channel backs up data with “section size=5GB"

  4. Scenario 4: Backup 2 datafiles each of 20 GB datafile using 4 RMAN channels. Each channel backs up 2 datafiles at the same time with “parallel backups=2”


Correct Option: C
  1. You can use group functions in any clause of a select statement

  2. You can use group functions only in the column list of the SELECT statement by grouping on the single row columns

  3. You can pass column names, expressions, constants or functions as parameters to a group function

  4. You cannot group the rows of a table by more than one column while using group functions


Correct Option: C

Which SELECT statement will result "ello world" from the string "Hello World"?

  1. SELECT SUBSTR('Hello',) FROM dual;

  2. SELECT INITCAP(TRIM('Hello World',1,1)) FROM dual;

  3. SELECT LOWER(SUBSTR('Hello World',1,1)) FROM dual;

  4. SELECT LOWER(SUBSTR('Hello World',2,1)) FROM dual;

  5. SELECT LOWER(TRIM('H' FROM 'Hello World')) FROM dual;


Correct Option: E

Can you use both HAVING and WHERE Sql clauses in one SQL statement ?

  1. True

  2. False


Correct Option: B
  1. Indexes are only used in special cases

  2. Indexes are used to make table storage more efficient

  3. Indexes rarely make a difference in SQL performance

  4. Indexes exist solely to improve query speed.


Correct Option: D