Oracle Databases 11g MCQ's, Exams of Database Management Systems (DBMS)

Database Administrator (DBA) Information Technology (IT) Oracle Databases 11g Important For Examination

Typology: Exams

2016/2017

Uploaded on 02/20/2017

hamzasgd
hamzasgd 🇵🇰

4.5

(1)

2 documents

1 / 50

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
DBA McQs for nal term
1) DML always executes as part of a transaction
a. insert
b. update
c. delete
d. merge
e. ALL OF THE ABOVE
Ans =e
2) undo contain what type of data
(a) original ( b)premodefied(c) both(d) none
ans=b
3) undo old data are present in
(a)Undo table space (b)redo log file (c)data in buffer cache
(d)redo log buffer
Ans=a
4)new change detail are present in
(a)Undo table space (b)redo log file (c)data in buffer cache
(d)redo log buffer
Ans=b
5)each transection is assigned to ___undo segments
(a)1(b)2(c)3(d)4
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32

Partial preview of the text

Download Oracle Databases 11g MCQ's and more Exams Database Management Systems (DBMS) in PDF only on Docsity!

DBA McQs for final term

  1. DML always executes as part of a transaction a. insert b. update c. delete d. merge e. ALL OF THE ABOVE

Ans =e

  1. undo contain what type of data (a) original ( b)premodefied(c) both(d) none ans=b

  2. undo old data are present in (a)Undo table space (b)redo log file (c)data in buffer cache (d)redo log buffer Ans=a 4)new change detail are present in (a)Undo table space (b)redo log file (c)data in buffer cache (d)redo log buffer Ans=b 5)each transection is assigned to ___undo segments (a)1(b)2(c)3(d)

Ans=a

  1. an udo segment can service ___at time

(a)one (b)more than one (c)have no transition(d)depends on redo Ans=b

  1. which operation can cause a transection to use more than one undo segment (a)DML (b)DDL(c)both (d)insert Ans=c
  2. by which command you can check which transection are assigned to which undo segment (a)V$ transection (b)v$ insistence (c)both (d)none Ans=a
  3. undo segment has ___buffer (a)rectangular (b)circular(c)incremental(d)diagonal Ans=b 10)table space can be recover only while the instant is in following state (a)mount (b)update (c)redo (d)log Ans=a
  4. each undo act as ____buffer (a)simple buffer (b)liner buffer(c)circular buffer d)both b&c Ans=c 12)undo segment contain ____minimum extent

(a)unexpird undo information(b)expire undo information(c)both (d)none of these Ans=a 19)if a transection generate more undo than there is space than the it will (a)roll back (b)gives error (c)ask for information(d)fail Ans=d 20)which undo information over written when space required by active transaction (a)expird undo information (b)committed undo information (c)un committed undo information(d)unexpired undo information Ans=a 21)which undo retention is needed to meet undo retention interval (a)expired undo information (b)committed undo information (c)un committed undo information(d)none ofe these(e)ab&c Ans=b 22undo data retain attend the time for which it is retain depend on (a)data base activity (b)data base configuration (c)table space configuration(d) a&b (e)b&c Ans=d 23)undo table space show the table space size

(a)in mb by day of month(b)in mb by day of month (c)in mb by day of month (d)none Ans=a

  1. – Data manipulation language (DML) consists of the SQL statements:

(a)insert (b)update (c)delete (d)merge (e)ALL OF THE ABOVE

Ans=e

  1. Undo data is.

a. A copy of original, premodified data b. Original data c. Only modified data d. Recovered data Ans=a

  1. DML always executes as part of a transaction, which can be Committed using. a) ROLLBACK command (b)COMMIT command

(a) Are used only for undo segments (b)Have special recovery considerations

1.The DBA and the administration must be a. at same place b. at different place c.within same place d.within same server ans: b 2.which permits outgoing network connection to be established by the database server to any receiveing or waiting network service a.UTL_SMTP b.UTL_HTTP c.UTL_TCP d.UTL_FILE

ans: c 3.which allows the database server to request and retrieve data a.UTL_SMTP b.UTL_HTTP c.UTL_TCP d.UTL_FILE ans: b

4.which is properly configured when the package limit user, accesses to specific directory location a.UTL_SMTP b.UTL_HTTP c.UTL_TCP d.UTL_FILE ans: d

5.which is improperly configured which allows text level access to any file on the host operating system a.UTL_SMTP b.UTL_HTTP c.UTL_TCP d.UTL_FILE

ans=d

6.when the password file is used to authenticate the previliged user

a.remote connection b.local connection c.both d.none ans: a

7.when does the user is authenticated by the local operating system a.remote connection b.local connection c.both d.none ans: b

8.when does the database is created by using DCA (database configuration assistant) a. case sensitive b.non-case sensitive c. both d.none

ans: a

9.which auditing is by default a.mandatoy b.standard c.value-based d.fine grained ans: a

10.which captures not only audited event that occurred but also the actual file

ans: d

  1. How can we change the block size of database after database creation? a. Re-creating the database. b. Directly changing oracle data block c. Resizing table space d. None Ans. a
  2. In block header, the size of transaction slots is: a. 18 bytes each b. 24 bytes each c. (^) 20 bytes each d. 120bits each

Ans. B

  1. Free space is in the middle of the block, the header and the row data is enabled for: a. For increasing the storage capacity b. For the data inconsistency. c. For error removal.

d. Space to grow when necessary. Ans. d

  1. The Oracle database stores data: a. physically in tablespaces and logically in data files b. logically in data blocks and physically in oracle server c. Logically in tablespaces and physically in data files. d. A and c

Ans. c

  1. A bitmap is used to record a. Block headers managed by user b. free extents managed by oracle c. row data d. all of above

Ans. b

  1. You can easily view the logical structures of your database: a. through oracle server b. through listener c. both a and b d. through Enterprise Manager (EM) Ans. d
  2. The extents of a locally managed tablespace are managed efficiently in the tablespace by:

c. free spaces d. both b and c

Ans. C

  1. No of files the tablespace must have: a. four b. one c. ten d. (^) zero Ans. B
  2. ________ tablespaces are supported only for backward compatibility. a. Dictionary managed tablespaces b. Locally managed tablespaces c. Both a and b d. None.

Ans. A

  1. Permanent tablespaces store _________ database objects that are created by the system or users. a. Temporary b. Arbitrary c. Configuring d. Permanent

Ans. d

  1. Data files can belong to only: a. Three tablespaces and one database b. one tablespace and one database c. one segment and one database d. none

Ans. b

  1. In Enterprise Manager (EM), you can see a pie chart of the contents of ________ tablespace. a. SYSTEM tablespace b. Logical tablespace c. SYSAUX tablespace d. Both a and c

Ans. c

  1. ___________ tablespace contains the sample schemas that can be installed when you create the database. a. UNDOTBS b. USERS c. EXAMPLE d. TEMP

Ans. c

  1. A tablespace can be in one of________ different states.

b. Read Only c. Both a and b d. None Ans. A

  1. Locally managed tablespaces will increase the performance. a. True b. False

Ans. a

  1. __________ action of tablespace shows objects on which this tablespace depends, or objects that depend on this tablespace. a. Run Segment Advisor b. Show Dependencies c. Show Tablespace Contents d. Take Offline

Ans. B

  1. You must have the DROP TABLESPACE system privilege to drop a tablespace. a. Yes b. No c. None of above Ans. A
  2. DB_CREATE_FILE_DEST describes:

a. Defines the location of the default file system directory for data files and temporary files b. Defines the location for redo log files and control file creation c. Default location for the flash recovery area d. Both A and C

Ans. A

  1. You can enlarge the database by: a. Adding a data file to an existing tablespace b. Adding a log file into an existing tablespace c. Adding a redo log file d. All Ans. a
  2. Automatic storage management is a portable and

cluster file system. a. Low performance b. Normal performance c. Ordinary performance d. High performance

Ans. d

  1. ASM is _____________. a. separate file system

Ans. d

  1. The merge command is used to perform commands: a) Shut down database b) update database c) insert and update data base d) none of these (C)
  2. Pl/sql language supports which technique. a) probability of errors b) instance start up c) both a & c d) object oriented.

(d)

  1. Locks are automatically obtained for a given statement at : a) first level b) highest level c) lowest level d) all of above. (C)
  2. Each DML transaction must acquire. a) Two locks b) four locks c) no need for locks d) one lock. (a)
  3. Procedures pass values in and out by using. a) data list b) control files c) redo log files d) argument list. (d)
  4. Describe command Is used to view. a) Details of a session b) details of a statement c) sub programs details d) all of above.

(C)

  1. Locks held until the transaction ends with commit or role back. a) true b) false. (a) 8.Enqueue mechanism keeps track of.

a) session waiting for locks b) requested lock mode c) both a & b d)none of these. (c)

  1. Which of these is not a pl/sql database object. a) type body b) trigger c) procedure d) schema.

(d)

  1. Packages are collections of functions and schema. a) true b) false. (b) 11.Pick up a database event. a) create b) delete c) revoke d) start up. (d) 12.Pick up a DDL event. a) insert b) server error c) suspend d) grant. (d) 13.Package body fully defines following terms.