The tnsnames.ora file has an entry for the service alias ORCL as follows:The TNS ping command executes successfully when tested with ORCL; however, from the same OS usersession, 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 on the database node.
B. The TNS_ADMIN environment variable is set to the wrong value.
C. The orcl.oracle.com database service is not registered with the listener.
D. The DEFAULT_DOMAIN parameter is set to the wrong value in the sqlnet.ora file.
E. The listener is running on a different port.
第1题:
YouworkasadatabaseadministratoratCertkiller.com.YourdatabaseisopenandrunninginARCHIVELOGmode.YoutakeRMANfullbackupseverySundaynight.OnMondaymorning,whilequeryingtheuser1.employeestable,youreceivethefollowingerrormessage:
01578:ORACLEdatablockcorrupted(file#5,block#51)
ORA-01110:datafile5:’/u01/app/oracle/oradata/orcl/example01.dbf’
Youneedtorectifythecorruptionwhileensuringthefollowing:
Thedatafileshouldremainonline.
Themeantimetorecover(MTTR)shouldbeminimal.
Youarenotusingabackupcontrolfileandallthearchivedlogsareaccessible.
Whichoptionwouldyouchoose?()
第2题:
如下是某个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_NAME
B. INSTANCE_NAME
C. GLOBAL_NAMES
D. GLOBAL_DBNAME
第3题:
A.select ename,nvl(comm.,0)from emp
B.select ename,null(comm.,0)from emp
C.SELECT ename,NULLIF(comm,0)FROM emp
D.SELECT ename,DECODE(comm.,NULL,0)FROM emp
第4题:
A. INSTANCE_NAME
B. DB_NAME
C. DB_UNIQUE_NAME
D. SERVICE_NAMES
E. GLOBAL_NAMES
第5题:
Youreceivedtheseerrormessagesbecausetheclientcannotfindthedesireddatabase:ORA-12198:TNS:couldnotpathtodestinationORA-12203:TNS:unabletoconnecttodestinationWhichactionwouldbeappropriateinhelpingtoresolvetheerrors?()

A.A
B.B
C.C
第6题:
题示代码的功能为:循环遍历输出Map当中的每一个元素。《插入代码》处应填入的代码是()Map map=new HashMap(); map.put(“jessica”,100); map.put(“tom”,200); map.put(“den”,300); Set《插入代码1》 set =《插入代码2》; for (《插入代码3》 per : set) { System.out.println(per.getKey() + ":" + per.getValue()); }
A.<Entry> map.keySet() Entry#B.<Entry> map.entrySet() Entry#C.<Map.Entry<String, Integer>> map.keySet() Map.Entry<String, Integer>#D.<Map.Entry<String, Integer>> map.entrySet() Map.Entry<String, Integer>