Oracle Database Administration Exam Bank - 645 Verified Questions

Page 1


Oracle Database Administration Exam Bank

Course Introduction

This course provides comprehensive coverage of Oracle Database Administration, equipping students with the skills to manage, maintain, and troubleshoot Oracle database environments. Students will learn about database architecture, installation, configuration, backup and recovery strategies, performance tuning, security implementation, and user management. Through hands-on exercises and real-world scenarios, participants will gain practical experience in automating routine administrative tasks and ensuring the reliability and integrity of data within Oracle databases, preparing them for roles as professional database administrators.

Recommended Textbook

Oracle 11G PL SQL Programming 2nd Edition by Joan Casteel

Available Study Resources on Quizplus

10 Chapters

645 Verified Questions

645 Flashcards

Source URL: https://quizplus.com/study-set/1149

Page 2

Chapter 1: Introduction To PL/SQL

Available Study Resources on Quizplus for this Chatper

54 Verified Questions

54 Flashcards

Source URL: https://quizplus.com/quiz/22517

Sample Questions

Q1) The term<u> stored </u>indicates that the program unit is saved in the database and, therefore, can be used or shared by different applications.

A)True

B)False

Answer: True

Q2) <u>Functions</u> perform tasks automatically when a DML action occurs on the table with which it is associated. _________________________

A)True

B)False

Answer: False

Q3) PL/SQL fully supports SQL data types.

A)True

B)False

Answer: True

Q4) It can be more efficient to process ____________________ statements stored within the database versus those stored in application code.

Answer: SQL

Structured Query Language

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

Chapter 2: Basic PL/SQL Block Structures

Available Study Resources on Quizplus for this Chatper

81 Verified Questions

81 Flashcards

Source URL: https://quizplus.com/quiz/22518

Sample Questions

Q1) The ____________________ section of the PL/SQL block contains code that creates variables, cursors, and types.

Answer: DECLARE

Q2) If the <u>WHERE </u>clause is not included the basic loop, the result is the programmer's nightmare of the infinite loop. _________________________ A)True

B)False Answer: False

Q3) The EXIT WHEN clause ensures that a basic loop runs at least once.

A)True

B)False

Answer: True

Q4) The <u>DECLARE </u>section of the PL/SQL block contains all the processing action, or programming logic. _________________________

A)True

B)False

Answer: False

Q5) A(n) ____________________ variable can hold only a single value. Answer: scalar

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

Chapter 3: Handling Data In PL/SQL Blocks

Available Study Resources on Quizplus for this Chatper

51 Verified Questions

51 Flashcards

Source URL: https://quizplus.com/quiz/22519

Sample Questions

Q1) A composite data type is a variable that can store and handle multiple values of the same data type as one unit.

A)True

B)False

Answer: False

Q2) A scalar variable can hold multiple values whereas a composite variable can hold only a single value.

A)True

B)False

Answer: False

Q3) A(n) ____ can store and handle multiple values of different data types as one unit.

A) composite data type

B) collection

C) record

D) block

Answer: A

Q4) A(n) ____________________ statement could be used to create a record data type.

Answer: TRYPE

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

Chapter 4: Cursors and Exception Handling

Available Study Resources on Quizplus for this Chatper

65 Verified Questions

65 Flashcards

Source URL: https://quizplus.com/quiz/22520

Sample Questions

Q1) A(n)<u> EXCEPTION </u>statement within a PL/SQL block has the possibility of raising the NO_DATA_FOUND or TOO_MANY_ROWS exception.

A)True

B)False

Q2) The ____ option specifies the number of rows to process as a group.

A) FORALL

B) NUMROWS

C) BULK COLLECT

D) LIMIT

Q3) You can process multiple rows of data from a database by creating explicit cursors. A)True

B)False

Q4) An error raised in the executable section of a block immediately moves processing to the <u>EXCEPTION</u> section of the block in search of an exception handler.

A)True

B)False

Q5) Discuss the meaning of the term exception handler.

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

Chapter 5: Procedures

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/22521

Sample Questions

Q1) The following code is considered to be a ____. CREATE OR REPLACE PROCEDURE total_calc_sp

(p_basket IN bb_basket.idbasket%TYPE, P_total OUT bb_basket.total%TYPE := 0 )

IS

A) function header section

B) PL/SQL block

C) procedure header section

D) DECLARE section

Q2) ____ is an example of a function.

A) ROUND

B) IN

C) OUT

D) IN OUT

Q3) Only the program unit in which a subprogram is declared can use that subprogram.

A)True

B)False

Q4) The ____________________ area of a block determines what happens if an error occurs.

Q5) What is the difference between a database trigger and an application trigger?

Page 7

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

Chapter 6: Functions

Available Study Resources on Quizplus for this Chatper

51 Verified Questions

51 Flashcards

Source URL: https://quizplus.com/quiz/22522

Sample Questions

Q1) You can include multiple RETURN statements in the body of a function.

A)True

B)False

Q2) The ____ command is used to view parameter information.

A) DROP

B) SET

C) DESC

D) OUT

Q3) Which of the following statements is True?

A) After IN OUT parameters are included in functions, the function can no longer be used in SQL statements.

B) After OUT parameters are included in functions, the function can no longer be used in SQL statements.

C) After INOUT parameters are included in functions, the function can no longer be used in SQL statements.

D) After IN parameters are included in functions, the function can no longer be used in SQL statements.

Q4) Discuss the techniques available in PL/SQL for passing values between actual parameters and formal parameters.

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

Chapter 7: PL/SQL Packages

Available Study Resources on Quizplus for this Chatper

68 Verified Questions

68 Flashcards

Source URL: https://quizplus.com/quiz/22523

Sample Questions

Q1) What is meant by the term package body?

Q2) CREATE OR REPLACE PACKAGE product_info_pkg IS PROCEDURE prod_search_pp

(p_id IN bb_product.idproduct%TYPE, P_sale OUT bb_product.saleprice%TYPE, P_price OUT bb_product.price%TYPE);

PROCEDURE prod_search_pp

(p_id IN bb_product.productname%TYPE, P_sale OUT bb_product.saleprice%TYPE, P_price OUT bb_product.price%TYPE);

END;

The code fragment above is an example of a(n) ____.

A) package body

B) overloaded procedure

C) purity level

D) package scope

Q3) A(n) <u>package body</u> is the program unit that contains the code for any procedures and functions declared in the specification.

A)True

B)False

Q4) Define the term package, and explain why it is used.

Page 9

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

Chapter 8: Program Unit Dependencies

Available Study Resources on Quizplus for this Chatper

61 Verified Questions

61 Flashcards

Source URL: https://quizplus.com/quiz/22524

Sample Questions

Q1) Which of the following commands correctly modifies Scott's rights on the bb_basket table?

A) GRANT SELECT, INSERT, UPDATE bb_basket TO scott;

B) GRANT SELECT, INSERT, ON bb_basket TO scott

C) GRANT SELECT, INSERT, UPDATE ON bb_basket;

D) GRANT SELECT, INSERT, UPDATE ON bb_basket TO scott;

Q2) A program unit is said to contain ____ when it includes references to database objects that in turn references other database objects.

A) remote dependencies

B) user_dependencies

C) direct dependencies

D) indirect dependencies

Q3) ____ can be used to check the status of database objects.

A) USER_OBJECTS

B) USER_REFERENCE

C) USER_CHECK

D) USER_SOURCE

Q4) If a dependent object is flagged as INVALID, this means that the program unit should be ____________________________.

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

Chapter 9: Database Triggers

Available Study Resources on Quizplus for this Chatper

54 Verified Questions

54 Flashcards

Source URL: https://quizplus.com/quiz/22525

Sample Questions

Q1) Row level options are only applicable for ____ events.

A) CREATE

B) INSERT

C) DECLARE

D) UPDATE and DELETE

Q2) Using the MULITPLE TRIGGER clause will allow more than one triggering event to be included in a single trigger.

A)True

B)False

Q3) CURSOR basketitem_curIS

SELECT idproduct, quantity, option1

FROM bb_basketitem

WHERE idbasket = :NEW.idbasket;

In the code fragment above, which of the following represents the correlation identifier?

A) idproduct

B) bb_basketitem

C) quantity

D) :NEW.idbasket

Q4) How can triggers be applied to accomplish referential integrity?

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

Chapter

Hiding Source Code

Available Study Resources on Quizplus for this Chatper

85 Verified Questions

85 Flashcards

Source URL: https://quizplus.com/quiz/22526

Sample Questions

Q1) All of the following procedures are included in the DBMS_ALERT package, except

A) REGISTER

B) SIGNAL

C) WAIT

D) WAITONE

Q2) <u>Alerts</u> are transaction based and are sent only if the transaction is committed. _________________________

A)True

B)False

Q3) ____ will cause an error if used directly within PL/SQL.

A) Query statements

B) DDL statements

C) DML statements

D) SELECT statements

Q4) The util.ora file contains environment settings, such as the UTL_FILE_DIR parameter, that determine if and how certain Oracle features are accessible from within PL/SQL code.

A)True

B)False

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

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.