网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
You execute the following set of commands to create a database user and to grant the system privileges in your production environment.  SQL> CREATE USER user01  IDENTIFIED BY oracle DEFAULT TABLESPACE tbs1  TEMPORARY TABLESPACE temp PROFILE default  /  SQL> GRANT create session, create table TO user01; While executing the command to create a table, the user gets the following error message and the CREATE TABLE.. command fails.  ERROR at line 1: ORA-01950: no privileges on tablespace  What could be the possible reason for this error message?()
A

The tablespace TBS1 is full.

B

The user is not the owner of the SYSTEM tablespace.

C

The user does not have quota on the TBS1 tablespace.

D

The user does not have sufficient system privileges to create table in the TBS1 tablespace.

E

The user does not have sufficient privileges to create table on the default permanent tablespace.


参考答案

参考解析
解析: 暂无解析
更多 “单选题You execute the following set of commands to create a database user and to grant the system privileges in your production environment.  SQL CREATE USER user01  IDENTIFIED BY oracle DEFAULT TABLESPACE tbs1  TEMPORARY TABLESPACE temp PROFILE default  /  SQL GRANT create session, create table TO user01; While executing the command to create a table, the user gets the following error message and the CREATE TABLE.. command fails.  ERROR at line 1: ORA-01950: no privileges on tablespace  What could be the possible reason for this error message?()A The tablespace TBS1 is full.B The user is not the owner of the SYSTEM tablespace.C The user does not have quota on the TBS1 tablespace.D The user does not have sufficient system privileges to create table in the TBS1 tablespace.E The user does not have sufficient privileges to create table on the default permanent tablespace.” 相关考题
考题 A user executes a query on the EMP table, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error: SQL SELECT ename FROM emp WHERE deptno=10 ORDER BY sal; SELECT ename FROM emp WHERE deptno=10 ORDER BY sal  *  ERROR at line 1:  ORA/x7f01157: cannot identify/lock data file 201 /x7f see DBWR trace file  ORA/x7f01110: data file 201: ’/u01/app/oracle/oradata/orcl/temp01.dbf’  What is a possible reason?()A、The tempfile belonging to the default temporary tablespace is missing.B、The database is opened in restricted mode, so queries are not allowed.C、The default temporary tablespace required to execute the query is offline.D、The default temporary tablespace required to execute the query is dropped.E、The default temporary tablespace required to execute the query is read­only.

考题 A user executes a query on the EMPtable, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error:  SQL SELECT ename FROM emp WHERE deptno=10 ORDER BY sal;  SELECT ename FROM emp WHERE deptno=10 ORDER BY sal  ERROR at line 1:  ORA-01157: cannot identify/lock data file  201 - see DBWR trace file ORA-01110: data file 201:’/u01/app/oracle/oradata/orcl/temp01.dbf’  What is a possible reason?()A、 The tempfile belonging to the default temporary tablespace is missing.B、 The database is opened in restricted mode, so queries are not allowedC、 The default temporary tablespace required to execute the query is offline.D、 The default temporary tablespace required to execute the query is dropped.E、 The default temporary tablespace required to execute the query is read-only.

考题 Twenty database users are connected to your database. Five of the users are running long queries involving sort operations. The TEMP tablespace is the default temporary tablespace for your database. You are performing offline tablespace backups of individual tablespaces and erroneously execute the following statement:   SQLALTER TABLSPACE temp OFFLINE NORMAL;   What is the result of this statement?()A、 The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected after their queries complete.B、 The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected and must re-execute their queries.C、 The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are not disconnected, but these users must re-execute their queries.D、 The TEMP tablespace is not taken offline. The users using the TEMP tablespace for sorting are not disconnected, and their queries execute successfully.

考题 Consider the following command to create a tablespace in your production database (which is using an Automatic Storage Management [ASM] instance to manage the database files):  CREATE TABLESPACE user_tbsp  DATAFILE ’+dgroup3(user_temp)/user_files/user_tbsp’ SIZE 200M;  What would be the result of this command?()A、It would result in an error because the template cannot be used along with the disk group.B、It would result in an error because the path cannot be specified while creating a tablespace in a disk group.C、It would create a tablespace with a data file that has an alias, and its attributes are set by the user-defined template.D、It would create a tablespace with a data file that does not have an alias, and its attributes are set by the user-defined template.

考题 You lost a temporary file that belongs to the default temporary tablespace in your database. From the options provided, which approach would you take to solve the problem? ()A、flash back the databaseB、import the temporary tablespace from the last exportC、restore all the data files and temporary files from the last full database backup and perform a recoveryD、not perform a recovery, but create a new temporary tablespace, make it the default temporary tablespace and then drop the old tablespace

考题 You have three temporary tablespace groups named G1, G2, and G3 in your database. You are creating a new temporary tablespace as follows: CREATE TEMPORARY TABLESPACE TEMP1 TEMPFILE '/u1/data/temp1.dbf' SIZE 10M TABLESPACE GROUP ''; Which statement regarding the above command is correct?()A、It will create the tablespace TEMP1 in group G1.B、It will create the tablespace TEMP1 in group G3.C、It will not add the tablespace TEMP1 to any group.D、It will create the tablespace TEMP1 in the default group.

考题 You are creating a recovery catalog for use with RMAN. You have issued these commands: SQL CREATE TABLESPACE rman_ts DATAFILE  ’/DISK1/rman_ts01.dbf’ 2 SIZE 20M 3 DEFAULT STORAGE (initial 100K next 100K pctincrease 0); SQL CREATE USER rman_db01 IDENTIFIED BY rman_db01 2 DEFAULT TABLESPACE rman_ts 3 QUOTA unlimited ON rman_ts;  Which command should you issue next?()A、RESYNC CATALOG;B、REGISTER DATABASE;C、CREATE CATALOG TABLESPACE rman_ts;D、GRANT recovery_catalog_owner TO rman_db01;

考题 You execute the following set of commands to create a database user and to grant the system privileges in your production environment.  SQL CREATE USER user01  IDENTIFIED BY oracle DEFAULT TABLESPACE tbs1  TEMPORARY TABLESPACE temp PROFILE default  /  SQL GRANT create session, create table TO user01; While executing the command to create a table, the user gets the following error message and the CREATE TABLE.. command fails.  ERROR at line 1: ORA-01950: no privileges on tablespace  What could be the possible reason for this error message?()A、The tablespace TBS1 is full.B、The user is not the owner of the SYSTEM tablespace.C、The user does not have quota on the TBS1 tablespace.D、The user does not have sufficient system privileges to create table in the TBS1 tablespace.E、The user does not have sufficient privileges to create table on the default permanent tablespace.

考题 While creating a database using Database Configuration Assistant tool, you created a database default temporary tablespace. Which activity would cause the default temporary tablespace of the database to be used?()A、the CREATE TABLE .. commandB、sorting of the SYSTEM tablespace’s dataC、sorting of data required by recursive SQL statementsD、the CREATE TABLE .. ORGANIZATION EXTERNAL .. commandE、sorting of data if the users have not been allocated temporary tablespace explicitlyF、sorting of data if the users have been allocated temporary tablespace explicitly

考题 You have been asked to create three users, PUB1, PUB2 and PUB3, for three newly hired employees and to allocate unlimited quota on their default tablespace PUBLISHER_TBS with no other privileges. After creating the users, which method can you use for granting the required privileges?()A、grant CONNECT role to all of the three usersB、grant RESOURCE role to all of the three usersC、grant both CONNECT and RESOURCE role to all of the three usersD、execute ALTER USER .. QUOTA UNLIMITED ON publisher_tbs command for all of the three usersE、create role with UNLIMITED TABLESPACE system privilege and assign the role to all of the three users

考题 Examine the commands executed in a DBA session:SQL CREATE BIGFILE TABLESPACE MRKT 2 DATAFILE ’/u01/app/oracle/oradata/orcl/mrkt.dbf’ size 10M LOGGING 3 EXTENT MANAGEMENT LOCALSEGMENT SPACE MANAGEMENT AUTO; Tablespace created. SQL ALTER DATABASE DEFAULT TABLESPACE MRKT; Database altered.  Which two statements are trueregarding the MRKT tablespace()A、No more data files can be added to the tablespace.B、Segment space is managed by free lists in the tablespace.C、A user created without being assigned a default tablespace uses this tablespace.D、The tablespace can be dropped with the current setting with segments present in it

考题 Your database contains two temporary tablespaces named TEMP and TEMP1. The TEMP tablespace is the default temporary tablespace for the database, and the TEMP1 tablespace was created at database creation. You want to increase the size of the tempfile for the TEMP tablespace and drop the TEMP1 tablespace from the database. The database is not using Oracle-Managed Files (OMF). Which statement must you use to ensure that when you drop the TEMP1 tablespace from the database, its corresponding operating system file is also deleted?()A、 DROP TABLESPACE temp1;B、 DROP TABLESPACE temp1 INCLUDING CONTENTS;C、 DROP TABLESPACE temp1 INCLUDING CONTENTS AND DATAFILES;D、 DROP TABLESPACE temp1 INCLUDING CONTENTS CASCADE CONSTRAINTS;

考题 While setting up the database for your production environment, you want to create a user with following requirements.   1.The objects created by the user must be stored in a tablespace, TBS1, if the  TABLESPACE option is not defined during the object creation.   2.The user should be able to use 10MB of space in the tablespace TBS1.   3.The user must change the password immediately after logging in for the first time.   Which three options of the CREATE USER command would you use to achieve this objective?()A、profileB、account lockC、account unlockD、password expireE、quota 10MB on TBS1F、password never expireG、default tablespace TBS1H、quota unlimited on TBS1I、temporary tablespace TEMPJ、temporary tablespace SYSTEM

考题 You have three temporary tablespace groups named G1, G2, and G3 in your database. You are creating a new temporary tablespace as follows:   CREATE TEMPORARY TABLESPACE TEMP1 TEMPFILE ’/u1/data/temp1.dbf’ SIZE 10M TABLESPACE GROUP ;   Which statement regarding the above command is correct?()  A、 It will create the tablespace TEMP1 in group G1.B、 It will create the tablespace TEMP1 in group G3.C、 It will not add the tablespace TEMP1 to any group.D、 It will create the tablespace TEMP1 in the default group.

考题 Consider the following command to create a tablespace in your production database (which is using an Automatic Storage Management [ASM] instance to manage the database files): CREATE TABLESPACE user_tbsp DATAFILE ’+dgroup3 (usder_temp) /user_files/user_tbsp’ SIZE 200M; What would be the result of this command?()A、 It would result in an error because the template cannot be used along with the disk group.B、 It would result in an error because the path cannot be specified while creating a tablespace in a disk group.C、 It would create a tablespace with a data file that has an alias, and its attributes are set by the user-defined template.D、 It would create a tablespace with a data file that does not have an alias, and its attributes are set by the user-defined template.

考题 单选题You have three temporary tablespace groups named G1, G2, and G3 in your database. You are creating a new temporary tablespace as follows:   CREATE TEMPORARY TABLESPACE TEMP1 TEMPFILE ’/u1/data/temp1.dbf’ SIZE 10M TABLESPACE GROUP ;   Which statement regarding the above command is correct?()A  It will create the tablespace TEMP1 in group G1.B  It will create the tablespace TEMP1 in group G3.C  It will not add the tablespace TEMP1 to any group.D  It will create the tablespace TEMP1 in the default group.

考题 单选题While creating a database using Database Configuration Assistant tool, you created a database default temporary tablespace. Which activity would cause the default temporary tablespace of the database to be used?()A the CREATE TABLE .. commandB sorting of the SYSTEM tablespace’s dataC sorting of data required by recursive SQL statementsD the CREATE TABLE .. ORGANIZATION EXTERNAL .. commandE sorting of data if the users have not been allocated temporary tablespace explicitlyF sorting of data if the users have been allocated temporary tablespace explicitly

考题 单选题A user executes a query on the EMPtable, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error:  SQL SELECT ename FROM emp WHERE deptno=10 ORDER BY sal;  SELECT ename FROM emp WHERE deptno=10 ORDER BY sal  ERROR at line 1:  ORA-01157: cannot identify/lock data file  201 - see DBWR trace file ORA-01110: data file 201:’/u01/app/oracle/oradata/orcl/temp01.dbf’  What is a possible reason?()A  The tempfile belonging to the default temporary tablespace is missing.B  The database is opened in restricted mode, so queries are not allowedC  The default temporary tablespace required to execute the query is offline.D  The default temporary tablespace required to execute the query is dropped.E  The default temporary tablespace required to execute the query is read-only.

考题 单选题Twenty database users are connected to your database. Five of the users are running long queries involving sort operations. The TEMP tablespace is the default temporary tablespace for your database. You are performing offline tablespace backups of individual tablespaces and erroneously execute the following statement:   SQLALTER TABLSPACE temp OFFLINE NORMAL;   What is the result of this statement?()A  The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected after their queries complete.B  The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are disconnected and must re-execute their queries.C  The TEMP tablespace is taken offline. The users using the TEMP tablespace for sorting are not disconnected, but these users must re-execute their queries.D  The TEMP tablespace is not taken offline. The users using the TEMP tablespace for sorting are not disconnected, and their queries execute successfully.

考题 多选题While setting up the database for your production environment, you want to create a user with following requirements.   1.The objects created by the user must be stored in a tablespace, TBS1, if the  TABLESPACE option is not defined during the object creation.   2.The user should be able to use 10MB of space in the tablespace TBS1.   3.The user must change the password immediately after logging in for the first time.   Which three options of the CREATE USER command would you use to achieve this objective?()AprofileBaccount lockCaccount unlockDpassword expireEquota 10MB on TBS1Fpassword never expireGdefault tablespace TBS1Hquota unlimited on TBS1Itemporary tablespace TEMPJtemporary tablespace SYSTEM

考题 单选题Consider the following command to create a tablespace in your production database (which is using an Automatic Storage Management [ASM] instance to manage the database files): CREATE TABLESPACE user_tbsp DATAFILE ’+dgroup3 (usder_temp) /user_files/user_tbsp’ SIZE 200M; What would be the result of this command?()A  It would result in an error because the template cannot be used along with the disk group.B  It would result in an error because the path cannot be specified while creating a tablespace in a disk group.C  It would create a tablespace with a data file that has an alias, and its attributes are set by the user-defined template.D  It would create a tablespace with a data file that does not have an alias, and its attributes are set by the user-defined template.

考题 单选题Consider the following command to create a tablespace in your production database (which is using an Automatic Storage Management [ASM] instance to manage the database files):  CREATE TABLESPACE user_tbsp  DATAFILE ’+dgroup3(user_temp)/user_files/user_tbsp’ SIZE 200M;  What would be the result of this command?()A It would result in an error because the template cannot be used along with the disk group.B It would result in an error because the path cannot be specified while creating a tablespace in a disk group.C It would create a tablespace with a data file that has an alias, and its attributes are set by the user-defined template.D It would create a tablespace with a data file that does not have an alias, and its attributes are set by the user-defined template.

考题 单选题You have three temporary tablespace groups named G1, G2, and G3 in your database. You are creating a new temporary tablespace as follows: CREATE TEMPORARY TABLESPACE TEMP1 TEMPFILE '/u1/data/temp1.dbf' SIZE 10M TABLESPACE GROUP ''; Which statement regarding the above command is correct?()A It will create the tablespace TEMP1 in group G1.B It will create the tablespace TEMP1 in group G3.C It will not add the tablespace TEMP1 to any group.D It will create the tablespace TEMP1 in the default group.

考题 单选题You have three temporary tablespace groups named G1, G2, and G3 in your database. You are creating a new temporary tablespace as follows: CREATE TEMPORARY TABLESPACE TEMP1 TEMPFILE /u1/data/temp1.dbf SIZE 10M TABLESPACE GROUP ;Which statement regarding the above command is correct?()A It will create the tablespace TEMP1 in group G1B It will create the tablespace TEMP1 in group G3 C It will not add the tablespace TEMP1 to any groupD It will create the tablespace TEMP1 in the default groupE It will throw an error with message 'specified group is not availableF It will create a new group with a system-generated name and add the tablespace TEMP1 to it.

考题 单选题You lost a temporary file that belongs to the default temporary tablespace in your database. From the options provided, which approach would you take to solve the problem?()A  flash back the databaseB  import the temporary tablespace from the last exportC  restore all the data files and temporary files from the last full database backup and perform a recoveryD  not perform a recovery, but create a new temporary tablespace, make it the default temporary tablespace and then drop the old tablespace

考题 单选题A user executes a query on the EMP table, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error: SQL SELECT ename FROM emp WHERE deptno=10 ORDER BY sal; SELECT ename FROM emp WHERE deptno=10 ORDER BY sal  *  ERROR at line 1:  ORA/x7f01157: cannot identify/lock data file 201 /x7f see DBWR trace file  ORA/x7f01110: data file 201: ’/u01/app/oracle/oradata/orcl/temp01.dbf’  What is a possible reason?()A The tempfile belonging to the default temporary tablespace is missing.B The database is opened in restricted mode, so queries are not allowed.C The default temporary tablespace required to execute the query is offline.D The default temporary tablespace required to execute the query is dropped.E The default temporary tablespace required to execute the query is read­only.

考题 单选题Your database contains two temporary tablespaces named TEMP and TEMP1. The TEMP tablespace is the default temporary tablespace for the database, and the TEMP1 tablespace was created at database creation. You want to increase the size of the tempfile for the TEMP tablespace and drop the TEMP1 tablespace from the database. The database is not using Oracle-Managed Files (OMF). Which statement must you use to ensure that when you drop the TEMP1 tablespace from the database, its corresponding operating system file is also deleted?()A  DROP TABLESPACE temp1;B  DROP TABLESPACE temp1 INCLUDING CONTENTS;C  DROP TABLESPACE temp1 INCLUDING CONTENTS AND DATAFILES;D  DROP TABLESPACE temp1 INCLUDING CONTENTS CASCADE CONSTRAINTS;