Download IBM.C2090-543.PassGuide.2018-06-28.53q.vcex

Download Exam

File Info

Exam DB2 9.7 Application Development
Number C2090-543
File Name IBM.C2090-543.PassGuide.2018-06-28.53q.vcex
Size 36 KB
Posted Jun 28, 2018
Download IBM.C2090-543.PassGuide.2018-06-28.53q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

An application must insert values into a column that has a TIMESTAMP data type. 
What is a valid string representation of a TIMESTAMP?


  1. 2009.08.07.12.22.22.0000
  2. 2009-08-07 12:22:22.0000
  3. 07/08/2009-12:22:22:0000
  4. 07-08-2009 12.22.22.0000
Correct answer: B



Question 2

In a query, which clause can reference a CLOB data type?


  1. an ORDER BY clause
  2. a GROUP BY clause
  3. a WHERE clause
  4. a DISTINCT clause
Correct answer: C



Question 3

You have set your data types as CHAR(10), VARCHAR(20). Given the operation shown below:
CHAR(10) UNION VARCHAR(20)  
What will be the final data type?


  1. CHAR(200)
  2. VARCHAR(30)
  3. VARCHAR(20)
  4. CHAR(30)
Correct answer: C



Question 4

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?


  1. EXECUTE privilege on TEAM schema
  2. ALTER privilege on TEAM.WORKITEMS table
  3. BINDADD privilege on TEAM schema
  4. UPDATE privilege on TEAM.WORKITEMS table
Correct answer: D



Question 5

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?


  1. GRANT ALTER ON TABLE user1.table1 TO USER user2
  2. GRANT EXECUTE ON PACKAGE user1.pkg1 TO USER user2
  3. GRANT UPDATE ON TABLE user1.table1 TO USER user2
  4. GRANT BIND ON PACKAGE user1.pkg1 TO USER user2
Correct answer: B



Question 6

A database contains a table and a view declared as shown below:
CREATE TABLE s1.t1 ( c1 INTEGER, c2 CHAR(20) ); 
CREATE VIEW s1.v1 AS SELECT * FROM s1.t1; 
A system administrator successfully executes the following code:
GRANT CONNECT, IMPLICIT_SCHEMA ON DATABASE TO user1; 
GRANT INSERT ON TABLE s1.t1 TO user1; 
GRANT CONTROL ON s1.v1 TO user1; 
Which SQL statement does user USER1 have privileges to execute?


  1. UPDATE s1.t1 SET c1 = 2 WHERE c1 IS NULL
  2. CREATE VIEW user1.v2 AS SELECT * FROM s1.v1
  3. CREATE PUBLIC ALIAS a1 FOR s1.v1
  4. SELECT * FROM s1.t1 WHERE c2 < 100
Correct answer: B



Question 7

Which statement is true of an application that only uses static SQL?


  1. The authorization ID of program creator is used to qualify explicitly qualified table references on a DROP statement.
  2. Static SQL uses SQLDA to determine the number of rows successfully fetched on a FETCH statement.
  3. The authorization ID of application creator is used to qualify implicitly qualified view references on an UPDATE statement.
  4. The authorization ID of application invoker used by DB2 to perform authorization checking of an embedded OPEN statement during execution.
Correct answer: C



Question 8

Which set of SQL statements must be run prior to the EXECUTE statement shown below so that the INSERT statement can be executed successfully? 
EXECUTE s1 USING :v1;


  1. SET :stmt = 'INSERT INTO tab1 VALUES(?)'; 
    PREPARE s1 FROM :stmt
  2. SET :stmt = 'INSERT INTO tab1 VALUES(:v1)'; 
    PREPARE s1 FROM :stmt;
  3. SET :stmt = 'INSERT INTO tab1 VALUES(?v1)'; 
    PREPARE s1 FROM :stmt;
  4. SET :stmt = 'INSERT INTO tab1 VALUES(?)'; 
    PREPARE s1 FROM :stmt DESCRIBE :v1;
Correct answer: A



Question 9

VEMPLOYEE 
------------------- 
EMPNO CHAR(6) 
LASTNAME VARCHAR(30) 
SALARY DEC(9,2) 
DEPTNO CHAR(3) 
VDEPARTMENT 
---------------------- 
DEPTNO CHAR(3) 
DEPTNAME VARCHAR(20) 
MGRNO CHAR(6) 
VPROJECT 
---------------- 
PROJNO CHAR(6) 
PROJNAME VARCHAR(20) 
DEPTNO CHAR(6) 
RESPEMP CHAR(6) 
A JOIN operation references three views in the exhibit; the SELECT statement used does not contain a WHERE clause. 
When the SELECT statement is executed, what will the result set contain?


  1. one row from each table
  2. no rows
  3. unordered rows from one of three tables
  4. the Cartesian product
Correct answer: D



Question 10

Click the Exhibit button. 
CONNECT TO test; 
CREATE TABLE project (projno CHAR(6), deptno CHAR(3), projname VARCHAR(20)); 
CREATE TABLE employee (empno CHAR(6), lastname VARCHAR(25), deptno CHAR(3)); 
COMMIT; 
CONNECT RESET; 
A DB2 Command Line Processor script file containing the commands and statements shown in the exhibit was executed successfully. 
Which query will produce a list of all projects and all employees assigned to projects and also include employees that have not been assigned a project?


  1. SELECT empno, lastname, workdept, projname 
    FROM employee RIGHT OUTER JOIN project 
    ON employEE .deptno = project.deptno
  2. SELECT empno,lastname, employEE .deptno, projname 
    FROM employee FULL OUTER JOIN project 
    ON employEE .deptno = project.deptno
  3. SELECT empno, lastname, employEE .deptno, projname 
    FROM employee LEFT OUTER JOIN project 
    ON employEE .deptno = project.deptno
  4. SELECT empno, lastname, employEE .deptno, projname 
    FROM employee JOIN project 
    ON employEE .deptno = project.deptno
Correct answer: C









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files