Databases: Oracle, SQL Server, and Data Warehousing
Covers database concepts including Oracle performance tuning, SQL Server indexing and replication, data warehouse architecture, and database administration tasks.
Questions
You want to create a replication strategy that will allow users in four branch offices to have a fresh copy of data from the database in the central office every day at 5 a.m. for their daily reports. Although there are many changes to the data during the course of a day, the entire publication is not that large. Which replication strategy should you use?
- Transactional replication
- Peer-to-peer replication
- Merge replication
- Snapshot replication
Which statement is used to delete all rows in a table without having the action logged?
- drop
- Delete
- truncate
- None of the Above
Tools for importing and exporting data in sql server
- BULK insert
- BCP
- DTS
- All the above
Choose the incorrect option about the sql server index
- Indexes use B-TREE for searching data.
- Can create more than one non clustered index on a table.
- Up to 256 columns can be combined into a single composite index key.
- If not specified, a nonclustered index is created.
The generic two-level data warehouse architecture includes which of the following?
- At least one data mart
- Data that can extracted from numerous internal and external sources
- Near real-time updates
- All of the above.
When a user creates an object without a TABLESPACE clause, where will Oracle store the segment?
- System tablespace
- Users tablespace
- Default tablespace for the user
- Default tablespace for system
Which of the following views provides all the grants on all the objects in the database?
- DBA_SYS_PRIVS
- DBA_COL_PRIVS
- DBA_OBJ_PRIVS
- DBA_TAB_PRIVS
What is one of the disadvantages of database mirroring?
- You need to have the same hardware.
- The database you mirror to will be in an unused standby state.
- You cannot have automatic failover.
- You need to have at minimum three servers.
Which command will delete all data from a table and will not write to the rollback segment?
- Drop
- Delete
- Cascade
- Truncate
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