Database Management Fundamentals: SQL Server and IMS
Quiz covering database concepts, query optimization, transaction isolation, and administration across SQL Server and IMS database systems
Questions
Which Oracle access method is the fastest way for Oracle to retrieve a single row?
- Primary key access
- Access via unique index
- Table access by ROWID
- Full table scan
What tool should you recommend for a junior DBA to use to create a simple backup strategy for a database?
- Database Engine Tuning Advisor
- SQL Server Configuration Manager
- Database Maintenance Plan Wizard
- Database Maintenance design surface
You write a stored procedure that will return data for a report. The accuracy of the data is not so important; however, you want to avoid dirty reads. Which isolation level should you avoid?
- Read Committed
- Read Uncommitted
- Repeatable Read
- Serializable
Each occurrence of the IMS root segment plus all the segment occurrences that are subordinate to it, make up a
- A)Twin Segment
- B)Segement type
- C)Database record
- D)Path
What is the maximum no of of levels a DL/I database can have?
- 15
- 16
- 255
- 49
What does PCB stands for in IMS?
- A)Process control Block
- B)Program Control Block
- C)Program Communication Block
- D)Process Communication Block
Which one of the following status code indicates a duplicate insertion of a segment in IMS
- A)II
- B)AI
- C)IX
- D)AJ
Which one of the following describes the physical structure of an IMS database
- A)PSB
- B)DBD
- C)ACB
- D)DBDGEN
How can a blocking process be killed?
- Find the process in System Monitor and select Kill Process.
- Find the process in Activity Monitor and select Kill Process.
- Find the process in SQL Profiler and select Kill Process.
- Find the process in SSRS and select Kill Process.
What was a problem with navigational data access languages?
- The user had to have knowledge of the table and index structures.
- Navigational data access was far slower than declarative access.
- Navigational access languages required the coder to embed their queries inside a procedural language shell.
- Navigational languages were far slower then SQL
Which is a major problem with SQL?
- SQL cannot support object-orientation
- The same query can be written in many ways, each with vastly different execution plans.
- SQL syntax is too difficult for non-computer professionals to use
- SQL creates excessive locks within the database
You want to identify the top 10 queries that have been recompiled the most times on your server. What can you do?
- Use the sys.dm_exec_requests dynamic management view.
- Use the sys.dm_exec_sessions dynamic management view.
- Use the sys.dm_exec_query_stats dynamic management view.
- Use the sys.dm_exec_query_optimizer_info dynamic management view.