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.

10 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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?

  1. Transactional replication
  2. Peer-to-peer replication
  3. Merge replication
  4. Snapshot replication
Question 2 Multiple Choice (Single Answer)

Which statement is used to delete all rows in a table without having the action logged?

  1. drop
  2. Delete
  3. truncate
  4. None of the Above
Question 3 Multiple Choice (Single Answer)

Tools for importing and exporting data in sql server

  1. BULK insert
  2. BCP
  3. DTS
  4. All the above
Question 4 Multiple Choice (Single Answer)

Choose the incorrect option about the sql server index

  1. Indexes use B-TREE for searching data.
  2. Can create more than one non clustered index on a table.
  3. Up to 256 columns can be combined into a single composite index key.
  4. If not specified, a nonclustered index is created.
Question 5 Multiple Choice (Single Answer)

The generic two-level data warehouse architecture includes which of the following?

  1. At least one data mart
  2. Data that can extracted from numerous internal and external sources
  3. Near real-time updates
  4. All of the above.
Question 6 Multiple Choice (Single Answer)

When a user creates an object without a TABLESPACE clause, where will Oracle store the segment?

  1. System tablespace
  2. Users tablespace
  3. Default tablespace for the user
  4. Default tablespace for system
Question 7 Multiple Choice (Single Answer)

Which of the following views provides all the grants on all the objects in the database?

  1. DBA_SYS_PRIVS
  2. DBA_COL_PRIVS
  3. DBA_OBJ_PRIVS
  4. DBA_TAB_PRIVS
Question 8 Multiple Choice (Single Answer)

What is one of the disadvantages of database mirroring?

  1. You need to have the same hardware.
  2. The database you mirror to will be in an unused standby state.
  3. You cannot have automatic failover.
  4. You need to have at minimum three servers.
Question 9 Multiple Choice (Single Answer)

Which command will delete all data from a table and will not write to the rollback segment?

  1. Drop
  2. Delete
  3. Cascade
  4. Truncate
Question 10 Multiple Choice (Single Answer)

Which Oracle access method is the fastest way for Oracle to retrieve a single row?

  1. Primary key access
  2. Access via unique index
  3. Table access by ROWID
  4. Full table scan