Multi-Database Technologies: IMS DB, SQL/Oracle, and Hibernate
Covers fundamental concepts across multiple database technologies including IMS DB segments and control blocks, SQL queries and data types, Oracle database administration, and Hibernate ORM architecture
Questions
Hibernate works best if these classes follow some simple rules, also known as the ___________ programming model.
- Perform Object Java Oriented
- Plain Object Java Old
- Platform Oriented Java Object
- Plain Old Java Object
Examine this TRUNCATE TABLE command: - 68 - TRUNCATE TABLE departments; Which statements are true about the command?
- All extents are released.
- All rows of the table are deleted.
- Any associated indexes are truncated.
- No undo data is generated for the table's rows.
You are logged on to a client. You do not have a secure connection from your client to the host where your Oracle database is running. Which authentication mechanism allows you to connect to the database using the SYSDBA privilege?
- Control file authentication
- Password file authentication
- Data dictionary authentication
- Operating system authentication
Which two statements are true about rebuilding an index?
- The resulting index may contain deleted entries.
- A new index is built using an existing index as the data source.
- Queries cannot use the existing index while the new index is being built.
- During a rebuild, sufficient space is needed to accommodate both the old and the new
Which method is correct for starting an instance to create a database?
- STARTUP
- STARTUP OPEN
- STARTUP MOUNT
- STARTUP NOMOUNT
Which data dictionary view shows the available free space in a certain tablespace?
- DBA_EXTENTS
- V$FREESPACE
- DBA_FREE_SPACE
- DBA_FREE_EXTENTS
what are the three main components in Hibernate architecture?
- Connection Management
- Bean Management
- Transaction Management
- Object relational mapping
- Relational Management
Can a query defining the 'view' include the ORDER BY clause?
- True
- False
A CLOB (character large object) data type store upto____character?
- 1,147,483,647
- 2,147,483,647
- 3,147,483,647
- 4,147,483,647
How many defaults can be placed on one column of a Table?
- 50
- up to 1000
- 10,000
- N number
Suppose emp table contains 5 records then Select 1 from emp; o/p ?
- 5
- 1
- five times 1
- one time 5
What is the difference between GROUP BY and ORDER BY clause in SQL?
- GROUP BY controls presentation of rows and ORDER BY controls presentation of columns for results of SELECT statement
- GROUP BY controls presentation of columns and ORDER BY controls presentation of rows for results of SELECT statement
- GROUP BY orders rows in query's return and ORDER BY orders columns in query's return
- none
How we will browse IMS data Base
- FILE AID
- BIND
- PLAN
- NONE
IS IT POSSIBLE TO UPDATE KEY FIELD OF A SEGMENT?
- True
- False
WHAT ARE THE CONTROL BLOCKS IN IMS DB?
- DBD
- PSB
- PCB
- IMSCB
IS IT POSSIBLE A SEGMENT WITH OUT PARENT?
- True
- False
WHICH FIELD IS USED TO IDENTIFY THE OCCURENCE OF THE SEGMENT?
- SEARCH FIELD
- KEY FIELD
- BOTH
- NONE
What are the processing modes available in IMS DB?
- BATCH DL/I
- MPP
- BMP
- ALL
NUMBER OF PCBS ALLOWED IN A PSB?
- 15
- 255
- 1
- NO LIMITATIONS
MAXIMUM NUMBER OF FIELDS ALLOWED PER SEGMENT?
- 15
- 255
- 1000
- 1