Practice Database
Practice Database
0 out of 1 points
Question 2
0 out of 1 points
SAVEPOINT
Correct Answer:
GRANT
Question 3
0 out of 1 points
Assuming that the PORDER column contains the following XML data:
100-100-01
Sled, Metal
1
100-201-01
Heater, Large
2
What will be the new value of the PORDER column after executing the
following statement?
UPDATE purchaseorder SET porder =
xmlquery('transform
copy $po := $order
modify do insert
document {
100-103-01
"
100-100-01
Sled, Metal
1
100-201-01
Heater, Large
2
"
Correct Answer:
"
100-100-01
Sled, Metal
1
100-201-01
Heater, Large
2
100-103-01
Snow Shovel, Super Deluxe 26 inch
4
"
Question 4
1 out of 1 points
ALTER TABLE
Correct Answer:
ALTER TABLE
Question 5
0 out of 1 points
Question 6
0 out of 1 points
Which of the following is the lowest cost DB2 product that can be
legally installed on a Unix server that has 2 CPUs?
Answer
Selected Answer:
Question 7
0 out of 1 points
Correct
Answer:
Question 8
0 out of 1 points
Selected Answer:
Question 9
0 out of 1 points
Correct
Answer:
Question 10
0 out of 1 points
Question 11
1 out of 1 points
Inactive
Correct Answer:
Inactive
Question 12
0 out of 1 points
Question 13
0 out of 1 points
Correct
Answer:
Question 14
0 out of 1 points
Correct
Answer:
Question 15
0 out of 1 points
Correct
Answer:
Question 16
0 out of 1 points
/dept
Correct Answer:
/dept/employee/text()
Question 17
0 out of 1 points
Question 18
1 out of 1 points
25
Correct Answer:
25
Question 19
0 out of 1 points
attribute
Correct Answer:
column
Question 20
1 out of 1 points
Question 21
0 out of 1 points
SYSADM
Correct Answer:
SYSDB
Question 22
0 out of 1 points
Question 23
1 out of 1 points
Uncommitted Read
Correct Answer:
Uncommitted Read
Question 24
0 out of 1 points
Correct Answer:
Question 25
0 out of 1 points
Question 26
1 out of 1 points
Correct
Answer:
Question 27
1 out of 1 points
schema
Correct Answer:
schema
Question 28
0 out of 1 points
Which of the following is NOT true about domains and data types?
Answer
Selected
Answer:
Correct
Answer:
Question 29
0 out of 1 points
Selected Answer:
Question 30
0 out of 1 points
Question 31
0 out of 1 points
Configuration Information
Correct Answer:
Question 32
0 out of 1 points
Indirect
Correct Answer:
Defined
Question 33
0 out of 1 points
"A stored procedure has been created with the following statement:
CREATE PROCEDURE proc1 (IN var1 VARCHAR(10), OUT rc INTEGER)
SPECIFIC myproc LANGUAGE SQL...
What is the correct way to invoke this procedure from the command
line processor (CLP)?"
Answer
Selected Answer:
Question 34
0 out of 1 points
Immediately ready-to-use
Correct Answer:
Question 35
0 out of 1 points
CONNECT TO mydb
Correct Answer:
DROP mydb
Question 36
0 out of 1 points
Question 37
0 out of 1 points
Security
Correct Answer:
Creation of forms
Question 38
0 out of 1 points
Correct
Answer:
Question 39
0 out of 1 points
A delete operation
Correct Answer:
A select operation
Question 40
0 out of 1 points
Correct
Answer:
Question 41
0 out of 1 points
John
Correct Answer:
John
Question 42
0 out of 1 points
Correct
Answer:
Question 43
0 out of 1 points
XMLSEQUENCE
Correct Answer:
XMLTABLE
Question 44
0 out of 1 points
Question 45
0 out of 1 points
Correct
Answer:
Question 46
1 out of 1 points
Correct
Answer:
Question 47
0 out of 1 points
DB2INST1
Correct Answer:
MYUSER
Question 48
0 out of 1 points
1
Correct Answer:
Question 49
0 out of 1 points
Operators
Correct Answer:
Shortcut
Question 50
0 out of 1 points
Correct Answer:
Question 51
0 out of 1 points
Question 52
0 out of 1 points
full backup
Correct Answer:
Question 53
1 out of 1 points
Correct
Answer:
Question 54
0 out of 1 points
Correct
Answer:
Question 55
0 out of 1 points
Correct
Answer:
Question 56
0 out of 1 points
Java
Correct Answer:
XML
Question 57
0 out of 1 points
C
Correct Answer:
SQL
Question 58
1 out of 1 points
Correct
Answer:
Question 59
0 out of 1 points
Correct
Answer:
Question 60
1 out of 1 points
Question 61
1 out of 1 points
"User USER1 is the owner of TABLE1. Assuming user USER1 only holds
privileges for TABLE1,
which of the following is the best way to remove all privileges user
USER1 holds?"
Answer
Selected Answer:
Question 62
1 out of 1 points
Correct
Answer:
Question 63
1 out of 1 points
Which of the following packages have the smallest footprint but is still
suitable for executing JDBC applications?
Answer
Selected Answer:
Question 64
0 out of 1 points
"If circular logging is used, the following types of backup are allowed:"
Answer
Selected Answer:
Question 65
1 out of 1 points
View
Correct Answer:
View
Question 66
1 out of 1 points
Correct Answer:
Question 67
0 out of 1 points
back_zip
Question 68
0 out of 1 points
Non-repeatable Read
Correct Answer:
Phantom Read
Question 69
0 out of 1 points
Answer:
"
When changes are made to data through a view, the data
is changed in underlying table itself"
Correct
Answer:
Cannot be read-only
Question 70
1 out of 1 points
1
Correct Answer:
Question 71
0 out of 1 points
Which of the following isolation levels lets you see data that has been
updated by other
Answer
Selected Answer:
Read Stability
Correct Answer:
Repeatable Read
Question 72
0 out of 1 points
line 1
Correct Answer:
all lines
Question 73
0 out of 1 points
Correct
Answer:
Question 74
1 out of 1 points
Question 75
1 out of 1 points
Question 76
1 out of 1 points
SALES_PERSON VARCHAR(25)
REGION CHAR(20)
SALES_AMT DECIMAL(9,2)
Which of the following queries will return SALES information, sorted by
SALES_PERSON, from A to Z, and SALES_DATE, from earliest to most
recent?"
Answer
Selected
Answer:
Correct
Answer:
Question 77
0 out of 1 points
"
pending
5001
2222
"
Correct Answer:
"
5001
2222
"
Question 78
0 out of 1 points
Correct
Answer:
Question 79
1 out of 1 points
Is required
Correct Answer:
Is required
Question 80
0 out of 1 points
UPDATE
Correct Answer:
ALTER
Question 81
1 out of 1 points
Correct
Answer:
Question 82
0 out of 1 points
Correct Answer:
Question 83
0 out of 1 points
Question 84
0 out of 1 points
/
Correct Answer:
Question 85
0 out of 1 points
Correct Answer:
Question 86
0 out of 1 points
Which of the following will allow user USER1 to change the comment
associated with a table named TABLE1?
Answer
Selected Answer:
Question 87
0 out of 1 points
DEPT_ID
DEPT_NAME
MANAGER
AVG_SALARY
Which of the following is the best way to prevent most
users from viewing AVG_SALARY data?
Correct
Answer:
Question 88
0 out of 1 points
schema
Correct Answer:
row
Question 89
1 out of 1 points
Question 90
0 out of 1 points
Correct Answer:
Question 91
0 out of 1 points
5
Correct Answer:
20
Question 92
0 out of 1 points
Question 93
0 out of 1 points
Correct
Answer:
Question 94
1 out of 1 points
CONNECT
EXECUTE
Correct Answers:
CONNECT
EXECUTE
Question 95
0 out of 1 points
Correct
Answer:
pureXML compression
Question 96
0 out of 1 points
Correct
Answer:
Question 97
1 out of 1 points
Question 98
0 out of 1 points
Question 99
0 out of 1 points
Question 100
0 out of 1 points
It provides non-repudiation
Question 101
0 out of 1 points
Correct
Answer:
Question 102
0 out of 1 points
Which of the following is the lowest cost DB2 product that can be
legally installed on a Unix server
that has 2 CPUs and has geodetic data management?
Answer
Selected Answer:
Question 103
1 out of 1 points
Correct
Answer:
Question 104
0 out of 1 points
Correct
Answer:
Question 105
0 out of 1 points
Correct
Answer:
Question 106
0 out of 1 points
Selected
Answer:
Correct
Answer:
Relational model does not use NULL for unknown state and
in XML model NULLs are used for unknown values
Relational data is structured and XML data is semistructured
Question 107
0 out of 1 points
Which of the following is NOT a type of node that an XML can have?
Answer
Selected Answer:
element
Correct Answer:
tag
Question 108
0 out of 1 points
"In Java, in order to create and execute a query, what type of object
must be used?"
Answer
Selected Answer:
Connection
Correct Answer:
PreparedStatement
Question 109
0 out of 1 points
geodetic extender
Correct Answer:
column compression
Question 110
1 out of 1 points
Which of the following packages have the smallest footprint but is still
suitable for executing JDBC applications?
Answer
Selected Answer:
Question 111
0 out of 1 points
Correct
Answer:
Question 112
1 out of 1 points
Correct
Answer:
Question 113
0 out of 1 points
"Assuming that the PORDER column contains the following XML data:
100-100-01
Sled, Metal
1
100-201-01
Heater, Large
2
What will be the new value of the PORDER column after executing the
following statement?
UPDATE purchaseorder SET porder =
xmlquery('transform
copy $po := $order
modify do delete
$po/PurchaseOrder/item[partid = ''100-201-01'']
return $po'
passing porder as ""order"")
WHERE poid=5012;"
Answer
Selected Answer:
B.
Correct Answer:
"D.
100-100-01
Sled, Metal
1
"
Question 114
0 out of 1 points
Question 115
0 out of 1 points
Correct
Answer:
Question 116
0 out of 1 points
Question 117
0 out of 1 points
Correct
Answer:
Question 118
0 out of 1 points
4 Watts, Charlie
5 Jones, Darryl
6 Leavell, Chuck
YEAR_1962
EMPID NAME
------------------------------1 Jagger, Mick
2 Richards, Keith
3 Jones, Brian
4 Wyman, Bill
5 Chapman, Tony
6 Stewart, Ian
If the following SQL statement is executed, how many rows will be
returned?
SELECT name FROM year_2006
UNION ALL
SELECT name FROM year_1962"
Answer
Selected Answer:
6
Correct Answer:
12
Question 119
1 out of 1 points
Correct
Answer:
Question 120
1 out of 1 points
Correct
Answer:
Question 121
1 out of 1 points
INSERT
Correct Answer:
INSERT
Question 122
0 out of 1 points
Question 123
0 out of 1 points
Connection
Correct Answer:
WHERE clause
Question 124
1 out of 1 points
NAME CHAR(20)
SALARY DECIMAL(10,2)
Assuming both tables contain data, which of the following statements
will NOT successfully add data to
table CURRENT_EMPLOYEES?"
Answer
Selected
Answer:
Correct
Answer:
Question 125
0 out of 1 points
Question 126
0 out of 1 points
Lost Update
Correct Answer:
Non-repeatable Read
Question 127
1 out of 1 points
Selected
Answer:
Correct
Answer:
Question 128
0 out of 1 points
1
Correct Answer:
Question 129
0 out of 1 points
Question 130
0 out of 1 points
Correct
Answer: