131. Which naming method uses the tnsnames.ora file to store the connect descriptor used by the client
while connecting to the database instance from a remote machine?
A.host naming method
B.local naming method
C.external naming method
D.directory naming method
Answer: B
答案解析:
Configuring the Local Naming Method
The local naming method adds net service names to the tnsnames.ora file. Each net service name maps to a connect descriptor.
Example 8-2 shows the net service name sales mapped to the connect
descriptor contained in DESCRIPTION. The DESCRIPTION section contains the protocol address and identifies the destination database service. In this example, the protocol is TCP/IP and
the port is 1521.
Example 8-2 Connector Descriptor
sales=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=sales-server)(PORT=1521))
(CONNECT_DATA=
(SERVICE_NAME=sales.us.example.com)))
Example 8-3 shows a valid tnsnames.ora entry to connect to a
host identified with an IPv6 address and a port number of 1522.