35.You executed the command to create a password file in the database server:
2016-07-19 14:31
513 查看
35.You executed the command to create a password file in the database server:
$ orapwd file=orapworcl entries=5 ignorecase=N
Which statement describes the purpose of the above password file?
A.It records usernames and passwords of users when granted the DBA role.
B.It contains usernames and passwords of users for whom auditing is enabled.
C.It is used by Oracle to authenticate users for remote database administration.
D.It records usernames and passwords of all users when they are added to OSDBA or OSOPER operating system groups.
答案:C
解析:这里是选择C
这个命令是创建密码文件的
--首先我们删除密码文件
[oracle@wahaha3 dbs]$ ls | grep orapw$ORACLE_SID
orapwwahaha3
[oracle@wahaha3 dbs]$ rm orapwwahaha3
[oracle@wahaha3 dbs]$ ls | grep orapw$ORACLE_SID
[oracle@wahaha3 dbs]$
SQL> select * from v$pwfile_users;
no rows selected
[oracle@wahaha3 dbs]$ sqlplus sys/oracle@wahaha3 as sysdba
ERROR:
ORA-01031: insufficient privileges
[oracle@wahaha3 dbs]$ orapwd file=/u01/oracle/11g/dbs/orapwwahaha3 password=oracle
[oracle@wahaha3 dbs]$ ls | grep orapw$ORACLE_SID
orapwwahaha3
[oracle@wahaha3 dbs]$ sqlplus sys/oracle@wahaha3 as sysdba
SQL>
$ orapwd file=orapworcl entries=5 ignorecase=N
Which statement describes the purpose of the above password file?
A.It records usernames and passwords of users when granted the DBA role.
B.It contains usernames and passwords of users for whom auditing is enabled.
C.It is used by Oracle to authenticate users for remote database administration.
D.It records usernames and passwords of all users when they are added to OSDBA or OSOPER operating system groups.
答案:C
解析:这里是选择C
这个命令是创建密码文件的
--首先我们删除密码文件
[oracle@wahaha3 dbs]$ ls | grep orapw$ORACLE_SID
orapwwahaha3
[oracle@wahaha3 dbs]$ rm orapwwahaha3
[oracle@wahaha3 dbs]$ ls | grep orapw$ORACLE_SID
[oracle@wahaha3 dbs]$
SQL> select * from v$pwfile_users;
no rows selected
[oracle@wahaha3 dbs]$ sqlplus sys/oracle@wahaha3 as sysdba
ERROR:
ORA-01031: insufficient privileges
[oracle@wahaha3 dbs]$ orapwd file=/u01/oracle/11g/dbs/orapwwahaha3 password=oracle
[oracle@wahaha3 dbs]$ ls | grep orapw$ORACLE_SID
orapwwahaha3
[oracle@wahaha3 dbs]$ sqlplus sys/oracle@wahaha3 as sysdba
SQL>
相关文章推荐
- 2.Which two statements are true about the Automatic Workload Repository (AWR)
- 3.While observing the index statistics, you find that an index is highly fragmented, thereby resulti
- 4.Your test database is running in NOARCHIVELOG mode. Which statement is true regarding the type of
- 5.The database instance is currently using SPFILE. View the Exhibit and examine the error that you
- 6.Note the following points describing various utilities in Oracle Database 11g:
- 7.You have issued a SHUTDOWN ABORT command to bring down your database instance. Considerthe steps t
- 8.Observe the information in the columns:
- 9.View the Exhibit and examine the privileges granted to the SL_REP user.
- 10.Examine the following statement that is used to modify the constraint on the SALES table:
- 11.Identify the memory component from which memory may be allocated for:
- 12.Which is the correct description of a pinned buffer in the database buffer cache?
- 13.You have executed this command to change the size of the database buffer cache:
- 14.These are points that describe the contents of different memory components:
- 15.Which two statements are true about Shared SQL Area and Private SQL Area? (Choose two.)
- 16.Note the following functionalities of various background processes:
- 17.Note the functionalities of various background processes:
- 18.View the Exhibit and identify the component marked with a question mark.
- 19.Which two statements about the background process of the database writer are true? (Choose two.)
- 20.You have set Tablespace Full Metrics Threshold values for the USERS tablespace as follows:
- 21.Which three statements are true about logical structures of the Oracle database? (Choose three.)