SQL Server and Oracle Database Administration

Covers SQL Server administration (filegroups, upgrades, authentication, instances), Oracle database concepts (SQL*Plus, PL/SQL, query execution), and general database concepts including views, catalogs, and stored procedures.

20 Questions Published

Questions

Question 1 True/False

We can not execute a stored procedure on either local or remote SQL Server.

  1. True
  2. False
Question 2 True/False

Stored procedures are compiled the first time they’re run but are not stored in a system table of the current database.

  1. True
  2. False
Question 3 True/False

'Select Into'Statement retrieves rows and columns from one source table to a target table.

  1. True
  2. False
Question 4 Multiple Choice (Single Answer)

__is an interface you can use to write both SQL and PL/SQL scripts

  1. PL/SQL
  2. SQL
  3. SQL*PLUS
  4. JAVA
Question 5 Multiple Choice (Single Answer)

___is the language used to put data into the database, retrieve data from the database, control transactions, and administer your database

  1. PL/SQL
  2. SQL
  3. SQL*PLUS
  4. JAVA
Question 6 Multiple Choice (Single Answer)

__is the procedural programming language of Oracle, and with it you can write custom programs and procedural code for execution inside the database

  1. PL/SQL
  2. SQL
  3. SQL*PLUS
  4. JAVA
Question 7 Multiple Choice (Single Answer)

____setting that indicates the number of records that must be returned in the query results for SQL*Plus to show the message

  1. LINESIZE
  2. FEEDBACK
  3. PAGESIZE
  4. PAUSE
Question 8 True/False

PAUSE command is useful, when you execute a query that is longer than a page in size, the output will stop until you hit the Enter key.

  1. True
  2. False
Question 9 Multiple Choice (Single Answer)

Main functions in parsing process are____

  1. Syntax Checking
  2. Semantic Analysis
  3. Both
  4. Checking the shared pool
  5. All of the above
Question 10 Multiple Choice (Single Answer)

___is the act of breaking the submitted statement down into its component parts, determining what type of statement it is (query, DML, or DDL), and performing various checks on it

  1. Parsing
  2. Optimization
  3. Row source generation
  4. Statement execution
  5. All of the above
Question 11 Multiple Choice (Single Answer)

Select the steps involved in executing statements in Oracle

  1. Parsing
  2. Optimization
  3. Row source generation
  4. Statement execution
  5. All of the above
Question 12 True/False

View has no physical existence until it is called upon in a query

  1. True
  2. False
Question 13 Multiple Choice (Single Answer)

What is a catalog??

  1. Multiple rows
  2. Multiple coulumns
  3. Multiple schemas
  4. Multiple tables
Question 14 Multiple Choice (Single Answer)

How many default instances can you install on a single SQL Server server?

  1. 1
  2. 2
  3. 3
  4. 4
Question 15 Multiple Choice (Single Answer)

Which authentication mode lets you use both SQL Server logins and Windows logins?

  1. Kerebos authentication
  2. Windows
  3. Mixed Mode
  4. Network Service account
Question 16 Multiple Choice (Multiple Answers)

Which SQL Server 2005 services require that you install them with their own account? (Choose all that apply.)

  1. SQL Server Agent
  2. Log Reader Agent
  3. SQL Server
  4. Replication Agent
Question 17 Multiple Choice (Single Answer)

The term “in-place upgrade” refers to which type of upgrade?

  1. Installing SQL Server 2005 in the same directory as the current installation and replacing the SQL Server files
  2. Installing a new instance of SQL Server 2005 and sharing the older databases between the new instance and the old instance
  3. Installing a new instance of SQL Server 2005 on the same server as the old instance and moving the databases from the old instance to the new instance
  4. Installing a new instance of SQL Server 2005 on a different server from the old instance and moving the databases from the old server to the new server
Question 18 Multiple Choice (Single Answer)

Which upgrade data-movement method requires that users not be accessing the database you want to upgrade?

  1. Copy Database Wizard
  2. Detach/attach
  3. Backup/restore
  4. Manual scripting
Question 19 Multiple Choice (Single Answer)

Which of the following statements can you use to create a filegroup?

  1. ALTER DATABASE … ADD FILE
  2. ALTER DATABASE … MODIFY FILEGROUP
  3. ALTER DATABASE … ADD FILEGROUP
  4. ALTER DATABASE … REMOVE FILEGROUP
Question 20 Multiple Choice (Multiple Answers)

Which of the following are valid filegroup types? (Choose all that apply.)

  1. Read-only
  2. Write-Only
  3. Default
  4. Primary