单项选择题

You issue the following code:  
 EXEC DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP       
(’SCOTT’ ’GRP1’, TRUE);  
What will be the result of executing the above code?()  

A. The switch privilege will be granted to the user, Scott, for changing the consumer group to GRP1.
B. The switch privilege will be granted to the user, Scott, for changing the consumer group from GRP1 to any other group.
C. The code will not execute successfully because there is no GRANT_SWITCH_CONSUMER_GROUP procedure in the DBMS_RESOURCE_MANAGER_PRIVS package.
D.The code will execute successfully but no privilege will be granted to the user, Scott.


您可能感兴趣的试卷

你可能感兴趣的试题

3.单项选择题

You are using the Database Resource Manager to manage database resources. You created a resource plan directive for the MANAGERS resource consumer group under the SALES_PLAN by using the following statement:  
SQL>EXEC DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE  
(PLAN => ’SALES_PLAN’,  
GROUP_OR_SUBPLAN => ’MANAGERS’,  
CPU_P1 => 100, CPU_P2 =>0,  
SWITCH_GROUP => ’CLERKS’,  
SWITCH_TIME_IN_CALL => 600);  
A user, SCOTT, who is assigned to the MANAGERS group, starts a database session and executes a query on the database. What is the outcome if the query takes approximately 15 minutes to complete?()  

A. The query starts under the CLERKS group and the user, SCOTT, switches back to the MANAGERS group after the query completes.
B. The query starts under the MANAGERS group but terminates with an error when the execution time exceeds 10 minutes.
C. The query starts under the MANAGERS group and switches automatically to the CLERKS group when the execution time exceeds 10 minutes. The query does not switch back to the MANAGERS group after the query completes.
D. The query starts under the MANAGERS group, the user SCOTT switches automatically to the CLERKS group when the execution time exceeds 10 minutes, and then switches back to the MANAGERS group after the query completes.

4.单项选择题

Click the Exhibit(s) button to view the DEPARTMENTS plan. 


After analyzing the Exhibit, what conclusion will you draw?()  

A. The CPU cannot be assigned to the members of the SYS_GROUP group.
B. The members of the OTHER_GROUPS group will always be assigned 100 percent CPU.
C. The members of the OTHER_GROUPS group will never be assigned 100 percent CPU.
D. The members of the OTHER_GROUPS group will be assigned 100 percent CPU if the CPU is not assigned to the members of the SYS_GROUP group and the PAYROLL, SALES, and MARKETING groups.

5.单项选择题

You issued the following statement:  
SQL> ALTER SESSION SET NLS_LANG=FRENCH_CANADA.WE8ISO8859P1;  
Which parameter is NOT overridden by using the above statement?()  

A. the value of the NLS_LANGUAGE variable
B. the value of the NLS_TERRITORY variable
C. the value of the NLS_CURRENCY variable
D.the character encoding scheme used by the client application

6.单项选择题

Your Oracle10g database contains a table with a TIMESTAMP TO LOCAL TIME ZONE column. There are about two hundred column values for the column. You issued the following statement:  
SQL> ALTER DATABASE SET TIME_ZONE =’Europe/London’;  
What will be the result of issuing the above statement?()

A. The statement will be executed successfully, and a new time zone will be set for the database.
B. The statement will be executed successfully, but a new time zone will not be set for the database.
C. The statement will not be executed successfully because the SET TIME_ZONE clause can be used only with the ALTER SESSION statement.
D. The statement will not be executed successfully because the ALTER DATABASE SET TIME_ZONE statement is used only when the database contains no table with the TIMESTAMP TO LOCAL TIME ZONE column.

9.单项选择题

You issued the following command at the UNIX environment:  
% setenv ORA_SDTZ ’OZ_TZ’  
What will be the impact of issuing the above command?()  

A. The operating system local time zone will be set for a user session using the operating system environment variable.
B. The database local time zone will be set for a user session using the operating system environment variable.
C. The operating system local time zone will be set for the database using the operating system environment
D. The database local time zone will be set for the database using the operating system environment variable.

最新试题

Your database operates in ARCHIVELOG mode and all the tablespaces are online. Due to a user error, you decided to perform an incomplete recovery. Which two tasks would you be required to perform in the recovery process? ()

题型:多项选择题

You are working on an Oracle Database 10g database. Because of data loss, you decided to perform a Flashback Database operation using the following command: SQL> FLASHBACK DATABASE TO TIMESTAMP(SYSDATE 5/24); Which two statements are true? ()

题型:多项选择题

You are working on Oracle Database 10g, which is in ARCHIVELOG mode. All the archived log files are intact. In which scenario would performing a recovery require the opening of the database with the RESETLOGS option?()

题型:单项选择题

The current time is 12:00 noon. You want to recover the USERS tablespace from a failure that occurred at 11:50 a.m. You discover that the only member of an unarchived redo log group containing information from 11:40 a.m. onwards is corrupt. With reference to this scenario, if you are not using Recovery Manager (RMAN), which recovery method would you use?()

题型:单项选择题

Your database operates in ARCHIVELOG mode. User­managed consistent backups are performed every Sunday night. On Tuesday, client A drops a table at 8:00 a.m. as follows: SQL> DROP TABLE cust_ord PURGE; Table dropped. Client B executes a query at 9:00 a.m. on the same table as follows: SQL> SELECT * FROM cust_ord;SELECT * FROM cust_ord* ERROR at line 1: ORA­00942: table or view does not exist Client B needs the dropped table and reports the problem to you. With reference to this scenario, which action should you take?()

题型:单项选择题

The loss of the control file forced you to re­create the control file. After re­creating it and opening the database, you find that some of the data files are named as MISSINGnnnnn, where nnnnn is a five­digit number starting with 0. What could be the possible reason?()

题型:单项选择题

You enabled the flashback logging feature, but you have not specified the location of the flash recovery area. Which location would be used as the default location for the flash recovery area?()

题型:单项选择题

In your database, all the tablespaces are locally managed. You started Recovery Manager (RMAN) using recovery catalog. The following commands are used in the process of recovering the database by using the backup control file: In what sequence would you use this process to perform the recovery?()

题型:单项选择题

You have a read­only tablespace on read­only media. You want to perform a media recovery on the existing data files, but using a backup control file. The backup control file indicates that the status of the read­only tablespace was read/write when the control file was backed up. What should you consider?()

题型:单项选择题

You lost the index tablespace in your database. You decided to re­create the index tablespace and the indexes in the tablespace. What methods can you use to re­create the indexes?()

题型:多项选择题