Loading ...
Global Do...
News & Politics
2
0
Try Now
Log In
Pricing
000-733 IBM certifications II Braindump ExamSoon 000-733 Exams IBM IBM Certified Application Developer-DB29 O rder : 000-733 Exam Practice Exam: 000-733 Exam Number/Code: 000-733 Exam Name: IBM Certified Application Developer-DB29 Questions and Answers: 140 Q&As Free 000-733 Braindumps Exam : IBM 000-733 Title : IBM Certified Application Developer-DB29 1. After installing the DB2 Express-C 9 it was discovered that the Development Workbench was not available. What was the reason for that? A. It must be installed separately. B. It is not supported with DB2 Express-C 9. C. Since it is a licensed tool, it must be purchased from IBM. D. Review the DB2 installation log for errors. Reinstall DB2 Express-C 9. Answer: A 2. If the following code is executed in the order shown: conDB2 As DB2Connection conDB2.ConnectionString = "Database=samplelx;UID=db2user;PWD=db2pwd;" conDB2.Open() Which of the following statements is correct? A. An exception is thrown because the server name has not been specified. B. An exception is thrown because the server name and the port have not been specified. C. The execution is successful provided the host name SAMPLEX has been previously defined in the local hosts table. D. The execution is successful provided the database alias SAMPLEX has been previously defined in the local database catalog. Answer: D 3. A .NET application executes a SQL request invoking the DB2Command.ExecuteReader method and a syntax error exception is thrown. Which of the following properties contains the SQLCode for this syntax error? A. DB2Error.SQLCode B. SQLError.SQLCode C. DB2Exception.SQLCode D. SQLException.SQLCode Answer: A 4. Which of the following restrictions pertains to embedded SQL external routines? A. Environment variables with names that start with 'DB2' are not allowed. B. Executing statements or commands that are connection related is not allowed. C. Environment variable values that were set before the DB2 database manager is started are not available. D. When returning result sets from external nested stored procedures, a cursor cannot be opened with the same name on multiple nesting levels. Answer: B 5. Given the following table definition: CREATE TABLE staff ( id SMALLINT NOT NULL, name VARCHAR(9), dept SMALLINT, job CHAR(5)) Assuming that the following statements execute successfully: Dim cmdStaff As DB2Command = cnDb2.CreateCommand() cmdStaff.CommandText = "SELECT name FROM staff WHERE (job = @job)" Which of the following is the correct way to provide a value for the parameter marker used? A. cmdStaff.Parameters.Add("@job", "Mgr", CType(5, Char)) B. cmdStaff.Parameters.Add("@job", "Mgr", DB2Type.Char, 5) C. cmdStaff.Parameters.Add(New DB2Parameter("@job", CType(5, Char)) cmdStaff.Parameters("@job").Value = "Mgr" D. cmdStaff.Parameters.Add(New DB2Parameter("@job", DB2Type.Char, 5) cmdStaff.Parameters("@job").Value = "Mgr" Answer: D 6. Two OLTP applications run concurrently but frequent locking occurs which requires a fix to be applied. Application A inserts rows into the table T1. Application B submits several queries against the table with a Cursor Stability isolation level. What would be the best course of action to improve the system's concurrency and performance? A. Application B should be changed to access a view of table T1. B. Application B should be changed to a Read Stability isolation level. C. Application A should be changed to perform a commit after each INSERT operation. D. Application A should be changed to include the NOT WITH HOLD clause on each INSERT operation. Answer: C 7. Which of the following is the DB2 Data Provider for the .NET class that requires a database connection to be open? A. DB2DataSet B. DB2RecordSet C. DB2DataReader D. DB2DataAdapter Answer: C 8. Which of the following is a SQL stored procedure which will return a resultset containing ID, NAME, DEPT and JOB values out of the STAFF table? A. CREATE PROCEDURE result_set() LANGUAGE SQL BEGIN SELECT id, name, dept, job FROM staff; END B. CREATE PROCEDURE result_set LANGUAGE SQL RESULT SETS 1 BEGIN SELECT id, name, dept, job FROM staff; END C. CREATE PROCEDURE result_set RESULT SETS 1 BEGIN DECLARE c1 CURSOR FOR SELECT id, name, dept, job FROM staff; OPEN C1; END D. CREATE PROCEDURE result_set() LANGUAGE SQL RESULT SETS 1 BEGIN DECLARE c1 CURSOR WITH RETURN FOR SELECT id, name, dept, job FROM staff; OPEN c1; END Answer: D 9. Which of the following is a characteristic of an application that uses a Distributed Unit of Work (DUOW)? A. A single transaction can only read and/or modify data stored on one database server. B. Multiple transactions can only read and/or modify data stored on one database server. C. A single transaction can read and/or modify data stored across multiple database servers. D. Multiple transactions can read and/or modify data stored on multiple database servers provided each transaction only accesses a single server. Answer: C 10. What is the minimum privilege required to run a User Defined Function (UDF)? A. CALL B. EXECUTE C. SYSCTRL D. SYSMAINT Answer: B 11. An SQL procedure has been developed with several inline SQL PL statements encapsulated in a dynamic compound SQL statement. The procedure had been tested and performed well. After making a change to the last SQL statement the procedure not only failed to complete, but did not produce output from any statements which were not modified. What is the best explanation for this behavior? A. The dynamic compound SQL is atomic. B. The procedure doesn't have any savepoints. C. The procedure has not been correctly re-cataloged. D. The dynamic compound SQL individual statements are logically dependent on each other. Answer: A 12. Parameter markers are NOT permitted for which of the following statements? A. CALL B. DELETE C. EXECUTE IMMEDIATE D. SET CURRENT SQLID Answer: C 13. Which of the following SQL statements demonstrates the correct usage of a parameter marker? A. SELECT ? FROM SYSCAT.TABLES B. SELECT [] FROM SYSCAT.TABLES C. SELECT CAST(? AS INTEGER) FROM SYSCAT.TABLES D. SELECT CAST([] AS INTEGER) FROM SYSCAT.TABLES Answer: C 14. After executing the following SQL statements: CREATE TABLE tab1 ( col1 INT , col2 CHAR(1), PRIMARY KEY(col1)); CREATE TABLE tab2 ( col1 INT , col2 CHAR(1), FOREIGN KEY (col1) REFERENCES tab1(col1) ON DELETE CASCADE ON UPDATE NO ACTION ); INSERT INTO tab1 VALUES(1, 'A'); INSERT INTO tab1 VALUES(2, 'B'); INSERT INTO tab2 VALUES(3, 'A'); INSERT INTO tab2 VALUES(2, 'B'); UPDATE tab1 SET col1 = col1 + 1; DELETE FROM tab1 WHERE col2 = 'B'; What values will be returned by the following SQL query? SELECT col1, col2 FROM tab1 A.COL1 COL2 ==== ==== 2 'B' A. COL1 COL2 ==== ==== 2 'B' B. COL1 COL2 ==== ==== 2 'A' C. COL1 COL2 ==== ==== 1 'A' 2 'B' D. COL1 COL2 ==== ==== 2 'A' 3 'B' Answer: B 15. Which of the following ADO .NET providers is supported by IBM DB2 Add-ins for Visual Studio? A. OLE DB .NET Data Provider B. DB2 Data Provider for .NET C. ODBC Data Provider for .NET D. DB2 for i5/OS .NET Provider Answer: B 16. A table named ACTIVITY.LOG was created by executing the following statement: CREATE TABLE activity.log (event VARCHAR(128), date DATE) Then, a stored procedure named ACTIVITY.LOGEVENT was created by executing the following statement: CREATE PROCEDURE activity.logEvent(IN stmtType CHAR(1)) LANGUAGE SQL MainBody: BEGIN DECLARE sqlerrm VARCHAR(256) DEFAULT ''; DECLARE ErrorIndicator CHAR(1) DEFAULT 'N'; SQLStmt: BEGIN DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN SET ErrorIndicator = 'Y'; END; IF stmtType = 'I' THEN INSERT INTO activity.log VALUES('Insert Operation Performed.', CURRENT_DATE); ELSEIF stmtType = 'U' THEN INSERT INTO activity.log VALUES('Update Operation Performed.', CURRENT_DATE); ELSEIF stmtType = 'D' THEN I NSERT INTO activity.log VALUES('Delete Operation Performed.', CURRENT_DATE); ELSE SET ErrorIndicator = 'Y'; END IF; END SQLStmt; IF ErrorIndicator = 'Y' THEN SIGNAL SQLSTATE '70000' SET message_text = 'Could not update activity log.'; END IF; END MainBody User USER1 has the authority to access/manipulate data in the ACTIVITY.LOG table as well as to invoke the procedure ACTIVITY.LOGEVENT. If user USER1 executes the following commands: CONNECT TO sample USER user1 USING ibmdb2; DELETE FROM activity.log; CALL activity.logEvent('i'); What will be the results? A. The string "Insert Operation Performed." and the system date will be written to the ACTIVITY.LOG table. B. The string "Update Operation Performed." and the system date will be written to the ACTIVITY.LOG table. C. The string "Delete Operation Performed." and the system date will be written to the ACTIVITY.LOG table. D. The error message 'SQL0438N Application raised error with diagnostic text: "Could not update activity log.". SQLSTATE=70000' will be generated. Answer: D 17. Given following table: EMP EMPNO NAME DEPTNO SALARY ===== ==== ====== ====== 0010 JOSH D95 30000 0020 JENNA D98 25000 0030 DYLAN D95 10000 0040 TRACY D90 33000 and the following trigger definition: CREATE TRIGGER track_chgs AFTER UPDATE OF salary, name, empno ON emp REFERENCING NEW_TABLE AS ntable FOR EACH STATEMENT MODE DB2SQL BEGIN ATOMIC INSERT INTO changes SELECT empno, CURRENT TIMESTAMP FROM ntable; END; After executing the following SQL statements: DELETE FROM changes; UPDATE emp SET deptno = 'D98' WHERE deptno = 'D95'; INSERT INTO emp VALUES('0050', 'KEN', 'D90', 35000); UPDATE emp SET salary = salary - 500 WHERE salary > 35000; UPDATE emp SET salary = salary + 1000 WHERE salary <= 25000; What value will be returned by this query? SELECT count(*) FROM changes A. 2 B. 3 C. 4 D. 6 Answer: A 18. Given the following table and view definitions: CREATE TABLE city ( cityid INT GENERATED ALWAYS AS IDENTITY , city_name CHAR(10), state_code CHAR(2) CHECK(state_code IN ('CA','IL','NY','OH','TX'))); CREATE VIEW city_view AS ( SELECT city_name||','||state_code AS fullname FROM city WHERE state_code NOT IN ('OH','IL')); and the following trigger definition: CREATE TRIGGER city_viewInput INSTEAD OF INSERT ON city_view REFERENCING NEW AS n FOR EACH ROW MODE DB2SQL BEGIN ATOMIC DECLARE delim INT; SET delim = LOCATE(',', n.fullname); INSERT INTO city(city_name,state_code) VALUES(SUBSTR(n.fullname, 1, delim - 1), SUBSTR(n.fullname, delim + 1, 2)); END; If the following SQL statments are executed: INSERT INTO city VALUES(DEFAULT,'San Jose','CA') ; INSERT INTO city_view VALUES('Chicago,IL'); INSERT INTO city VALUES(DEFAULT,'Detroit','MI'); INSERT INTO city VALUES(DEFAULT,'Austin','TX'); INSERT INTO city_view VALUES('Denver,CO'); How many rows will be returned by the following query: SELECT * FROM city A. 1 B. 2 C. 3 D. 4 Answer: C 19. An application running against a DB2 for AIX database needs to execute the following query: SELECT t2.c2, t1.c3 FROM t1 INNER JOIN t2 ON t1.c1 = t2.c1 If table T1 resides in the DB2 for AIX database and table T2 resides in a DB2 for i5/OS database, which of the following DB2 object types must the identifier T2 represent in order for this SQL statement to run successfully? A. ALIAS B. NICKNAME C. SERVER TABLE D. TABLE WRAPPER Answer: B 20. Table EMPLOYEE contains the following rows: EMPNO FIRSTNME LASTNAME WORKDEPT ------- -------- -------- -------- 000010 CHRISTINE HAAS A00 000020 MICHAEL THOMPSON B01 000030 SALLY KWAN C01 The isolation level for Application 1 is set to CS and autocommit is disabled. The isolation level for Application 2 is set to CS and the autocommit is enabled. The following statements are executed in sequence: Application 1: ----- DECLARE c1 CURSOR FOR SELECT * FROM employee ORDER BY empno OPEN C1 FETCH C1 FETCH C1 Application 2: ----- UPDATE employee SET lastname = 'MILLFORD' WHERE empno = '000020' Which of the following statements is correct? A. The UPDATE succeeds because Application 2 runs with autocommit enabled so no row level locks are necessary for the update. B. The UPDATE succeeds because Application 1 holds a row level lock that is compatible with the lock required by Application 2. C. The UPDATE fails because Application 1 holds a row level read lock that is in conflict with the lock required by Application 2.C. D. The UPDATE fails because the row level locks held by Application 1 have been escalated to table lock so updates by other connections are disallowed. Answer: B More 000-733 Braindumps Information Exam Description 1. ExamSoon offer free update service for three month. After you purchase our product, we will offer free update in time for three month. 2. High quality and Value for the 000-733 Exam. ExamSoon Practice Exams for 000-733 are written to the highest standards of technical accuracy, provided by our certified subject matter experts and published authors for development. 3. 100% Guarantee to Pass Your IBM certifications II exam and get your IBM certifications II Certification. We guarantee your success in the first attempt. If you do not pass the IBM certifications II "000-733" (IBM Certified Application Developer-DB29 on your first attempt, send us the official result. We will give you a FULLY REFUND of your purchasing fee and send you another same value product for free. 4. ExamSoon IBM certifications II 000-733 Exam Downloadable. Our PDF or Testing Engine Preparation Material of IBM certifications II 000-733 exam provides everything which you need to pass your exam. The IBM certifications II Certification details are researched and produced by our Professional Certification Experts who are constantly using industry experience to produce precise, and logical. You may get "000-733 exam" questions from different websites or books, but logic is the key. Our Product will help you not only pass in the first IBM Certified Application Developer-DB29( IBM certifications II ) exam try, but also save your valuable time. Comprehensive questions with complete details about 000-733 exam. 000-733 exam questions accompanied by exhibits. Verified Answers Researched by Industry Experts and almost 100% correct. Drag and Drop questions as experienced in the Real IBM certifications II exam. 000-733 exam questions updated on regular basis. Like actual IBM certifications II Certification exams, 000-733 exam preparation is in multiple-choice questions (MCQs). Tested by many real IBM certifications II exams before publishing. Try free IBM certifications II exam demo before you decide to buy it in http://www.ExamSoon.com High quality and Valued for the 000-733 Exam: 100% Guarantee to Pass Your 000-733 exam and get your IBM certifications II Certification. Come to http://www.ExamSoon.com The easiest and quickest way to get your IBM certifications II Certification. ExamSoon professional provides IBM certifications II 000-733 the newest Q&A, completely covers 000-733 test original topic. With our completed IBM certifications II resources, you will minimize your IBM certifications II cost and be ready to pass your 000-733 test on Your First Try, 100% Money Back Guarantee included! 000-733 Exam Study Guide 000-733 exam is regarded as one of the most favourite IBM certifications II Certifications. Many IT professionals prefer to add 000-733 exam among their credentials. ExamSoon not only caters you all the information regarding the 000-733 exam but also provides you the excellent 000-733 study guide which makes the certification exam easy for you. ExamSoon Engine Features Comprehensive questions and answers about 000-733 exam 000-733 exam questions accompanied by exhibits Verified Answers Researched by Industry Experts and almost 100% correct 000-733 exam questions updated on regular basis Same type as the certification exams, 000-733 exam preparation is in multiple-choice questions (MCQs). Tested by multiple times before publishing Try free 000-733 exam demo before you decide to buy it in ExamSoon.com ExamSoon Help You Pass Any IT Exam ExamSoon.com offers incredib le career enhancing opportunities. We are a team of IT professionals that focus on providing our customers with the most up to date material for any IT certification exam. This material is so effective that we Guarantee you will pass the exam or your money back. 000-903 IBM Tivoli Netcool/xSM 000-926 IBM Certified Deployment Professional-Maximo V6 ITSM 000-253 Test253. IBM WebS.App.Svr.Ntwork Develoyment V6.1.Core Admn 000-331 Power Systems Sales for AIX and Linux 000-798 ibm tivoli monitoring for transaction perf v5.2 implement 000-833 Object Oriented Analysis and Design-Part1(Analysis) 000-351 ibm eserver i5 iseries single system adminsitration v5r3 000-918 System Administration for IBM Informix Dynamic Server V11 000-664 Test664.SOA Fundamentals 000-021 IBM Tivoli Workload Scheduler V8.5 lmplementation Related 000-733 Exams 000-484 enterprise connectivity with j2ee v1.3 000-807 Test 807, Web Services Dev for IBM Web Sphere App Server V6.1 000-792 ibm tivoli access mgr for business integration v3.9.1 implmn 000-647 Rational Performance Tester 000-568 test 568,ibm host on-demand v5.0 and screen customizer v2.0 000-635 rational-fundamentals of rational rose 000-750 ibm certified specialist retail store solution sales 000-806 IBM Test 806, IBM WebSphere Ap Svr Ntwk Deploy V6.1 Adv Admn 000-971 System i Administrator V5.07.11 000-284 Test 284, IBM Wbs. DataPower SOA Appliances, Fimware v3.6.0 Other IBM Exams 000-416 000-417 000-399 000-891 LOT-957 000-714 000-749 000-085 LOT-849 000-877 000-257 000-314 000-316 000-011 000-418 000-204 000-x01 000-m27 000-550 000-J02