

Oracle Database Administration
Final Test Solutions
Course Introduction
Oracle Database Administration covers the essential principles and practices required to effectively manage Oracle databases. The course explores database architecture, installation, and configuration, along with tasks such as backup and recovery, security management, performance tuning, and troubleshooting. Students will gain hands-on experience with user management, data integrity, and automated maintenance, equipping them with the skills needed for daily administration and to ensure data availability, reliability, and security in enterprise environments.
Recommended Textbook
Oracle 11G SQL 2nd Edition by Joan Casteel
Available Study Resources on Quizplus
13 Chapters
1685 Verified Questions
1685 Flashcards
Source URL: https://quizplus.com/study-set/1085

2

Chapter 1: Overview of Database Concepts
Available Study Resources on Quizplus for this Chatper
108 Verified Questions
108 Flashcards
Source URL: https://quizplus.com/quiz/21418
Sample Questions
Q1) The Systems Development Life Cycle is a series of steps that can be used to guide the development process for a database management system.
A)True
B)False
Answer: True
Q2) In which step of the Systems Development Life Cycle (SDLC) are the logical and physical components defined?
A) systems recovery
B) systems analysis
C) systems design
D) systems implementation and review
Answer: C
Q3) A record in the logical design of a database corresponds to a row in the physical table of a relational database.
A)True
B)False
Answer: True
Q4) A(n) ____________________ is a storage structure that contains data. Answer: database
To view all questions and flashcards with answers, click on the resource link above. Page 3
Chapter 2: Basic Sql Select Statements
Available Study Resources on Quizplus for this Chatper
122 Verified Questions
122 Flashcards
Source URL: https://quizplus.com/quiz/21419
Sample Questions
Q1) Explain how the DISTINCT keyword effects a SELECT statement that lists two columns in the SELECT clause.
Answer: The DISTINCT keyword will only suppress duplicate data if the combination of the data in the two columns is duplicated. If the combination of data in the referenced columns is unique for each record in the table, then each record will still be displayed in the results.
Q2) The DESCRIBE command is used to view data in a table.
A)True
B)False
Answer: False
Q3) Which of the following commands can be used to view the structure of a table?
A) CONCATENATION
B) DESCRIBE
C) SELECT
D) none of the above
Answer: B
Q4) A clause is a section within a SQL statement that begins with a keyword.
A)True
B)False
Answer: True

Page 4
To view all questions and flashcards with answers, click on the resource link above.

Chapter 3: Table Creation and Management
Available Study Resources on Quizplus for this Chatper
132 Verified Questions
132 Flashcards
Source URL: https://quizplus.com/quiz/21420
Sample Questions
Q1) The \(\underline { \text { TRUNCATE TABLE } }\) command can be used to delete a table from a database. _________________________
A)True
B)False
Answer: False
Q2) The ALPHANUMERIC datatype can be used to store characters and numbers to a maximum width of 2000.
A)True
B)False
Answer: False
Q3) If the MAXRETAIL column of the PROMOTION table has been set as unused, which of the following commands is valid?
A) ALTER TABLE promotion RESET maxretail USED;
B) ALTER TABLE promotion DROP COLUMN maxretail;
C) ALTER TABLE promotion DROP UNUSED COLUMNS;
D) both b and c
Answer: C
Q4) The ____________________ datatype is used to store fixed length data. Answer: CHAR
To view all questions and flashcards with answers, click on the resource link above. Page 5

Chapter 4: Constraints
Available Study Resources on Quizplus for this Chatper
132 Verified Questions
132 Flashcards
Source URL: https://quizplus.com/quiz/21421
Sample Questions
Q1) The ____________________ clause of the ALTER TABLE command must be used to drop an existing constraint.
Q2) A maximum of ____________________ PRIMARY KEY constraints can exist for each database table.
Q3) Where does the Oracle11g server store information about objects in the database, including information about constraints?
A) in the data reference manual
B) in the objects dictionary
C) in the data view dictionary
D) in the data dictionary
Q4) A constraint name can consist of up to \(\underline { 25 }\) characters and numbers. _________________________
A)True B)False
Q5) A(n) \(\underline { \text { FOREIGN KEY } }\) constraint can only reference a column in the parent table that has been designated as the primary key for that table.
A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 6

Chapter 5: Data Manipulation and Transaction Control
Available Study Resources on Quizplus for this Chatper
132 Verified Questions
132 Flashcards
Source URL: https://quizplus.com/quiz/21422
Sample Questions
Q1) Which of the following will allow a user to enter a NULL value using the INSERT command?
A) Omit the column from the column list in the INSERT INTO clause.
B) Substitute two single quotation marks in the VALUES clause in the position of the column that is to be assigned the NULL value.
C) Use the NULL keyword.
D) all of the above
Q2) Single-row functions cannot be included in the UPDATE command.
A)True
B)False
Q3) Which of the following statements about the DELETE command is incorrect?
A) The DELETE command applies to an entire row and cannot be applied to specific columns within a row.
B) The proper command syntax for the DELETE command is DELETE FROM tablename;
C) If you omit the optional WHERE clause, then all the rows in the table will be deleted.
D) If you omit the mandatory WHERE clause, an error message will be issued.
Q4) ____________________ are automatically released when the user exits the system or executes a COMMIT or ROLLBACK command.
To view all questions and flashcards with answers, click on the resource link above.
Page 7

Chapter 6: Additional Database Objects
Available Study Resources on Quizplus for this Chatper
132 Verified Questions
132 Flashcards
Source URL: https://quizplus.com/quiz/21423
Sample Questions
Q1) The purpose of an index is to ____.
A) speed up DML operations
B) speed up full table scans
C) efficiently determine whether a value exists in a table
D) all of the above
Q2) Indexes can speed up row retrieval, but can slow down ____________________ operations because the index must also be updated.
Q3) If the last values generated by a sequence were 277 and 278, which of the following changes cannot be initiated by the ALTER SEQUENCE command?
A) NOMAXVALUE
B) CYCLE
C) INCREMENT BY 5
D) MAXVALUE 200
Q4) A(n) ____________________ synonym is an alternate name that can be referenced by all users.
Q5) A(n) \(\underline { \text { index } }\) can be used to generate a series of unique numbers. _________________________
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 8

Chapter 7: User Creation and Management
Available Study Resources on Quizplus for this Chatper
132 Verified Questions
132 Flashcards
Source URL: https://quizplus.com/quiz/21424
Sample Questions
Q1) The \(\underline {\text { DEFAULT ROLE }}\) option of the ALTER USER command can be used to assign a default role to an existing user. _________________________
A)True
B)False
Q2) Which of the following can be considered potential threats to an organization's data?
A) natural disaster
B) disgruntled employees
C) computer criminals
D) all of the above
Q3) A password cannot be assigned to a role, only to a user.
A)True
B)False
Q4) Even if users are \(\underline { \text { authenticated } }\)by the operating system, the users are still required to have valid Oracle11g accounts to access the database.
A)True
B)False
Q5) A role can be taken away from a user through the ____________________ command.
9
To view all questions and flashcards with answers, click on the resource link above.

Chapter 8: Restricting Rows and Sorting Data
Available Study Resources on Quizplus for this Chatper
132 Verified Questions
132 Flashcards
Source URL: https://quizplus.com/quiz/21425
Sample Questions
Q1) When two conditions are joined by the AND keyword, both conditions must be \(\underline { \text { FALSE } }\)for a record to be included in the results.
A)True
B)False
Q2) Based upon the contents of the ORDERS table in the accompanying figure, which of the following queries will not list the orders that have been shipped to Atlanta or Seattle?
A) SELECT * FROM orders WHERE shipcity = 'ATLANTA' OR shipcity = 'SEATTLE';
B) SELECT * FROM orders WHERE shipcity IN ( 'ATLANTA' , 'SEATTLE');
C) SELECT * FROM orders WHERE shipcity = 'Atlanta' OR shipcity = 'Seattle';
D) SELECT * FROM orders WHERE shipcity LIKE 'AT%' OR shipcity LIKE 'SEA%';
Q3) A(n) ____________________ value is considered the same as the absence of data.
Q4) To indicate that data should be sorted in descending order, use the \(\underline {\text { DESC } }\)keyword. _________________________
A)True
B)False
Q5) The ____________________ clause is used to specify the order in which the data should be presented in the results of a query.
To view all questions and flashcards with answers, click on the resource link above. Page 10

Chapter 9: Joining Data From Multiple Tables
Available Study Resources on Quizplus for this Chatper
131 Verified Questions
131 Flashcards
Source URL: https://quizplus.com/quiz/21426
Sample Questions
Q1) Which of the following SQL statements will display all customers who have not recently placed an order?
A) SELECT customer# FROM customers UNION
SELECT customer# FROM orders;
B) SELECT customer# FROM orders MINUS
SELECT customer# FROM customers;
C) SELECT customer# FROM orders INTERSECT
SELECT customer# FROM customers; D) SELECT customer# FROM customers MINUS
SELECT customer# FROM orders;
Q2) A(n) \(\underline { \text { non-equality } }\) join is also known as an equijoin, inner join, or simple join. _________________________
A)True B)False
Q3) A full outer join cannot be created in the ____________________ clause.
Q4) The outer join operator can only be used in the ____________________ clause.
Page 11
To view all questions and flashcards with answers, click on the resource link above.

Chapter 10: Selected Single Row Functions
Available Study Resources on Quizplus for this Chatper
133 Verified Questions
133 Flashcards
Source URL: https://quizplus.com/quiz/21427
Sample Questions
Q1) Which of the following will display the name of each customer in lower-case characters based upon the contents of the CUSTOMERS table?
A) SELECT LOWER(name) FROM customers;
B) SELECT LOWER(firstname) || ' ' || LOWER(lastname) FROM customers;
C) SELECT CONCAT(LOWER(firstname), ' ', LOWER(lastname)) FROM customers;
D) none of the above
Q2) The ____________________ function is used to replace a specific set of characters found within a character string with another set of characters.
Q3) The\(\underline{YR}\) element can be included in a format argument of the TO_CHAR function to spell out the year of the specified date.
A)True
B)False
Q4) Which of the following represents the number of days that have passed since January 1, 4712 B.C.?
A) Cartesian date
B) Julian date
C) Extended date
D) none of the above
To view all questions and flashcards with answers, click on the resource link above. Page 12

Chapter 11: Group Functions
Available Study Resources on Quizplus for this Chatper
134 Verified Questions
134 Flashcards
Source URL: https://quizplus.com/quiz/21428
Sample Questions
Q1) When a SELECT statement includes WHERE, HAVING, and GROUP BY clauses, the \(\underline {\text { GROUP BY }}\) clause is always evaluated first.
A)True
B)False
Q2) The HAVING clause is used to restrict the groups returned by a query.
A)True
B)False
Q3) Which of the following is a correct statement?
A) An asterisk can be used as the argument for the COUNT function to include NULL values in the results.
B) The NULL keyword can be included in the argument of the COUNT function to include NULL values in the results.
C) The ALL keyword can be included in the argument of the COUNT function to include NULL values in the results.
D) The INCLUDE NULLS keywords can be included in the argument for the COUNT function to include NULL values in the results.
Q4) Explain the difference between a WHERE and a HAVING clause.
Q5) The ____________________ clause can be used to restrict rows, but not groups.
Page 13
To view all questions and flashcards with answers, click on the resource link above.

Chapter 12: Subqueries and Merge Statements
Available Study Resources on Quizplus for this Chatper
132 Verified Questions
132 Flashcards
Source URL: https://quizplus.com/quiz/21429
Sample Questions
Q1) Based on the contents of the CUSTOMERS table, which SQL statement will display the customers residing in the same state as customer#1013?
A) SELECT customer# FROM customers WHERE customer# = (SELECT state FROM customers WHERE state = 'NJ');
B) SELECT customer# FROM customers WHERE state = (SELECT state FROM customers WHERE customer#=1013);
C) SELECT customer# FROM customers WHERE customer# IN (SELECT state FROM customers WHERE state = 'NJ');
D) SELECT customer# FROM customers WHERE state EXISTS (SELECT state FROM customers WHERE customer#=1013);
Q2) The ____________________ operator indicates that a value must be less than the highest value returned by a subquery.
Q3) A subquery, except one in the FROM clause, can't have an \(\underline { \text { ORDER BY } }\) clause. _________________________
A)True
B)False
Q4) What is the difference between the IN operator and the =ANY operator?
Q5) A subquery is a(n) ____________________ query - one complete query inside another query.
To view all questions and flashcards with answers, click on the resource link above. Page 14

Chapter 13: Views
Available Study Resources on Quizplus for this Chatper
133 Verified Questions
133 Flashcards
Source URL: https://quizplus.com/quiz/21430
Sample Questions
Q1) A view can be thought of as the result of a(n) \(\underline { \text { stored } }\)query. _________________________
A)True B)False
Q2) A(n) \(\underline { \text { view } }\) is a database object, but it does not actually store data. _________________________
A)True B)False
Q3) ____________________ analysis could be used to find the top five values stored in a column.
Q4) \(\underline {\text { Rows } }\) cannot be added to a table through a complex view that is based on a group function. _________________________ A)True B)False
Q5) Views are database objects that store data. A)True B)False
Q6) How is a "TOP-N" analysis performed?
Q7) A(n) ____________________ view cannot contain grouped data.
To view all questions and flashcards with answers, click on the resource link above. Page 15