0% found this document useful (0 votes)
27 views98 pages

Oracle Database Administration I (1Z0-082) Certification Exam 2023-24-#Oracle - Database - Administration

The document outlines the structure and content of the Oracle Database Administration I (1Z0-082) Certification Exam for 2023-24, detailing various knowledge areas and the number of questions in each category. It includes specific topics such as SQL data types, transactions, constraints, and performance tuning, with a total of 22 questions highlighted. Additionally, the document provides sample questions and explanations for correct and incorrect answers related to Oracle database concepts.

Uploaded by

hieitszee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views98 pages

Oracle Database Administration I (1Z0-082) Certification Exam 2023-24-#Oracle - Database - Administration

The document outlines the structure and content of the Oracle Database Administration I (1Z0-082) Certification Exam for 2023-24, detailing various knowledge areas and the number of questions in each category. It includes specific topics such as SQL data types, transactions, constraints, and performance tuning, with a total of 22 questions highlighted. Additionally, the document provides sample questions and explanations for correct and incorrect answers related to Oracle database concepts.

Uploaded by

hieitszee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 98

Oracle Database Administration I(1Z0-082) Certification Exam 2023-24​

No. of Questions:

Part: 1
Knowledge areas

SQL Data Types (1 question)


100%

SQL Transactions (1 question)


100%

Constraints in SQL (1 question)


100%

SQL Insert Statements (2 questions)


100%

SQL Transaction Control (4 questions)


100%

SQL DELETE Statements (1 question)


100%

SQL Statements (1 question)


100%

SQL SELECT Statements (1 question)


100%

SQL WHERE Clause (2 questions)


100%
SQL*Plus and Substitution Variables (3 questions)
100%

SQL SELECT Statement (1 question)


100%

Oracle SQL Functions (3 questions)


100%

SQL Column Aliases (1 question)


100%

SQL Query Syntax (1 question)


100%

SQL Functions (1 question)


100%

SQL Basics (1 question)


100%

SQL Joins (2 questions)


100%

SQL Indexes and Views (1 question)


100%

SQL Operators (2 questions)


100%

SQL Tables and Views (2 questions)


100%
SQL Date and Time Functions (3 questions)
100%

Oracle Database Views (2 questions)


100%

Oracle User Profiles (1 question)


100%

Oracle Database Processes (1 question)


100%

SQL*Loader Workflow (1 question)


100%

Oracle Tablespaces (1 question)


100%

SQL Subqueries (2 questions)


100%

Oracle Database Features (1 question)


100%

Oracle Data Types (2 questions)


100%

Transaction Control (1 question)


100%

SQL Queries (1 question)


100%
Data Movement (3 questions)
100%

Storage Architecture (1 question)


100%

Oracle Database Architecture (1 question)


100%

Session Management (1 question)


100%

Data Integrity (1 question)


100%

Network Configuration (1 question)


100%

Storage Management (1 question)


100%

Database Architecture (1 question)


100%

Workload Management (1 question)


100%

Transaction Management (1 question)


100%

Security and Privileges (1 question)


100%
Performance Tuning (1 question)
100%

Multitenant Architecture (1 question)


100%

Indexing Strategies (1 question)


100%

Flashback Technology (2 questions)


100%

Change Data Capture (1 question)


100%

Tablespaces (1 question)
100%

Undo Management (1 question)


100%

SQL Query Optimization (1 question)


100%

High Availability (1 question)


100%

Performance Monitoring (1 question)


100%

Question 1:
Which of the following statements are correct regarding the usage of
column aliases?
​ Column aliases are case-sensitive.
​ (Correct)
​ Column aliases should be enclosed in double quotes.
​ Column aliases can contain spaces if they are enclosed in double
quotes.
​ (Correct)
​ Column aliases can be used in the WHERE clause.
Explanation
Correct Answers: Column aliases can contain spaces if they are enclosed
in double quotes, Column aliases are case-sensitive​

Correct: Column aliases can contain spaces if they are enclosed in double
quotes.​

Correct: Column aliases are case-sensitive.​

Incorrect: Column aliases cannot be used in the WHERE clause.​

Incorrect: Column aliases do not need to be enclosed in double quotes,
although they can be.
Question 2:
Which of the following operators has precedence over the others?
​ *
​ (Correct)
​ -
​ +
​ /
​ (Correct)
Explanation
Correct Answers: *, /​

Correct: The multiplication (*) and division (/) operators have precedence
over addition (+) and subtraction (-).​

Incorrect: Addition (+) and subtraction (-) operators have lower precedence
compared to multiplication and division.
Question 3:
Which of the following operators has precedence over the others?
​ +
​ /
​ (Correct)
​ -
​ *
​ (Correct)
Explanation
Correct Answers: *, /​

Correct: The multiplication (*) and division (/) operators have precedence
over addition (+) and subtraction (-).​

Incorrect: Addition (+) and subtraction (-) operators have lower precedence
compared to multiplication and division.
Question 4:
How can you tune the Oracle database buffer cache?
​ Both A and B
​ (Correct)
​ Setting DB_BLOCK_SIZE
​ None of the above
​ Using V$CACHE views
Explanation
Correct Answer: Both A and B​

Correct: Both setting DB_BLOCK_SIZE and using V$CACHE views are
methods to tune the buffer cache.​

Incorrect: The options 'None of the above' and each individual choice alone
are incorrect.
Question 5:
What is the primary function of Oracle's V$ views?
​ Performance monitoring
​ (Correct)
​ Security enforcement
​ Data Recovery
​ Data storage
Explanation
Correct Answer: Performance monitoring​

Correct: V$ views are primarily used for performance monitoring.​

Incorrect: They are not primarily used for data storage, security, or data
recovery.
Question 6:
Which of the following statements concerning transactions is accurate?
​ A transaction ends when a ROLLBACK command is issued.
​ (Correct)
​ A transaction can span multiple user sessions.
​ Uncommitted changes are visible to other transactions.
​ A transaction starts with a SAVEPOINT command.
Explanation
Correct Answer: A transaction ends when a ROLLBACK command is
issued.​

Correct: Issuing a ROLLBACK command will end the current transaction by
undoing any changes.​

Incorrect: A transaction can't span multiple user sessions; it's confined to a
single session.​

Incorrect: Uncommitted changes are not visible to other transactions.​

Incorrect: A transaction starts with the first executable SQL statement, not
a SAVEPOINT command.
Question 7:
Which of the following statements is correct? (Select THREE)
​ UPDATE sets a column to NULL by default.
​ ALTER TABLE modifies an existing table.
​ (Correct)
​ SELECT DISTINCT retrieves only unique rows.
​ (Correct)
​ TRUNCATE is faster than DELETE.
​ (Correct)
Explanation
Correct Answers: TRUNCATE is faster than DELETE, ALTER TABLE
modifies an existing table, SELECT DISTINCT retrieves only unique rows​

Correct: TRUNCATE is generally faster than DELETE as it doesn't log any
information.​

Correct: ALTER TABLE allows you to change the structure of an existing
table.​

Correct: SELECT DISTINCT will filter out duplicate rows.​

Incorrect: UPDATE does not set columns to NULL by default; you need to
explicitly specify that.
Question 8:
Which Oracle feature allows for automatic storage management?
​ Database Vault
​ RAC
​ PL/SQL
​ ASM
​ (Correct)
Explanation
Correct Answer: ASM​

Correct: Automatic Storage Management (ASM) is designed for managing
database files.​

Incorrect: Database Vault is for security, RAC is for clustering, and PL/SQL
is a programming language.
Question 9:
Which of these is NOT a component of Oracle's flashback technology?
​ Flashback View
​ (Correct)
​ Flashback Table
​ Flashback Drop
​ Flashback Undo
Explanation
Correct Answer: Flashback View​

Correct: Flashback View is not a component of Oracle's flashback
technology.​

Incorrect: Flashback Table, Flashback Drop, and Flashback Undo are
components of Flashback.
Question 10:
Which of the following functions is best described by the text below?​
Takes at least two expressions as parameters(maybe more) and returns
their first non-null expression. If all parameters evaluate as null, then the
function returns null.
​ COALESCE
​ (Correct)
​ NULLIF
​ NVL2
​ NVL
Explanation
Correct Answer: COALESCE​

Correct: COALESCE takes multiple expressions and returns the first
non-null expression.​

Incorrect: NULLIF returns null if its two arguments are equal.​

Incorrect: NVL takes only two parameters and returns the first if it is not
null, otherwise returns the second.​

Incorrect: NVL2 returns the second parameter if the first is not null,
otherwise returns the third parameter.
Question 11:
What is the main purpose of the Oracle Data Pump?
​ Query optimization
​ Data import/export
​ (Correct)
​ Data auditing
​ High availability
Explanation
Correct Answer: Data import/export​

Correct: Oracle Data Pump is primarily used for importing and exporting
data.​

Incorrect: The other options are not the main purposes of Oracle Data
Pump.
Question 12:
Which of the following statements are true, regarding substitution variables
in Oracle? (Select THREE)
​ Substitution variables can be defined within the SELECT statement.
​ (Correct)
​ Substitution variables can be used to store the result of a SELECT
statement.
​ Substitution variables can be used in SQL*Plus.
​ (Correct)
​ Substitution variables can replace object names in SQL statements.
​ (Correct)
Explanation
Correct Answers: Substitution variables can be used in SQL*Plus,
Substitution variables can replace object names in SQL statements,
Substitution variables can be defined within the SELECT statement​

Correct: Substitution variables can be used in SQL*Plus to capture user
input.​

Correct: You can use substitution variables to replace object names in SQL
statements.​

Correct: Substitution variables can be defined within SQL statements.​

Incorrect: Substitution variables cannot be used to store the result of a
SELECT statement.
Question 13:
Which statement about Oracle tablespaces is false?
​ They can span multiple physical locations.
​ They can be either online or offline.
​ They cannot contain rollback segments.
​ (Correct)
​ They consist of one or more data files.
Explanation
Correct Answer: They cannot contain rollback segments​

Correct: This statement is false; tablespaces can contain rollback
segments.​

Incorrect: All other options are true.
Question 14:
Which of the following statements is correct? (Select TWO)
​ The TRUNCATE statement can be rolled back.
​ SQL comments can start with --.
​ (Correct)
​ The LIMIT keyword is used in SQL to specify the number of records
to fetch.
​ (Correct)
​ SQL keywords are case-sensitive.
Explanation
Correct Answers: SQL comments can start with --, The LIMIT keyword is
used in SQL to specify the number of records to fetch.​

Correct: SQL comments can indeed start with --.​

Correct: The LIMIT keyword specifies the number of records to fetch.​

Incorrect: The TRUNCATE statement cannot be rolled back.​

Incorrect: SQL keywords are not case-sensitive.
Question 15:
Examine the following CREATE TABLE statement and select which INSERT
statements will be successful? (Select THREE)​
CREATE TABLE scores (​
id NUMBER(8) PRIMARY KEY,​
date_of_score DATE NOT NULL,​
status VARCHAR2(10) CHECK (status in ('ACTIVE',
'INACTIVE')),​
player_name VARCHAR(25) NOT NULL,​
score NUMBER(2,1) DEFAULT 0​
)
​ INSERT INTO scores (id, status, player_name, score) VALUES (3,
'ACTIVE', 'Doe', NULL);
​ (Correct)
​ INSERT INTO scores (id, date_of_score, player_name) VALUES (2,
SYSDATE, 'Jane');
​ (Correct)
​ INSERT INTO scores VALUES (4, NULL, 'ACTIVE', 'Smith', 0);
​ INSERT INTO scores VALUES (1, SYSDATE, 'ACTIVE', 'John', 1.2);
​ (Correct)
Explanation
Correct Answers: INSERT INTO scores VALUES (1, SYSDATE, 'ACTIVE',
'John', 1.2), INSERT INTO scores (id, date_of_score, player_name) VALUES
(2, SYSDATE, 'Jane), INSERT INTO scores (id, status, player_name, score)
VALUES (3, 'ACTIVE', 'Doe', NULL)​

Correct: All the NOT NULL and CHECK constraints are satisfied.​

Correct: All the NOT NULL and CHECK constraints are satisfied and
missing columns will be populated with default values.​

Correct: Although score is NULL, it's allowed as the column does not have a
NOT NULL constraint.​

Incorrect: date_of_score cannot be NULL due to NOT NULL constraint.
Question 16:
Which of the following statements can be used to undo work done in the
current transaction?
​ COMMIT
​ SAVEPOINT
​ TRUNCATE
​ ROLLBACK
​ (Correct)
Explanation
Correct Answer: ROLLBACK​

Correct: ROLLBACK is used to undo work done in the current transaction.​

Incorrect: COMMIT makes all changes done in the transaction permanent.​

Incorrect: TRUNCATE removes all rows from a table but does not undo
changes.​

Incorrect: SAVEPOINT sets a point within a transaction to which you can
later roll back.
Question 17:
What is the maximum length of a VARCHAR2 column in Oracle Database
12c and above?
​ 64,000 bytes
​ 32,767 bytes
​ (Correct)
​ 8,000 bytes
​ 4,000 bytes
Explanation
Correct Answer: 32,767 bytes​

Correct: The maximum length for a VARCHAR2 column is 32,767 bytes in
Oracle 12c and above.​

Incorrect: All other options represent incorrect lengths.
Question 18:
Which condition has the lowest precedence when used in a WHERE clause?
​ OR
​ (Correct)
​ AND
​ NOT
​ BETWEEN
Explanation
Correct Answer: OR​

Correct: OR has the lowest precedence among the listed options.​

Incorrect: AND has higher precedence than OR.​

Incorrect: NOT has higher precedence than OR and AND.​

Incorrect: BETWEEN has higher precedence than AND and OR.
Question 19:
Examine the following statement. What will be the result? Choose the
correct answer.
​ None of the above.
​ Error because of invalid INTERVAL syntax.
​ The resulting timestamp will be 'OCTOBER 9 1992 03:30:00'
​ The resulting timestamp will be 'OCTOBER 8 1993 03:30:00'
​ (Correct)
Explanation
Correct Answers: The resulting timestamp will be 'OCTOBER 8 1993
03:30:00'​

Correct: The SQL query adds 140 minutes and 1 year and 2 months to the
original timestamp.​

Incorrect: The INTERVAL syntax is correct.​

Incorrect: The resulting timestamp isn't 'OCTOBER 9 1992 03:30:00'
because 1 year and 2 months are also added.​

Incorrect: Option 4 is a catch-all incorrect answer.
Question 20:
Choose two comparison operators that will result in an error if used with a
multi-row subquery in a WHERE clause.
​ >
​ (Correct)
​ !=
​ IN
​ =
​ (Correct)
Explanation
Correct Answers: =, >​

Correct: Using = or > with a multi-row subquery in a WHERE clause will lead
to an error.​

Incorrect: Using != and IN with a multi-row subquery is acceptable.
Question 21:
Which type of join results in a Cartesian product?
​ NATURAL JOIN
​ CROSS JOIN
​ (Correct)
​ INNER JOIN
​ OUTER JOIN
Explanation
Correct Answer: CROSS JOIN​

Correct: CROSS JOIN is correct because it produces a Cartesian product of
the two joined tables.​

Incorrect: INNER JOIN, OUTER JOIN, and NATURAL JOIN do not result in a
Cartesian product.
Question 22:
You have the following task at hand.​
You want to generate a report for the employees of your company,
containing: The id of each employee, The salary per month, which is
calculated as the salary + 5% bonus per year, The salary per month after a
potential 10% increase of the salary only.​
You come up with the following solution:​
SELECT employee_id,​
salary + salary * 0.05 / 12 AS salary_per_month,​
salary*1.1 + (salary*1.1*0.05) / 12 AS
salary_per_month_after_increase​
FROM employees;​
Note: the salary column represents the salary of an employee per year.​
What will be the result when you run the query?
​ It will return the employee IDs along with their current and potential
salaries.
​ (Correct)
​ It will return only the employee IDs.
​ It will return an error.
​ It will return the employee IDs and their current salaries only.
Explanation
Correct Answer: It will return the employee IDs along with their current
and potential salaries.​

Correct: The query will execute successfully, returning the employee IDs
along with their current and potential salaries.​

Incorrect: The query will not return an error.​

Incorrect: The query will return more than just the employee IDs.​

Incorrect: The query will return both the current and potential salaries.
Question 23:
Which of the following processes is responsible for performing a rollback
of any uncommitted changes if a session fails?
​ PMON
​ (Correct)
​ LGWR
​ SMON
​ DBWn
Explanation
Correct Answers: PMON​

Correct: PMON (Process Monitor) is responsible for performing rollbacks
of any uncommitted changes if a session fails.​

Incorrect: SMON (System Monitor) is generally involved in instance
recovery, not rolling back uncommitted changes in a failed session.​

Incorrect: DBWn (Database Writer) is responsible for writing data blocks
from the database buffer cache to the data files.​

Incorrect: LGWR (Log Writer) is responsible for writing redo log entries to
disk.
Question 24:
Which of the following Oracle features automatically manages undo data?
​ Automatic Undo Management
​ (Correct)
​ Flash Recovery Area
​ Oracle Streams
​ Undo Advisor
Explanation
Correct Answer: Automatic Undo Management​

Correct: Automatic Undo Management automatically handles undo data
and space.​

Incorrect: Other options do not automatically manage undo data.
Question 25:
Is a row going to be inserted into the scores table when executing the
following INSERT statement?​
INSERT INTO scores VALUES (1, SYSDATE, (SELECT
'ACTIVE', 'John Smith' FROM dual), DEFAULT);
​ No
​ (Correct)
​ Yes
​ Data Type Mismatch
​ Syntax Error
Explanation
Correct Answer: No​

Correct: The row will not be inserted because the subquery (SELECT
'ACTIVE', 'John Smith' FROM dual) will return multiple columns, but only one
is expected.​

Incorrect: There will be no successful insertion of the row.​

Incorrect: The SQL command is not a syntax error, but it is logically
incorrect.​

Incorrect: The data types are not mismatched; it's the structure of the
INSERT statement that is incorrect.
Question 26:
Which of the following data types would you use for storing large blocks of
text?
​ NUMBER
​ VARCHAR2
​ CLOB
​ (Correct)
​ DATE
Explanation
Correct Answer: CLOB​

Correct: CLOB is used for storing large text data.​

Incorrect: VARCHAR2 is for smaller text, NUMBER is for numerical data,
and DATE is for date and time.
Question 27:
Which of these tablespaces is mandatory in every Oracle Database?
​ USERS
​ SYSAUX
​ (Correct)
​ TEMP
​ EXAMPLE
Explanation
Correct Answer: SYSAUX​

Correct: The SYSAUX tablespace is mandatory in every Oracle Database.​

Incorrect: TEMP, USERS, and EXAMPLE tablespaces are not mandatory.
Question 28:
What is the Oracle feature for capturing database changes?
​ GoldenGate
​ CDC (Change Data Capture)
​ (Correct)
​ Data Guard
​ Database Vault
Explanation
Correct Answer: CDC (Change Data Capture)​

Correct: CDC is specifically designed to capture database changes.​

Incorrect: Data Guard, GoldenGate, and Database Vault serve different
purposes.
Question 29:
Which view describes the relational tables owned by the current user?
​ V$TABLE
​ USER_TABLES
​ (Correct)
​ DBA_TABLES
​ ALL_TABLES
Explanation
Correct Answers: USER_TABLES​

Correct: USER_TABLES view describes the relational tables owned by the
current user.​

Incorrect: DBA_TABLES describes all tables in the database.​

Incorrect: ALL_TABLES describes all tables that are accessible by the user.​

Incorrect: V$TABLE does not exist as a view to describe relational tables
owned by a user.
Question 30:
What is the purpose of the Oracle Data Pump?
​ Data Transformation
​ Data Analysis
​ Data Visualization
​ Data Import/Export
​ (Correct)
Explanation
Correct Answer: Data Import/Export​

Correct: Oracle Data Pump is primarily used for data import and export
operations.​

Incorrect: It is not designed for data analysis, transformation, or
visualization.
Question 31:
You want to get the remainder of a division. Which of the following
functions would you use?
​ DIV()
​ MOD()
​ (Correct)
​ ROUND()
​ FLOOR()
Explanation
Correct Answer: MOD()​

Correct: MOD() is the function used to find the remainder of a division.​

Incorrect: DIV() performs integer division, not remainder calculation.​

Incorrect: ROUND() rounds the number to the nearest integer.​

Incorrect: FLOOR() rounds down the number to the nearest integer.
Question 32:
Which Oracle privilege is required to create a trigger?
​ CREATE TRIGGER
​ (Correct)
​ EXECUTE ANY
​ CREATE SESSION
​ ALTER TABLE
Explanation
Correct Answer: CREATE TRIGGER​

Correct: The CREATE TRIGGER privilege is specifically required to create a
trigger.​

Incorrect: Other options are not specific to trigger creation.
Question 33:
Which of the following SELECT statements will retrieve the scores where
the player’s name starts with the letter S, regardless of the number of
characters following it?
​ SELECT * FROM scores WHERE player_name LIKE 'S%'
​ (Correct)
​ SELECT * FROM scores WHERE player_name IN ('S')
​ SELECT * FROM scores WHERE player_name = 'S'
​ SELECT * FROM scores WHERE LEFT(player_name, 1) = 'S'
Explanation
Correct Answer: SELECT * FROM scores WHERE player_name LIKE 'S%'​

Correct: The LIKE operator with the wildcard '%' will match all names
starting with 'S'.​

Incorrect: This will only match names that are exactly 'S'.​

Incorrect: This will also only match names that start with 'S', but it is less
efficient.​

Incorrect: This will only match names that are exactly 'S'.
Question 34:
You have two tables – CUSTOMERS and ORDERS. You write the following
query:​
SELECT c.customer_id, c.first_name, o.order_id,
o.total_amount FROM CUSTOMERS C​
_________ ORDERS O ON c.customer_id=o.customer_id;​
You want to list ONLY the customers who have at least one order and all
the orders.​
Every order must have a customer.​
Which of the following joins will work for you in this situation?
​ LEFT JOIN
​ INNER JOIN
​ (Correct)
​ RIGHT JOIN
​ FULL OUTER JOIN
Explanation
Correct Answer: INNER JOIN​

Correct: INNER JOIN will only list rows where there is a match in both
tables, which fits the requirement.​

Incorrect: LEFT JOIN would also include customers with no orders.​

Incorrect: RIGHT JOIN would also include orders with no customer.​

Incorrect: FULL OUTER JOIN would include all customers and all orders,
even if there isn't a match.
Question 35:
Which SQL statements will trigger an implicit commit when they are
successfully executed? (Select THREE)
​ ALTER
​ (Correct)
​ INSERT
​ CREATE
​ (Correct)
​ UPDATE
Explanation
Correct Answers: CREATE, ALTER​

Correct: CREATE statement implicitly commits the transaction.​

Correct: ALTER statement implicitly commits the transaction.​

Incorrect: INSERT does not cause an implicit commit.​

Incorrect: UPDATE does not cause an implicit commit.
Question 36:
Which of the following is not a component of an Oracle database?
​ Data files
​ Redo log files
​ Transaction logs
​ (Correct)
​ Control files
Explanation
Correct Answer: Transaction logs​

Correct: Oracle databases do not have a component specifically named
'Transaction logs'.​

Incorrect: Data files, Control files, and Redo log files are components of an
Oracle database.
Question 37:
Which of the following is NOT a type of Oracle index?
​ Bitmap
​ Clustered
​ (Correct)
​ B-tree
​ Reverse Key
Explanation
Correct Answer: Clustered​

Correct: Oracle does not have a 'Clustered' index type.​

Incorrect: Bitmap, B-tree, and Reverse Key are types of Oracle indexes.
Question 38:
Which of the following SQL clauses allows filtering on an aggregated
result?
​ WHERE
​ ORDER BY
​ HAVING
​ (Correct)
​ GROUP BY
Explanation
Correct Answer: HAVING​

Correct: The HAVING clause is used to filter aggregated results.​

Incorrect: WHERE, GROUP BY, and ORDER BY do not allow for this specific
type of filtering.
Question 39:
Which Oracle feature allows you to rollback a query to a previous point in
time without affecting other users?
​ Read-Only Snapshot
​ Flashback Query
​ (Correct)
​ Database Replay
​ Savepoint
Explanation
Correct Answer: Flashback Query​

Correct: Flashback Query allows you to query data as it existed at some
point in the past.​

Incorrect: The other options do not provide this capability.
Question 40:
Examine the following statement. What will be the result? Choose the
correct answer.
​ Error because of invalid INTERVAL syntax.
​ The resulting timestamp will be 'OCTOBER 9 1992 03:30:00'
​ The resulting timestamp will be 'OCTOBER 8 1993 03:30:00'
​ (Correct)
​ None of the above.
Explanation
Correct Answers: The resulting timestamp will be 'OCTOBER 8 1993
03:30:00'​

Correct: The SQL query adds 140 minutes and 1 year and 2 months to the
original timestamp.​

Incorrect: The INTERVAL syntax is correct.​

Incorrect: The resulting timestamp isn't 'OCTOBER 9 1992 03:30:00'
because 1 year and 2 months are also added.​

Incorrect: Option 4 is a catch-all incorrect answer.
Question 41:
What is the primary function of the NOT EXISTS operator when used in a
parent query to assess the result of a subquery?
​ It returns TRUE if the subquery has rows.
​ It modifies the rows returned by the subquery.
​ It returns TRUE if the subquery is empty.
​ (Correct)
​ It acts as an aggregate function for the subquery.
Explanation
Correct Answer: It returns TRUE if the subquery is empty​

Correct: NOT EXISTS returns TRUE when the subquery has no rows.​

Incorrect: All other options are incorrect interpretations of the NOT EXISTS
operator.
Question 42:
Which of the following statements are true, regarding substitution variables
in Oracle? (Select TWO)
​ They can replace table names in SQL statements.
​ (Correct)
​ They can execute DDL commands.
​ They can store the result of a SELECT statement.
​ They can be used to prompt the user for input.
​ (Correct)
Explanation
Correct Answers: They can be used to prompt the user for input, They can
replace table names in SQL statements​

Correct: Substitution variables can prompt the user for input in SQL*Plus.​

Correct: Substitution variables can replace table names and other object
names in SQL statements.​

Incorrect: Substitution variables cannot store the result of a SELECT
statement.​

Incorrect: Substitution variables cannot execute DDL commands.
Question 43:
Examine the following sequence of statements. What will be the result of
the last DROP TABLE statement?
​ Table will be dropped, view will remain.
​ (Correct)
​ Table and view will be dropped.
​ None of the above.
​ Table will be dropped, but an error will be thrown for the view.
Explanation
Correct Answers: Table will be dropped, view will remain.​

Correct: The DROP TABLE statement will only remove the table 'users'. The
view USERS_VIEW will remain but will be invalid.​

Incorrect: The view will not be dropped along with the table.​

Incorrect: An error will not be thrown when dropping the table.​

Incorrect: Option 4 is a catch-all incorrect answer.
Question 44:
Examine the following statement.​
SELECT TO_DATE('19-OCT-2020') + TO_YMINTERVAL('1-4')​
FROM DUAL;​
The value for NLS_DATE_FORMAT is ‘DD-MON-RR’​
Which of the following statements is correct?
​ The query will return an error.
​ The query will return '19-OCT-2021'
​ The query will return '19-FEB-2021'
​ The query will return '19-FEB-2022'
​ (Correct)
Explanation
Correct Answer: The query will return '19-FEB-2022'​

Correct: The query will add 1 year and 4 months to the date '19-OCT-2020',
resulting in '19-FEB-2022'.​

Incorrect: The query will not return an error.​

Incorrect: The query will not return '19-OCT-2021'.​

Incorrect: The query will not return '19-FEB-2021'.
Question 45:
Select two correct statements concerning temporary undo in Oracle.
​ It is stored in the system undo tablespace.
​ It is used to undo changes to temporary tables.
​ (Correct)
​ It exists only for the duration of the transaction.
​ (Correct)
​ It is automatically enabled for all sessions.
Explanation
Correct Answers: It is used to undo changes to temporary tables, It exists
only for the duration of the transaction​

Correct: Temporary undo is used for temporary tables and exists only for
the duration of the transaction.​

Incorrect: It is not stored in the system undo tablespace, and it is not
automatically enabled for all sessions.
Question 46:
What is the result of running COMMIT after executing a DELETE statement?
​ Data is moved to the Recycle Bin.
​ Data is permanently deleted.
​ (Correct)
​ Data is flagged for deletion.
​ Data is archived.
Explanation
Correct Answer: Data is permanently deleted.​

Correct: After COMMIT, the data is permanently deleted and cannot be
rolled back.​

Incorrect: Other options do not describe what happens after a DELETE
followed by COMMIT.
Question 47:
You want to retrieve all employees whose id is bigger than 5 and whose
first name starts with the letter J. Examine the query below and analyse
the possible output.​
SELECT employee_id as id, first_name, last_name​
FROM employees​
WHERE id > 5 AND 2 LIKE ‘J%’;​
Which of the following statements is correct? (Select TWO)
​ The query will return an error because "id" alias is used in the
WHERE clause.
​ (Correct)
​ The query will run without errors but return no rows.
​ The query will return all employees with id greater than 5.
​ The condition 2 LIKE ‘J%’ makes no sense in this query.
​ (Correct)
Explanation
Correct Answers: The query will return an error because "id" alias is used
in the WHERE clause, The condition 2 LIKE ‘J%’ makes no sense in this
query.​

Correct: The "id" alias is not recognized in the WHERE clause.​

Correct: The condition 2 LIKE 'J%' is illogical in this context.​

Incorrect: The query will return an error, not an empty set.​

Incorrect: Because of the error, the query will not return any rows.
Question 48:
Which view describes the relational tables owned by the current user?
​ ALL_TABLES
​ USER_TABLES
​ (Correct)
​ V$TABLE
​ DBA_TABLES
Explanation
Correct Answers: USER_TABLES​

Correct: USER_TABLES view describes the relational tables owned by the
current user.​

Incorrect: DBA_TABLES describes all tables in the database.​

Incorrect: ALL_TABLES describes all tables that are accessible by the user.​

Incorrect: V$TABLE does not exist as a view to describe relational tables
owned by a user.
Question 49:
Which clause can be used to filter groups of rows in SQL?
​ HAVING
​ (Correct)
​ GROUP BY
​ ORDER BY
​ WHERE
Explanation
Correct Answer: HAVING​

Correct: HAVING is used to filter groups of rows that have undergone the
GROUP BY clause.​

Incorrect: WHERE, GROUP BY, and ORDER BY do not serve this specific
purpose.
Question 50:
Assess the following sequence of SQL commands and determine which
statements are accurate? (Select TWO)​
CREATE TABLE customers (​
id NUMBER(8) PRIMARY KEY,​
custname VARCHAR2(50),​
city VARCHAR2(50)​
);​
...​
TRUNCATE TABLE CUSTOMERS;​
...​
ROLLBACK TO SAVEPOINT B;
​ The TRUNCATE operation can be rolled back.
​ The data for 'Patrick' will be saved after the ROLLBACK command.
​ (Correct)
​ The ROLLBACK TO SAVEPOINT B would bring back the data
truncated.
​ The SAVEPOINTs A and B will be lost after the TRUNCATE
command.
​ (Correct)
Explanation
Correct Answers: The SAVEPOINTs A and B will be lost after the
TRUNCATE command, The data for 'Patrick' will be saved after the
ROLLBACK command.​

Correct: TRUNCATE will remove all SAVEPOINTs.​

Correct: Since TRUNCATE cannot be rolled back, the subsequent INSERT
command will remain unaffected after the ROLLBACK.​

Incorrect: TRUNCATE operation is irreversible and cannot be rolled back.​

Incorrect: The ROLLBACK won't affect the TRUNCATE command.
Question 51:
What is the default port number for Oracle database?
​ 1521
​ (Correct)
​ 80
​ 8080
​ 3306
Explanation
Correct Answer: 1521​

Correct: The default port number for Oracle database is 1521.​

Incorrect: 8080, 3306, and 80 are not the default port numbers for Oracle.
Question 52:
Which of the following DELETE commands will eliminate all rows from the
ORDERS table? (Select TWO)
​ DELETE * FROM ORDERS;
​ DELETE FROM ORDERS WHERE 1=1;
​ (Correct)
​ DELETE FROM ORDERS WHERE id IS NOT NULL;
​ DELETE FROM ORDERS;
​ (Correct)
Explanation
Correct Answers: DELETE FROM ORDERS;, DELETE FROM ORDERS
WHERE 1=1;​

Correct: This will remove all rows from the ORDERS table and the changes
can be rolled back.​

Correct: Since 1=1 is always true, this statement will remove all rows.​

Incorrect: DELETE * FROM ORDERS; is a syntax error.​

Incorrect: DELETE FROM ORDERS WHERE id IS NOT NULL; will remove
rows where id is not null but will not remove rows where id is null.
Question 53:
Examine the following statement.​
UNDEFINE table;​
SELECT &col1, &col2 from &&table​
WHERE &condition​
ODER BY &&order​
Which of the following statements is correct? (Select THREE)
​ &&table can be redefined later in the session.
​ (Correct)
​ &col1 and &col2 are single-ampersand substitution variables and
will be prompted for each query.
​ (Correct)
​ The substitution variables will be prompted each time this query is
run.
​ The 'ODER BY' is a typo and should be 'ORDER BY'.
​ (Correct)
Explanation
Correct Answers: The 'ODER BY' is a typo and should be 'ORDER BY',
&&table can be redefined later in the session, &col1 and &col2 are
single-ampersand substitution variables and will be prompted for each
query​

Correct: 'ODER BY' is a typo and should be corrected to 'ORDER BY'.​

Correct: &&table can be redefined later in the session.​

Correct: &col1 and &col2 are single-ampersand substitution variables and
will be prompted for each time the query is run.​

Incorrect: Not all substitution variables will be prompted each time; &&table
will not be prompted for after the first time it is defined.
Question 54:
Consider the CREATE TABLE syntax below. Which of the following
statements are true? (Select TWO)​
CREATE TABLE scores (​
id NUMBER(7),​
date_of_score DATE,​
status VARCHAR2(10),​
player_name VARCHAR(25),​
score NUMBER(4,5)​
)
​ The id column can hold 7-digit integers.
​ (Correct)
​ The date_of_score column will automatically store the current date.
​ The score column can hold 4 digits before the decimal point and 5
digits after.
​ The player_name column can store up to 25 characters.
​ (Correct)
Explanation
Correct Answers: The id column can hold 7-digit integers, The
player_name column can store up to 25 characters.​

Correct: The id column is defined to hold up to 7-digit numbers.​

Correct: The player_name column is defined to hold up to 25 characters.​

Incorrect: The score column definition is incorrect; it can hold numbers
with up to 4 digits, but only 5 digits can be after the decimal point.​

Incorrect: The date_of_score column doesn't automatically store the
current date unless specified.
Question 55:
Which of the following are valid Oracle constraint types? (Select TWO)
​ DEFAULT
​ UNIQUE
​ (Correct)
​ FOREIGN KEY
​ (Correct)
​ AUTO_INCREMENT
Explanation
Correct Answers: UNIQUE, FOREIGN KEY​

Correct: UNIQUE and FOREIGN KEY are valid Oracle constraint types.​

Incorrect: DEFAULT and AUTO_INCREMENT are not constraint types in
Oracle.
Question 56:
Choose two accurate statements concerning permanent tablespaces in
Oracle.
​ Permanent tablespaces store temporary data
​ Permanent tablespaces can be dropped
​ Permanent tablespaces store user data
​ (Correct)
​ Permanent tablespaces store undo segments
​ (Correct)
Explanation
Correct Answers: Permanent tablespaces store undo segments,
Permanent tablespaces store user data​

Correct: Permanent tablespaces store undo segments and Permanent
tablespaces store user data are correct because undo segments and user
data are generally stored in permanent tablespaces.​

Incorrect: Permanent tablespaces can be dropped is incorrect because
dropping a permanent tablespace can be a complex operation.​

Incorrect: Permanent tablespaces store temporary data is incorrect
because temporary tablespaces are used for this purpose.
Question 57:
Which of the following statements is accurate concerning transaction
control?
​ COMMIT command makes all changes since the last ROLLBACK
permanent.
​ (Correct)
​ A transaction ends with a SELECT statement.
​ SAVEPOINT allows for partial COMMITs in a transaction.
​ A ROLLBACK command makes changes permanent.
Explanation
Correct Answer: COMMIT command makes all changes since the last
ROLLBACK permanent.​

Correct: COMMIT will make all changes since the last ROLLBACK or
COMMIT permanent.​

Incorrect: A transaction doesn't end with a SELECT statement.​

Incorrect: SAVEPOINT allows for partial rollbacks, not partial COMMITs.​

Incorrect: A ROLLBACK command undoes changes, it doesn't make them
permanent.
Question 58:
Identify two accurate statements related to SQL*Loader's operation.
​ Reads data from external files
​ (Correct)
​ Writes data directly to the Oracle database
​ (Correct)
​ Utilizes PL/SQL for data transfer
​ Only supports CSV files
Explanation
Correct Answers: Reads data from external files, Writes data directly to
the Oracle database​

Correct: Reads data from external files and Writes data directly to the
Oracle database are correct because SQL*Loader reads from external files
and writes to the Oracle database.​

Incorrect: Utilizes PL/SQL for data transfer is incorrect because
SQL*Loader doesn't use PL/SQL for data transfer.​

Incorrect: Only supports CSV files is incorrect because SQL*Loader
supports multiple file types.
Question 59:
Which Oracle feature ensures zero data loss in case of a database failure?
​ Data Pump
​ ASM
​ Data Guard with Maximum Protection
​ (Correct)
​ Flashback Database
Explanation
Correct Answer: Data Guard with Maximum Protection​

Correct: Data Guard with Maximum Protection mode ensures zero data
loss.​

Incorrect: Data Pump, Flashback Database, and ASM do not guarantee zero
data loss.
Question 60:
Which of the following is a mandatory background process in Oracle?
​ DBWn
​ SMON
​ (Correct)
​ CJQn
​ ARCn
Explanation
Correct Answer: SMON​

Correct: SMON (System Monitor) is a mandatory background process.​

Incorrect: DBWn, ARCn, and CJQn are not mandatory background
processes.
Question 61:
Which of the following password-related options can’t be controlled
through user profiles?
​ PASSWORD_REUSE_MAX
​ PASSWORD_VERIFY_FUNCTION
​ PASSWORD_AUTO_EXPIRY
​ (Correct)
​ FAILED_LOGIN_ATTEMPTS
Explanation
Correct Answers: PASSWORD_AUTO_EXPIRY​

Correct: PASSWORD_AUTO_EXPIRY is not a feature that can be controlled
through Oracle user profiles.​

Incorrect: FAILED_LOGIN_ATTEMPTS can be controlled through user
profiles.​

Incorrect: PASSWORD_REUSE_MAX can be controlled through user
profiles.​

Incorrect: PASSWORD_VERIFY_FUNCTION can be set in Oracle user
profiles.
Question 62:
Which Oracle feature is used for real-time data integration and replication?
​ Data Pump
​ GoldenGate
​ (Correct)
​ Partitioning
​ Streams
Explanation
Correct Answer: GoldenGate​

Correct: Oracle GoldenGate is used for real-time data integration and
replication.​

Incorrect: Data Pump is for import/export, Streams is outdated, and
Partitioning is for table management.
Question 63:
Examine the following sequence of statements and their output. Which of
the following statements regarding indexes is incorrect? (Select TWO)
​ Creating a view affects the underlying indexes of the table.
​ (Correct)
​ Deleting a row via a view will also delete the corresponding index
entries.
​ Indexes must be manually updated after deleting a row.
​ (Correct)
​ Indexes are automatically updated when DML operations are
performed.
Explanation
Correct Answers: Indexes must be manually updated after deleting a row,
Creating a view affects the underlying indexes of the table.​

Incorrect: Deleting a row via a view will also delete the corresponding index
entries. The index is automatically updated to reflect this change.​

Correct: Indexes are automatically updated when DML operations like
DELETE are performed. You do not need to manually update them.​

Incorrect: Indexes do not need to be manually updated after deleting a row.
They are automatically updated.​

Incorrect: Creating a view does not affect the underlying indexes of the
table. The indexes remain as they are.
Question 64:
Examine the following sequence of statements. What will be the result of
the last DROP TABLE statement?
​ Table will be dropped, view will remain.
​ (Correct)
​ Table will be dropped, but an error will be thrown for the view.
​ None of the above.
​ Table and view will be dropped.
Explanation
Correct Answers: Table will be dropped, view will remain.​

Correct: The DROP TABLE statement will only remove the table 'users'. The
view USERS_VIEW will remain but will be invalid.​

Incorrect: The view will not be dropped along with the table.​

Incorrect: An error will not be thrown when dropping the table.​

Incorrect: Option 4 is a catch-all incorrect answer.
Question 65:
Assess the following SQL statement: SELECT ROUND(SYSDATE,'0')
FROM dual;. What is true about this statement?
​ It rounds the system date to the closest zero
​ It rounds the system date to the nearest whole number
​ (Correct)
​ It rounds the system date to the nearest tenth
​ It returns an error as ROUND doesn't work with SYSDATE
Explanation
Correct Answer: It rounds the system date to the nearest whole number​

Correct: It rounds the system date to the nearest whole number is correct
because the ROUND function with SYSDATE rounds the date to the nearest
whole number.​

Incorrect: It returns an error as ROUND doesn't work with SYSDATE is
incorrect because ROUND can work with SYSDATE.​

Incorrect: It rounds the system date to the closest zero is incorrect
because it rounds to the nearest whole number.​

Incorrect: It rounds the system date to the nearest tenth is incorrect
because ROUND('0') rounds to the nearest whole number.
Question 66:
How can you forcefully terminate a user session in Oracle?
​ KILL SESSION
​ (Correct)
​ DROP SESSION
​ DELETE SESSION
​ ALTER SESSION
Explanation
Correct Answer: KILL SESSION​

Correct: The KILL SESSION command is used to forcefully terminate a user
session.​

Incorrect: ALTER, DROP, and DELETE SESSION are not the commands used
for this purpose.
Question 67:
Select the Oracle feature that is responsible for ensuring that a set of
logically related operations either completely succeed or fail.
​ Index
​ Sequence
​ Trigger
​ Transaction
​ (Correct)
Explanation
Correct Answer: Transaction​

Correct: A Transaction ensures either all or none of the operations are
applied.​

Incorrect: Sequence, Trigger, and Index do not provide this feature.
Question 68:
Which Oracle tool is used for workload capture and replay?
​ GoldenGate
​ Data Guard
​ Database Replay
​ (Correct)
​ Flashback
Explanation
Correct Answer: Database Replay​

Correct: Database Replay is used for workload capture and replay.​

Incorrect: Data Guard is for high availability, GoldenGate is for data
integration, and Flashback is for data recovery.
Question 69:
Which of the following constraints, when set on a single column, prevent
NULL values from being inserted into that column? (Select TWO)
​ FOREIGN KEY
​ NOT NULL
​ (Correct)
​ UNIQUE
​ PRIMARY KEY
​ (Correct)
Explanation
Correct Answers: NOT NULL, PRIMARY KEY​

Correct: NOT NULL constraint disallows NULL values in the column.​

Correct: PRIMARY KEY constraint implicitly includes NOT NULL constraint.​

Incorrect: UNIQUE constraint allows a single NULL value.​

Incorrect: FOREIGN KEY constraint doesn't necessarily prevent NULLs.
Question 70:
What is the maximum number of PDBs (Pluggable Databases) in Oracle
Database 12c?
​ 512
​ Unlimited
​ 252
​ 4098
​ (Correct)
Explanation
Correct Answer: 4098​

Correct: Oracle Database 12c allows a maximum of 4098 Pluggable
Databases (PDBs).​

Incorrect: Other numbers are not correct.
Question 71:
Examine the following SQL statement.​
SELECT first_name, last_name, salary​
FROM employees​
WHERE commission_pct __________;​
Which of the following conditions can be used, so that we can retrieve
only employees with a commission?
​ 0
​ >0
​ (Correct)
​ #NAME?
​ IS NOT NULL
Explanation
Correct Answer: > 0​

Correct: The condition > 0 will retrieve only employees who have a
commission.​

Incorrect: '= NULL' is incorrect syntax and will not run.​

Incorrect: 'IS NOT NULL' will also include employees who have a
commission of 0.​

Incorrect: '= 0' will retrieve employees who do not have a commission.
Question 72:
Examine the following statement. What will be the result? Choose the
correct answer.
​ The resulting timestamp will be 'OCTOBER 9 1992 03:30:00'
​ None of the above.
​ The resulting timestamp will be 'OCTOBER 8 1993 03:30:00'
​ (Correct)
​ Error because of invalid INTERVAL syntax.
Explanation
Correct Answers: The resulting timestamp will be 'OCTOBER 8 1993
03:30:00'​

Correct: The SQL query adds 140 minutes and 1 year and 2 months to the
original timestamp.​

Incorrect: The INTERVAL syntax is correct.​

Incorrect: The resulting timestamp isn't 'OCTOBER 9 1992 03:30:00'
because 1 year and 2 months are also added.​

Incorrect: Option 4 is a catch-all incorrect answer.

Part: 2
Knowledge areas
Subqueries (1 question)
100%

Subqueries with Comparison Operators (1 question)


100%

Creating and Managing Views (1 question)


100%

Oracle Synonyms (1 question)


100%

Index Management (1 question)


100%

Temporary Tables (2 questions)


100%

Constraints (3 questions)
100%

SQL Operators (4 questions)


100%

SQL SET Operators (1 question)


100%

Oracle Date and Time Functions (2 questions)


100%

Oracle Interval Data Types (1 question)


100%
Oracle Database Structure (1 question)
100%

Oracle Processes (2 questions)


100%

Oracle Memory Structures (1 question)


100%

Oracle Database Files (1 question)


100%

Oracle Database Shutdown (1 question)


100%

Dynamic Performance Views (1 question)


100%

Oracle Startup Procedure (1 question)


100%

Server Parameter File (1 question)


100%

Alert Log File (1 question)


100%

User Privileges (1 question)


100%

Oracle Fundamentals (1 question)


100%
Security and User Privileges (1 question)
100%

User Management (1 question)


100%

SQL Privileges and Roles (1 question)


100%

Oracle Architecture (1 question)


100%

Oracle Error Handling (1 question)


100%

SQL Management (1 question)


100%

Oracle Tables (3 questions)


100%

Oracle Data Compression (1 question)


100%

Oracle Database Architecture (1 question)


100%

Oracle External Tables (2 questions)


100%

Oracle Data Pump (2 questions)


100%
SQL*Loader (1 question)
100%

DBCA (1 question)
100%

Enterprise Manager Database Express (1 question)


100%

Oracle Database Tools (1 question)


100%

Query Execution Tools (1 question)


100%

Listener and Connections (1 question)


100%

Oracle Net Listener (1 question)


100%

Shared Server Configuration (1 question)


100%

Database Links (1 question)


100%

Naming Methods (1 question)


100%

Shared Server Architecture (1 question)


100%
Tablespace Management (2 questions)
100%

Tablespace Operations (1 question)


100%

Data Dictionaries (1 question)


100%

Tablespace Configuration (1 question)


100%

File Management (1 question)


100%

Datafile Operations (1 question)


100%

Undo Management (4 questions)


100%

Undo and Redo Management (1 question)


100%

SQL Commands (1 question)


100%

SQL Queries (3 questions)


100%

Question 1:
Which query retrieves unique combinations of first_name and
department_id?
​ SELECT UNIQUE(first_name, department_id) FROM employees
​ SELECT first_name, UNIQUE department_id FROM employees
​ SELECT first_name, department_id FROM employees
​ SELECT DISTINCT first_name, department_id FROM employees
​ (Correct)
Explanation
Correct Answer: SELECT DISTINCT first_name, department_id FROM
employees​

Correct: Using DISTINCT with both columns ensures that the output will
have unique combinations of 'first_name' and 'department_id'.​

Incorrect: The query without DISTINCT can return duplicate combinations.​

Incorrect: The UNIQUE function does not exist in this context.​

Incorrect: The syntax 'UNIQUE department_id' is incorrect.
Question 2:
Identify the two accurate statements concerning dynamic performance
views.
​ Contain historical data
​ Read-only
​ (Correct)
​ Contain real-time data
​ (Correct)
​ Can be altered by DBAs
Explanation
Correct Answers: Read-only, Contain real-time data​

Correct: Dynamic performance views are read-only and contain real-time
data.​

Incorrect: Contain historical data is incorrect because dynamic
performance views typically show only current information.​

Incorrect: Can be altered by DBAs is incorrect because these views are
read-only and cannot be altered.
Question 3:
Given the SQL statement and the condition that deferred segment creation
is set to FALSE, how many segments will be created for my_table?
​ 2
​ (Correct)
​ 4
​ 3
​ 1
Explanation
Correct Answer: 2​

Correct: Two segments will be created, one for the table data and another
for the UNIQUE constraint.​

Incorrect: 1 is incorrect because there will be an additional segment for
the UNIQUE constraint.​

Incorrect: 3 and 4 are incorrect because only two segments will be created
in this scenario.
Question 4:
Which of the following can be used to execute queries against the
database? (Select TWO)
​ Oracle Application Express
​ (Correct)
​ SQL*Plus
​ (Correct)
​ Oracle Enterprise Manager
​ Oracle Reports
Explanation
Correct Answers: SQL*Plus, Oracle Application Express​

Correct: SQL*Plus can execute queries against the Oracle Database.​
Correct: Oracle Application Express can also be used to execute queries.​

Incorrect: Oracle Reports is incorrect because it is primarily used for
generating reports.​

Incorrect: Oracle Enterprise Manager is incorrect because it is primarily
for database management.
Question 5:
What is the impact on current user sessions if the database listener is
stopped?
​ None
​ They are immediately terminated
​ They continue until logout
​ (Correct)
​ They can no longer perform DML operations
Explanation
Correct Answer: They continue until logout​

Correct: Existing sessions continue to function until the users log out;
stopping the listener does not affect them.​

Incorrect: They are immediately terminated is incorrect because existing
sessions are not terminated.​

Incorrect: They can no longer perform DML operations is incorrect
because existing sessions are not impacted in their DML operations.​

Incorrect: None is incorrect because the listener affects new incoming
connections, not the existing ones.
Question 6:
Identify two correct statements concerning unusable indexes in Oracle.
​ They are automatically deleted
​ They are ignored by the optimizer
​ (Correct)
​ They can be rebuilt
​ (Correct)
​ They improve query performance
Explanation
Correct Answers: They can be rebuilt, They are ignored by the optimizer​

Correct: They can be rebuilt and They are ignored by the optimizer are
correct because these statements accurately describe unusable indexes
in Oracle.​

Incorrect: They improve query performance is incorrect because unusable
indexes do not improve performance.​

Incorrect: They are automatically deleted is incorrect because unusable
indexes are not automatically deleted.
Question 7:
Which of the following statements regarding the modification of
tablespaces are accurate? (Select THREE)
​ Tablespace can be encrypted.
​ (Correct)
​ Tablespace can be renamed.
​ Tablespace can be compressed.
​ (Correct)
​ Tablespace can be set to READ ONLY.
​ (Correct)
Explanation
Correct Answers: Tablespace can be set to READ ONLY, Tablespace can be
compressed, Tablespace can be encrypted​

Correct: A tablespace can be set to READ ONLY to prevent any further
changes.​
Correct: You can apply compression at the tablespace level.​
Correct: You can encrypt a tablespace for security.​

Incorrect: Renaming a tablespace is not a supported operation.
Question 8:
Identify two correct statements concerning users, roles, and privileges in
Oracle.
​ Users must be created by SYSDBA
​ Privileges cannot be revoked
​ Users can be assigned default roles
​ (Correct)
​ Users can have roles granted to them
​ (Correct)
Explanation
Correct Answers: Users can have roles granted to them, Users can be
assigned default roles​

Correct: Users can indeed have roles granted to them, and they can be
assigned default roles.​

Incorrect: Privileges cannot be revoked is incorrect because privileges can
be revoked.​

Incorrect: Users must be created by SYSDBA is incorrect because a user
with the "CREATE USER" privilege can create other users.
Question 9:
Which two statements concerning BIGFILE tablespaces are accurate?
​ They are unable to store large objects (LOBs).
​ They can contain only one large data file.
​ (Correct)
​ They can span multiple disks if the file system supports it.
​ (Correct)
​ They are mainly suitable for small databases.
Explanation
Correct Answers: They can contain only one large data file, They can span
multiple disks if the file system supports it​

Correct: BIGFILE tablespaces can only have one file, but it can be very
large.​
Correct: They can span multiple disks if the file system allows for it.​

Incorrect: BIGFILE tablespaces are usually used for large databases, not
small ones.​

Incorrect: BIGFILE tablespaces can certainly store LOBs.
Question 10:
What can't be accomplished by using SQL*Loader?
​ Deleting existing records
​ (Correct)
​ Importing data into existing tables
​ Modifying existing data
​ Generating new tables
Explanation
Correct Answer: Deleting existing records​

Correct: SQL*Loader is not designed to delete existing records in a table.​

Incorrect: Importing data into existing tables is incorrect because
SQL*Loader can do this.​

Incorrect: Generating new tables is incorrect because SQL*Loader can
generate new tables.​

Incorrect: Modifying existing data is incorrect because SQL*Loader can
indeed modify existing data.
Question 11:
Which two elements, if included in the SELECT statement for creating a
view, will disallow UPDATE operations on the view?
​ UNION
​ GROUP BY
​ (Correct)
​ DISTINCT
​ (Correct)
​ ORDER BY
Explanation
Correct Answers: GROUP BY, DISTINCT​

Correct: GROUP BY, DISTINCT are correct because including these in the
SELECT statement will prevent the view from being updated.​

Incorrect: UNION is incorrect because it does not prevent the view from
being updated.​

Incorrect: ORDER BY is incorrect because it does not prevent the view
from being updated.​

References URL: [Oracle Views Doc](https://docs.oracle.com/)
Question 12:
Choose two accurate statements concerning Oracle temporary tables.
​ Data is deleted at the end of the transaction
​ (Correct)
​ Temporary tables can't have triggers
​ Temporary tables can be indexed
​ (Correct)
​ Data is preserved after session ends
Explanation
Correct Answers: Data is deleted at the end of the transaction, Temporary
tables can be indexed​

Correct: Data is deleted at the end of the transaction and Temporary
tables can be indexed are correct because they correctly describe the
properties of Oracle temporary tables.​

Incorrect: Data is preserved after session ends is incorrect because data
in temporary tables is not preserved.​

Incorrect: Temporary tables can't have triggers is incorrect because they
can have triggers.
Question 13:
Which tool is being described by the following text: It is a web-based
database management tool that is built inside the Oracle Database?
​ Oracle Application Express
​ (Correct)
​ Toad
​ SQL*Plus
​ Oracle Enterprise Manager
Explanation
Correct Answer: Oracle Application Express​

Correct: Oracle Application Express is correct because it is a web-based
tool for database management embedded within Oracle Database.​

Incorrect: SQL*Plus is incorrect because it is not web-based.​

Incorrect: Oracle Enterprise Manager is incorrect because it is not built
inside the Oracle Database.​

Incorrect: Toad is incorrect because it is not built inside the Oracle
Database.
Question 14:
Consider the SQL statements. What will be the outcome of the final SQL
command?
​ The command will succeed but JON cannot create tables
​ The command will return an error
​ JON can create any table
​ (Correct)
​ JON can grant the ability to create any table to other users
​ (Correct)
Explanation
Correct Answers: JON can create any table, JON can grant the ability to
create any table to other users​

Correct: The "GRANT CREATE ANY TABLE TO JON WITH GRANT OPTION"
allows JON to create any table and also to grant that privilege to other
users.​

Incorrect: The command will return an error is incorrect because the
command is syntactically correct.​

Incorrect: The command will succeed but JON cannot create tables is
incorrect because JON is given the privilege to create tables.
Question 15:
Identify the false statement concerning undo.
​ Undo is used to support consistent read operations.
​ Undo is used to rollback transactions.
​ Undo data is stored in the undo tablespace.
​ Undo data can be manually deleted using SQL statements.
​ (Correct)
Explanation
Correct Answer: Undo data can be manually deleted using SQL
statements.​

Correct: Manually deleting undo data is incorrect because undo data is
managed by Oracle and should not be manually modified.​

Incorrect: Undo data is indeed stored in the undo tablespace.​

Incorrect: Undo is used to rollback transactions.​

Incorrect: Undo supports consistent read operations.
Question 16:
Identify the incorrect statement from the following:
​ Every table in Oracle must have at least one primary key
​ (Correct)
​ Oracle is a relational database
​ PL/SQL is Oracle's procedural extension for SQL
​ Triggers can be used to enforce business rules
Explanation
Correct Answer: Every table in Oracle must have at least one primary key​

Correct: The statement that every table must have at least one primary
key is incorrect; primary keys are optional.​

Incorrect: Oracle is a relational database is incorrect because this is true.​

Incorrect: PL/SQL is Oracle's procedural extension for SQL is incorrect
because this is true.​

Incorrect: Triggers can be used to enforce business rules is incorrect
because this is true.
Question 17:
After executing the query, what will be the outcome?​
SELECT 'id', employee_id, 'name', first_name FROM
employees;
​ Only 'employee_id' and 'first_name' columns will be displayed.
​ The 'id' and 'name' will replace the column headers.
​ The literals 'id' and 'name' will be returned as part of each row.
​ (Correct)
​ The query will throw an error.
Explanation
Correct Answer: The literals 'id' and 'name' will be returned as part of each
row.​

Correct: The literals 'id' and 'name' will appear in every row as they are,
effectively, hard-coded into the output.​

Incorrect: The query will not throw an error.​

Incorrect: All four columns, including 'id' and 'name', will be displayed.​

Incorrect: The literals 'id' and 'name' do not replace the column headers.
Question 18:
Which statements are correct about external tables? (Select TWO)
​ They can be partitioned.
​ They are read-only.
​ (Correct)
​ They can be indexed.
​ They reside outside the database.
​ (Correct)
Explanation
Correct Answers: They are read-only, They reside outside the database​

Correct: These options are accurate; external tables are read-only and
reside outside the database.​

Incorrect: They can be indexed is incorrect because external tables cannot
be indexed.​

Incorrect: They can be partitioned is incorrect because external tables
cannot be partitioned.
Question 19:
Which of the following statements are accurate regarding the Oracle Data
Pump Export Utility? (Select TWO)
​ It can export data at a tablespace level.
​ (Correct)
​ It is faster than the original Export Utility.
​ (Correct)
​ It can only be run by the SYS user.
​ It cannot export data from a remote database.
Explanation
Correct Answers: It is faster than the original Export Utility, It can export
data at a tablespace level​

Correct: These options accurately describe the capabilities of Oracle Data
Pump Export Utility.​

Incorrect: It can only be run by the SYS user is incorrect because other
privileged users can also run it.​

Incorrect: It cannot export data from a remote database is incorrect
because it can, using a database link.
Question 20:
Which data dictionary can be queried to gain information on all tablespaces
in the database instance, not restricted to the current container database?
​ USER_TABLESPACES
​ ALL_TABLESPACES
​ DBA_TABLESPACES
​ CDB_TABLESPACES
​ (Correct)
Explanation
Correct Answer: CDB_TABLESPACES​

Correct: CDB_TABLESPACES provides information about all tablespaces in
the entire container database, including all PDBs.​

Incorrect: DBA_TABLESPACES only gives information about the current
container.​

Incorrect: USER_TABLESPACES only provides information for the
tablespaces that the user has access to.​

Incorrect: ALL_TABLESPACES also only provides information for the
current container.
Question 21:
Is it accurate to state that a database can have multiple active undo
tablespaces at the same time?
​ TRUE
​ FALSE
​ (Correct)
​ -
​ -
Explanation
Correct Answer: False​

Correct: The statement is incorrect because a database can have only one
active undo tablespace at any given time.​

Incorrect: True is not the correct answer because having multiple active
undo tablespaces simultaneously is not possible.
Question 22:
Which Oracle process takes care of mounting and opening the database?
​ DBW0 (Database Writer)
​ PMON (Process Monitor)
​ SMON (System Monitor)
​ (Correct)
​ Instance
Explanation
Correct Answer: SMON (System Monitor)​

Correct: SMON (System Monitor) is responsible for mounting and opening
the database.​

Incorrect: PMON (Process Monitor) is incorrect because it cleans up after
failed processes.​

Incorrect: DBW0 (Database Writer) is incorrect because it writes data
blocks to disk.​

Incorrect: Instance is incorrect because an instance refers to the set of
Oracle background processes/threads and a shared memory area.
Question 23:
Identify the correct statements concerning row migration. (Select THREE)
​ It occurs when an updated row no longer fits in its original block.
​ (Correct)
​ It results in I/O performance overhead.
​ (Correct)
​ It is primarily triggered by a DELETE operation.
​ It cannot happen in partitioned tables.
Explanation
Correct Answers: It occurs when an updated row no longer fits in its
original block, It results in I/O performance overhead​

Correct: Both these options are accurate descriptions of what triggers row
migration and its effects.​

Incorrect: It is primarily triggered by a DELETE operation is incorrect
because row migration is usually triggered by an UPDATE.​

Incorrect: It cannot happen in partitioned tables is incorrect because row
migration can happen in partitioned tables as well.
Question 24:
Select three privileges that make a user eligible for password file
authentication.
​ SYSOPER
​ (Correct)
​ RESOURCE
​ SYSDBA
​ (Correct)
​ CONNECT
​ (Correct)
Explanation
Correct Answers: SYSDBA, SYSOPER, CONNECT​

Correct: SYSDBA, SYSOPER, and CONNECT privileges allow the user to be
authenticated using a password file.​

Incorrect: RESOURCE is incorrect because it does not provide password
file authentication eligibility.
Question 25:
Which of the following operations will not generate undo?
​ INSERT
​ DELETE
​ SELECT
​ (Correct)
​ UPDATE
Explanation
Correct Answer: SELECT​

Correct: A SELECT operation does not generate undo as it doesn't change
data.​

Incorrect: INSERT operations will generate undo.​

Incorrect: UPDATE operations generate undo as they modify existing data.​

Incorrect: DELETE operations generate undo because they remove data.
Question 26:
What is the sole required initialization parameter for configuring a shared
server architecture?
​ DB_NAME
​ SGA_MAX_SIZE
​ SHARED_POOL_SIZE
​ DISPATCHERS
​ (Correct)
Explanation
Correct Answer: DISPATCHERS​

Correct: The DISPATCHERS parameter is required for enabling shared
server architecture.​

Incorrect: SHARED_POOL_SIZE is not specifically for shared server.​

Incorrect: SGA_MAX_SIZE is not specifically for shared server.​

Incorrect: DB_NAME is a basic configuration parameter but not specific to
shared server.
Question 27:
Which shutdown command will roll back uncommitted transactions,
disconnect all active users, and then proceed to shut down the database?
​ SHUTDOWN IMMEDIATE
​ (Correct)
​ SHUTDOWN NORMAL
​ SHUTDOWN ABORT
​ SHUTDOWN TRANSACTIONAL
Explanation
Correct Answer: SHUTDOWN IMMEDIATE​

Correct: SHUTDOWN IMMEDIATE is correct because it rolls back any
uncommitted transactions, disconnects all users, and proceeds with the
shutdown.​

Incorrect: SHUTDOWN ABORT is incorrect because it terminates the
instance without rolling back uncommitted transactions or cleanly
disconnecting users.​

Incorrect: SHUTDOWN NORMAL is incorrect because it waits for all users
to disconnect.​

Incorrect: SHUTDOWN TRANSACTIONAL is incorrect because it waits for
all transactions to complete.
Question 28:
Which type of compression compresses rows during an INSERT operation?
​ Advanced Row Compression
​ None of these
​ Basic Compression
​ OLTP Compression
​ (Correct)
Explanation
Correct Answer: OLTP Compression​

Correct: OLTP Compression compresses rows during INSERT operations.​

Incorrect: Basic Compression is incorrect because it doesn't compress
during INSERT operations.​

Incorrect: Advanced Row Compression is incorrect because it doesn't
target INSERT operations.​

Incorrect: None of these is incorrect because OLTP Compression does
perform this operation.
Question 29:
Examine the following SQL statements:​
ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY';​

SELECT CURRENT_DATE, CURRENT_TIMESTAMP, LOCALTIMESTAMP
FROM DUAL;​
How many columns will display the date along with seconds?
​ 1
​ 3
​ None
​ 2
​ (Correct)
Explanation
Correct Answer: 2​

Correct: 2 is correct because CURRENT_TIMESTAMP and
LOCALTIMESTAMP will display date as well as seconds.​

Incorrect: 1 is incorrect because CURRENT_DATE displays only the date.​

Incorrect: 3 is incorrect because CURRENT_DATE only displays the date,
not the time.​

Incorrect: None is incorrect because two columns do show the date along
with seconds.
Question 30:
Identify two accurate statements about the UNION ALL SQL operator.
​ Removes duplicate rows
​ Can combine rows from different tables with similar structure
​ (Correct)
​ Preserves duplicate rows
​ (Correct)
​ Sorts the result set automatically
Explanation
Correct Answers: Preserves duplicate rows, Can combine rows from
different tables with similar structure​

Correct: Preserves duplicate rows and Can combine rows from different
tables with similar structure are correct because they accurately describe
the UNION ALL operator.​

Incorrect: Removes duplicate rows is incorrect because UNION ALL
preserves duplicate rows.​

Incorrect: Sorts the result set automatically is incorrect because UNION
ALL does not sort the result set.
Question 31:
Which SQL operator returns the distinct difference between two sets of
query results?
​ INTERSECT
​ JOIN
​ UNION
​ MINUS
​ (Correct)
Explanation
Correct Answer: MINUS​

Correct: MINUS is correct because it returns the rows from the first query
that are not present in the second query.​

Incorrect: UNION is incorrect because it returns all unique rows from both
queries.​

Incorrect: INTERSECT is incorrect because it returns rows common to
both queries.​

Incorrect: JOIN is incorrect because it is not a SET operator and combines
rows based on a related column.
Question 32:
After executing the STARTUP NOMOUNT command, which three things will
occur?
​ Instance is started
​ (Correct)
​ Memory is allocated for SGA
​ (Correct)
​ Redo log files are opened
​ Control files are mounted
​ (Correct)
Explanation
Correct Answers: Instance is started, Control files are mounted, Memory
is allocated for SGA​

Correct: STARTUP NOMOUNT starts the instance, mounts control files,
and allocates memory for the System Global Area (SGA).​

Incorrect: Redo log files are opened is incorrect because they are not
opened with this command.​

Incorrect: Memory is allocated for SGA is incorrect because memory for
SGA is allocated but not specific to this command.
Question 33:
After executing the SQL sequence of creating a table in TABLESPACE
tbs_01, setting it to OFFLINE, and then dropping the table, what will be the
outcome?
​ The table will not be dropped and an error will be logged.
​ An error will be thrown because the tablespace is offline.
​ The table will be dropped and the tablespace remains offline.
​ (Correct)
​ The tablespace will automatically come online and the table will be
dropped.
Explanation
Correct Answer: The table will be dropped and the tablespace remains
offline.​

Correct: The table will be dropped even if the tablespace is offline.​

Incorrect: An error will not be thrown because the tablespace being offline
does not prevent table drops.​

Incorrect: The table will indeed be dropped.​

Incorrect: The tablespace will not automatically come online.
Question 34:
Where is a single-row subquery not applicable?
​ In UPDATE clauses
​ (Correct)
​ In SELECT clauses
​ In WHERE clauses
​ In FROM clauses
Explanation
Correct Answer: In UPDATE clauses​

Correct: In UPDATE clauses is correct because single-row subqueries
cannot be used in UPDATE clauses.​

Incorrect: In SELECT clauses is incorrect because single-row subqueries
can be used in SELECT clauses.​

Incorrect: In WHERE clauses is incorrect because single-row subqueries
can be used in WHERE clauses.​

Incorrect: In FROM clauses is incorrect because single-row subqueries
can be used in FROM clauses.
Question 35:
Select two correct statements about UNDO_RETENTION.
​ It is applicable for system-managed undo only.
​ It prevents "snapshot too old" errors.
​ (Correct)
​ It sets the time that undo data is retained in the undo tablespace.
​ (Correct)
​ Its value is measured in bytes.
Explanation
Correct Answers: It sets the time that undo data is retained in the undo
tablespace, It prevents "snapshot too old" errors​

Correct: UNDO_RETENTION is used to specify the amount of time undo
data needs to be retained.​
Correct: By retaining undo data, it can help in preventing "snapshot too
old" errors.​

Incorrect: UNDO_RETENTION is applicable for both system-managed and
manual undo management.​

Incorrect: The value of UNDO_RETENTION is measured in seconds, not
bytes.
Question 36:
Examine the following SQL statement:​
SELECT TO_CHAR(25) as first_column, TO_NUMBER('35') as
second_column FROM DUAL​

UNION​

SELECT TO_CHAR(35) as third_column, TO_NUMBER('25') as
fourth_column FROM DUAL;​
Select two correct statements.
​ first_column will have a numeric data type
​ second_column will have a character data type
​ The UNION operator will eliminate duplicate rows
​ (Correct)
​ The final result set will have two rows
​ (Correct)
Explanation
Correct Answers: The UNION operator will eliminate duplicate rows, The
final result set will have two rows​

Correct: The UNION operator will eliminate duplicate rows is correct
because UNION removes duplicates.​

Correct: The final result set will have two rows is correct because UNION
does not remove duplicates in this case as the rows are different.​

Incorrect: first_columnwill have a numeric data type is incorrect because
TO_CHAR is used, making it a character data type.​

Incorrect:second_column will have a character data type is incorrect
because TO_NUMBER is used, making it a numeric data type.
Question 37:
Which of the following does not serve as an advantage of using OMF
(Oracle Managed Files)?
​ Automatically deletes files when no longer needed.
​ Simplifies database administration.
​ Manages file naming and placement.
​ Increases disk I/O performance.
​ (Correct)
Explanation
Correct Answer: Increases disk I/O performance​

Correct: OMF does not inherently increase disk I/O performance.​

Incorrect: Simplifying database administration is one of the main
advantages of OMF.​

Incorrect: OMF will automatically delete or archive files as needed.​

Incorrect: OMF takes care of file naming and file placement.
Question 38:
For a SMALLFILE tablespace with a single file, which two actions will
extend the available space? (Select TWO)
​ Add a new tablespace.
​ Shrink the datafile.
​ Add another file to the tablespace.
​ (Correct)
​ Increase the size of the existing datafile.
​ (Correct)
Explanation
Correct Answers: Add another file to the tablespace, Increase the size of
the existing datafile​

Correct: Adding a new file will expand the tablespace.​
Correct: Resizing the existing datafile also adds more space.​

Incorrect: Adding a new tablespace does not expand the existing
tablespace.​

Incorrect: Shrinking the datafile will reduce, not extend, the available
space.
Question 39:
Select two correct statements that compare undo and redo.
​ Both undo and redo are generated for DML operations.
​ Both undo and redo are stored in the same tablespace.
​ Redo is used for recovery, whereas undo is not.
​ (Correct)
​ Undo is used for read consistency, whereas redo is not.
​ (Correct)
Explanation
Correct Answers: Redo is used for recovery, whereas undo is not, Undo is
used for read consistency, whereas redo is not​

Correct: Redo is crucial for database recovery processes, unlike undo.​

Correct: Undo is used for ensuring read consistency.​

Incorrect: Undo and redo are stored in separate tablespaces.​

Incorrect: Redo is generated for DML as well as DDL operations, whereas
undo is generated only for DML operations.
Question 40:
Identify the incorrect statement regarding Oracle Data Pump Import Utility.
​ It is backward compatible.
​ It can only be run by the SYS user.
​ (Correct)
​ It can perform parallel import.
​ It can import data from a remote database.
Explanation
Correct Answer: It can only be run by the SYS user​

Correct: This statement is incorrect; other privileged users can also run
the Oracle Data Pump Import Utility.​

Incorrect: It can import data from a remote database is correct.​

Incorrect: It is backward compatible is also correct.​

Incorrect: It can perform parallel import is also correct.
Question 41:
What cannot be managed using Enterprise Manager Database Express?
​ SQL Tuning
​ Viewing performance metrics
​ Backup and Recovery
​ Database migration
​ (Correct)
Explanation
Correct Answer: Database migration​

Correct: Enterprise Manager Database Express is not intended for
database migration.​

Incorrect: Viewing performance metrics is incorrect because this can be
managed.​

Incorrect: SQL Tuning is incorrect because this is one of its features.​

Incorrect: Backup and Recovery is incorrect because it also manages
backup and recovery.
Question 42:
Identify the condition that will not lead to the suspension of a resumable
statement.
​ Hitting a user quota
​ Reaching maximum extents
​ Statement has syntax errors
​ (Correct)
​ Tablespace running out of space
Explanation
Correct Answer: Statement has syntax errors​

Correct: Syntax errors in the statement will not cause a resumable
statement to be suspended; they will cause an error instead.​

Incorrect: Tablespace running out of space is incorrect because this can
cause a resumable statement to be suspended.​

Incorrect: Hitting a user quota is incorrect because this can also lead to
suspension.​

Incorrect: Reaching maximum extents is incorrect because this too can
lead to suspension.
Question 43:
Examine the ALTER DATABASE MOVE DATAFILE SQL statement provided.
Select the two accurate statements.
​ The datafile move operation will be offline.
​ The datafile will be moved while keeping its original size.
​ (Correct)
​ The datafile will be renamed as part of the move operation.
​ (Correct)
​ This operation will resize the datafile.
Explanation
Correct Answers: The datafile will be moved while keeping its original
size, The datafile will be renamed as part of the move operation​

Correct: The KEEP keyword ensures the datafile retains its original size.​
Correct: The datafile will be renamed as indicated.​

Incorrect: The datafile move operation is online, not offline.​

Incorrect: The datafile will not be resized during this operation.
Question 44:
Which two statements about database links are accurate? (Select TWO)
​ They enable cross-database queries.
​ (Correct)
​ They can be used for both local and remote databases.
​ (Correct)
​ They are always read-only.
​ They require the database to be in ARCHIVELOG mode.
Explanation
Correct Answers: They can be used for both local and remote databases,
They enable cross-database queries​

Correct: Database links can be used to connect to both local and remote
databases.​
Correct: Database links enable queries that fetch data from multiple
databases.​

Incorrect: They are always read-only is incorrect because database links
can be used for DML operations.​

Incorrect: They require the database to be in ARCHIVELOG mode is
incorrect because there is no such requirement.
Question 45:
Choose three correct statements regarding the DESCRIBE command.
​ DESCRIBE can be used for views as well as tables.
​ (Correct)
​ DESCRIBE is used to list the columns of a table.
​ (Correct)
​ DESCRIBE can show primary key constraints.
​ (Correct)
​ DESCRIBE can only be used in SQL*Plus.
Explanation
Correct Answers: DESCRIBE is used to list the columns of a table,
DESCRIBE can show primary key constraints, DESCRIBE can be used for
views as well as tables​

Correct: DESCRIBE can be used to list columns in a table or a view.​

Correct: DESCRIBE can show primary key constraints, among other
metadata.​

Correct: DESCRIBE is applicable to both tables and views.​

Incorrect: DESCRIBE can be used in other Oracle utilities and interfaces,
not just SQL*Plus.
Question 46:
Which two statements about Oracle Net Listener are accurate? (Select
TWO)
​ It serves as the connection point for client connection requests.
​ (Correct)
​ It can be configured to listen on multiple IP addresses.
​ (Correct)
​ It needs to be restarted every time a new service is registered.
​ It cannot listen on more than one port.
Explanation
Correct Answers: It serves as the connection point for client connection
requests, It can be configured to listen on multiple IP addresses​

Correct: The Oracle Net Listener is the entry point for client connections
to the database.​
Correct: The Oracle Net Listener can be configured to listen on multiple IP
addresses.​

Incorrect: It cannot listen on more than one port is incorrect because it
can listen on multiple ports.​

Incorrect: It needs to be restarted every time a new service is registered is
incorrect because it dynamically registers services.
Question 47:
Select three comparison operators that do not generate an error in a
WHERE clause when the subquery returns multiple rows or is scalar.
​ =
​ ALL
​ (Correct)
​ ANY
​ (Correct)
​ IN
​ (Correct)
Explanation
Correct Answers: IN, ANY, ALL​

Correct: IN, ANY, ALL are correct because they handle multiple rows
gracefully in a subquery.​

Incorrect: = is incorrect because it will generate an error if the subquery
returns multiple rows.​

References URL: [Oracle Comparison Operators
Doc](https://docs.oracle.com/)
Question 48:
Which function returns the current date and time in the session time zone
as a TIMESTAMP WITH TIME ZONE data type?
​ CURRENT_TIMESTAMP
​ (Correct)
​ CURRENT_DATE
​ SYSDATE
​ LOCALTIMESTAMP
Explanation
Correct Answer: CURRENT_TIMESTAMP​

Correct: CURRENT_TIMESTAMP is correct because it returns the current
date and time in the session time zone in a TIMESTAMP WITH TIME ZONE
data type.​

Incorrect: SYSDATE is incorrect because it returns the date and time
without the time zone.​

Incorrect: CURRENT_DATE is incorrect because it returns only the date.​

Incorrect: LOCALTIMESTAMP is incorrect because it returns a
TIMESTAMP without time zone information.
Question 49:
Which constraint mode allows existing data to violate the constraint but
prevents further invalid inserts?
​ DEFERRABLE
​ IMMEDIATE
​ ENABLE
​ NOVALIDATE
​ (Correct)
Explanation
Correct Answer: NOVALIDATE​

Correct: NOVALIDATE is correct because it allows existing data to violate
the constraint but prevents any further invalid inserts.​

Incorrect: DEFERRABLE is incorrect because it allows the constraint to be
deferred until the end of the transaction.​

Incorrect: IMMEDIATE is incorrect because it enforces the constraint
immediately.​

Incorrect: ENABLE is incorrect because it enforces the constraint for all
data.
Question 50:
The following text describes which Oracle feature?​
It is a non-shared memory region reserved only for a specific user session
connected to that specific server process.
​ Shared SQL Area
​ Database Buffer Cache
​ Private SQL Area
​ (Correct)
​ Large Pool
Explanation
Correct Answer: Private SQL Area​

Correct: Private SQL Area is correct because it is a non-shared memory
region allocated for a specific user session.​

Incorrect: Database Buffer Cache is incorrect because it's a shared
memory structure for all connected users.​

Incorrect: Shared SQL Area is incorrect because it is shared among
multiple users.​

Incorrect: Large Pool is incorrect because it is used for large memory
allocations and not tied to a specific user session.
Question 51:
Which element is not a part of the physical database structure?
​ Datafiles
​ Schemas
​ (Correct)
​ Control files
​ Tablespaces
Explanation
Correct Answer: Schemas​

Correct: Schemas are not part of the physical database structure; they are
logical containers for database objects.​

Incorrect: Datafiles are part of the physical structure as they store the
data.​

Incorrect: Tablespaces are part of the physical structure, serving as a
logical container for datafiles.​

Incorrect: Control files are part of the physical structure and contain
metadata about the database.
Question 52:
Is the following statement correct?​
SELECT COUNT(null) FROM employees;
​ COUNT(null) will throw an error.
​ COUNT(null) will return NULL.
​ COUNT(null) will return 0.
​ (Correct)
​ COUNT(null) will return the number of rows.
Explanation
Correct Answer: COUNT(null) will return 0.​

Correct: COUNT(null) will return 0 because NULL values are not counted.​

Incorrect: COUNT(null) will not return the number of rows; it will return 0.​

Incorrect: COUNT(null) will not throw an error.​

Incorrect: COUNT(null) will not return NULL; it will return 0.
Question 53:
Is the statement "The SET CONSTRAINTS ALL DEFERRED statement can
set all constraints to deferred for the entire session" true or false?
​ TRUE
​ FALSE
​ (Correct)
Explanation
Correct Answer: False​

Correct: False is correct because the SET CONSTRAINTS ALL DEFERRED
statement sets the constraints to deferred only for the current transaction,
not for the entire session.​

Incorrect: True is incorrect because the statement only affects the current
transaction, not the entire session.
Question 54:
Does a DROP TABLE statement behave similarly for both external and heap
tables?
​ FALSE
​ (Correct)
​ TRUE
Explanation
Correct Answer: False​

Correct: This statement is incorrect. DROP TABLE for external tables only
removes the table metadata and does not delete the actual data files,
whereas it does for heap tables.
Question 55:
Which of the following items is not recorded in the Oracle alert log file?
​ Instance shutdown
​ Table creation
​ Internal errors
​ Successful logon attempts
​ (Correct)
Explanation
Correct Answer: Successful logon attempts​

Correct: Successful logon attempts are not recorded in the alert log file.​

Incorrect: Table creation is incorrect because it is logged.​

Incorrect: Internal errors is incorrect because they are logged.​

Incorrect: Instance shutdown is incorrect because it is logged.
Question 56:
Identify two limitations that apply to private temporary tables but not to
global temporary tables.
​ Can't be partitioned
​ (Correct)
​ Data persists after the session ends
​ Can't have indexes
​ Limited to one user
​ (Correct)
Explanation
Correct Answers: Can't be partitioned, Limited to one user​

Correct: Can't be partitioned and Limited to one user are correct because
these limitations apply to private but not global temporary tables.​

Incorrect: Data persists after the session ends is incorrect because this is
not a limitation unique to private temporary tables.​

Incorrect: Can't have indexes is incorrect because both types can have
indexes.
Question 57:
Which three statements about shared server configuration are accurate?
(Select THREE)
​ It allows for fewer user processes.
​ (Correct)
​ It requires more PGA memory.
​ It improves system resource usage.
​ (Correct)
​ It is suitable for OLTP systems.
​ (Correct)
Explanation
Correct Answers: It allows for fewer user processes, It improves system
resource usage, It is suitable for OLTP systems​

Correct: Shared server configuration allows for fewer user processes
because multiple sessions share the same server process.​
Correct: It improves system resource usage by sharing server processes
among multiple sessions.​
Correct: It is particularly suitable for OLTP systems where connection
pooling is beneficial.​

Incorrect: It requires more PGA memory is incorrect because shared
servers typically require less PGA memory.
Question 58:
Which Oracle process is responsible for reading data blocks into the
database buffer cache from data files?
​ SMON (System Monitor)
​ DBWR (Database Writer)
​ DB Server Process
​ (Correct)
​ LGWR (Log Writer)
Explanation
Correct Answer: DB Server Process​

Correct: DB Server Process is correct because it reads data blocks into the
database buffer cache when needed.​

Incorrect: DBWR (Database Writer) is incorrect because it writes dirty
buffers from the cache to disk.​

Incorrect: LGWR (Log Writer) is incorrect because it writes redo log entries
to disk.​

Incorrect: SMON (System Monitor) is incorrect because it performs
recovery tasks but doesn't read data blocks into the cache.
Question 59:
What naming method allows clients to link to an Oracle database using a
TCP/IP string that consists of a host name, with an optional port and
service name?
​ External Naming
​ Easy Connect Naming
​ (Correct)
​ Local Naming
​ Directory Naming
Explanation
Correct Answer: Easy Connect Naming​

Correct: Easy Connect Naming allows this straightforward method of
connecting to the database via TCP/IP.​

Incorrect: Directory Naming utilizes LDAP and does not strictly use
TCP/IP.​

Incorrect: External Naming uses OS-level resolution mechanisms.​

Incorrect: Local Naming uses the tnsnames.ora file for connection details.
Question 60:
Choose the correct statement from the options below:
​ Oracle tablespaces can span multiple data files.
​ (Correct)
​ An Oracle database can have only one instance.
​ SQL queries must be written in uppercase.
​ All Oracle users must have a password.
Explanation
Correct Answer: Oracle tablespaces can span multiple data files​

Correct: Oracle tablespaces can indeed span multiple data files.​

Incorrect: All Oracle users must have a password is incorrect because
users can also be authenticated through other means.​

Incorrect: An Oracle database can have only one instance is incorrect
because it can have multiple instances.​

Incorrect: SQL queries must be written in uppercase is incorrect because
SQL is case-insensitive.
Question 61:
If DB_BLOCK_SIZE is not configured, what is the default size of an Oracle
Database Block?
​ 16KB
​ 4KB
​ 8KB
​ (Correct)
​ 2KB
Explanation
Correct Answer: 8KB​

Correct: The default size is 8KB if DB_BLOCK_SIZE is not explicitly set.​

Incorrect: 2KB is incorrect because it's not the default size.​

Incorrect: 4KB is incorrect because it's not the default size.​

Incorrect: 16KB is incorrect because it's not the default size.
Question 62:
Which operation cannot be carried out through the Database Configuration
Assistant (DBCA)?
​ Table creation
​ (Correct)
​ RAC setup
​ Database creation
​ User management
Explanation
Correct Answer: Table creation​

Correct: DBCA is not designed to create individual tables. It's more for
larger-scale database configurations.​

Incorrect: Database creation is incorrect because DBCA is primarily used
for this purpose.​

Incorrect: RAC setup is incorrect because DBCA can configure RAC.​

Incorrect: User management is incorrect because DBCA can also manage
database users.
Question 63:
Examine this SQL command: ALTER TABLE some_table SHRINK SPACE;
Identify the incorrect statement regarding this operation.
​ It releases free space at the end of the database object
​ It adjusts the high water mark
​ It can lead to row chaining
​ (Correct)
​ It compacts the segment
Explanation
Correct Answer: It can lead to row chaining​

Correct: The statement is incorrect; the SHRINK operation actually helps
reduce row chaining.​

Incorrect: It compacts the segment is incorrect because this is a correct
feature of the SHRINK operation.​

Incorrect: It adjusts the high water mark is incorrect because this is also
true.​

Incorrect: It releases free space at the end of the database object is
incorrect because this is also true.
Question 64:
Which SQL operator returns only the shared rows between two query
results?
​ JOIN
​ MINUS
​ INTERSECT
​ (Correct)
​ UNION
Explanation
Correct Answer: INTERSECT​

Correct: INTERSECT is correct because it returns only the rows that are
common between two queries.​

Incorrect: UNION is incorrect because it returns all unique rows from both
queries.​

Incorrect: MINUS is incorrect because it returns rows in the first query
that aren't in the second.​

Incorrect: JOIN is incorrect because it combines rows from two or more
tables based on a related column between them.
Question 65:
Which two statements about the SPFILE are true?
​ Stored in the database
​ Can be edited with a text editor
​ Can be modified using the ALTER SYSTEM command
​ (Correct)
​ Binary file
​ (Correct)
Explanation
Correct Answers: Binary file, Can be modified using the ALTER SYSTEM
command​

Correct: The SPFILE is a binary file and can be modified using the ALTER
SYSTEM command.​

Incorrect: Stored in the database is incorrect because the SPFILE is
typically stored in a file system or ASM disk group.​

Incorrect: Can be edited with a text editor is incorrect because it is a
binary file.
Question 66:
Is the following statement accurate: "The principle of least privilege
mandates that you should never assign the SYSDBA role to a database
user."
​ TRUE
​ FALSE
​ (Correct)
Explanation
Correct Answer: False​

Correct: The statement is incorrect. The principle of least privilege states
that you should only give the minimum permissions necessary for users to
complete their tasks, but it doesn't mean you should never give SYSDBA
role to a database user.​

Incorrect: True is incorrect because the statement misrepresents the
principle of least privilege.
Question 67:
Which SQL statements can be executed against an external table? (Select
TWO)
​ UPDATE
​ INSERT
​ DELETE
​ SELECT
​ (Correct)
Explanation
Correct Answer: SELECT​

Correct: SELECT statements can be executed against external tables
because they are read-only.​

Incorrect: UPDATE is incorrect because external tables are read-only.​

Incorrect: INSERT is incorrect because external tables are read-only.​

Incorrect: DELETE is incorrect because external tables are read-only.
Question 68:
Which statement about the queries involved in any SET operators is
incorrect?
​ All queries must return the same number of columns
​ The column names in the result set are determined by the first query
​ The columns must have compatible data types
​ Each query must be sorted
​ (Correct)
Explanation
Correct Answer: Each query must be sorted​

Correct: Each query must be sorted is incorrect because sorting is not a
requirement for queries used in SET operators.​

Incorrect: All queries must return the same number of columns is correct
as SET operators require the same number of columns.​

Incorrect: The columns must have compatible data types is correct
because the data types must be compatible.​

Incorrect: The column names in the result set are determined by the first
query is also correct.
Question 69:
What does not get recorded in the Oracle control file?
​ Transaction history
​ (Correct)
​ Data file locations
​ Redo logs
​ Tablespace information
Explanation
Correct Answer: Transaction history​

Correct: Transaction history is not recorded in the control file; it's
maintained in redo logs.​

Incorrect: Redo logs is incorrect because their location and metadata are
recorded in the control file.​

Incorrect: Data file locations is incorrect because they are indeed recorded
in the control file.​

Incorrect: Tablespace information is incorrect because it is also stored in
the control file.
Question 70:
Select two true statements concerning the removal of constraints in Oracle.
​ Constraints can be temporarily disabled
​ (Correct)
​ Constraints can be dropped independently of tables
​ (Correct)
​ Constraints cannot be disabled, only dropped
​ Dropping a primary key also drops foreign keys
Explanation
Correct Answers: Constraints can be dropped independently of tables,
Constraints can be temporarily disabled​

Correct: Constraints can be dropped independently of tables and
Constraints can be temporarily disabled are correct because these are
accurate statements about removing constraints in Oracle.​

Incorrect: Constraints cannot be disabled, only dropped is incorrect
because constraints can indeed be disabled.​

Incorrect: Dropping a primary key also drops foreign keys is incorrect
because foreign keys are not automatically dropped when a primary key is
dropped.
Question 71:
Choose two correct declarations for year-to-month intervals.
​ INTERVAL '2-10' MONTH TO YEAR
​ INTERVAL '10' MONTH
​ (Correct)
​ INTERVAL '2' YEAR
​ INTERVAL '2-10' YEAR TO MONTH
​ (Correct)
Explanation
Correct Answers: INTERVAL '2-10' YEAR TO MONTH, INTERVAL '10'
MONTH​

Correct: INTERVAL '2-10' YEAR TO MONTH and INTERVAL '10' MONTH are
correct because they are valid declarations for year-to-month intervals.​

Incorrect: INTERVAL '2-10' MONTH TO YEAR is incorrect because MONTH
TO YEAR is not a valid interval.​

Incorrect: INTERVAL '2' YEAR is incorrect because it's a year interval, not a
year-to-month interval.
Question 72:
Which statements about Oracle synonyms are accurate?
​ Synonyms reduce parsing overhead
​ (Correct)
​ Synonyms can only be private
​ Synonyms can't be created for tables
​ Synonyms can be public or private
​ (Correct)
Explanation
Correct Answers: Synonyms can be public or private, Synonyms reduce
parsing overhead​

Correct: Synonyms can be public or private and Synonyms reduce parsing
overhead are correct because they accurately describe the properties of
Oracle synonyms.​

Incorrect: Synonyms can only be private is incorrect because they can be
public as well.​

Incorrect: Synonyms can't be created for tables is incorrect because
synonyms can indeed be created for tables.
Good Luck with exams.

You might also like