IBM Assessment: DB2 9.7 Application Development 認定 A2090-543 試験問題:
1. User USER1 successfully creates a table USER1.TABLE1 and successfully creates a package USER1.PKG1 for an application containing the SQL shown below: EXEC SQL UPDATE user1.table1 SET col1 =:hvar1 WHERE col1 IS NULL Assuming user USER2 can connect to the database, but has no other relevant authorities, which command must user USER1 issue to permit user USER2 to run the application?
A) GRANT EXECUTE ON PACKAGE user1.pkg1 TO USER user2
B) GRANT ALTER ON TABLE user1.table1 TO USER user2
C) GRANT UPDATE ON TABLE user1.table1 TO USER user2
D) GRANT BIND ON PACKAGE user1.pkg1 TO USER user2
2. A table and a sequence were created with the statements shown below: CREATE TABLE orders(oid INTEGER, info VARCHAR(200));
CREATE SEQUENCE order_num AS INTEGER
START WITH 1;
Autocommitis on and the statements shown are executed:
INSERT INTO orders VALUES (NEXT VALUE FOR order_num, 'Order A');
INSERT INTO orders VALUES (PREVIOUS VALUE FOR order_num, 'Order B');
SELECT * FROM orders;
What is the output?
A) OID INFO 1 Order A 2 Order B
B) OID INFO 2 Order A 2 Order B
C) OID INFO 0 Order A 1 Order B
D) OID INFO 1 Order A 1 Order B
3. While developing a Java JDBC application, you use the set of statements shown below:
Connection con;
PreparedStatementpstmt;
intnumUpd;
pstmt= con.prepareStatement("UPDATE EMPLOYEE SET PHONENO='4657' WHERE
EMPNO=?");
pstmt.setString(0, "000010");
numUpd= pstmt.executeUpdate();
pstmt.close();
Assuming a connection has already been established, which statement is true?
A) Statements will execute successfully, but will not update rows in the database.
B) Statements will give a syntax error.
C) Statements will give a runtime exception.
D) Statements will be executed successfully.
4. The table PERSON is declared as shown below:
CREATE TABLE xmltest (id BIGINT, info XML)
What is the column type for the result of the following statement?
SELECT t.* FROM
xmltest,
XMLTABLE (
'$INFO/question'
) AS t
A) BLOB
B) XML
C) VARCHAR
D) CLOB
5. The table shown below exists in the database:
CREATE TABLE team.workitems ( priority INTEGER, last_update TIMESTAMP, details XML )
User USER1 has CREATEIN authority on the TEAM schema and can SELECT from the
TEAM.WORKITEMS table. An SQL routine is created that performs a positioned update using a
cursor declared as shown below:
DECLARE c_workitem CURSOR FOR SELECT priority, last_update FROM team.workitems FOR
UPDATE;
Which additional privilege is required?
A) ALTER privilege on TEAM.WORKITEMS table
B) EXECUTE privilege on TEAM schema
C) UPDATE privilege on TEAM.WORKITEMS table
D) BINDADD privilege on TEAM schema
質問と回答:
| 質問 # 1 正解: A | 質問 # 2 正解: D | 質問 # 3 正解: C | 質問 # 4 正解: B | 質問 # 5 正解: C |














839 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
