최신 DB2 000-730 무료샘플문제:
1. A declared temporary table is used for which of the following purposes?
A) Staging area for load operations
B) Backup purposes
C) Storing intermediate results
D) Sharing result data sets between applications
2. If table TAB1 is created using the following statement:
CREATE TABLE tab1 (col1 INTEGER NOT NULL,
col2 CHAR(5),
CONSTRAINT cst1 CHECK (col1 in (1, 2, 3)))
Which of the following statements will successfully insert a record into table TAB1?
A) INSERT INTO tab1 VALUES (NULL, 'abc')
B) INSERT INTO tab1 VALUES (ABS(2), 'abc')
C) INSERT INTO tab1 VALUES (0, 'abc')
D) INSERT INTO tab1 VALUES (DEFAULT, 'abc')
3. Which of the following describes how DB2 9 stores an XML document if the XML Extender is not used?
A) Hierarchically
B) Rows and columns
C) CLOB
D) BLOB
4. Given the following table:
EMPLOYEE
EMPID NAME INSTRUMENT
1 Jagger, Mick 01
2 Richards, Keith 02
3 Wood, Ronnie 02
4 Watts, Charlie 03
5 Jones, Darryl 04
6 Leavell, Chuck 05
If the following query is executed:
SELECT name,
CASE WHEN instrument = '01' THEN 'HARMONICA'
WHEN instrument = '02' THEN 'GUITAR'
WHEN instrument = '03' THEN 'DRUMS'
ELSE 'UNKNOWN'
END AS instrument
FROM employee
What will be the results?
A) NAME INSTRUMENT
Jagger, Mick HARMONICA Richards, Keith GUITAR Wood, Ronnie GUITAR Watts, Charlie DRUMS Jones, Darryl 04 Leavell, Chuck 05
B) NAME INSTRUMENT
Jagger, Mick HARMONICA Richards, Keith GUITAR Wood, Ronnie GUITAR Watts, Charlie DRUMS Jones, Darryl ERROR Leavell, Chuck ERROR
C) NAME INSTRUMENT
Jagger, Mick HARMONICA Richards, Keith GUITAR Wood, Ronnie GUITAR Watts, Charlie DRUMS Jones, Darryl UNKNOWN Leavell, Chuck UNKNOWN
D) NAME INSTRUMENT
Jagger, Mick HARMONICA Richards, Keith GUITAR Wood, Ronnie GUITAR Watts, Charlie DRUMS Jones, Darryl -Leavell, Chuck
5. A DRDA host database resides on a z/OS or an i5/OS system and listens on port 446. The TCP/IP address for this system is 192.168.10.1 and the TCP/IP host name is myhost. Which of the following commands is required to update the local node directory so that a DB2 client can access this DRDA database?
A) CATALOG TCPIP NODEmyhost REMOTE db2srv SERVER 446
B) CATALOG TCPIP NODEmyhost REMOTE db2srv SERVER 192.168.10.1
C) CATALOG TCPIP NODE mydb2srv REMOTEmyhost SERVER 446
D) CATALOG TCPIP NODE mydb2srv REMOTEmyhost SERVER 192.168.10.1
질문과 대답:
질문 # 1 정답: C | 질문 # 2 정답: B | 질문 # 3 정답: A | 질문 # 4 정답: C | 질문 # 5 정답: C |