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 Scott's session?A. The command fails as a transaction is still pending. B. The transaction in Scott's 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
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
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
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@orclWhat 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
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