Advanced Database Management Systems Midterm
Advanced Database Management Systems Midterm
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It plays important role in your backup and recovery scenarios.
a.
image copies
b.
rman
c.
datafile
d.
backupsets
Feedback
Your answer is correct.
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A ________ command is the first step command in any recovery process.
a.
delete
b.
backup
c.
alter
d.
restore
Feedback
Your answer is correct.
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The general steps to recover a datafile from a noncritical tablespace are as follows: except?
a.
use the rman recovery command to apply archived and online redo log files to the restored
datafile(s).
b.
if the database is open, take the tablespace containing the corrupted or missing then exit.
c.
use the rman restore command to load the datafile(s) for the tablespace from the backup location.
d.
bring the tablespace back online.
Feedback
Your answer is correct.
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
To create a restore point for the present time or SCN, use this format of the CREATE RESTORE
POINT command:
a.
none of the above
b.
drop restore point good_for_now;
c.
create store point good_for_now;
d.
create restore point good_for_now preserve;
Feedback
Your answer is correct.
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
You can retrieve the current SCN from _______________?
a.
restore
b.
v$database
c.
command
d.
backup
Feedback
Your answer is correct.
Question 6
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Following are the steps you use to recover a critical datafile: except?
a.
use the rman restore command to copy (restore) the datafile(s) for the critical tablespace from the
backup location.
b.
reopen the database with startup mount.
c.
bring the tablespace back online.
d.
shut down the database with shutdown abort if it is not already shut down.
Feedback
Your answer is correct.
Question 7
Correct
Mark 1.00 out of 1.00
Flag question
Question text
what command used to query the DBID?
a.
alter dbid;
b.
drop restore point good_for_now;
c.
none of the above
d.
select dbid from v$database;
Feedback
Your answer is correct.
Question 8
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Command used to connect to the new target database with nocatalog.
a.
$ rman target
b.
none of the above
c.
$ export oracle_sid=hir
d.
set dbid;
Feedback
Your answer is correct.
Question 9
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Log File Status in V$LOG. Current?
a.
Oracle is writing to this log group, and this group is needed for instance recovery.
b.
the log group has not been used yet.
c.
$ export oracle_sid=hir
d.
an error has occurred during ALTER DATABASE CLEAR LOGFILE.
Feedback
Your answer is correct.
Question 10
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The log group is not needed for instance recovery, may be in use for media recovery, and may or
may not be archived.
a.
inactive
b.
clearing
c.
active
d.
clearing_current
Feedback
Your answer is correct.
Question 11
Correct
Mark 1.00 out of 1.00
Flag question
Question text
An error has occurred during ALTER DATABASE CLEAR LOGFILE.
a.
inactive
b.
clearing
c.
clearing_current
d.
active
Feedback
Your answer is correct.
Question 12
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The log group has not been used yet.
a.
active
b.
active
c.
unused
d.
clearing_current
Feedback
Your answer is correct.
Question 13
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This log group is needed for instance recovery, but Oracle is not writing to this log group. It may
or may not be archived yet.
a.
inactive
b.
active
c.
clearing_current
d.
clearing
Feedback
Your answer is correct.
Question 14
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The log is being cleared by ALTER DATABASE CLEAR LOGFILE. After being cleared, the
status changes to UNUSED.
a.
active
b.
clearing_current
c.
clearing
d.
inactive
Feedback
Your answer is correct.
Question 15
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Command to terminate backup mode for the users tablespace.
a.
none of the above
b.
shutdown immediate;
c.
alter database user end backup;
d.
select tablespace_name;
Feedback
Your answer is correct.
Question 16
Correct
Mark 1.00 out of 1.00
Flag question
Question text
SCN stands for?
a.
system current number
b.
safe current null
c.
system current null
d.
safe current number
Feedback
Your answer is correct.
Question 17
Correct
Mark 1.00 out of 1.00
Flag question
Question text
After performing incomplete recovery with the database in MOUNT mode, what command open
the database with RESETLOGS?
a.
alter database name
b.
alter database open resetlogs
c.
alter database clear
d.
alter clear logfile
Feedback
Your answer is correct.
Question 18
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The command for recovering the database.
a.
alter database open;
b.
recover automatic database;
c.
recover database;
d.
none of the above
Feedback
Your answer is correct.
Question 19
Correct
Mark 1.00 out of 1.00
Flag question
Question text
DBID stands for?
a.
database input data
b.
database identifier
c.
none of the above
d.
database index data
Feedback
Your answer is correct.
Question 20
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is equivalent to start the database instance in the OPEN stage?
a.
alter database mount;
b.
startup open;
c.
startup stage;
d.
startup nomount
Feedback
Your answer is correct.
Question 21
Correct
Mark 1.00 out of 1.00
Flag question
Question text
If you want to start the database instance in a specific stage, you can use the following syntax?
a.
startup open;
b.
startup nomount
c.
alter database mount;
d.
startup stage;
Feedback
Your answer is correct.
Question 22
Correct
Mark 1.00 out of 1.00
Flag question
Question text
To start up a database instance in the NOMOUNT stage, you use the following command?
a.
startup stage;
b.
alter database mount;
c.
startup open;
d.
startup nomount
Feedback
Your answer is correct.
Question 23
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This statement brings the database from the NOMOUNT to the MOUNT stage.
a.
alter database mount;
b.
startup stage;
c.
startup open;
d.
startup nomount
Feedback
Your answer is correct.
Question 24
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A recovery that involves using redo data or incremental backups combined with a backup of a
database, tablespace, or datafile to update it to the most current point in time.
a.
incomplete recovery
b.
complete recovery
c.
datafile media recovery
d.
block media recovery
Feedback
Your answer is correct.
Question 25
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A recovery that uses a backup to produce a noncurrent version of the database. In other words,
you do not apply all of the redo records generated after the most recent backup?
a.
datafile media recovery
b.
block media recovery
c.
incomplete recovery
d.
complete recovery
Feedback
Your answer is correct.
Question 26
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Recovers until the specified SCN.
a.
change-based recovery
b.
cancel-based recovery
c.
time-based recovery
d.
log sequence recovery
Feedback
Your answer is correct.
Question 27
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Recovers until the specified log sequence number?
a.
log sequence recovery
b.
Recovers until the specified log sequence number?
change-based recovery
c.
time-based recovery
d.
cancel-based recovery
Feedback
Your answer is correct.
Question 28
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Recovers until you issue the CANCEL statement.
a.
change-based recovery
b.
time-based recovery
c.
log sequence recovery
d.
cancel-based recovery
Feedback
Your answer is correct.
Question 29
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Recovers the data up to a specified point in time.
a.
change-based recovery
b.
time-based recovery
c.
log sequence recovery
d.
cancel-based recovery
Feedback
Your answer is correct.
Question 30
Correct
Mark 1.00 out of 1.00
Flag question
Question text
To restore the SPFILE from the autobackup, first set the DBID if the instance is not running
when the SPFILE is lost, by the following command.
a.
It is an Oracle-managed directory, file system, or Automatic Storage Management disk group
that provides a centralized disk location for backup and recovery files.
rman> startup nomount;
b.
rman> startup id;
c.
rman> startup force nomount;
d.
rman> set dbid 12232243;
Feedback
Your answer is correct.
Question 31
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is an Oracle-managed directory, file system, or Automatic Storage Management disk group
that provides a centralized disk location for backup and recovery files.
a.
flash recovery area
b.
current control file
c.
flashback logs
d.
backup pieces
Feedback
Your answer is correct.
Question 32
Correct
Mark 1.00 out of 1.00
Flag question
Question text
SPFILE stands for?
a.
set parallelism file
b.
set parameter file
c.
server parameter data file
d.
server parameter file
Feedback
Your answer is correct.
Question 33
Correct
Mark 1.00 out of 1.00
Flag question
Question text
TSPITR stands for?
a.
table point-in-time recovery
b.
tablespace path point-in-time recovery
c.
tablespace point-in-time redo
d.
tablespace point-in-time recovery
Feedback
Your answer is correct.
Question 34
Correct
Mark 1.00 out of 1.00
Flag question
Question text
If the source database is not already open, start it in__________?
a.
unmount
b.
close mode
c.
mount or open mode
d.
shutdown mode
Feedback
Your answer is correct.
Question 35
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Exclude read-only tablespaces from the copy operation.
a.
skip tablespace
b.
open restricted
c.
nofilenamecheck
d.
skip readonly
Feedback
Your answer is correct.
Question 36
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Exclude specific tablespaces, except for SYSTEM and UNDO.
a.
skip tablespace
b.
skip readonly
c.
open restricted
d.
nofilenamecheck
Feedback
Your answer is correct.
Question 37
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Don’t check for duplicate filenames between the source and destination databases?
a.
skip tablespace
b.
open restricted
c.
nofilenamecheck
d.
skip readonly
Feedback
Your answer is correct.
Question 38
Correct
Mark 1.00 out of 1.00
Flag question
Question text
When the destination database is ready, open it immediately with the RESTRICTED SESSION
option.
a.
skip tablespace
b.
open restricted
c.
nofilenamecheck
d.
skip readonly
Feedback
Your answer is correct.
Question 39
Correct
Mark 1.00 out of 1.00
Flag question
Question text
OMF stands for?
a.
oracle managed failed
b.
oracle managed files
c.
oracle mean files
d.
oracle manager files
Feedback
Your answer is correct.
Question 40
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A temporary location to store the auxiliary set of files, including online and archived redo log
files, and a copy of the control file created during the recovery process?
a.
auxiliary set
b.
target time
c.
auxiliary destination
d.
recovery set
Feedback
Your answer is correct.
Question 41
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The point in time or SCN to which the tablespace will be recovered?
a.
recovery set
b.
target time
c.
auxiliary set
d.
auxiliary destination
Feedback
Your answer is correct.
Question 42
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The group of datafiles containing the tablespace(s) to be recovered.
a.
target time
b.
recovery set
c.
auxiliary set
d.
auxiliary destination
Feedback
Your answer is correct.
Question 43
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Other datafiles required to recover the tablespace(s), such as the datafiles for the SYSTEM,
UNDO, and TEMP tablespaces?
a.
target time
b.
auxiliary destination
c.
recovery set
d.
auxiliary set
Feedback
Your answer is correct.
Question 44
Correct
Mark 1.00 out of 1.00
Flag question
Question text
You can use the data dictionary view command to determine which objects you will lose after
your target recovery time.
a.
ts_pitr_obejects_to_be_delete
b.
ts_pitr_object_to_be_dropped
c.
ts_pitr_check
d.
db_block_size
Feedback
Your answer is correct.
Question 45
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A dynamic performance view to identify and monitor RMAN backup and restore jobs. except?
a.
v$process
b.
v$session.client
c.
v$session_longops
d.
v$session
Feedback
Your answer is correct.
Question 46
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The dynamic performance view ________ contains a row for each operating system process
connected to the database instance.
a.
v$session
b.
v$process
c.
v$session_longops
d.
v$session.client
Feedback
Your answer is correct.
Question 47
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A __________ contains additional information about each session connected to the database,
such as the current SQL command and the Oracle username executing the command.
a.
v$session.client
b.
v$process
c.
v$session_longops
d.
v$session
Feedback
Your answer is correct.
Question 48
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The dynamic performance view _____________ isn’t specific to RMAN either.
a.
v$process
b.
v$session_longops
c.
v$session.client
d.
v$session
Feedback
Your answer is correct.
Question 49
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Detailed diagnostic output from Oracle errors generated during RMAN commands, located in
DIAGNOSTIC_DEST or USER_DUMP_DEST.
a.
vendor trace files
b.
rman command output
c.
oracle trace file
d.
alert log
Feedback
Your answer is correct.
Question 50
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The standard Oracle alert log location defined by the initialization parameter
DIAGNOSTIC_DEST or USER_DUMP_DEST.
a.
oracle trace file
b.
alert log
c.
rman command output
d.
vendor trace files
Feedback
Your answer is correct.