下面给出一个tnsnames.oraNAMES.DIRECTORY_PATH=(TNSNAMES,….)NAMES.DEFAULT_DOMAIN=server.Comtnsnames.ora文件:test=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=testserver)(PORT=1521)))(CONNECT—DATA=(SERVICE—NAME=orcl.testserver.com)))用该网络服务名连接时会出错,下列说法中错误的是()。A、在用户输入sqlplussystem/manager@test后,sqlplus程序会自动到sqlnet.ora文件中找NAMES.DEFAULT_DOMAIN参数B、输入由sqlplussystem/manager@test自动变为sqlplussystemlmanager@test.server.comC、能在tnsnames.ora文件中找到test.server.com网络服务名D、解决的办法就是将sqlnet.ora文件中的NAMES.DEFAULT_DOMAIN参数注释掉

下面给出一个tnsnames.oraNAMES.DIRECTORY_PATH=(TNSNAMES,….)NAMES.DEFAULT_DOMAIN=server.Comtnsnames.ora文件:test=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=testserver)(PORT=1521)))(CONNECT—DATA=(SERVICE—NAME=orcl.testserver.com)))用该网络服务名连接时会出错,下列说法中错误的是()。

  • A、在用户输入sqlplussystem/manager@test后,sqlplus程序会自动到sqlnet.ora文件中找NAMES.DEFAULT_DOMAIN参数
  • B、输入由sqlplussystem/manager@test自动变为sqlplussystemlmanager@test.server.com
  • C、能在tnsnames.ora文件中找到test.server.com网络服务名
  • D、解决的办法就是将sqlnet.ora文件中的NAMES.DEFAULT_DOMAIN参数注释掉

相关考题:

下面的代码,哪一项正确显示了连接到一个现有的数据库?() A.importsqlite3B.C.execute("SELECTid,name,address,salaryfromCOMPANY")C.cursorD.connE.sqlite 3.connect('test.db')F.cG.conn.cursor()

Yourdatabaseisnotconfiguredforsessionfailover.Yourtnsnames.orafilecontainsthefollowingdetails:test.us.oracle.com=(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=off)(FAILOVER=ON)(ADDRESS=(PROTOCOL=tcp)(HOST=test1-server)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=test2-server)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test.us.oracle.com)))Whichfeatureisenabledinthiscase?()A.LoadbalancingB.InstancefailoverC.DatabasefailoverD.Connect-timefailoverE.TransparentApplicationFailover(TAF)

Yourtnsnames.orafilehasthefollowingentryfortheservicealiasORCL:ORCL=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.156.24.216)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl.oracle.com)))TheTNSPINGcommandexecutessuccessfullywhentestedwithORCLbutyouarenotabletoconnecttothedatabaseinstancewiththefollowingcommand:SQLCONNECTscott/tiger@orclWhatcouldbethereasonforthis?()A.Thelistenerisnotrunningattheserver.B.TheTNS_ADMINenvironmentalvariableissettoawrongvalue.C.Theorcl.oracle.comdatabaseserviceisnotregisteredwiththelistener.D.TheDEFAULT_DOMAINparameterissettoawrongvalueintheSQLNET.ORAfile.

如下是某个tnsnames.ora里面的配置, 其中service_name的值与 listener.ora文件中哪个参数的值相对应? db.example.com= (description= (load_balance=on) (address=(protocol=tcp)(host=node1-vip)(port=1521) (address=(protocol=tcp)(host=node2-vip)(port=1521) (connect_data= (service_name=db.example.com)))()A. SID_NAMEB. INSTANCE_NAMEC. GLOBAL_NAMESD. GLOBAL_DBNAME

YouhavejustrunthissyntaxtostartthelistenerfromtheListenerControlutility:LSNRCTLSTARTStarting/mstgelai/oracle/bin/tnslsnr:pleasewait…Systemparameterfileis/u01/oracle/network/admin/listener.oraLogmessageswrittento/u01/oracle/network/log/listener.logListeningon:(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=stc-sun01-server)(PORT=1521)))Connectingto…ThecommandcompletedsuccessfullyWhatisthenameoftheListeneryoustarted?()A.TNSLSNRB.LISTENERC.LOCAL_LISTENERD.DEFAULT_LSRN

A host is attempting to send data to another host on a different network. What is the first action that the sending host will take?() A. Drop the data.B. Send the data frames to the default gateway.C. Create an ARP request to get a MAC address for the receiving host.D. Send a TCP SYN and wait for the SYN ACK with the IP address of the receiving host.

配置channel必须的参数 ()A. name,listen address and listen portB. name,multicastaddress,listen address and listen portC. name, protocol, listen address, listen port

下面给出一个tnsnames.oratest1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=sevel.haunting.com)(Port=1521)))(CONNECT_DATE=(service_name=sevel))test=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=serv2.haunting.com)(Port=1521)))(CONNECT—DATE=(sid-testdb))以下说法错误的是()。A、该文件定义了两个OracleNET服务别名testl,testB、第二个条目test将用户指向同一个机器上的一个侦听器C、第二个条目test请求建立一个针对实例testdb的会话D、第一个条目testl仅仅说明发出连接串时,用户进程应当使用TCP协议到达机器sevel.haunting.com并连接1521端口

A host is attempting to send data to another host on a different network. What is the first action that the sending host will take?()A、Drop the data.B、Send the data frames to the default gateway.C、Create an ARP request to get a MAC address for the receiving host.D、Send a TCP SYN and wait for the SYN ACK with the IP address of the receiving host.

You work as a network technician at Company. Your boss, Mrs., is interested in  LWAPP (Lightweight Access Point Protocol).  What should you tell her regarding this technology?  ()A、 LWAPP is a proprietary protocol, and because of its very high overhead it is not widely adopted.B、 Control traffic is encapsulated in UDP packets with a source port of 1024 and a destination port  of 12223.C、 Layer 3 LWAPP is a UDP/IP Frame that requires a Cisco Aironet AP to obtain an IP address  using DHCP.D、 Data traffic is encapsulated in UDP packets with a source port of 1024 and a destination port of  12223.E、 Control traffic is encapsulated in TCP packets with a source port of 1024 and a destination port  of 12223.F、 Data traffic is encapsulated in TCP packets with a source port of 1024 and a destination port of  12223.

Interface ge-0/0/2.0 of your router is attached to the Internet and is configured with an IP address and network mask of 71.33.252.17/24. A host with IP address 10.20.20.1 is running an HTTP service on TCP port 8080. This host isattached to the ge-0/0/0.0 interface of your router. You must use interface-based static NAT to make the HTTP service on the host reachable from the Internet. On which IP address and TCP port can Internet hosts reach the HTTP service?()A、IP address 10.10.10.1 and TCP port 8080B、IP address 71.33.252.17 and TCP port 80C、IP address 71.33.251.19 and TCP port 80D、IP address 71.33.252.19 and TCP port 8080

Oracle Net Configuration Assistant is a post-installation tool that configures basic network components after installation. Which four components are included in the configuration?()A、Directory serverB、Hostname adaptorC、TCP/IP host fileD、Connection ManagerE、connecting poolingF、external proceduresG、listener names and protocol addressesH、Net Service names in a tnsnames.ora fileI、naming methods the client uses to resolve connect identifiers

You have just run this syntax to start the listener from the Listener Control utility:   LSNRCTLSTART   Starting /mstgelai/oracle/bin/tnslsnr: please wait…  System parameter file is /u01/oracle/network/admin/listener.ora Log messages written to /u01/oracle/network/log/listener.log  Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=stc-sun01-server)(PORT=1521))) Connecting to…  The command completed successfully   What is the name of the Listener you started?()A、TNSLSNRB、LISTENERC、LOCAL_LISTENERD、DEFAULT_LSRN

You are the administrator of a Windows 2000 network. You install Windows 2000 Professional on a new computer and configure the TCP/IP settings to have a static IP address. While testing network connectivity from the new computer, you discover an error in the DNS server address that is configured in the TCP/IP settings. You configure the correct DNS server address, which is 10.1.1.5. However, you are still unable to successfully connect to network resources by name. You run the IPconfig/all command. The results indicate that the DNS server address is now configured as 0.0.0.0 You need to ensure that the computer can connect to network resources by name. What should you do?()A、Stop and restart the DNS Client service.B、Add 10.1.1.5 to the DNS server list on the TCP/IP Advanced Properties tab.C、Add an A (host) record for the computer to the DNS server’s zone file.D、Configure your DHCP server to have a DNS server address of 10.1.1.5.

A Company switch was configured as shown below:  switchport mode access  switchport port-security   switchport port-security maximum 2 switchport port-security mac-address 0002.0002.0002   switchport port-security violation shutdown   Given the configuration output shown above,  what happens when a host with the MAC address of  0003.0003.0003 is directly connected to the switch port? ()A、 The host will be allowed to connect.B、 The port will shut down.C、 The host can only connect through a hub/switch where 0002.0002.0002 is already connected.  D、 The host will be refused access.E、 None of the other alternatives apply

Your tnsnames.ora file has the following entry for the service alias ORCL:  ORCL =  (DESCRIPTION =  (ADDRESS = (PROTOCOL = TCP) (HOST = 10.156.24.216) (PORT = 1521))   (CONNECT_DATA =  (SERVER = DEDICATED) (SERVICE_NAME = orcl.oracle.com)   )   )   The TNSPING command executes successfully when tested with ORCL but you are not able to connect to the database instance with the following command:  SQL CONNECT scott/tiger@orcl  What could be the reason for this?()A、The listener is not running at the server.B、The TNS_ADMIN environmental variable is set to a wrong value.C、The orcl.oracle.com database service is not registered with the listener.D、The DEFAULT_DOMAIN parameter is set to a wrong value in the SQLNET.ORA file.

You connected to the database using the following connection string: CONNECT hr/hr@test.us.oracle.com:1521/mydb  Which three statements are correct regarding the connection string?()A、mydb is a service name.B、test.us.oracle.com is a database name.C、1521 is the listener port number.D、mydb is a host name.E、test.us.oracle.com is a net service name.F、hr is a username.G、test.us.oracle.com is an instance name.

The three tasks shown have been completed in order to configure a naming method: Task 1: Installed on server and client: Oracle Net Services, TCP/IP, TCP/IP protocol adaptor Task 2: Started default listener on port 1521 Task 3: Added global database name to the listener.ora file.  Which naming method was configured?()A、host naming methodB、local naming methodC、directory naming methodD、external naming method

Your database is not configured for session failover. Your tnsnames.ora file contains the following details:  test.us.oracle.com= (DESCRIPTION=  (ADDRESS_LIST= (LOAD_BALANCE=off)   (FAILOVER=ON)   (ADDRESS= (PROTOCOL=tcp)(HOST=test1-server)(PORT=1521))   (ADDRESS= (PROTOCOL=tcp)(HOST=test2-server)(PORT=1521)))   (CONNECT_DATA= (SERVICE_NAME=test.us.oracle.com)))   Which feature is enabled in this case?()A、Load balancingB、Instance failoverC、Database failoverD、Connect-time failoverE、Transparent Application Failover (TAF)

Your company has a domain controller named Server1 that runs Windows Server 2008 and the DNS server role. A server named Server2 runs a custom application. You need to configure DNS to include the following parameters for the custom application: Service Priority Weight Protocol Port Number Host offering this service Which record should you create?()A、 Host Info (HINFO)B、 Service Locator (SRV)C、 Canonical Name (CNAME)D、 Well-Known Service (WKS)

Companycom is trying to communicate with the service processor of the a new p5 590. However, the customer can not access the service processor. What needs to be done to fix this problem?()A、Enable DHCP server on the HMCB、Configure host name and IP address on DNS serverC、Manually set the IP address of the service processorD、Connect a RS-232 cable from the HMC to the service processor

单选题Your database is not configured for session failover. Your tnsnames.ora file contains the following details:  test.us.oracle.com= (DESCRIPTION=  (ADDRESS_LIST= (LOAD_BALANCE=off)   (FAILOVER=ON)   (ADDRESS= (PROTOCOL=tcp)(HOST=test1-server)(PORT=1521))   (ADDRESS= (PROTOCOL=tcp)(HOST=test2-server)(PORT=1521)))   (CONNECT_DATA= (SERVICE_NAME=test.us.oracle.com)))   Which feature is enabled in this case?()ALoad balancingBInstance failoverCDatabase failoverDConnect-time failoverETransparent Application Failover (TAF)

单选题Your tnsnames.ora file has the following entry for the service alias ORCL:  ORCL =  (DESCRIPTION =  (ADDRESS = (PROTOCOL = TCP) (HOST = 10.156.24.216) (PORT = 1521))   (CONNECT_DATA =  (SERVER = DEDICATED) (SERVICE_NAME = orcl.oracle.com)   )   )   The TNSPING command executes successfully when tested with ORCL but you are not able to connect to the database instance with the following command:  SQL CONNECT scott/tiger@orcl  What could be the reason for this?()AThe listener is not running at the server.BThe TNS_ADMIN environmental variable is set to a wrong value.CThe orcl.oracle.com database service is not registered with the listener.DThe DEFAULT_DOMAIN parameter is set to a wrong value in the SQLNET.ORA file.

多选题Oracle Net Configuration Assistant is a post-installation tool that configures basic network components after installation. Which four components are included in the configuration?()ADirectory serverBHostname adaptorCTCP/IP host fileDConnection ManagerEconnecting poolingFexternal proceduresGlistener names and protocol addressesHNet Service names in a tnsnames.ora fileInaming methods the client uses to resolve connect identifiers

多选题You connected to the database using the following connection string: CONNECT hr/hr@test.us.oracle.com:1521/mydb  Which three statements are correct regarding the connection string?()Amydb is a service name.Btest.us.oracle.com is a database name.C1521 is the listener port number.Dmydb is a host name.Etest.us.oracle.com is a net service name.Fhr is a username.Gtest.us.oracle.com is an instance name.

单选题You create a shared Internet connection on a Windows 2000 Professional computer. Your network has 10 users on the LAN. All of the users can connect to HTTP sites, FTP sites, and streaming audio content on the Internet. One of the computers on your LAN is running an FTP host application. Users on the Internet cannot connect to the FTP host on your network. What should you do?()AConfigure the FTP host to accept incoming requests on service port 80.BConfigure an Internet Connection Sharing application type for FTP to use remote server port 23.CConfigure an Internet Connection Sharing service type for FTP use service port 21 on the FTP host computer.DConfigure an Internet Connection Sharing service type for FTP use service port 23 on the FTP host computer.

单选题A Company switch was configured as shown below:  switchport mode access  switchport port-security   switchport port-security maximum 2 switchport port-security mac-address 0002.0002.0002   switchport port-security violation shutdown   Given the configuration output shown above,  what happens when a host with the MAC address of  0003.0003.0003 is directly connected to the switch port? ()A The host will be allowed to connect.B The port will shut down.C The host can only connect through a hub/switch where 0002.0002.0002 is already connected.  D The host will be refused access.E None of the other alternatives apply