IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN...

39
IBM 000-730 EXAM QUESTIONS & ANSWERS Number : 000-730 Passing Score : 800 Time Limit : 120 min File Version : 69.9 http://www.gratisexam.com/ IBM 000-730 EXAM QUESTIONS & ANSWERS Exam Name: DB2 9 Fundamentals

Transcript of IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN...

Page 1: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

IBM 000-730 EXAM QUESTIONS & ANSWERS

Number: 000-730Passing Score: 800Time Limit: 120 minFile Version: 69.9

http://www.gratisexam.com/

IBM 000-730 EXAM QUESTIONS & ANSWERS

Exam Name: DB2 9 Fundamentals

Page 2: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Visualexams

QUESTION 1Which object may be used during query optimization to improve the performance for a subset of SELECTqueries?

A. MQTB. TriggerC. Read Only CursorD. Stored Procedure

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 2Which of the following commands is used to retrieve database named from the local catalog for DRDA hostdatabases on system I and system z?

A. List DB DirectoryB. List DCS DirectoryC. List Node DirectoryD. List Active Databases

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 3Which of the following describes the object of a DB2 database and their relationship?

A. InstanceB. Table SpaceC. System CatalogD. Schema Repository

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 4Which of the following database objects can be used to raise an error if a table is updated?

A. PackageB. TriggerC. Stored Procedure

Page 3: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

D. Informational Constraint

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 5A "Trusted" Client needs to communicate with a server that has been configured to use CLIENT authentication.Which of the following will be used to verify passwords?

A. User ID/Password FileB. Communications LayerC. Client ApplicationsD. Operating System

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 6Which of the following will DELETE all of the rows from the table T03?

A. DELETE * FROM TABLE T03B. DELETE ALL FROM T03C. DELETE * FROM T03D. DELETE FROM T03

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 7Which of the following tools for DB2 V9 allows a user to create and debug a SQL stored procedure?

http://www.gratisexam.com/

A. Control CenterB. Development CenterC. Developer WorkbenchD. Stored Procedure Builder

Page 4: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 8Application A is designed to execute the following SQL statements within a Single Unit of Work(UOW).

Application A and Application B execute their first SQL statements at the same time. When Application A andApplication B try to execute their Second SQL statement, a deadlock occurs. What will happen?

A. The database manager will rollback the transaction in both applicationsB. The database manager will rollback the transaction in one of the two applicationsC. Application B will successfully update the EMPLOYEE and DEPARTMNET tables; Application A will placed

in a lock wait stateD. Application A will successfully update the EMPLOYEE and DEPARTMNET tables; Application B will

terminate when the lock timeout value is reached

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 9Which of the following DB2 tools allows a user to execute an SQL statement and view a graphicalrepresentation of the access plan?

A. Task CenterB. Command EditorC. Developer WorkbenchD. Command Line Processor

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 10When defining a referential constraints between the parent table T2 and the dependent table T1, which of thefollowing is true?

Page 5: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in theprimary key of T2 or a UNIQUE constraint that exists on T2.

B. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in theprimary key of T1 or a UNIQUE constraint that exists on T1

C. The list of column names in the FOREIGN KEY clause must be identical to the list of column names in theprimary key of T2 or a UNIQUE constraint that exists on T2

D. The list of column names in the FOREIGN KEY clause must be identical to the list of column names in theprimary key of T1 or a UNIQUE constraint that exists on T1.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 11An alias can be an alternate name for which DB2 object?

A. SequenceB. TriggerC. SchemaD. View

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 12

What is the expected sequence of values returned from? SELECT i1 FROM t1 ORDER BY i1

Page 6: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

A. 1,2,3,3B. 1,2,2,4C. 1,2,3,3,6D. 1,2,2,5,6

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 13Which of the following constraint types can be used to ensure the value of an INTEGER column referencesonly positive values?

A. UniqueB. CheckC. ReferentialD. Informational

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 14Given the following function:

How can this function be used in an SQL statement?

A. SELECT TABLE(EMPLIST()) FROM EMPLOYEEB. SELECT TABLE(EMPLIST()) AS t FROM EMPLOYEEC. SELECT EMPLIST (id,firstname,lastname) FROM EMPLOYEED. SELECT id, firstname,lastname FROM TABLE(EMPLIST()) AS t

Correct Answer: DSection: (none)Explanation

Page 7: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Explanation/Reference:

QUESTION 15If application A issues the following SQL statement, which of the following statements about concurrency istrue?SELECT deptno, deptname, mgrnoFROM deptWHERE admrdept='A00'FOR READ ONLY WITH RS

A. Rows accessed by application A can be seen by other applicationsB. Rows accessed by application A can't be seen by other applicationsC. Application A can see uncommitted changes made by other applicationsD. Results produced by re-execution of the statement by application A will not be affected by other applications

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 16Which product must be installed on Z/Os to allow a COBOL program running on that machine to access dataon a remote DB2 for Z/OS Server?

A. DB2 for z/OSB. DB2 Run-Time Client for z/OSC. DB2 Connect Enterprise Edition for z/OSD. z/OS Application Connectivity to DB2 for z/OS and OS/390

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 17For which of the following is a data warehouse optimized?

A. Backup and RecoveryB. TransactionsC. SecurityD. Queries

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 18Given the following table definitions:

Page 8: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Which of the following queries will produce the same result set as the query above?

A. SELECT e.id,d.deptname FROM employee e, department d WHERE e.id >4B. SELECT e.id,d.deptname FROM employee e INNER JOIN department d ON e.deptid = d.id WHERE e.id>4C. SELECT e.id,d.deptname FROM employee e FULL OUTER JOIN department d OND. id=d.id WHERE e.id > 4E. SELECT e.id,d.deptname FROM employee e LEFT OUTER JOIN department d ONF. deptid = d.id WHERE e.id >4 UNION ALL SELECT e.id,d.deptname FROM employee e RIGHT OUTER

JOIN department d ON e.deptid = d.id WHERE e.id >4

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 19Please refer to the exhibit.Given the following query:

Page 9: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

A. 3, SILVER4,GOLD1, SILVER1,GOLD5,PLATINUM3,SILVER1,GOLD

B. 3,SILVER4,SILVER1,GOLD1,PLATINUM5,ERROR3,GOLD1,PLATINUM

C. 3,SILVER4,SILVER1,GOLD1,GOLD5,SILVER3,ERROR1,PLATINUM

D. 3,SILVER4,SILVER1,PLATINUM1,ERROR5,SILVER3,GOLD1,PLATINUM

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 20

Page 10: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

What type of constraint is used to ensure that each row inserted into the EMPLOYEE table with a value in theWORKDEPT column has a row with a corresponding value in the DEPTNO column of the DEPARTMENTtable?

A. A Check constraint on the EMPLOYEE tableB. A UNIQUE constraint on the EMPLOYE table WORKDEPT columnC. A foreign key reference from the DEPARTMENT tables DEPTNO column to the WORKDEPT column of the

EMPLOYEE tableD. A foreign key reference from the EMPLOYEE tables WORKDEPT column to the DEPTNO column of the

DEPARTMENT table

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 21Which of the following DB2 products are required on an iSeries or system I server to enable an applicationrunning on that server to retrieve data from a DB2 database on a Linux Server?

A. DB2 fro i5/OSB. DB2 Runtime ClientC. DB2 Connect Enterprise EditionD. DB2 For i5/OS SQL Development Kit

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 22Application A currently holds an exclusive lock on a single row and application B tries to access that row. If locktimeout is set to -1 and both applications are using isolation level RS, which of the following will occur?

A. Application A and B will cause a deadlock situationB. Application B will read the previous version of the rowC. Application B will read the row and see uncommitted changes made by application AD. Application B will be placed in a lock-wait state until application A releases its lock

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 23Which of the following statements allows BOB to revoke access to the SAMPLE database from user TOM?

A. REVOKE ACCESS ON DATABASE FROM USER bobB. REVOKE CONNECT ON DATABASE FROM USER tom

Page 11: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

C. REVOKE tom FROM ACCESS ON DATABASE BY USER bobD. REVOKE tom FROM CONNECT ON DATABASE BY USER bob

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 24Which of the following is NOT true about XML columns?

A. Data can be retrieved by SQLB. Data can be retrieved by XQueryC. XML columns must be altered to accommodate additional parent and child relationshipsD. Access to any portion of an XML document can be direct, without reading the whole document

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 25The Employee table Contains the following information. Please refer to the exhibit.

A. MGRID EMPCOUNT ----- -----------1 02 25 1B. MGRID EMPCOUNT ----- ------------1 02 23 04 05 1C. MGRID EMPCOUNT ------ ------------1 32 33 34 35 3D. MGRID EMPCOUNT ------- ------------1 02 23 34 25 1

Page 12: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 26The following statements:

How many rows will be deleted by the following DELETE statement? DELETE FROM t1 WHERE col1=1;

A. 4B. 3C. 1D. 0

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 27Which of the following strings can be inserted into an XML column using XMLPARSE?

A. "<employee/>"B. "<?xml version='1.0' encoding='UTF-8' ?>"C. "<!DOCTYPE hello SYSTEM 'hello_world.dtd'>"D. "<x xmlns:ibmcert='http://www.ibm.com/cerify'>"

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 28Which of the following actions may cause a trigger to be fired?

A. DROPB. ALTER

Page 13: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

C. DELETED. ROLLBACK

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 29If an application issues the same query more than once in the same unit of work, which isolation level will notpermit this application to see additional rows inserted by other applications?

A. Read Stability(RS)B. Repeatable Read (RR)C. Uncommitted Read (UR)D. Cursor Stability(CS)

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 30What is the maximum size that can be specified when creating an XML column in a DB2 table?

A. No size is specifiedB. The buffer pool sizeC. The page size for the table spaceD. The extent size for the table space

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 31The following SQL statements were executed in sequence:

What is the current content of the staffsalary table? Please refer to the second exhibit

Page 14: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

A. AB. BC. CD. D

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 32Which of the following DB2 data types has a fixed length?

A. XMLB. BLOBC. DOUBLED. DBCLOB

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 33A view is created with the following statements:

What is the effect of the CHECK OPTION clause?

A. Any row inserted or updated through view V1 must meet the condition that col4> 1000.B. From row on, any row inserted or updated in table T1 must meet the condition that col4> 1000, but existing

rows in the table are not checkedC. At view creating, DB2 will check the data in table T1, and if any row doesn't meet the condition col4>1000,

the view creation will be rejected.D. Any row inserted or updated through view V1 must meet the condition that col4> 1000 and no row in table

T1 can be updated such that col4<= 1000, but new rows in the table be inserted with col4 <= 1000.

Correct Answer: ASection: (none)

Page 15: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Explanation

Explanation/Reference:

QUESTION 34The opening of cursor CSR01 produces the following result set:

Which of the following DELETE statements will cause this row to be deleted?

A. DELETE ALL FROM tab01 FOR CURRENT OF csr01B. DELETE FROM tab01 FOR CURRENT csr01 WITH RSC. DELETE * FROM tab01 WHERE CURRENT csr01 WITH CSD. DELETE FROM tab01 WHERE CURRENT OF csr01 WITH RR

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 35Which of the following will DELETE all of the rows from the table T03?

A. DELETE * FORM TABLE T03B. DELETE ALL FROM T03C. DELETE * FROM T03D. DELETE FROM T03

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 36If DB2 detects a deadlock between application A and Application B (each waiting for a lock held by the otherone), what action will DB2 take?

A. Rollback the transaction in both applicationsB. Rollback the transaction in one of the two applications

Page 16: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

C. Decrease the lock timeout value for both applications, thereby causing a lock timeout situationD. Send a message to let the administrator know of the situation and decide which application or applications

should be terminated

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 37Given the following two tables:

Which of the following queries will yield the desired results?

A. SELECT * FROM tab1 INNER JOIN tab2 ON c1=cxB. SELECT * FORM tab1 LEFT OUTER JOIN tab2 ON c1=cxC. SELECT * FROM tab1 FULL OUTER JOIN tab2 ON c1=cxD. SELECT * FROM tab1 RIGHT OUTER JOIN tab2 ON c1=cx

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 38A View is created with the following statements:

Page 17: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

When will DB2 access the data from table T1 for view V1?

A. When view V1 is createdB. Each time the REFRESH VIEW v1 statement is executedC. Each time an SQL statements is executed against view V1D. Only the first time an SQL statements is executed against view v1

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

http://www.gratisexam.com/

QUESTION 39Application A issues the following SQL statements within in a single transaction using the uncommitted Readisolation level:

As long as the transaction has not been committed, which of the following is true for all other applications notrunning under the uncommitted Read isolation level?

A. They can read and make changes too data for any employee in department A00B. They can read but not make changes to data for any employee in department A00C. They must wait until the transaction is committed before accessing data of any employee in department A00D. They must wait until application A disconnects before accessing data of any employee in department A00

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 40Given the following insert statements:

Page 18: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Which of the following table definitions will support the insert statement above?

A. AB. BC. C

Page 19: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

D. D

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 41Given the following DDL for the PARTS table:

All part numbers entered will be different and all rows should be displayed in order of increasing part numberswhenever the table is queried. Which of the following create index statements will meet this criteria and requirethe least amount of storage for the index object?

A. CREATE UNIQUE INDEX idx_partno ON parts(part_no)B. CREATE UNIQUE INDEX idx_partno ON parts(part_name ASC)C. CREATE UNIQUE idx_partno ON parts(part_name,part_no ASC)D. CREATE UNIQUE INDEX idx_partno ON parts(part_no,part_name ASC)

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 42Which of the following is a typical data warehouse query?

A. What is this customers address?B. Does this customer have any unpaid bills?C. What is the balance in this customers account?D. What is the total sales for each of the last 6 months ?

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 43Which of the following will begin a new unit of work?

A. The CONNECT statementB. The first FETCH if a cursorC. The BEGIN TRANSACTION statementD. The first executable SQL statement

Page 20: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 44Which of the following tools is used to view historical information about tasks, database changes, messagesand notifications?

A. JournalB. Task CenterC. Control CenterD. Activity Monitor

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 45Which tool must be used to analyze all of the database operations performed by an application against a DB2for i5/OS database?

A. Visual ExplainB. Activity MonitorC. SQL Performance MonitorD. DB2 Performance Monitor

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 46Which of the following database objects is considered executable using SQL?

A. ViewB. TableC. RoutineD. Package

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 47

Page 21: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

If a unique constraint is defined on column COL1 of table TAB1, what are the characteristics of COL1?

A. COL1 will accept NULL values and can be referenced in another table's foreign key specificationB. COL1 will not accept NULL values and can not be referenced in another table's foreign key specificationC. COL1 will not accept NULL values and can be referenced in another tables foreign key specificationD. COL1 will accept NULL values and can not be referenced in another tables foreign key specification

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 48A user invoking a user-defined function requires which DB2 privilege?

A. CALLB. USAGEC. EXECUTED. REFERENCES

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 49Which of the following is a characteristics of a schema ?

A. Foreign Key References can't cross schema boundariesB. A DB2 user must be created before a schema with the same name can be createdC. If no schema is specified when an object is created, the default schema PUBLIC is usedD. A schema enables the creation of multiple objects in a database without encountering namespace collisions

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 50Which of the following commands is used retrieve database names from the local catalog for DRDA hostdatabase on System I and System Z?

A. LIST DB DIRECTORYB. LIST DCS DIRECTORYC. LIST NODE DIRECTORYD. LIST ACTIVE DATABSAES

Correct Answer: BSection: (none)

Page 22: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Explanation

Explanation/Reference:

QUESTION 51How should be following UDF be invoked to convert US currency values stored in the EXPENSES table intoCanadian Currency?

A. CALL getratews 11('USA','CANADA')B. CALL expenses.getratews11('USA','CANADA')C. SELECT getratews11('USA','CANADA') FROM expensesD. SELECT * FROM TABLE(getratews11('USA','CANADA')) AS convert_currency

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 52Which of the following privileges permits a user to update the comment on a sequence?

A. CONTROLB. UPDATEC. USAGED. LATER

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 53Which of the following statements is used to grant user TOM and Application team APPGRP the ability to adddata to table TAB1?

A. GRANT ADD DATA ON TABLE tab1 TO GROUP tom appgrpB. GRANT INSERT TO USER tom, GROUP appgrp ON TABLE tab1C. GRANT INSERT ON TABLE tab1 TO USER tom, GROUP appgrpD. GRANT ADD DATA ON TABLE tab1 TO USER appgrp, GROUP tom

Page 23: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 54Given the following stored procedure:

How can this stored procedure be called form the Command Line Processor?

A. CALL increase_salary('A00')B. VALUES increase_salary('A00')C. CALL increase_salary('A00',?)D. VALUES increase_salary('A00',?)

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 55Which of the following best describes the age of the data in an OLTP system?

A. CurrentB. ProjectedC. HistoricalD. Current and Projected

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 56A programmer wants to generate values for a numeric ID Column in their EXPENSE table. The ID Columnvalues need to be incremented by 1000 for each new expense report added to the EXPENSE table. When DB2object can be referenced by an INSERT statement to meet this requirement?

A. SequenceB. Table FunctionC. Identify ColumnD. INSTEAD OF Trigger

Page 24: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 57Which of the following best describes how locks are used in DB2?

A. To maintain control of updated rows for commit processingB. To ensure only committed changes are altered by another applicationC. To allow to applications to update the same row of data simultaneouslyD. To prevent multiple applications from accessing the same data simultaneously

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 58On which of the following database objects may the SELECT privilege be controlled?

A. SequenceB. SchemaC. GroupD. View

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 59What type of constraint can be used to ensure that, in any given row in a table, the value of one column neverexceeds the value of another column?

A. CheckB. RangeC. ReferentialD. Informational

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 60How many names will be returned for this XQuery? CREATE TABLE customer (cid BIGINT NOT NULL

Page 25: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

PRIMARY KEY, info XML)

A. 0B. 1C. 2D. 3

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 61Which of the following will correctly return the manager information sorted by the manager's last name,department and project name?'

Page 26: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

A. AB. BC. CD. D

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 62Which of the following is a feature of a unit work?

A. It applies to a single data serverB. It is a recoverable sequence of operationsC. Its value can be queried from the system catalog tablesD. It begins when the application connects to the data server

Correct Answer: BSection: (none)Explanation

Page 27: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Explanation/Reference:

QUESTION 63Given the following Requirements:Create a table named TESTTAB, which has a identity named ACTIVITYNO. Define the identity column togenerate the values for the column by default. Starts the values at 10 and increment by 10. Make the identitycolumn unique.

A. A

Page 28: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

B. BC. CD. D

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 64A sequence was created with the DDL statement show below:

What is the current value of the :con1hvar host variable?

A. 2B. 3C. 11D. 30

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 65Given the following table and XML data stored in the CONTACTINFO column:

Page 29: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

What is the result of the following XQuery Expression? For $y in db2-fn:xmlcolumn('CLIENTS.CONTACTINFO')/Client/fax return $y

A. 9051112222B. <fax>9051112222</fax>C. No Results because there is no <fax> child element of <Client>D. No results because the XQuery expression is not a valid FLWOR Expression

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 66When defining a referential constraint between the parent table T2 and the dependent table T1, which of thefollowing is true?

A. The list of column names in the FOREIGN KEY clause can be subset of the list of column names in theprimary key of T2 or a UNIQUE constraint that exists on T2

B. The list of Column names in the FOREIGN KEY clause can be a subset of the list of column names in theprimary key of T1 or a UNIQUE constraints

C. The list of column names in the FOREIGN KEY clause must be identical to the list of column names in theprimary key of T2 or a UNIQUE constraint that exists on T2

D. The list of column names in the FOREIGN KEY clause must be identical to the list of column names in theprimary key of the T1 or a UNIQUE constraints that exists on T1.

Correct Answer: CSection: (none)Explanation

Page 30: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Explanation/Reference:

QUESTION 67Which of the following resources can be explicitly locked?

A. RowB. PageC. TableD. Column

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 68A user needs to create a trigger that will update table T2 whenever a row is added to table T1. Assuming theuser has all appropriate privileges for table T2 which privilege is required on table T1 to create the trigger?

A. REFERENCESB. SELECTC. UPDATED. ALTER

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 69Application A holds an update lock on a single row and application B is trying to read that row. If bothapplications are using isolation level UR, which of the following will occur?

A. Application B will read the rowB. Application A and B will cause a deadlock situationC. Application B will wait until application A releases the update lockD. Application A will be terminated so that application B can read the row

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 70Which of the following SQL statements will return the year and average salary for all employees hired within agiven year that have a salary greater than $30,000?

A. SELECT * FROM t1 UNION SELECT FROM t2

Page 31: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

B. SELECT * FROM t2 UNION DISTINCT SELECT * FROM t2C. SELECT * FROM t1 INTERSECT SELECT * FROM t2D. SELECT * FROM t1 WHERE (c1,c2)=(SELECT c1,c2 FROM t2)

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 71Which of the following is a characteristics of a sequence?

A. A sequence will never generate duplicate valuesB. The MAXVALUE of a sequence can be equal to the MINVALUEC. It is not possible to create a sequence that generates a constant since the INCREMET value must be

greater than zeroD. When a sequence cycles back to either the MAXVLAUE or MINVALUE, it will always be equal to the

specified value of either of these two boundaries

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 72Which of the following is the lowest cost DB2 product that can be legally installed on an AIX server?

A. DB2 Express EditionB. DB2 Personal EditionC. DB2 Workgorup server EditionD. DB2 Enterprise Server Edition

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 73within the application MY_APP the following PREVIOUS VALUE expression references the sequenceMY_SEQ:PREVIOUS VALUE FOR my_seqAfter which of the following events will the most recently generated value of MY_SEQ persist so that it can bereturned to the active MY_APP application?

A. After a ROLLBACK is issuedB. After the sequence is alteredC. After the sequence is droppedD. After the current session ends

Page 32: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 74Given the following query:SELECT last_name, first_name,age,hire_dateFROM employeeWHERE age> 40Which of the following clauses must be added to return the rows sorted by AGE, oldest first and byLAST_NAME from A to Z?

A. SORT BY age ASC, last_nameB. SORT BY age DESC, last_nameC. ORDER BY age DESC, last_nameD. ORDER BY age ASC, last_name

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 75Which Bill of non-sourced UDF can be created so that it only returns a single value?

A. RowB. TableC. ScalarD. Column

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 76Which of the following queries will correctly return the manager information sorted by the manager's last name,department and project name?

Page 33: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

A. AB. BC. CD. D

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 77Which of the following supports the XML data type?

A. A Unique indexB. A Composite indexC. A Check ConstraintD. A generated Column

Correct Answer: ASection: (none)

Page 34: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Explanation

Explanation/Reference:

QUESTION 78Given the following ALTER SEQUENCE statement:

Assuming that the sequence had reached a value of 100 prior to the RESTART, which of the following is true?

A. The next value will be 0 and the sequence will never use the values 101 to 105.B. The next value will be 101 to ensure uniqueness between existing and newly generated sequence valuesC. Previously cached values are retained by DB2 and after the restart will be used for values 101 and 105D. The next value will be 0 and DB2 will not ensure uniqueness between existing and newly generated values

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 79In which of the following situations should correlations names be used?

A. A table referenced in the FROM clause has no indexed columnB. The table referenced in the FROM clause has more than 200 columnsC. Two or more tables in the FROM clause have identical column namesD. The FROM clause contains two or more tables in the SELECT statement

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 80Which of the following statements is used to prevent user TOM from adding and deleting data in table TAB1?

A. REVOKE ADD, DELETE FROM USER tom ON TABLE tab1B. REVOKE ADD, DELETE ON TABLE tab1 FROM USER tomC. REVOKE INSERT, DELETE FROM USER tom ON TABLE tab1D. REVOKE INSERT, DELETE ON TABLE tab1 FROM USER tom

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

Page 35: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

QUESTION 81An application needs a table for each connection that tracks the ID and Name of all items previously orderedand committed within the connection. The table also needs to be cleaned up and automatically removed eachtime a connection is ended. Assuming the ITEMS table was created with the following SQL statement:

Which of the following SQL statements will provide the table definition that meets the specified requirements?Please refer to the second exhibit.

A. AB. BC. CD. D

Correct Answer: Section: (none)Explanation

Explanation/Reference:

QUESTION 82A trigger can be created on which of the following objects?

Page 36: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

A. ViewB. Catalog TableC. Stored ProcedureD. Global Temporary Table

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 83Which of the following provides a logical grouping of database objects?

A. ViewB. TableC. SchemaD. Buffer Pool

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 84Which of the following is TRUE for the DB2 isolation level Cursor Stability (CS)?

A. An Application process acquires at least a share lock on the current row of every cursorB. Any row that is read during a unit of work can't be changed by other application processes until the unit of

work is completeC. Any row changed by another application process can be read, even if the change has not been committed

by that application processesD. An application process that issues that same query more tan once in a unit of work will not see additional

rows caused by other application processes appending new information to the database

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 85Which of the following describes the model used by the Geodetic Extender?

A. Flat EarthB. E-D squareC. TrapezoidalD. Round Earth

Correct Answer: DSection: (none)

Page 37: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

Explanation

Explanation/Reference:

QUESTION 86A "trusted" client needs to communicate with a server that has been configured to use CLIENT authentication.Which of the following will be used to verify passwords?

A. User ID/Password fileB. Communications layerC. Client ApplicationsD. Operating System

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 87An Application needs to store a 5 MB JPEG image in a DB2 table. Which data type should be specified for thecolumn that will be used for storing the image?

A. GRAPHICB. BINARYC. IMAGED. BLOB

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 88Given the following table and XML data stored in the CONTACTINFO column:

Page 38: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

What is the result of the following XQuery Expression? For $y in db2-fn:xmlcolumn('CLIENTS.CONTACTINFO')/Client/fax return $y

A. 9051112222B. <fax>9051112222</fax>C. No Results because there is no <fax> child element of <Client>D. No results because the XQuery expression is not a valid FLWOR Expression

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 89A DRDA host database resides on a Z/OS or an i5/OS system and listens on port 446. The TCP/IP address forthis system is 192.168.10.1 and the TCP/IP host name is myhost. Which of the following commands is requiredto update the local node directory so that a DB2 client can access this DRDA database?

A. CATALOG TCPIP NODE myhost REMOTE db2srv SERVER 446B. CATALOG TCPIP NODE mydb2srv REMOTE myhost SERVER 446C. CATALOG TCPIP NODE myhost REMOTE db2srv SERVER 192.168.10.1D. CATALOG TCPIP NODE mydb2srv REMOTE host SERVER 192.168.10.1

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

Page 39: IBM 000-730 EXAM QUESTIONS & ANSWERS · 6/25/2014  · A. The list of column names in the FOREIGN KEY clause can be a subset of the list of column names in the primary key of T2 or

QUESTION 90Which of the following database objects can be used to raise an error if a table is updated?

A. PackageB. TriggerC. Stored ProcedureD. Informational Constraint

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

http://www.gratisexam.com/