• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
Excersise from Roger E. Sanders
Chapter – I: DB2 PLANNING
1. Which of the following is the best client to use to allow users to execute ad-hoc queries, usingthe Command Line Processor, that retrieve data from a DB2 UDB server?A. DB2 Run-Time ClientB. DB2 Administration ClientC. DB2 Application Development ClientD. DB2 CLP Support Client2. A client application on OS/390 must access a DB2 UDB database on a Solaris Server. At aminimum, which of the following products must be installed on the Solaris workstation?A. DB2 Connect Enterprise EditionB. DB2 UDB Workgroup Server EditionC. DB2 UDB Workgroup Server Edition and DB2 Connect Enterprise EditionD. DB2 UDB Enterprise Server Edition and DB2 Connect Enterprise Edition3. A developer needs to build an application on a Linux workstation that will access a databaseon an OS/400 server. At a minimum, which of the following products must be installed on theLinux workstation?A. DB2 Personal Developer’s EditionB. DB2 Universal Developer’s EditionC. DB2 Personal Developer’s Edition and DB2 Connect Enterprise EditionD. DB2 Connect Developer’s Edition4. Which of the following products is used to manage extensible markup language documents?A. DB2 AVI ExtenderB. DB2 Text ExtenderC. DB2 XML ExtenderD. DB2 Spatial Extender5. Which of the following is used to create and debug user-defined functions?A. SQL AssistB. Control CenterC. Command CenterD. Development Center6. Which two of the following are performed by the DB2 Warehouse Manager?A. QueryB. ExtractionC. CategorizationD. ReplicationE. Transformation7. Which two of the following allow you to perform administrative tasks against databaseobjects?A. Control CenterB. Command Center
Page 1 of 33
 
Excersise from Roger E. SandersC. Command Line ProcessorD. Task CenterE. Health Center8. Which of the following tools is used to automate backup operations?A. Control CenterB. Command CenterC. Command Line ProcessorD. Task Center9. Which of the following maintains a history of all warnings and errors generated by theControl Center?A. JournalB. Health CenterC. Information CenterD. Visual Explain10. Which of the following tools can be used to determine if the creation of an index willimprove query performance?A. Control CenterB. SQL AssistC. Visual ExplainD. Development Center
Answers
1.
The correct answer is A
. The DB2 Run-Time client provides basic connectivity that allowsclient workstation users to issue interactive SQL statements that access data stored on a DB2UDB/DB2 Connect server; the DB2 Administration Client provides basic connectivity, alongwith the ability to perform administrative operations on DB2 UDB databases that reside on aDB2 UDB/DB2 Connect server; and the DB2 Application Development Client provides basicconnectivity, along with a collection of tools and components that can be used to develop, test,and run applications that are designed to interact with databases that reside on DB2UDB/DB2 Connect servers.2.
The correct answer is C.
DB2 Connect Enterprise Edition is an add-on product for DB2 UDBthat allows data to be moved between Linux, UNIX, and Windows DB2 servers and iSeries- andzSeries-based DB2 servers. Because some editions of DB2UDB must be installed before DB2Connect can be used, and because DB2 Connect is needed in this case to providecommunications between the Solaris server and the OS/390 client, answers A and B are bothwrong. The question states “at a minimum, which...products must be installed...” and since DB2Universal Database Enterprise Server Edition comes packaged with a limited version of DB2Connect, DB2 Connect does not need to be installed along with DB2 UDB Enterprise ServerEdition, so answer D is also incorrect.3.
The correct answer is B.
Because DB2 Personal Developer’s Edition can only be used todevelop applications that work with local databases, and because DB2 Personal Developer’s
Page 2 of 33
 
Excersise from Roger E. SandersEdition must be used with DB2 Connect Personal Edition, not DB2 Connect Enterprise Edition,answers A and C can be eliminated. And since there is no DB2 Connect Developer’s Edition, thecorrect answer is B.4.
The correct answer is C.
The DB2 XML Extender contains a set of data types and functionsthat can be used to store extensible markup language (XML) documents in a DB2 UDB database.The DB2 Audio, Video, and Image (AVI) Extender contains a set of data types and functions thatcan be used to store and manipulate nontraditional data such as audio clips, movies, andpictures in a DB2 UDB database; the DB2 Text Extender contains a set of data types andfunctions that can be used to store complex text documents in a DB2 UDB database and toextract key information from such documents; and the DB2 Spatial Extender contains a setof user-defined data types that can be used to describe spatial data (for example, points, lines,and polygons) and a set of user-defined functions that can be used to query spatial objects (forexample, to find area, endpoints, and intersects).5. The correct answer is D. The Development Center is an interactive GUI application that can beused to create, build, debug, and deploy stored procedures, structured data types, and user-defined functions.6. The correct answers are B and E. The DB2 Warehouse Manager extracts, transforms, and loadsdata into a data warehouse.7. The correct answers are A and C. The Control Center presents a clear, concise view of anentire system and it serves as the central point for managing systems and performing commonadministration tasks. The Command Line Processor (CLP) is a text-oriented application thatallows users to issue DB2 UDB commands, system commands, and SQL statements, as well asview the results of the statements/commands executed. Because the administrative tasks thatcan be performed with the Control Center have corresponding DB2 UDB commands, boththe Control Center and the Command Line Processor can be used to perform administrativetasks against a database and its objects.8. The correct answer is D. The Task Center is an interactive GUI application that allows users toschedule tasks, run tasks, and send notifications about completed tasks to other users. Because atask can be generated by saving the results from the Backup Database wizard, the Task Centercan be used to automate backup operations.9. The correct answer is A. The Journal is an interactive GUI application that tracks historicalinformation about tasks, database actions and operations, Control Center actions, messages, andalerts; the Messages view of the Journal shows a running history of messages that were issuedfrom the Control Center as well as any other GUI tool.10. The correct answer is C. Visual Explain is a GUI application that allows users to view thedetails of the access plan (including the statistics in the system catalogs) chosen by the DB2optimizer for a given SQL statement without actually executing the statement. This informationallows users to quickly view the statistics that were used at the time a particular query wasoptimized and determine, among other things, whether or not an index would improve accessto a table, which in turn would improve query performance.
Page 3 of 33
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...