zoukankan      html  css  js  c++  java
  • 052(四十)

    196、View the Exhibit and note the files available in the $ORACLE_HOME/dbs folder. The ASM instance is already running. 

    You used the following steps to start the database instance and open the database:

    [oracle@edt4r4p1 dbs]$ echo $ORACLE_SID
    orcl
    [oracle@edt4r4p1 dbs]$ sqlplus
    SQL*Plus: Release 11.1.0.6.0 - Production on Tue Oct 16 15:35:43 2007
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Enter user-name: sys/oracle as sysdba
    Connected to an idle instance.
    SQL> STARTUP
    ORACLE instance started.
    ......
    Which file is used to start the instance in this case? 
    A. init.ora 
    B. spfile.ora 
    C. initorcl.ora 
    D. spfile+ASM.ora 
    Answer: B
    
    1. 搜索spfile<SID>.ora。
    2. 如果未找到spfile<SID>.ora,则搜索spfile.ora。
    3. 如果未找到spfile.ora,则搜索init<SID>.ora。
    View Code

    197、

    197.These are points that describe the contents of different memory components: 
    1: Descriptive information or metadata about schema objects that are queried by using SQL statements 
    2: The runtime area for data manipulation language (DML) or data definition language (DDL) statements 
    3: Results of SQL queries and PL/SQL functions 
    4: Executable forms of SQL cursors, PL/SQL programs, and Java classes 
    5: The information necessary to reconstruct changes made to the database by a transaction 
    Which of these will be stored in the Shared Pool if the necessary configurations are done? 
    A. 1 and 2 
    B. 2 and 5 
    C. 1,3, and 4 
    D. 3,4 and 5 
    E. 1,2,3 and 4
    Answer: C 
    View Code

    198、

    198.Examine the commands executed in the following sequence: 
    1: SQL> CREATE ROLE mgrrole;
    2: SQL> GRANT create user,select any table,connect,resource TO mgrrole; 
    3: SQL> GRANT select,update ON sh.sales TO mgrrole;
    4: SQL> CREATE ROLE ceo IDENTIFIED BY boss;
    5: SQL> GRANT mgrrole,drop any table,create any directory TO ceo;
    6: SQL> GRANT ceo TO mgrrole;
    Which statement is true about the above commands? 
    A. The commands execute successfully. 
    B. Command 6 produces an error because of circular role grant. 
    C. Command 5 produces an error because a role cannot be granted to another role. 
    D. Command 3 produces an error because the MGRROLE role already contains system privileges. The table created by HR remains and HR still has the CREATE TABLE system privilege. 
    E. The table created by HR remains and HR can grant the CREATE TABLE system privilege to other users. 
    Answer: B
    View Code

    199、

    199.The instance abnormally terminates because of a power outage. 
    Which statement is true about redo log files during instance recovery? 
    A. Inactive and current redo log files are required to accomplish recovery 
    B. Online and archived redo files are required to accomplish instance recovery 
    C. All redo log entries after the last checkpoint are applied from redo log files to data files 
    D. All redo log entries recorded in the current log file until the checkpoint position are applied to data files 
    Answer: C
    View Code

    200、

    200.Which statement is true about loading data using the conventional path of SQL*Loader? 
    A. Redo is not generated while performing conventional path loads 
    B. Only PRIMARY KEY, UNIQUE KEY and NOT NULL constraints are checked 
    C. No exclusive locks are acquired when the conventional path loads are performed 
    D. Instead of performing transactions, SQL*Loader directly writes data blocks to the data files 
    E. INSERT triggers are disabled before the conventional path load and reenabled at the end of the load 
    Answer: C
    
    直接路径加载:Only PRIMARY KEY, UNIQUE KEY and NOT NULL constraints are checked
    
    常规导入会触发insert触发器;直接路径加载不会触发insert触发器。
    View Code
  • 相关阅读:
    安装paramiko
    pip安装
    json
    java的枚举2
    java学习笔记1
    Myeclipse配置tomcat,以及简单的Myeclipse的配置
    Net分布式系统之四:RabbitMQ消息队列应用
    Net分布式系统之三:Keepalived+LVS+Nginx负载均衡之高可用
    Net分布式系统之二:CentOS系统搭建Nginx负载均衡(下)
    Spring简介
  • 原文地址:https://www.cnblogs.com/huanhuanang/p/5371264.html
Copyright © 2011-2022 走看看