Sunteți pe pagina 1din 27

Managing Archived Redo Logs - Oracle placement test

Madhuri Boddeti 08-8-2014 08:29 AM


Managing Archived Redo Logs - Oracle placement test
1) Archived redo logs are used to?
A) Recover a database
B) Update a standby database
C) Get information about the history of a database using the LogMiner utility
D) All mentioned above
View Answer / Hide Answer
ANSWER: D) All mentioned above

2) Which parameter is used to specify a maximum of two locations,used to specify a primary


archive destination?
A) LOG_ARCHIVE_DEST
B) LOG_ARCHIVE_DUPLEX_DEST
C) LOG_ARCHIVE_FORMAT
D) None of the above
View Answer / Hide Answer
ANSWER: A) LOG_ARCHIVE_DEST

3) In Archive Destination Status which indicates whether there was a problem accessing the
destination?
A) Enabled/Disabled
B) Active/Inactive
C) Valid/Invalid
D) All mentioned above
View Answer / Hide Answer
ANSWER: B) Active/Inactive

4) The LOG_ARCHIVE_DEST_STATE_n initialization parameter lets you control the


availability state of the specified destination (n) in which status DEFER indicates?
A) Indicates that the database can use the destination
B) Indicates that the location is temporarily disabled
C) Indicates that the destination is an alternate
D) All mentioned above
View Answer / Hide Answer
ANSWER: B) Indicates that the location is temporarily disabled

5) In Specifying the Mode of Log Transmission which modes of transmitting archived logs to
their destination are?
A) Normal archiving transmission
B) Standby transmission
C) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: C) Both A & B

6) Which transmission involves transmitting files ta a local disk?


A) Standby transmission
B) Normal transmission
C) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: B) Normal transmission

7) The Remote File Server process, which is required when archiving to a remote destination,
is responsible for the following which tasks?
A) Consuming network I/O from the ARCn process
B) Creating file names on the standby database by using the

STANDBY_ARCHIVE_DEST parameter
C) Populating the log files at the remote site
D) Updating the standby database control file
E) All mentioned above
View Answer / Hide Answer
ANSWER: E) All mentioned above

8) Which parameter uses all MANDATORY destinations plus some number of non-standby
OPTIONAL destinations to determine whether LGWR can overwrite the online log?
A) LOG_ARCHIVE_DEST_n
B) LOG_ARCHIVE_MIN_SUCCEED_DEST=n
C) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: B) LOG_ARCHIVE_MIN_SUCCEED_DEST=n

9) Controlling Trace Output Generated by the Archivelog Process in which trace value 64 is?
A) Track FAL (fetch archived log) server related activities
B) Supported in a future release
C) Tracks asynchronous LGWR activity
D) Track ARCn process state activity
View Answer / Hide Answer
ANSWER: D) Track ARCn process state activity

10) In Dynamic Performance view which shows if the database is in ARCHIVELOG or


NOARCHIVELOG mode and if MANUAL (archiving mode) has been specified?
A) V$ARCHIVED_LOG
B) V$DATABASE
C) V$ARCHIVE_DEST
D) V$ARCHIEVE_PROCESSES
View Answer / Hide Answer

ANSWER: B) V$DATABASE

11) The SQL*Plus command ARCHIVE LOG LIST displays archiving information for the
connected instance?
A) True
B) False
View Answer / Hide Answer
ANSWER: A) True

12) In the Archive Log List Command which displays below tells you all the necessary
information regarding the archived redo log settings for the current instance?
SQL> ARCHIVE LOG LIST
Database log mode Archive Mode
Automatic archival Enabled
Archive destination D:\oracle\oradata\IDDB2\archive
Oldest online log sequence 11160
Next log sequence to archive 11163
Current log sequence 11163
A) The database is currently operating in NOARCHIVELOG mode
B) Automatic archiving is disabled
C) The current redo log file has a sequence number of 11160
D) None of the above
View Answer / Hide Answer
ANSWER: D) None of the above

Managing Datafiles and Tempfiles - Oracle placement test


1) Which SQL Statement creates a new empty datafiles in place of an old one--useful to recreate a datafiles that was lost with no backup?
A) ALTER DATABASE...CREATE DATAFILE
B) CREATE DATABASE
C) ALTER TABLESPACE...ADD TEMPFILE

D) REATE TEMPORARY TABLESPACE


View Answer / Hide Answer

ANSWER: A) ALTER DATABASE...CREATE DATAFILE

2) The value of which is the minimum size of the increments added to the file when it
extends?
A) MAXSIZE
B) NEXT
C) BOTH A & B
D) NONE OF THE ABOVE
View Answer / Hide Answer

ANSWER: B) NEXT

3) Which statement we used for you can manually increase or decrease the size of a datafile?
A) ALTER DATABASE
B) ALTER TABLESPACE
C) CREATE DATABASE
D) CREATE TABLESPACE
View Answer / Hide Answer

ANSWER: A) ALTER DATABASE

4) An Oracle Instance consists of Processes and Memory Structures, Processes can be


subdivided as follows?
A) Background
B) Server

C) User
D) All mentioned above
View Answer / Hide Answer

ANSWER: D) All mentioned above

5) which is Used by Oracle during Table and Index creation and for sorting?
A) Tables
B) Indexes
C) Temporary Segments
D) Schemas
View Answer / Hide Answer

ANSWER: C) Temporary Segments

6) You executed the STARTUP MOUNT command to start your database, for which database
Operation do you need to start the database in the MOUNT state?
A) Renaming the control files
B) Dropping a user in your database
C) Enabling or disabling redo log archiving
D) Dropping a tablespace in your database
View Answer / Hide Answer

ANSWER: C) Enabling or disabling redo log archiving

7) Your test database is running in NOARCHIVELOG mode. What are the implications of
this?
A) You can perform open database backups

B) You can perform closed database backups


C) You cannot perform schema-level logical backups
D) You can perform the backup of only the SYSTEM tablespace when the database is open
View Answer / Hide Answer

ANSWER: B) You can perform closed database backups

8) Which two statements are true about the roles in the Oracle database?
A) A role can be granted to itself
B) Roles can be granted to other roles
C) A role can contain both system and object privileges
D) Both A & B
E) Both B & C
View Answer / Hide Answer

ANSWER: E) Both B & C

9) Your database is running in the ARCHIVELOG mode. You placed a tablespace, tbs_1,
offline with the immediate option. Which statement is correct in this scenario?
A) The operation would fail if tbs_1 were a read-only tablespace
B) The operation would fail if tbs_1 were a read/write tablespace
C) The operation would fail if tbs_1 were the default tablespace for the database
D) If the above operation were successful, media recovery would be required to bring the
Tablespace online
View Answer / Hide Answer

ANSWER: D) If the above operation were successful, media recovery would be required to
bring the Tablespace online

10) You want to move all the objects of the APPS user in the test database to the DB_USER
schema of the production database. Which option of IMPDP would you use to accomplish
this task?
A) FULL
B) SCHEMAS
C) REMAP_SCHEMA
D) REMAP_DATAFILES
E) REMAP_TABLESPACE
View Answer / Hide Answer

ANSWER: C) REMAP_SCHEMA

11) Which view would you query at this stage to investigate this missing control file?
A) V$INSTANCE
B) V$CONTROLFILE
C) DBA_CONTROL_FILES
D) V$DATABASE_PROPERTIES
View Answer / Hide Answer

ANSWER: B) V$CONTROLFILE

12) which can you use Recovery Manager (RMAN) to perform incremental backup?
A) Data files
B) Control files
C) Tablespaces
D) Password file
E) A, B, C, D
F) Whole database
G) A, C, F
View Answer / Hide Answer

ANSWER: G) A, C, F

13) In mapping structure which describes the link between an element and the next elements
in the I/O mapping stack?
A) File Mapping
B) Subelements Mapping
c) Elements Mapping
D) File System Extents Mapping
View Answer / Hide Answer

ANSWER: B) Subelements Mapping

14) The DBMS_STORAGE_MAP package procedure enables you to build the mapping
information for the database object identified by object name, owner, and type?
A) MAP_ELEMENT
B) MAP_FILE
C) MAP_ALL
D) MAP_OBJECT
View Answer / Hide Answer

ANSWER: D) MAP_OBJECT
Oracle-Managed Files - Oracle placement test
1) logical volume manager (LVM) is a software package available with most operating
systems. Sometimes it is called a logical disk manager (LDM)
A) True
B) False
View Answer / Hide Answer
ANSWER: A) True

2) Which initialization parameter Defines the location of the default file system directory for
redo log files and control file creation when no file specification is given in the creation
operation?
A) DB_CREATE_FILE_DEST
B) DB_CREATE_ONLINE_LOG_DEST_n
C) DB_RECOVERY_FILE_DEST
D) None of the above
View Answer / Hide Answer
ANSWER: B) DB_CREATE_ONLINE_LOG_DEST_n

3) The DB_CREATE_FILE_DEST initialization parameter in your initialization parameter


file to identify the default location for the database server to create?
A) Datafiles
B) Tempfiles
C) Redo log files
D) Control files
E) All mentioned above
View Answer / Hide Answer
ANSWER: E) All mentioned above

4) The DB_CREATE_ONLINE_LOG_DEST_n initialization parameter in your initialization


parameter file to identify the default location for the database server to create?
A) Datafiles
B) Redo log files
C) Control files
D) Both A & B
E) Both B & C
View Answer / Hide Answer
ANSWER: E) Both B & C

5) The default size of an Oracle-managed redo log file is?


A) 50MB
B) 100MB
C) 60MB
D) 120MB
View Answer / Hide Answer
ANSWER: B) 100MB

6) In the Oracle Database which file contain the information needed to maintain and verify
database integrity, and include the names of all the Data Files and the online and archived log
files?
A) Data Files
B) Control Files
C) Redo Log Files
D) Temp Files
View Answer / Hide Answer
ANSWER: B) Control Files

7) An Oracle Instance consists of Processes and Memory Structures. Memory Structures can
be subdivided as?
A) SGA
B) PGA
C) Sort Area
D) All mentioned above
View Answer / Hide Answer
ANSWER: D) All mentioned above

8) You specified extent management as local for a tablespace. How will it affect space
management in the tablespace?

A) All the extents will be of the same size


B) Bitmap will be used to record free and allocated extents
C) Free extents will be managed by the data dictionary tables
D) The tablespace will be system managed and the users cannot specify the extent size
View Answer / Hide Answer
ANSWER: B) Bitmap will be used to record free and allocated extents

9) which two database operations can be performed at the MOUNT stage of database startup?
A) Renaming of data files
B) Dropping the database user
C) Configuring the database in ARCHIVELOG mode
D) Both A & C
E) Both B & C
View Answer / Hide Answer
ANSWER: D) Both A & C

10) You want to protect your database from single point of failure by multiplexing the control
file. Your database is started using SPFILE. You have to perform the following tasks, Give
the correct order in which these tasks to be performed?
1. Shut down the database instance.
2. Copy the control file to new location.
3. Configure the CONTROL_FILES parameter.
4. Restart the instance.
A) 3,2,1,4
B) 3,1,2,4
C) 3,2,1,4
D) 2,3,1,4
View Answer / Hide Answer
ANSWER: B) 3,1,2,4

11) Archived logs and RMAN backups are created in the flash recovery area?

A) True
B) False
View Answer / Hide Answer
ANSWER: A) True

12) The DB_RECOVERY_FILE_DEST and DB_RECOVERY_FILE_DEST_SIZE


parameters in your initialization parameter file to identify the default location in which
Oracle Database should create?
A) Redo log files
B) Control files
C) RMAN backups
D) Archived logs
E) None of the above
F) All mentioned above
View Answer / Hide Answer
ANSWER: F) All mentioned above
Schema Objects - Oracle placement test
1) The CREATE SCHEMA statement is useful if you want to guarantee the creation of
several tables, views, and grants in one operation it can include?
A) CREATE TABLE
B) CREATE VIEW
C) GRANT
D) All mentioned above
View Answer / Hide Answer
ANSWER: D) All mentioned above

2) You analyze a schema object (table, index, or cluster) to?


A) No need to Collect and manage statistics for it
B) Does not verify the validity of its storage format
C) UnIdentify migrated and chained rows of a table or cluster

D) None of the above


View Answer / Hide Answer
ANSWER: D) None of the above

3) On Tuesday, a junior DBA dropped an important application user account, whose schema
has important tables. You are asked to recover all the objects in the schema. On investigation,
you
find that the user account was dropped at 11:00 a.m. and Sunday's backup is the most recent
backup. Which flashback feature would you use?
A) Flashback Drop
B) Flashback Table
C) Flashback Database
D) Flashback Version Query
E) Flashback Transaction Query
View Answer / Hide Answer
ANSWER: A) Flashback Drop

4) Which two are valid locking levels that are used by transactions in an Oracle database?
A) Row level
B) Block level
C) Object level
D) Schema level
E) Both A & D
F) Both A & C
View Answer / Hide Answer
ANSWER: F) Both A & C

5) Which DBA System Privilege used for the operations authorized for drops a table in any
schema?
A) CREATE USER
B) DROP USER

C) BACKUP ANY TABLE


D) DROP ANY TABLE
View Answer / Hide Answer
ANSWER: D) DROP ANY TABLE

6) Which User System Privilege used for this operation authorized to connect to the
database?
A) CREATE TABLE
B) CREATE VIEW
C) CREATE SESSION
D) CREATE SEQUENCE
View Answer / Hide Answer
ANSWER: C) CREATE SESSION

7) You can delete all rows of a table or all rows in a group of clustered tables so that the table
(or cluster) still exists, but is completely empty?
A) Use the DELETE statement
B) Use the DROP and CREATE statements
C) Use the TRUNCATE statement
D) All mentioned above
View Answer / Hide Answer
ANSWER: D) All mentioned above

8) A constraint in a table is defined with the INITIALLY IMMEDIATE clause. You executed
the ALTER TABLE command with the ENABLE VALIDATE option to enable the constraint
that was disabled.
What are the two effects of this command?
A) It fails if any existing row violates the constraint
B) It does not validate the existing data in the table
C) It prevents insert, update, and delete operations on the table while the constraint is in the

process of being enabled.


D) Both A & C
E) Both A & B
View Answer / Hide Answer
ANSWER: D) Both A & C

9) You cannot issue a SET CONSTRAINT statement inside a trigger?


A) True
B) False
View Answer / Hide Answer
ANSWER: A) True

10) You can use RENAME for a stored PL/SQL program unit, public synonym, or cluster. To
rename such an object, you no need to drop and re-create it?
A) True
B) False
View Answer / Hide Answer
ANSWER: B) False

11) In Schema Objects Data Dictionary Views which view List the name, type, and owner
(USER view does not display owner) for all tables, views, synonyms, and sequences in the
database?
A) DBA_OBJECTS, ALL_OBJECTS, USER_OBJECTS
B) DBA_DEPENDENCIES, ALL_DEPENDENCIES, USER_DEPENDENCIES
C) DBA_CATALOG, ALL_CATALOG, USER_CATALOG
D) None of the above
View Answer / Hide Answer
ANSWER: C) DBA_CATALOG, ALL_CATALOG, USER_CATALOG

12) The following query lists all of the base objects for the synonyms created by user jward
this example is used for displaying?
SELECT TABLE_OWNER, TABLE_NAME, SYNONYM_NAME
FROM DBA_SYNONYMS
WHERE OWNER = 'JWARD';
The following is the query output:
TABLE_OWNER----TABLE_NAME----SYNONYM_NAME
---------------------- ----------- ----------------SACHIN---------DEPT----------DEPT
SACHIN---------EMP-----------EMP
A) Displaying Schema Objects by Type
B) Displaying Dependencies of Views and Synonyms
C) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: B) Displaying Dependencies of Views and Synonyms

13) Efficient Use of Integrity Constraints: A Procedure Using integrity constraint states in the
following order can ensure the best benefits?
1. Disable state.
2. Perform the operation (load, export, import).
3. Enable novalidate state.
4. Enable state.
A) 1,2,3,4
B) 2,1,3,4
C) 4,2,1,3
D) 1,3,2,4
View Answer / Hide Answer
ANSWER: A) 1,2,3,4

15) Deferrable unique and primary keys must use nonunique indexes?
A) True

B) False
View Answer / Hide Answer
ANSWER: A) True

16) To rename an object, it must be in your schema. You can rename schema objects in either
of the following ways?
A) Drop and re-create the object
B) Rename the object using the RENAME statement
C) Create the object
D) Both A & B
View Answer / Hide Answer
ANSWER: D) Both A & B
Managing Tables - Oracle placement test
1) Which type of table is a group of tables that share the same data blocks because they share
common columns and are often used together?
A) Ordinary table
B) Partitioned table
C) Clustered table
D) Index-organized table
View Answer / Hide Answer
ANSWER: C) Clustered table

2) The NOLOGGING clause causes minimal redo information to be generated during the
table creation this has which of the benefits?
A) Space is not saved in the redo log files
B) The time it takes to create the table is increased
C) Performance does not improves for parallel creation of large tables
D) None of the above
View Answer / Hide Answer
ANSWER: D) None of the above

3) Which method enables you to add rows to a table, either by specifying the column values
or by specifying a subquery that selects data from another existing table?
A) INSERT statement
B) MERGE statement
C) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: A) INSERT statement

4) In the error Logging Table format which set of columns that contain data from the row that
caused the error. The column names match the column names from the table being inserted
into (the
"DML table")?
A) Optional set
B) Mandatory set
C) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: A) Optional set

5) Error Logging Restrictions and Caveats Oracle Database logs which of the following
errors during DML operations?
A) Column values those are too large
B) Constraint violations (NOT NULL, unique, referential, and check constraints)
C) Errors raised during trigger execution
D) Partition mapping errors
E) All mentioned above
View Answer / Hide Answer
ANSWER: E) All mentioned above

6) In which INSERT operation the database reuses free space in the table, interleaving newly
inserted data with existing data. During such operations, the database also maintains
referential
integrity constraints?
A) Direct-path INSERT
B) Conventional Insert
C) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: B) Conventional Insert

7) In which mode Oracle Database performs full redo logging for instance and media
recovery. If the database is in ARCHIVELOG mode, then you can archive redo logs to tape.
If the database is
in NOARCHIVELOG mode, then you can recover instance crashes but not disk failures?
A) Direct-path INSERT without Logging
B) Direct-Path INSERT with Logging
C) Both A & B
D) Nome of the above
View Answer / Hide Answer
ANSWER: B) Direct-Path INSERT with Logging

8) Oracle Database provides a mechanism to make table structure modifications with


significantly affecting the availability of the table. The mechanism is called online table
redefinition?
A) True
B) False
View Answer / Hide Answer
ANSWER: B) False

9) If START_REDEF_TABLE fails for any reason, you must call ABORT_REDEF_TABLE,


otherwise subsequent attempts to redefine the table will fail?
A) True
B) False
View Answer / Hide Answer
ANSWER: A) True

10) In which tables Tables schema cannot be redefined online?


A) SYS
B) SYSTEM
C) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: C) Both A & B

11) In Viewing and querying Objects in the recycle bin which view gives administrators
visibility to all dropped objects in the recycle bin?
A) USER_RECYCLEBIN
B) DBA_RECYCLEBIN
c) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: B) DBA_RECYCLEBIN

12) For external tables which privileges are required for directory objects containing bad, log,
or discard files?
A) READ
B) WRITE
C) READ & WRITE

D) None of the above


View Answer / Hide Answer
ANSWER: B) WRITE

13) All data in a database is stored in a table to include user data and the Data Dictionary?
A) True
B) False
View Answer / Hide Answer
ANSWER: A) True

14) A Synonym is another name for an object. It is used to simplify access to objects such as
tables owned by another user or to shorten lengthy object name?
A) True
B) False
View Answer / Hide Answer
ANSWER: A) True
Managing Partitioned Tables and Indexes - Oracle placement test
Madhuri Boddeti 08-11-2014 07:29 AM
Managing Partitioned Tables and Indexes - Oracle placement test
1) While designing the database for one of your online transaction processing (OLTP)
applications, you want to achieve the following:
a) High availability of data
b) Faster primary key access to the table data
c) Compact storage for the table
Which type of tables would you use to achieve these objectives?
A) Heap tables
B) Object tables
C) Partitioned tables

D) Index-organized tables (IOTs)


View Answer / Hide Answer
ANSWER: C) Partitioned tables

2) In which all data in a database is stored in a table to include user data and the Data
Dictionary?
A) Tables
B) Temporary Segments
C) Schemas
D) Segments
View Answer / Hide Answer
ANSWER: A) Tables

3) To create which partitions you specify the following?


1) Partition description identifying partition bounds.
A) Range Partition
B) Hash Partition
C) List Partition
D) Range-Hash Partition
View Answer / Hide Answer
ANSWER: A) Range Partition

4) In which partition this form of composite partitioning is well suited for historical data, but
lets you further group the rows of data based on unordered or unrelated column values?
A) Range-Hash Partition
B) Range-List Partition
C) Both A & B
D) None of the above
View Answer / Hide Answer

ANSWER: B) Range-List Partition

5) The rules for creating range-partitioned global indexes are similar to those for creating
range-partitioned tables?
A) True
B) False
View Answer / Hide Answer
ANSWER: A) True

6) How many partitioning keys columns are specified for range-and-hash-partitioning tables?
A) 18
B) 14
C) 16
D) 17
View Answer / Hide Answer
ANSWER: C) 16

7)You can compress some or all partitions of a B-tree index using key compression. Key
compression is applicable only to B-tree indexes?
A) True
B) False
View Answer / Hide Answer
ANSWER: A) True

8) Which partitioning methods we can use for index-organized tables?


A) Range
B) List

C) Hash
D) All mentioned above
E) None of the above
View Answer / Hide Answer
ANSWER: D) All mentioned above

9) In the following example the index-organized table, sales, is partitioned by which method?
CREATE TABLE sales(acct_no NUMBER(5),
acct_name CHAR(30),
amount_of_sale NUMBER(6),
week_no INTEGER,
sale_details VARCHAR2(1000),
PRIMARY KEY (acct_no, acct_name, week_no))
ORGANIZATION INDEX
INCLUDING week_no
OVERFLOW
PARTITION BY HASH (week_no)
PARTITIONS 16
STORE IN (ts1, ts2, ts3, ts4)
OVERFLOW STORE IN (ts3, ts6, ts9);
A) List
B) Hash
C) Range
D) None of the above
View Answer / Hide Answer
ANSWER: B) Hash

10) In ALTER TABLE Maintenance Operations for Table Partitions which maintenance
operation partition is used by range,hash,list,composite (range/hash),composite(range/list)
from the
following?
A) Coalescing Partitions
B) Dropping Partitions
C) Adding partitions
D) Both A & B
View Answer / Hide Answer

ANSWER: C) Adding partitions

11) Which of the following operations support the UPDATE INDEXES clause?
A)The following operations support the UPDATE INDEXES clause:
A) ADD PARTITION | SUBPARTITION, MERGE PARTITION | SUBPARTITION
B) COALESCE PARTITION | SUBPARTITION, MOVE PARTITION | SUBPARTITION
C) DROP PARTITION | SUBPARTITION, SPLIT PARTITION | SUBPARTITION
D) EXCHANGE PARTITION | SUBPARTITION, TRUNCATE PARTITION |
SUBPARTITION
E) All mentioned above
View Answer / Hide Answer
ANSWER: E) All mentioned above

12) Indexes may be marked UNUSABLE for which table type the index behavior for adding
partition is?
1) For local indexes, the behavior is the same as for heap tables.
2) All global indexes remain usable.
A) Regular (Heap)
B) Index-organized
C) Both A & B
D) None of the above
View Answer / Hide Answer
ANSWER: B) Index-organized

13) You cannot drop the only partition in a table. Instead, you must drop the table?
A) True
B) False
View Answer / Hide Answer

ANSWER: A) True

14) While Using the MOVE PARTITION clause of the ALTER TABLE statement to?
A) Re-cluster data and reduce fragmentation
B) Move a partition to another tablespace
C) Modify create-time attributes
D) Store the data in compressed format using table compression
E) All mentioned above
View Answer / Hide Answer
ANSWER: E) All mentioned above

S-ar putea să vă placă și