Download IBM.passguide.C2090-543.2018-06-28.1e.53q.vcex

Download Dump

File Info

Exam DB2 9.7 Application Development
Number C2090-543
File Name IBM.passguide.C2090-543.2018-06-28.1e.53q.vcex
Size 36 Kb
Posted June 28, 2018
Downloaded 1



How to open VCEX & EXAM Files?

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

Purchase
Coupon: EXAMFILESCOM

Coupon: EXAMFILESCOM
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?

  • A: 2009.08.07.12.22.22.0000
  • B: 2009-08-07 12:22:22.0000
  • C: 07/08/2009-12:22:22:0000
  • D: 07-08-2009 12.22.22.0000



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

  • A: an ORDER BY clause
  • B: a GROUP BY clause
  • C: a WHERE clause
  • D: a DISTINCT clause



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?

  • A: CHAR(200)
  • B: VARCHAR(30)
  • C: VARCHAR(20)
  • D: CHAR(30)



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?

  • A: EXECUTE privilege on TEAM schema
  • B: ALTER privilege on TEAM.WORKITEMS table
  • C: BINDADD privilege on TEAM schema
  • D: UPDATE privilege on TEAM.WORKITEMS table



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?

  • A: GRANT ALTER ON TABLE user1.table1 TO USER user2
  • B: GRANT EXECUTE ON PACKAGE user1.pkg1 TO USER user2
  • C: GRANT UPDATE ON TABLE user1.table1 TO USER user2
  • D: GRANT BIND ON PACKAGE user1.pkg1 TO USER user2



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?

  • A: UPDATE s1.t1 SET c1 = 2 WHERE c1 IS NULL
  • B: CREATE VIEW user1.v2 AS SELECT * FROM s1.v1
  • C: CREATE PUBLIC ALIAS a1 FOR s1.v1
  • D: SELECT * FROM s1.t1 WHERE c2 < 100



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

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



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;

  • A: SET :stmt = 'INSERT INTO tab1 VALUES(?)'; 
    PREPARE s1 FROM :stmt
  • B: SET :stmt = 'INSERT INTO tab1 VALUES(:v1)'; 
    PREPARE s1 FROM :stmt;
  • C: SET :stmt = 'INSERT INTO tab1 VALUES(?v1)'; 
    PREPARE s1 FROM :stmt;
  • D: SET :stmt = 'INSERT INTO tab1 VALUES(?)'; 
    PREPARE s1 FROM :stmt DESCRIBE :v1;



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?

  • A: one row from each table
  • B: no rows
  • C: unordered rows from one of three tables
  • D: the Cartesian product



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?

  • A: SELECT empno, lastname, workdept, projname 
    FROM employee RIGHT OUTER JOIN project 
    ON employEE .deptno = project.deptno
  • B: SELECT empno,lastname, employEE .deptno, projname 
    FROM employee FULL OUTER JOIN project 
    ON employEE .deptno = project.deptno
  • C: SELECT empno, lastname, employEE .deptno, projname 
    FROM employee LEFT OUTER JOIN project 
    ON employEE .deptno = project.deptno
  • D: SELECT empno, lastname, employEE .deptno, projname 
    FROM employee JOIN project 
    ON employEE .deptno = project.deptno









CONNECT US


ProfExam
PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount..

Get Now!


HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen



HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset