OCP-1Z0-052-V8.02-114题

来源:互联网 发布:淘宝司法拍卖房产信息 编辑:程序博客网 时间:2024/05/22 06:22

114. You plan to implement the distributed database system in your company. You invoke Database

Configuration Assistant (DBCA) to create a database on the server. During the installation, DBCA prompts

you to specify the Global Database Name. 

What must this name be made up of?

A.It must be made up of a database name and a domain name.

B.It must be made up of the value in ORACLE_SID and HOSTNAME.

C.It must be made up of the value that you plan to assign for INSTANACE_NAME and HOSTNAME.

D.It must be made up of the value that you plan to assign for ORACLE_SID and SERVICE_NAMES. 

Answer: A  

答案解析:

参考:http://docs.oracle.com/cd/E11882_01/server.112/e25494/ds_admin.htm#i1007592


 A global database name is formed from two components: a database name and a domain. 


A global database name is formed from two components: a database name and a domain. The database name and the domain name are determined by the following initialization parameters at database creation:

ComponentParameterRequirementsExampleDatabase nameDB_NAMEMust be eight characters or less.salesDomain containing the databaseDB_DOMAINMust follow standard Internet conventions. Levels in domain names must be separated by dots and the order of domain names is from leaf to root, left to right.us.example.com

These are examples of valid global database names:

DB_NAMEDB_DOMAINGlobal Database Namesalesexample.comsales.example.comsalesus.example.comsales.us.example.commktgus.example.commktg.us.example.compayrollexample.orgpayroll.example.org

The DB_DOMAIN initialization parameter is only important at database creation time when it is used, together with the DB_NAME parameter, to form the database global name. At this point, the database global name is stored in the data dictionary. You must change the global name using an ALTER DATABASE statement, notby altering the DB_DOMAIN parameter in the initialization parameter file. It is good practice, however, to change the DB_DOMAIN parameter to reflect the change in the domain name before the next database startup.