码迷,mamicode.com
首页 > 其他好文 > 详细

052(二十六)

时间:2016-04-07 09:32:47      阅读:281      评论:0      收藏:0      [点我收藏+]

标签:

126、

126.The user SCOTT owns the CUST table that is placed in the SALES tablespace. 
The user SCOTT opens a session and executes commands as follows:
SQL> INSERT INTO cust VALUES(101, JACK);
1 row created. 
SQL> INSERT INTO cust VALUES(102, SMITH);
1 row created.
As a DBA, you execute the following command from another session:
ALTER TABLESPACE sales READ ONLY;
Which statement is true regarding the effect of this command on the transaction in Scotts session?
A. The command fails as a transaction is still pending. 
B. The transaction in Scotts session is rolled back and the tablespace becomes readonly. 
C. The command waits and the user SCOTT can execute data manipulation language (DML) statements only as part of the current transaction. 
D. The command hangs until all transactions on the objects in the tablespace commit or rollback, and then the tablespace is placed in readonly mode. 
技术分享
Answer: D
View Code

 

127、

127.You plan to configure the new Oracle Database 11g installation by performing these tasks: 
-Use Automatic Storage Management (ASM) as the storage option. 
-Use Oracle Enterprise Manager Database Control to manage the database. 
-Provide the same password for SYS, SYSTEM, SYSMAN, and DBSNMP accounts during the installation. 
-Configure the database to send email notifications. 
Some tools available to you for installation are: 
1: Oracle Universal Installer (OUI) 
2: Database Configuration Assistant (DBCA) 
3: Database Upgrade Assistant (DBUA) 
4: Oracle Net Configuration Assistant 
Which tools would you use for this installation? 
A. 2 
B. 3 
C. 1 and 2 
D. 3 and 4 
E. 1,2 and 4
技术分享
Answer: E
View Code

 

128、

128.Which three descriptions are correct about the effects of the TRUNCATE command on a table? (Choose three.) 
A. The corresponding indexes for the table are also truncated. 
B. Delete triggers on the table are fired during the execution of the TRUNCATE command. 
C. The child table is truncated when the TRUNCATE command is applied on the parent table. 
D. The highwater mark (HWM) is set to point to the first usable data block in the table segment. 
E. No undo or very little undo data is generated during the execution of the TRUNCATE command. 
技术分享
Answer: ADE
View Code

 

129、

129.The tnsnames.ora file has an entry for the service alias ORCL as follows:
ORCL =
(DESCRIPTION = 
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.156.24.216)(PORT = 1521)) (CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.oracle.com)
)
)
The TNSPING command executes successfully when tested with ORCL, but you are not able to connect 
to the database instance with the following command:
SQL> CONNECT scott/tiger@orcl
What could be the reason for this?
A. The listener is not running on the database node. 
B. The TNS_ADMIN environmental variable is set to a wrong value. 
C. The orcl.oracle.com database service is not registered with the listener. 
D. The DEFAULT_DOMAIN parameter is set to a wrong value in the sqlnet.ora file. 
技术分享
Answer: C
View Code

 

130、

130.You suspect unauthorized data manipulation language (DML) operations on a particular table. You 
want to track users who are performing the transactions and the values used in the transactions. You also 
plan to transfer these values to another table for analysis. 
How would you achieve this? 
A. by using triggers 
B. by using Data Pump 
C. by using external tables 
D. by using anonymous PL/SQL blocks
技术分享
Answer: A
View Code

 

052(二十六)

标签:

原文地址:http://www.cnblogs.com/huanhuanang/p/5362081.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!