zoukankan      html  css  js  c++  java
  • 052(七)

    31、View the Exhibit to examine the error that occurred during the database startup. 

    You opened an RMAN session for the database. 
    To repair the failure, you executed the following command as the first RMAN command: 
    RMAN> REPAIR FAILURE; 
    Which statement describes the consequence of this command? 
    A. The command performs the recovery and closes the failure 
    B. The command only displays the advice and the RMAN script required for recovery 
    C. The command executes the RMAN script to repair the failure and remove the entry from the Automatic 
    Diagnostic Repository (ADR) 
    D. The command produces an error because the ADVISE FAILURE command was not executed before 
    the REPAIR FAILURE command 
    Answer: D 

    advise failure命令对记录在自动诊断信息库中的所有故障给出建议

    32、

    32.You execute this command to drop the ITEM table, which has the primary key referred in the ORDERS 
    table: 
    SQL> DROP TABLE scott.item CASCADE CONSTRAINTS PURGE; 
    Which two statements are true about the effect of the command? (Choose two.) 
    A. No flashback is possible to bring back the ITEM table 
    B. The ORDERS table is dropped along with the ITEM table 
    C. The dependent referential integrity constraints in the ORDERS table are disabled 
    D. The dependent referential integrity constraints in the ORDERS table are removed 
    E. The table definition of the ITEM table and associated indexes are placed in the recycle bin 
    Answer: AD 

    参考052(四)第20题

    33、

    33.You plan to move data from a flat file to a table in your database. You decide to use SQL*Loader direct 
    path load method to perform this task. The table in which you plan to load data in an important table 
    having various integrity constraint defined on it. 
    Which constraints will remain enabled by default during this operation? (Choose all that apply.) 
    A. CHECK 
    B. UNIQUE 
    C. NOT NULL 
    D. PRIMARY KEY 
    E. FOREIGN KEY 
    Answer: BCD 

    直接路径加载只强制:PRIMARY KEY、UNIQUE、NOT NULL

    34、

    34.What is the effect of this command? 
    SQL> AUDIT DROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL; 
    A. One audit record is created for every successful DROP TABLE command executed in the session of SCOTT 
    B. One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to other users 
    C. One audit record is created for the whole session if user SCOTT successfully drops one or more tables in his session 
    D. One audit record is created for every session of any other user in which a table owned by SCOTT is dropped successfully  
    E. One audit record is created for every successful DROP TABLE command executed by any user to drop tables owned by SCOTT 
    Answer: C 

    审计

    35、

    35.User A executes the following command to drop a large table in your database: 
    SQL> DROP TABLE trans; 
    While the drop table operation is in progress; user B executes the following command on the same table; 
    SQL> DELETE FROM trans WHERE tr_type='SL'; 
    Which statement is true regarding the DELETE command? 
    A. It fails to delete the records because the records are locked in the SHARE mode 
    B. It deletes the rows successfully because the table is locked in the SHARE mod 
    C. It fails to delete the records because the table is locked in EXCLUSIVE mode 
    D. It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode 
    Answer: C

    An exclusive DDL lockprevents other sessions from obtaining a DDL or DML lock

  • 相关阅读:
    测分用例模板
    功能测试用例设计(24方法)
    pycharm
    Mac-peizhi
    基于Java BufferedImage实现识别图片中的黑色矩形
    Soap从入门到实战
    实列+JVM讲解类的实列化顺序
    基于Springboot的BaseService和BaseController
    Kendo-Grid for Vue API and Template
    web项目jsp中无法引入js问题
  • 原文地址:https://www.cnblogs.com/huanhuanang/p/5341498.html
Copyright © 2011-2022 走看看