ocp 052 最新題庫(kù)04

三?十四.Memory

97.?In your?database:

SGA_TARGET =270M PGA_AGGREGATE_TARGET =90M

The MEMORY_TARGET and MEMORY_MAX_TARGET parameters are currently not configured. You execute the command:

ALTER SYSTEM SET MEMORY_TARGET = 400M;

What is the outcome and?why?

A)?The?execution?fails?because?the?MEMORY_MAX_TARGET?parameter?must?be?configured?to?400M before configuring the MEMORY_TARGET?parameter.

B)?The?execution?fails?because?SGA_TARGET?and?PGA_AGGREGATE_TARGET?are?already configured.

C)?The execution is successful and automatic memory management is?enabled.

D)?The execution is successful but does not enable automatic memory management because?the MEMORY_MAX_TARGET paremeter must be configured to a value greater than?MEMORY_TARGET.

Answer:A(驗(yàn)證過(guò))

ORA-02097:?paramet?er?cannot?be?modi?f?i?ed?because?speci?f?i?ed?val?ue?i?s?i?nvali?d?ORA-00837:?Speci?f?i?ed?val?ue?of?MEMORY_TARGET?great?er?t?han?MEMORY_MAX_TARGET

98.?Your?database is using Automatic Memory Management. Which two SGA components must be managed?manually?

A)?shared pool

B)?keep buffer?pool

C)?default buffer?cache

D)?large pool

E)?redo log?buffer


AnswerBE

?

?

99.?Examine these descriptions of Oracle metadata and?data:

1.?Metadata about schema objects being queried by SQL?statments.

2.?Private Cursor metadata?only

3.?Results of SQL queries and PL/SQL?functions

4.?Shared Cursor and Private Cursor?Data

5.?The Call?Stack

Which of these are always stored in the PGA?

A)?1 and?2

B)?1 and?2

C)?4 and?5





www.cuug.com66

D)?2 and?5

E)?1 and?5


AnswerD

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

www.cuug.com67

三?十五.Index

100.?Which is true about unusable indexes??


A)?Rebuilding an unusable index always requires at least twice the space of the original?index.

B)?Rebuilding an unusable index creates a new segment after dropping the unusable?index.

C)?Rebuilding an unusable index always allows DML statements on the index's table during the?rebuild.

D)?Rebuilding occurs automatically when an unusable index is chosen by the optimizer when creating an execution plan.


AnswerB

?

?

101.?Which three are true is true about unusable indexes??


A)?Rebuilding an unusable index creates a new?object.

B)?An index can be set unusable?manually.

C)?An unusable index can be bypassed by the optimizer when creating an execution?plan.

D)?An index can become unusable automatically due to actions performed on other?objects.

E)?Rebuilding an unusable index requires at least one row to exist in the indexed?table

F)?Rebuilding an unusable index reuses the space from the original index?segment.


AnswerABC

?

?

?

102.?Which three statements are true regarding B-tree?indexes?


A)?A non-unique index uses the rownum to determine the collating sequence for duplicate?keys.

B)?A unique index used the rownum to determine the collating sequence for duplicate?keys.

C)?A non-unique index uses the rowid to determine the collating sequence for duplicate?keys.

D)?Leaf blocks are linked in a backward collating?sequence.

E)?A unique index uses the rowid to determine the collating sequence for duplicate?keys.

F)?Leaf blocks are linked in a forward collating?sequence.


AnswerCEF

unusable index(1)unusable index?是被優(yōu)化器所忽略肛跌,并且不被dml操作維護(hù)阐滩。但

unusable index?可以改變批量加載的性能(2) 任何現(xiàn)有的索引變成unusable后郑现,索引段都會(huì)被刪除(3)由于unusable index?是不會(huì)被dml操作維護(hù)粗梭,索引變成unusable index后必須通

過(guò)rebuild index?或者drop index and create index(4)當(dāng)參數(shù)?SKIP_UNUSABLE_INDEXES

=true時(shí)invisible index ?(1)從11g開(kāi)始,就有了invisible index ?(2)invisible index會(huì)被優(yōu)化器所忽略,但是dml操作仍然會(huì)維護(hù)索引,批量提交數(shù)據(jù)不會(huì)提示性能(3)如果

session或者system級(jí)別使用參數(shù)OPTIMIZER_USE_INVISIBLE_INDEXES=true,那么優(yōu)化器會(huì)考慮使用invisible index?(4)你可以使一個(gè)分區(qū)索引變成invisible index首懈,但是你不能使單個(gè)分區(qū)變成invisible index,而其他分區(qū)visible?(5)invisible index只是讓優(yōu)化器不可見(jiàn)谨敛,索引段中的數(shù)據(jù)還是存在的究履,并且dml操作維護(hù)索引,所以visible index后脸狸,不需要重建索引

www.cuug.com68

三?十七.Roles

103.?Which two are true about?roles?

A)?Roles are owned by?SYSTEM.

B)?A secure application role can be set only by its associated PL/SQL?package.

C)?The CONNECT role is granted automatically to a user when it is?created.

D)?A role can be granted a combination of system and object privileges and other?roles.

E)?The RESOURCE role is granted the?CREATE?SESSION?privilege.


AnswerBD

?

?

104.?Which four are true about?roles?

A)?A single default role can be granted to a?user.

B)?roles must be protected by a?password.

C)?A role can be granted system?privileges.

D)?Multiple default roles can be granted to a?user.

E)?roles must be protected by a secure?application.

F)?A role can be granted object?privileges.

G)?A user can be granted to a?role.


AnswerACDF

?

?

105.?Which two are true about?roles?

A)?A role can be?password-protected.

B)?Only one default role can be granted to a?user.

C)?A role can be granted only multiple system privileges not multiple object?privileges.

D)?A role can be granted to another?role.

E)?A role can be created only by a user with the SYSDBA?privilege.


AnswerAD

?

106.?Which three are true about?roles?

A)?Roles must be password?protected.

B)?Roles can be granted to?users.

C)?Users can be granted to?roles.

D)?Roles can be granted to?roles.

E)?Object privileges can be granted to?roles.







www.cuug.com69

AnswerBDE

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

www.cuug.com70

三?十?八.Dynamic performance views and Data?dictionary views

?

112.?Which three are true about dynamic performance?views?

A)?They display information that is not available in data dictionary?views.

B)?They can be queried only by SYS even when the database is open.

C)?They display selected data from data dictionary base?tables.

D)?Read consistency is not guaranteed for these?views.

E)?Some of them display data that is useful for SQL statement?tuning.


AnswerADE

?

?

113.?Which two are true about data dictionary and dynamic performance views (V$?views)?

A)?All database users have access to ALL_*?views

B)?All database users have access to all V$?views

C)?The defining queries for Oracle supplied dynamic performance views are stored in the data dictionary

D)?All V$ views display output when queries, if the instance is in nomount?state

E)?Data dictionary view output is subject to read?consistency


AnswerAE?(正在測(cè)試)


114.?which three are true about data dictionary and dynamic performance views(V$?views)最仑?

A)?By default,all database users have access to all V$?views.

B)?All V$ views return data if queried炊甲,as soon as the instance has?started.

C)?By default泥彤,all database users have access to USER_*?views.

D)?By default,all database users have access to ALL_*?views.

E)?Only data dictionary views are subject to read?consistency.

F)?The definition of system-defined V$ views is stored in the data?dictionary.


AnswerCDF

?

?

115.?Which two are true about data dictionary?views?

A)?All data dictionary views are prefixed with DBA or ALL or?USER.

B)?A user may not necessarily be the owner of all objects that can be viewed by using the ALL?prefixed






www.cuug.com71

views.

C)?ALL or USER prefixed views display output that are subsets of the output from the?DBA prefixed data views.

D)?A user can query the DBA prefixed views only if they have the SYSDBA?privilege.

E)?DBA prefixed views are accessible when a database is in mount?state.


AnswerBC

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

www.cuug.com72

三?十九.Shutdown

116.?which is true when a database instance is shut?down?

A)?IMMEDIATE,TRANSACTIONAL, and NORMAL modes all result in a?checkpoint.

B)?Neither the IMMEDIATE nor the ABORT mode rolls back uncommitted?tracsctions.

C)?Only TRANSACTIONAL and NORMAL modes wait for all uncommitted transactions to COMMIT?or ROLLBACK and then close the database

D)?IMMEDIATE, TRANSACTOINAL, and NORMAL modes wait for all uncommitted transcatoins?either COMMIT or ROLLBACK and then close?the


AnswerA

?

?

117.?which three are true when a database instance is shut?down?

A)?STARTUP?FORCE performs a CHECKPOINT then ABORTS the database?instance.

B)?SHUTDOWN IMMEDIATE performs a?CHECKPOINT.

C)?SHUTDOWN TRANSACTIONAL rolls back uncommitted?transactions.

D)?SHUTDOWN IMMEDIATE rolls back uncommitted?transactions.

E)?SHUTDOWN TRANSACTIONAL preform a?CHECKPOINT.

F)?SHUTDOWN ABORT rolls back uncommitted?transactions.


AnswerBDE

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

www.cuug.com73

四?十.Rman

?

118.?The ORCL database has CONTROL FILE AUTOBACKUP and BACKUP OPTIMIZATION enabled.?TBS1 and TBS2 are the only user-defined tablespaces in?ORCL.

USER1.EMP is able in TBS1. Examine these commands:

$?rman?target/

RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE;

RMAN> exit

$ sqlplus / as sysdba

SQL>?UPDATE?user1.empSET sal=10000 WHERE?eno=1;

1 row updated SQL> COMMIT; Commit complete.

SQL> ALTER TABLESPACE tbs1 READ ONLY;

Tablespace altered.

SQL> exit

$ rman target /

RMAN> BACKUP INCREMENTAL LEVEL 1 DATABASE;

From which files are modified blocks backed up?

A)?SYSTEM and SYSAUX?only

B)?SYSTEM, SYSAUX, UNDO,?TEMP,?TBS1, and?TBS2

C)?SYSTEM, SYSAUX, and UNDO?only

D)?SYSTEM,?SYSAUX, UNDO,?and?TBS1 only?(在變成只讀之前沒(méi)有備份卿啡,而且數(shù)據(jù)發(fā)生變化)

E)?SYSTEM, SYSAUX, UNDO, and TBS2?only


AnswerD

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

www.cuug.com74
















120.?in which state can you back up a database in ARCHIVELOGMODE using?RMAN?

A)?MOUNT and OPEN?only

B)?NOMOUNT and MOUNT?only

C)?NOMOUNT,MOUNT,?and?OPEN

D)?OPEN RESTRICTED?only

E)?OPEN only


AnswerA

?

?

121.?Which two can be backed up by using RMAN when a database is open in ARCHIVELOG mode, so?that media recovery can be performed if?required?

A)?password file

B)?control files

C)?pfile

D)?flashback logs

E)?online redo logs

F)?data files


AnswerBF

?

?

121.?Which four can be backed up by using RMAN when a database is open in archivelog?mode?

A)?archived logs

B)?password files

C)?control files

D)?data files

E)?pfiles






www.cuug.com75

F)?spflles

G)?block change tracking flies


AnswerACDF

?

?

122.?Where is backup metadata stored for use by Recovery Manager?(RMAN)?

A)?in the SYSAUX tablespace

B)?in the diagnostic destination?files

C)?in the control file

D)?in the SYSTEM?tablespace

E)?in the?SPFILE


AnswerC

?

?

123.?In which two locations can Recovery Manager (rman) metadata be?stored?

A)?in the Fixed?SGA

B)?in the control file

C)?in the Data Guard broker configuration?files

D)?in the Flashback Logs

E)?in the?CATALOG?schema


AnswerBE

?

?

124.?For your ORCL?database.

1.?The instance is started using an?spfile.

2.?The database is opened.

3.?It is in ARCHIVELOG?mode.

4.?CONTROL FILE AUTOBACKUP IS?ON.



Examine this command:

RMAN > BACKUP AS COPY DATAFILE 'USERS01.DBF','EXAMPLE01.DBF';


Which four files are backed up ?


A)?SYSTEM01.DBF

B)?archivelogs

C)?EXAMPLE01.DBF

D)?spfile

E)?SYSAUX01.DBF





www.cuug.com76

F)?USERS01.DBF

G)?UNDO01.DBF

H)?control file


AnswerCDFH

?

?

125.?Examine these components:

1.?Execution plan for a non-embedded SQL?statement

2.?Local, global, and package variables for a?session.

3.?Execution plan for a SQL statement contained in a PL/SQL program?unit.

4.?Results of executed queries and query?fragments.

5.?PL/SQL function result?sets.

Which of these are stored in the shared SQL area?

A)?1 and?3

B)1, 3, 4, and?5

C)?1 and?4

D)?1, 2, and?3


AnswerA

?

?

126.?The?ORCL?database?has?CONTROL?FILE?AUTOBACKUP?and?BACKUP?OPTIMIZATION?enabled. USER1.EMP is a table in tablespace?TBS1.

There are no existing backups of the database Examine these commands:

$ rman target /

RMAN >BACKUP DATABASE;

RMAN >exit;


$ sqlplus / as sysdba

SQL > UPDATE USER1.EMP set SAL = 5000 WHERE eno = 10;

1 row updated SQL> COMMIT; Commit complete. SQL> exit;


$ rman target /

RMAN> CONFIGURE EXCLUDE FOR TABLESPACE tbs1; RMAN> BACKUP INCREMENTAL LEVEL 1 DATABASE;

What is the outcome ?

A)?It takes a level 1 incremental backup of ORCL without?TBS1.

B)?It takes a level 0 incremental backup of ORCL without?TBS1.





www.cuug.com77

C)?It takes a level 1 incremental backup of ORCL with?TBS1.

D)?It takes a level 0 incremental backup of ORCL with?TBS1.


Answer: B

?

?

?

127.?In which two cases are inconsistent database backup?created?

A)?when the RMAN BACKUP command is used while the database is OPEN READ?ONLY

B)?when the RMAN BACKUP PROXY command is used while the database is?MOUNTED

C)?when the RMAN BACKUP command is used while the database is OPEN READ?WRITE

D)?when the RMAN BACKUP command is used while the database is?MOUNTED

E)?when the RMAN BACKUP AS COPY command is used while the database is?MOUNTED


AnswerDE

?

?

128.?In which three states can you back up a tablespace with RMAN when a database is in ARCHIVELOGMODE?

A)?MOUNT

B)?OPEN?READONLY

C)?Instance shut?down

D)?OPEN RESTRICTED

E)?NOMOUNT


AnswerABD

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

www.cuug.com78

四?十?一.Data Recovery Advisor

129.?A?database?instance?was?terminated?due?to?the?loss?of?the?CURRENT?online?redo?log?group?and?has?not been?restarted.

You wish to restore database availability by using the Data Recovery Advisor. Examine this list of RMAN commands;

1.?Startup

2.?List failure?all;

3.?Advise failure?all;

4.?Repair failure?noprompt;

5.?Alter database?open;

What are the minimum commands required and in what order must they be executed to achieve this? A)1,2,3,and?4

B)?1,3,and?4

C)?1 and?4

D)1,3,4,and?5

E)1,2,3,4,and?5


AnswerD

?

130.?A?database?instance?was?terminated?due?to?the?loss?of?the?CURRENT?online?redo?log?group?and?has?not been?restarted.

The database is configured with FLASHBACK mode on

You wish to restore database availability by using the Data Recovery Advisor. Examine this list of RMAN commands;

1.?Startup

2.?List failure?all;

3.?Advise failure?all;

4.?Repair failure?noprompt;

5.?Alter database?open;

What are the minimum commands required and in what order must they be executed to achieve this? A)1,2,3,and?4

B)?1,3,and?4

C)?1 and?4

D)1,3,4,and?5

E)1,2,3,4,and?5


AnswerD(驗(yàn)證過(guò))





www.cuug.com79

131.?A database instance was terminated duo to a lost data file and has not been?restarted?You?wish to restore database availability by using the Data Recovery Advisor Examine this list of RMAN?commands;

1.?Startup

2.?List failure?all;

3.?Advise failure all;

4.?Repair failure?noprompt;

5.?Alter database?open;

Which are the minimum required commands and in what order must they be executed to archive ??A)1,3,4 and?5

B)?1 and?4

C)?1,3 and?4

D)1,2,3,4 and?5

E)1,2,3, and?4


AnswerA(驗(yàn)證過(guò))


132.?Which two are true about the Data Recovery Advisor??

A)?It can be used to validate database recovery?strategies.

B)?It provides intelligent database problem?analysis.

C)?It can be used when the database is?closed.

D)?It can be used only for databases with FLASHBACK?enabled.

E)?It can ben used only for databases that are running in ARCHVIELOG?mode.

F)?It can be used to validate database backup?strategies.


Answer: AB(驗(yàn)證過(guò))


133.?Which two are true about the Data Recovery?Advisor?

A)?It can be used only with databases that are running in ARCHIVELOG?mode.

B)?It can repair only databases for which RMAN backups?exist.

C)?It can be used to validate RMAN?backups.

D)?It can be used to take RMAN?backups.

E)?It can be used when a database is?MOUNTED.

F)?It can be used when a database is?OPEN.


AnswerEF

?

?

134.?Which four are true about the Data Recovery?Advisor?

A)?It can be used to validate RMAN?backups.

B)?It can be used for databases running in ARCHIVELOG?mode.





www.cuug.com80

C)?It can be used to validate RMAN image?copies.

D)?It can be used databases running in NOARCHIVELOG?mode.

E)?It can be used for an open?database.

F)?It can be used for a mounted?database.

G)?It can be used for an unmounted?database.


AnswerBDEF

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

www.cuug.com81

四?十?二.EM

135.?Which action is automatically performed as part of the Incident Packaging Service in Enterprise Manager Support Workbench??

A)?gathering metadata from the Automatic Diagnostic?Repository(ADR)

B)?invoking the Data Recovery Advisor and SQL Repair?Advisor

C)?creating a service request with My Oracle?Support

D)?invoking the SQL?Test?Case?Builder


Answer: A

四?十三.Database Structures

136.?Which is true about logical and physical database?structures?

A)?An extent always consists of physically contiguous data blocks in?storage

B)?An undo tablespace has a temp file instead of a data?file

C)?A permanent tablespace can only contain tables segments and index?segments

D)?A tablespace can consist of data blocks of different?sizes.

E)?A segment can consist of extents of different?sizes.


AnswerE

?

?

137.?Which four are true about transaction, table, and row locks in an Oracle?Database?

A)?Transaction locks are released when that transaction executes a COMMIT?statement.

B)?DDL statements never lock the objects that they?modify.

C)?Transaction locks are released when that transaction executes a ROLLBACK?statement.

D)?DML statements lock modified rows in exclusive?mode.

E)?DML statements lock modified tables in exclusive?mode.

F)?SELECT statements are never blocked by row-level?locks.

G)?A table’s row-level locks escalate to table locks when a majority of rows in that table are locked?in exclusive mode.


AnswerACDF

?

?

136.?Which three are true about transaction, table, and row locks in an Oracle?Database?

A)?dml statements lock modified tables in exclusive mode with tm?locks.

B)?Transaction locks are released when that transaction executes a ddl?command.

C)?select statements are blocked by table?locks.

D)?dml statements lock modified tables in shared mode with tm?locks.

E)?dml statements lock modified rows with row?locks.

F)?Row locks can escalate to table locks under heavy?load.


AnswerBDE

?

137.?Examine this list of Database?structures:

1.?Tablespaces

2.?Data files

3.?Segments

4.?Extents

5.?Oracle data blocks

6.?OS blocks



Which three are true regarding these?



A)?A segment with multiple extents can have space in different data?files.

B)?Segments always consist of more than one?extent.

C)?Extents always consist of Oracle data?blocks.

D)?A tablespace can have data files on different file?systems.

E)?A segment with multiple extents can have space in different?tablespaces.

F)?Tablespaces?always contain multiple segments.

G)?Oracle database blocks always consist of multiple OS?blocks.


AnswerCDG

四?十四.Startup Database

138.?Your?database instance is in the open state with uncommitted transactions.?You?plan to execute these?commands:

SHUTDOWN ABORT STARTUP

Which is true about the STARTUP command assuming that no errors occur?

A)?It opens the database in read-only?mode.

B)?It opens the database in read/write mode only if an spfile is?used.

C)?It performs an instance recovery and leaves the database instance in mount?state.

D)?It performs an instance recovery before opening the database in read/write?mode.


AnswerD

?

?

139.?One of your databases is open and there are currently some uncommitted?transactions.?You?execute these commands?successfully:

SHUTDOWN ABORT STARTUP

Which two are true about the effects of these commands?

A)?Instance recovery occurs before the database Is opened read?write.

B)?Media recovery occurs and the database is left in mount?state.

C)?Instance recovery occurs before the database is opened read?only

D)?The uncommitted transactions are rolled back during?startup

E)?Media recovery occurs before the database Is opened read?write

F)?The uncommitted transactions are rolled back before the Instance Is shut?down


AnswerAC

四?十五.Network Administrator

140.?Examine this LISTENER.ORA?life:

LISTENER = (DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS_LIST =(ADDRESS=(PROTOCOL=TCP)(HOST=srvl.example.com)(PORT=1522)

))) SID_LIST_LISTENER =

(SID_DESC = (SID_DESC =

(GLOBAL_DBNAME = orcl.example.com)

(GLOBAL_HOME =/u01/app/oracle/product/11.2.0/dbhome_1)

(SID_NAME=orcl)

))

How should you configure an additional listener LISTENER2 that listens for the same SID?

A)?Add relevant details in SID_LIST_LISTENER under the existing LISTENER in?LISTENER.ORA

B)?Create another configuration file called LISTENER2.ORA with only LISTENER2 details in?it

C)?Add LISENER2 and its SID_LIST details separately under the name LISTENER2?in LISTENER.ORA

D)?Add relevant details in DESCRIPTION under the existing LISTENER with a different port number?in LISTENER.ORA.


AnswerC

?

?

141.?Examine this LISTENER.ORA?file.

LISTENER=

(DESCRIPTION_LIST= (DESCRIPTION=

(ADDRESS_LIST

(ADDRESS =(PROTOCOL= TCP)(HOST =srvl.example.com)(PORT=1522))

))) SID_LIST_LISTENER=

(SID_LIST=

(SID_DESC=

(GLOBAL_DBNAME=orcl.example.com)

(ORACLE_HOME =/u01/app/oracle/product/11.2.0/dbhome_1) (SID_NAME = orcl)

))

Which method can be used to configure an additional listener LISTENER2 that listens for the same service name?

A)?Add relevant details in DESCRIPTION under the existing LISTENER with a different port number?in

LISTENER.ORA.

B)?Create another file called LISTENER2.ORA with only LISTENER2 details using a?different port number than?LISTENER

C)?Create another file called LISTENER2.ORA with only LISTENER2 detaills using the same?port number used by?LISTENER

D)?Add LISTENER2 and its SID_LIST details with the same port number as LISTENER under?the name LISTENER2 in?LISTENER.ORA.

E)?Add LISTENER2 and its SID_LIST details with a different port number then LISTENER under?the name LISTENER2 in?LISTENER.ORA


AnswerE

四?十六.Patch

142.?Which two are true about the Enterprise Manager Patching?Wizard?

A)?It uses the opatch?utility.

B)?It applies only cumulative?patches.

C)?It applies patch releases only to the software residing in the Oracle home?directory.

D)?It can only download and stage a selected patch but not apply it?.

E)?IT invokes the patch Advisor to recommend patches for your system based only on feature?usage.



Answer: CE

四?十七.Trace

143.?Which two types of entries are contained in Oracle Database trace?files吟吝?

A)?application code bug related entries

B)?Database instance turning related?entries

C)?SQL statement turning related?entries

D)?Diagnostics related entries for server?process

E)?DDL action?logs


AnswerBD

四?十?八.Shrink

?

144.?USER1.EMP has a referential integrity constraint on?EMP.DNO?referencing?USER1.DEPT.DNO.?USER1 has a script containing these?commands

UPDATE dept SET loc='UK' where dno=1; UPDATE emp SET sal=1000 where eno=100; ALTER TABLE EMP shrink space;

What will be the outcome of running the script and why?

A)?It will fail because there is an uncommitted transaction on?USER1.DEPT.

B)?It will fail because a referential integrity constraint is defined on?USER1.EMP.

C)?It will execute?successfully.

D)?It will fail because there is an uncommitted transaction on?USER1.EMP.


AnswerC

四?十九.Constraint

?

145.?A?constraint?is?defined?as?INITIALLY?IMMEDIATE?but?is?DISABLED.?You?attempt to ENABLE?VALIDATE?the?constraint

Which two are true?

A)?DML is prevented while the constraint is being?enabled.

B)?The command does not validate existing?rows.

C)?The command fails if any table row violates the?constraint.

D)?The constraint is only enforced for rows inserted or updated after enabling the?constraint.

E)?Existing rows that violate the constraint are?permitted.


AnswerAC

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市颈娜,隨后出現(xiàn)的幾起案子剑逃,更是在濱河造成了極大的恐慌浙宜,老刑警劉巖,帶你破解...
    沈念sama閱讀 217,185評(píng)論 6 503
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件蛹磺,死亡現(xiàn)場(chǎng)離奇詭異粟瞬,居然都是意外死亡,警方通過(guò)查閱死者的電腦和手機(jī)萤捆,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,652評(píng)論 3 393
  • 文/潘曉璐 我一進(jìn)店門(mén)裙品,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái),“玉大人鳖轰,你說(shuō)我怎么就攤上這事清酥》龆疲” “怎么了蕴侣?”我有些...
    開(kāi)封第一講書(shū)人閱讀 163,524評(píng)論 0 353
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)臭觉。 經(jīng)常有香客問(wèn)我昆雀,道長(zhǎng),這世上最難降的妖魔是什么蝠筑? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 58,339評(píng)論 1 293
  • 正文 為了忘掉前任狞膘,我火速辦了婚禮,結(jié)果婚禮上什乙,老公的妹妹穿的比我還像新娘。我一直安慰自己忆某,他們只是感情好聋呢,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,387評(píng)論 6 391
  • 文/花漫 我一把揭開(kāi)白布喂窟。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上短绸,一...
    開(kāi)封第一講書(shū)人閱讀 51,287評(píng)論 1 301
  • 那天乐埠,我揣著相機(jī)與錄音,去河邊找鬼。 笑死衅澈,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的纷闺。 我是一名探鬼主播署鸡,決...
    沈念sama閱讀 40,130評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了佳镜?” 一聲冷哼從身側(cè)響起僚稿,我...
    開(kāi)封第一講書(shū)人閱讀 38,985評(píng)論 0 275
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎蟀伸,沒(méi)想到半個(gè)月后蚀同,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,420評(píng)論 1 313
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡啊掏,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,617評(píng)論 3 334
  • 正文 我和宋清朗相戀三年蠢络,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片迟蜜。...
    茶點(diǎn)故事閱讀 39,779評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡刹孔,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出娜睛,到底是詐尸還是另有隱情髓霞,我是刑警寧澤卦睹,帶...
    沈念sama閱讀 35,477評(píng)論 5 345
  • 正文 年R本政府宣布,位于F島的核電站方库,受9級(jí)特大地震影響分预,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜薪捍,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,088評(píng)論 3 328
  • 文/蒙蒙 一笼痹、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧酪穿,春花似錦凳干、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 31,716評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至只磷,卻和暖如春经磅,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背钮追。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 32,857評(píng)論 1 269
  • 我被黑心中介騙來(lái)泰國(guó)打工预厌, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人元媚。 一個(gè)月前我還...
    沈念sama閱讀 47,876評(píng)論 2 370
  • 正文 我出身青樓轧叽,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親刊棕。 傳聞我的和親對(duì)象是個(gè)殘疾皇子炭晒,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,700評(píng)論 2 354

推薦閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,324評(píng)論 0 10
  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 9,491評(píng)論 0 23
  • 上世紀(jì)50年代,A村一個(gè)月內(nèi)發(fā)生兩起死人事件甥角。 第一個(gè)人是個(gè)孤寡老人网严,76歲,被發(fā)現(xiàn)死在家中嗤无,村民推測(cè)為病死就為死...
    墨須游閱讀 307評(píng)論 0 2
  • 文/家里的老幺 盡管凜冽的寒風(fēng)不再拂面震束,但遲遲春日總是在翹首期盼中姍姍而來(lái)。 天氣依舊是忽冷忽熱的...
    家里的老幺閱讀 169評(píng)論 0 0
  • 還沒(méi)決定好寫(xiě)什么翁巍,想了兩個(gè)方向: Option One 書(shū)名:沒(méi)有勝算 副標(biāo)題:5個(gè)以中國(guó)資本市場(chǎng)近幾年精彩案例為...
    何處是他鄉(xiāng)001閱讀 310評(píng)論 4 3