多选题You executed the following command to drop a user: DROP USER scott CASCADE; Which two statements regarding the above command are correct?()AAll the objects of scott are moved to the Recycle Bin.BAny objects in the Recycle Bin belonging to scott are pur

题目
多选题
You executed the following command to drop a user: DROP USER scott CASCADE; Which two statements regarding the above command are correct?()
A

All the objects of scott are moved to the Recycle Bin.

B

Any objects in the Recycle Bin belonging to scott are purged.

C

All the objects owned by scott are permanently dropped from the database.

D

All the objects of scott in the Recycle Bin must be purged before executing the DROP command.

E

Any objects in the Recycle Bin belonging to scott will not be affected by the above DROP command.


相似考题
参考答案和解析
正确答案: E,B
解析: 暂无解析
更多“多选题You executed the following command to drop a user: DROP USER scott CASCADE; Which two statements regarding the above command are correct?()AAll the objects of scott are moved to the Recycle Bin.BAny objects in the Recycle Bin belonging to scott are pur”相关问题
  • 第1题:

    You issued the following command:        SQL> DROP TABLE MYTABLE;        SQL> SHOW RECYCLEBIN  The following output is returned:        ORIGINAL NAME RECYCLEBIN NAME               OBJECT TYPE      DROP TIME        ------------- ------------------------------ --------------- --------------------        MYTABLE BIN$04LhcpndanfgMAAAAAANPw==$0     TABLE           2005-01-13:20:11:31  You want to drop the table, MYTABLE, from the Recycle Bin. Which two commands can you issue to accomplish the desired task?()

    • A、 DROP TABLE MYTABLE PURGE;
    • B、 PURGE RECYCLEBIN;
    • C、 PURGE TABLE MYTABLE;
    • D、 PURGE TABLE BIN$04LhcpndanfgMAAAAAANPw==$0;

    正确答案:C,D

  • 第2题:

    You execute this command to drop the ITEM table, which has the primary key referred in the ORDERtable:  SQL> DROP TABLE scott.item CASCADE CONSTRAINTS PURGE;  Which two statements are true about the effect of the command()

    • A、No flashback is possible to bring back the ITEM table.
    • B、The ORDER table is dropped along with the ITEM table.
    • C、The dependent referential integrity constraints in the ORDER table are disabled.
    • D、The dependent referential integrity constraints in the ORDER table are removed.
    • E、The table definition of the ITEM table and associated indexes are placed in the recycle bin.

    正确答案:A,D

  • 第3题:

    You execute the following command to audit the database activities:   SQL> AUDIT DROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL;  What is the effect of this command?()

    • A、One audit record is created for the whole session if user SCOTT successfully drops one or more tables in his session.
    • B、One audit record is created for every session when any user successfully drops a table owned by SCOTT.
    • C、One audit record is created for each successful DROP TABLE command executed by any user to drop tables owned by SCOTT.
    • D、One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to other users in his session.
    • E、One audit record is created for each successful DROP TABLE command executed in the session of SCOTT.

    正确答案:A

  • 第4题:

    Which of the following statements are true regarding the Recycle Bin?()

    • A、 The Recycle Bin is a physical storage area for dropped objects.
    • B、 The Recycle Bin is a logical container for dropped objects.
    • C、 The Recycle Bin stores the results of a Flashback Drop operation.
    • D、 The objects in the Recycle Bin are stored in the tablespace in which they were created.

    正确答案:B,D

  • 第5题:

    What will be the result of using the SQL> DROP USER SCOTT CASCADE; command?()

    • A、 The user, Scott, is dropped, all the objects in Scott’s schema are placed in the Recycle Bin, and the objects that are  already in the Recycle Bin are dropped.
    • B、 The user, Scott, is dropped, all the objects in Scott’s schema are placed in the Recycle Bin, and all the objects in the Recycle Bin, belonging to the user Scott, are not dropped.
    • C、 The user, Scott, is dropped, all the objects in the Scott’s schema are not placed in the Recycle Bin, and the objects in the Recycle Bin, belonging to the user, Scott, are not dropped.
    • D、 The user, Scott, is dropped, all the objects in Scott’s schema are not placed in the Recycle Bin, and the objects in the Recycle Bin are dropped.

    正确答案:D

  • 第6题:

    The user HR owns the EMP table. The user HR grants privileges to the user SCOTT by using this command:  SQL> GRANT SELECT,INSERT,UPDATE ON emp TO scott WITH GRANT OPTION; The user SCOTT executes this command to grant privileges to the user JIM: SQL> GRANT SELECT,INSERT,UPDATE ON hr.emp TO jim;  Now, the user HR decides to revoke privileges from JIM using this command: SQL> REVOKE SELECT,INSERT,UPDATE ON emp FROM jim; Which statement is true after HR issues the REVOKE command()

    • A、The command fails because SCOTT still has privileges.
    • B、The command succeeds and privileges are revoked from JIM.
    • C、The command fails because HR cannot revoke the privileges from JIM.
    • D、The command succeeds and only HR has the privilege to perform the SELECT, INSERT, and UPDATEoperations on the EMP table.

    正确答案:C

  • 第7题:

    多选题
    The session of user SCOTT receives the following error after executing an UPDATE command onthe EMP table:  ERROR at line 1:  ORA-00060: deadlock detected while waiting for resource  On investigation, you find that a session opened by user JIM has a transaction that caused the deadlock.  two statements are true regarding the session of SCOTT in this scenario()
    A

    The session is terminated after receiving the error and JIM can continue with his transaction.

    B

    SCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his transaction.

    C

    The session is rolled back after receiving the error and JIM can continue with his transaction.

    D

    SCOTT has to reexecute the last command in the transaction after he commits the transaction.


    正确答案: C,B
    解析: 暂无解析

  • 第8题:

    多选题
    Examine the command: SQL> ALTER USER skd ACCOUNT LOCK; Which two statements are true after the command is executed()
    A

    The SKD user cannot log in to the database instance.

    B

    The objects owned by the SKD user are not accessible to any user.

    C

    The other users can access the objects owned by the SKD user, on which they have access.

    D

    The password for the SKD user expires and the user is forced to change the password at the next log in


    正确答案: B,C
    解析: 暂无解析

  • 第9题:

    多选题
    Which two statements are correct regarding the Oracle Flashback Drop feature? ()
    A

    Recycle bin exists for the tables only in non-SYSTEM, locally managed tablespaces.

    B

    You can flash back a dropped table provided row movement has been enabled on the table.

    C

    If you drop an index before dropping its associated table, then the recovery of the index is not supported when you flash back the dropped table.

    D

    When you execute the DROP TABLESPACE? INCLUDING CONTENTS command, the objects in the tablespace are places in the recycle bin.

    E

    When a dropped table is moved to the recycle bin, only the table is renamed to a system-generated name; its associated objects and constraints are not renamed.

    F

    If you drop a table that is protected by the recycle bin, then associated bitmap-joined indexes and materialized view logs are also stored in the recycle bin.


    正确答案: B,D
    解析: 暂无解析

  • 第10题:

    多选题
    You execute this command to drop the ITEM table, which has the primary key referred in the ORDERtable:  SQL> DROP TABLE scott.item CASCADE CONSTRAINTS PURGE;  Which two statements are true about the effect of the command()
    A

    No flashback is possible to bring back the ITEM table.

    B

    The ORDER table is dropped along with the ITEM table.

    C

    The dependent referential integrity constraints in the ORDER table are disabled.

    D

    The dependent referential integrity constraints in the ORDER table are removed.

    E

    The table definition of the ITEM table and associated indexes are placed in the recycle bin.


    正确答案: C,D
    解析: 暂无解析

  • 第11题:

    多选题
    You executed the following command to drop a user:   DROP USER scott CASCADE;   Which two statements regarding the above command are correct?()
    A

    All the objects of scott are moved to the Recycle Bin.

    B

    Any objects in the Recycle Bin belonging to scott are purged.

    C

    All the objects owned by scott are permanently dropped from the database.

    D

    All the objects of scott in the Recycle Bin must be purged before executing the DROP command.

    E

    Any objects in the Recycle Bin belonging to scott will not be affected by the above DROP command.


    正确答案: E,C
    解析: 暂无解析

  • 第12题:

    多选题
    Examine the command: SQL> ALTER USER skd ACCOUNT LOCK; Which two statements are true after the command is executed()
    A

    The SKD user cannot log in to the database instance.

    B

    The objects owned by the SKD user are not accessible to any user.

    C

    The other users can access the objects owned by the SKD user, on which they have access.

    D

    The password for the SKD user expires and the user is forced to change the password at the next log in.


    正确答案: B,A
    解析: 暂无解析

  • 第13题:

    The session of user SCOTT receives the following error after executing an UPDATE command onthe EMP table:  ERROR at line 1:  ORA-00060: deadlock detected while waiting for resource  On investigation, you find that a session opened by user JIM has a transaction that caused the deadlock.  two statements are true regarding the session of SCOTT in this scenario()

    • A、The session is terminated after receiving the error and JIM can continue with his transaction.
    • B、SCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his transaction.
    • C、The session is rolled back after receiving the error and JIM can continue with his transaction.
    • D、SCOTT has to reexecute the last command in the transaction after he commits the transaction.

    正确答案:B,D

  • 第14题:

    Examine the command: SQL> ALTER USER skd ACCOUNT LOCK; Which two statements are true after the command is executed()

    • A、The SKD user cannot log in to the database instance.
    • B、The objects owned by the SKD user are not accessible to any user.
    • C、The other users can access the objects owned by the SKD user, on which they have access.
    • D、The password for the SKD user expires and the user is forced to change the password at the next log in.

    正确答案:A,C

  • 第15题:

    Which two statements are correct regarding the Oracle Flashback Drop feature? ()

    • A、 Recycle bin exists for the tables only in non-SYSTEM, locally managed tablespaces.
    • B、 You can flash back a dropped table provided row movement has been enabled on the table.
    • C、 If you drop an index before dropping its associated table, then the recovery of the index is not supported when you flash back the dropped table.
    • D、 When you execute the DROP TABLESPACE? INCLUDING CONTENTS command, the objects in the tablespace are places in the recycle bin.
    • E、 When a dropped table is moved to the recycle bin, only the table is renamed to a system-generated name; its associated objects and constraints are not renamed.
    • F、 If you drop a table that is protected by the recycle bin, then associated bitmap-joined indexes and materialized view logs are also stored in the recycle bin.

    正确答案:A,C

  • 第16题:

    In which two scenarios should you issue the following command?() FLASHBACK TABLE SCOTT.EMP TO TIMESTAMP SYSTIMESTAP- INTERVAL ’15’ MINUTE;

    • A、 when the schema of the user, SCOTT, was deleted by mistake 15 minutes ago
    • B、 when the table EMP of the SCOTT schema was dropped by mistake 15 minutes ago
    • C、 when some rows of the table, EMP, in the SCOTT schema were deleted by mistake 15 minutes ago
    • D、 when some incorrect values were inserted in the EMP table in the user Scott’s schema during the last 15 minutes
    • E、 never, because FLASHBACK TABLE is not a valid command in Oracle 10g.

    正确答案:C,D

  • 第17题:

    You executed the following command to drop a user: DROP USER scott CASCADE; Which two statements regarding the above command are correct?()

    • A、All the objects of scott are moved to the Recycle Bin.
    • B、Any objects in the Recycle Bin belonging to scott are purged.
    • C、All the objects owned by scott are permanently dropped from the database.
    • D、All the objects of scott in the Recycle Bin must be purged before executing the DROP command.
    • E、Any objects in the Recycle Bin belonging to scott will not be affected by the above DROP command.

    正确答案:B,C

  • 第18题:

    You execute the following command toauditdatabase activities:  SQL>AUDITDROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL;  What is the effect of this command()

    • A、Oneauditrecord is created for every successful DROP TABLE command executed in the session ofSCOTT.
    • B、Oneauditrecord is generated for the session when SCOTT grants the DROP ANY TABLE privilege toother users.
    • C、One audit record is created for the whole session if user SCOTT successfully drops one or more tablesin his session.
    • D、One audit record is created for every session of any other user in which a table owned by SCOTT isdropped successfully.
    • E、One audit record is created for every successful DROP TABLE command executed by any user to droptables owned by SCOTT.

    正确答案:C

  • 第19题:

    多选题
    The RECYCLEBIN parameter is set to ON for your database. You drop a table, PRODUCTS, from the SCOTT schema. Which two statements are true regarding the outcome of this action? ()(Choose two)
    A

    All the related indexes and views are automatically dropped

    B

    The flashback drop feature can recover only the table structure

    C

    Only the related indexes are dropped whereas views are invalidated

    D

    The flashback drop feature can recover both the table structure and its data


    正确答案: D,A
    解析: 暂无解析

  • 第20题:

    多选题
    In which two scenarios should you issue the following command?() FLASHBACK TABLE SCOTT.EMP TO TIMESTAMP SYSTIMESTAP- INTERVAL ’15’ MINUTE;
    A

    when the schema of the user, SCOTT, was deleted by mistake 15 minutes ago

    B

    when the table EMP of the SCOTT schema was dropped by mistake 15 minutes ago

    C

    when some rows of the table, EMP, in the SCOTT schema were deleted by mistake 15 minutes ago

    D

    when some incorrect values were inserted in the EMP table in the user Scott’s schema during the last 15 minutes

    E

    never, because FLASHBACK TABLE is not a valid command in Oracle 10g.


    正确答案: B,C
    解析: 暂无解析

  • 第21题:

    多选题
    Which of the following statements are true regarding the Recycle Bin?()
    A

    The Recycle Bin is a physical storage area for dropped objects.

    B

    The Recycle Bin is a logical container for dropped objects.

    C

    The Recycle Bin stores the results of a Flashback Drop operation.

    D

    The objects in the Recycle Bin are stored in the tablespace in which they were created.


    正确答案: D,B
    解析: 暂无解析

  • 第22题:

    单选题
    At the request of a user, you issue the following command to restore a dropped table: flashback table "BIN$F2JFfMq8Q5unbC0ceE9eJg==$0" to before drop; Later, the user notifies you that the data in the table seems to be very old and out of date.  What might be the problem?()
    A

     Because a proper range of SCNs was not specified, the wrong data was restored.

    B

     A proper range of timestamps was not specified, so the wrong data was restored.

    C

     A previous Flashback Drop operation had been performed, resulting in multiple versions of the table being stored in the Recycle Bin.

    D

     Either option A or B could be correct. Not enough information was provided to determine which.

    E

     None of the above.


    正确答案: C
    解析: 暂无解析

  • 第23题:

    多选题
    You issued the following command:        SQL> DROP TABLE MYTABLE;        SQL> SHOW RECYCLEBIN  The following output is returned:        ORIGINAL NAME RECYCLEBIN NAME               OBJECT TYPE      DROP TIME        ------------- ------------------------------ --------------- --------------------        MYTABLE BIN$04LhcpndanfgMAAAAAANPw==$0     TABLE           2005-01-13:20:11:31  You want to drop the table, MYTABLE, from the Recycle Bin. Which two commands can you issue to accomplish the desired task?()
    A

    DROP TABLE MYTABLE PURGE;

    B

    PURGE RECYCLEBIN;

    C

    PURGE TABLE MYTABLE;

    D

    PURGE TABLE BIN$04LhcpndanfgMAAAAAANPw==$0;


    正确答案: A,B
    解析: 暂无解析

  • 第24题:

    多选题
    The RECYCLEBIN parameter is set to ON for your database. You drop a table,PRODUCTS,from the SCOTT schema.  Which two statements are true regarding the outcome of this action?()
    A

    All the related indexes and views are automatically dropped

    B

    The flashback drop feature can recover only the table structure

    C

    Only the related indexes are dropped whereas views are invalidated

    D

    The flashback drop feature can recover both the table structure and its data


    正确答案: A,D
    解析: 暂无解析