0% found this document useful (0 votes)
11 views

03_1z0-08_176

The document contains a series of questions and answers related to the Oracle 1z0-082 exam, focusing on various aspects of Oracle Database Administration. Each question is accompanied by multiple-choice answers, with the correct options indicated. Topics covered include tablespaces, SQL operators, connection options, date/time functions, and database management features.

Uploaded by

darre871107
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)
11 views

03_1z0-08_176

The document contains a series of questions and answers related to the Oracle 1z0-082 exam, focusing on various aspects of Oracle Database Administration. Each question is accompanied by multiple-choice answers, with the correct options indicated. Topics covered include tablespaces, SQL operators, connection options, date/time functions, and database management features.

Uploaded by

darre871107
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/ 129

Oracle 1z0-082 Questions & Answers

Oracle Database Administration I


Version: 8.0
Oracle 1z0-082 Exam
QUESTION NO: 1

You execute this command:

Sufficient storage is available in filesystem /u01.

Which two statements are true about the BIG_TBS tablespace? (Choose two.)

A.
AUTOEXTEND is possible for the datafile

B.
It must be bigger than the largest SMALLFILE tablespace

C.
Additional data files may not be added

D.
It will be a dictionary-managed tablespace by default

E.
It will always have a 32K blocksize

Answer: A,B

QUESTION NO: 2

Which statement is true about the INTERSECT operator used in compound queries?

A.
Multiple INTERSECT operators are not possible in the same SQL statement

B.
It processes NULLs in the selected columns

C.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 2
Oracle 1z0-082 Exam
INTERSECT is of lower precedence than UNION or UNION ALL

D.
It ignores NULLs

Answer: B

QUESTION NO: 3

Which three statements are true about advanced connection options supported by Oracle Net for
connection to Oracle Database instances? (Choose three.)

A.
Connect Time Failover requires the use of Transparent Application Failover (TAF)

B.
Source Routing requires the use of a name server

C.
Source Routing enables the use of Connection Manager (CMAN) which enables network traffic to
be routed through a firewall

D.
Load Balancing can balance the number of connections to dispatchers when using a Shared
Server configuration

E.
Load Balancing requires the use of a name server

F.
Connect Time Failover requires the connect string to have two or more listener addresses
configured

Answer: B,C,F
Reference: https://docs.oracle.com/cd/E11882_01/network.112/e41945/advcfg.htm#NETAG013

QUESTION NO: 4

Which two statements are true about date/time functions in a session where
NLS_DATE_FORMAT is set to DD-MON-YYYY HH24:MI:SS? (Choose two.)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 3


Oracle 1z0-082 Exam
A.
CURRENT_TIMESTAMP returns the same date and time as SYSDATE with additional details of
fractional seconds

B.
SYSDATE can be queried only from the DUAL table

C.
CURRENT_DATE returns the current date and time as per the session time zone

D.
SYSDATE can be used in expressions only if the default date format is DD-MON-RR

E.
SYSDATE and CURRENT_DATE return the current date and time set for the operating system of
the database server

F.
CURRENT_TIMESTAMP returns the same date as CURRENT_DATE

Answer: C,F

QUESTION NO: 5

A database is configured to use automatic undo management with temporary undo enabled.

An UPDATE is executed on a temporary table.

Where is the UNDO stored?

A.
in the undo tablespace

B.
in the SYSAUX tablespace

C.
in the SGA

D.
in the PGA

E.
in the temporary tablespace

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 4


Oracle 1z0-082 Exam
Answer: A
Reference: https://docs.oracle.com/database/121/ADMIN/undo.htm#ADMIN11478 (16.7)

QUESTION NO: 6

You have been tasked to create a table for a banking application.

One of the columns must meet three requirements:

Be stored in a format supporting date arithmetic without using conversion functions

Store a loan period of up to 10 years

Be used for calculating interest for the number of days the loan remains unpaid

Which data type should you use?

A.
INTERVAL YEAR TO MONTH

B.
INTERVAL DAY TO SECOND

C.
TIMESTAMP WITH LOCAL TIMEZONE

D.
TIMESTAMP

E.
TIMESTAMP WITH TIMEZONE

Answer: B

QUESTION NO: 7

In the spfile of a single instance database, LOCAL_LISTENER is set to LISTENER_1.

The TNSNAMES.ORA file in $ORACLE_HOME/network/admin in the database home contains:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 5


Oracle 1z0-082 Exam

Which statement is true?

A.
Dynamic service registration cannot be used for this database instance

B.
The LREG process registers services dynamically with the LISTENER_1 listener

C.
LISTENER_1 must also be defined in the LISTENER.ORA file to enable dynamic service
registration

D.
There are two listeners named LISTENER and LISTENER_1 running simultaneously using port
1521 on the same host as the database instances

E.
The definition for LISTENER_1 requires a CONNECT_DATA section to enable dynamic service
registration

Answer: C
Reference: https://docs.oracle.com/database/121/NETAG/listenercfg.htm#NETAG292

QUESTION NO: 8

Which three statements are true concerning logical and physical database structures? (Choose
three.)

A.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 6
Oracle 1z0-082 Exam
All tablespaces may have one or more data files

B.
The extents of a segment must always reside in the same datafile

C.
A smallfile tablespace might be bigger than a bigfile tablespace

D.
A segment can span multiple data files in some tablespaces

E.
A segment’s blocks can be of different sizes

F.
A segment might have only one extent

G.
Segments can span multiple tablespaces

Answer: C,D,F

QUESTION NO: 9

Which two statements are true regarding a SAVEPOINT? (Choose two.)

A.
Rolling back to a SAVEPOINT can undo a CREATE INDEX statement

B.
Rolling back to a SAVEPOINT can undo a TRUNCATE statement

C.
Only one SAVEPOINT may be issued in a transaction

D.
A SAVEPOINT does not issue a COMMIT

E.
Rolling back to a SAVEPOINT can undo a DELETE statement

Answer: D,E

QUESTION NO: 10

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 7


Oracle 1z0-082 Exam
Which three functions are performed by dispatchers in a shared server configuration? (Choose
three.)

A.
writing inbound request to the common request queue from all shared server connections

B.
checking for outbound shared server responses on the common outbound response queue

C.
receiving inbound requests from processes using shared server connections

D.
sending each connection input request to the appropriate shared server input queue

E.
broadcasting shared server session responses back to requesters on all connections

F.
sending shared server session responses back to requesters on the appropriate connection

Answer: A,C,D

QUESTION NO: 11

Which two statements are true about the SET VERIFY ON command? (Choose two.)

A.
It can be used only in SQL*Plus

B.
It displays values for variables used only in the WHERE clause of a query

C.
It can be used in SQL Developer and SQL*Plus

D.
It displays values for variables created by the DEFINE command

E.
It displays values for variables prefixed with &&

Answer: A,D

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 8


Oracle 1z0-082 Exam
QUESTION NO: 12

Which three statements are true about a self join? (Choose three.)

A.
The ON clause must be used

B.
The query must use two different aliases for the table

C.
It must be an equijoin

D.
It must be an inner join

E.
The ON clause can be used

F.
It can be an outer join

Answer: B,D,E

QUESTION NO: 13

You want to write a query that prompts for two column names and the WHERE condition each
time it is executed in a session but only prompts for the table name the first time it is executed.

The variables used in your query are never undefined in your session.

Which query can be used?

A.
SELECT &&col1, &&col2

FROM &table

WHERE &&condition = &&cond;

B.
SELECT &col1, &col2

FROM &&table

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 9


Oracle 1z0-082 Exam
WHERE &condition;

C.
SELECT &col1, &col2

FROM “&table?

WHERE &condition;

D.
SELECT ‘&&col1’, ‘&&col2’

FROM &table

WHERE ‘&&condition’ = ‘&cond’;

E.
SELECT &&col1, &&col2

FROM &table

WHERE &&condition;

Answer: B

QUESTION NO: 14

Examine the description of the CUSTOMERS table:

You want to display details of all customers who reside in cities starting with the letter D followed
by at least two characters.

Which query can be used?


"Leading the way in IT Testing & Certification Tools" - www.test-king.com 10
Oracle 1z0-082 Exam
A.
SELECT * FROM customers WHERE city LIKE ‘D_%’;

B.
SELECT * FROM customers WHERE city = ‘%D_’;

C.
SELECT * FROM customers WHERE city LIKE ‘D_’;

D.
SELECT * FROM customers WHERE city = ‘D_%’;

Answer: A

QUESTION NO: 15

Examine this command:

Which two statements are true? (Choose two.)

A.
DML may be performed on tables with one or more extents in this data file during the execution of
this command.

B.
The tablespace containing SALES1.DBF must be altered READ ONLY before executing the
command.

C.
The tablespace containing SALES1.DBF must be altered OFFLINE before executing the
command.

D.
If Oracle Managed Files (OMF) is used, then the file is renamed but moved to
DB_CREATE_FILE_DEST.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 11


Oracle 1z0-082 Exam
E.
The file is renamed and stored in the same location

Answer: A,B

QUESTION NO: 16

Which three statements are true about dropping and unused columns in an Oracle database?
(Choose three.)

A.
A primary key column referenced by another column as a foreign key can be dropped if using the
CASCADE option.

B.
An UNUSED column’s space is reclaimed automatically when the block containing that column is
next queried.

C.
An UNUSED column’s space is reclaimed automatically when the row containing that column is
next queried.

D.
Partition key columns cannot be dropped.

E.
A DROP COLUMN command can be rolled back

F.
A column that is set to UNUSED still counts towards the limit of 1000 columns per table

Answer: A,B,F

QUESTION NO: 17

Which two statements are true regarding Oracle database space management within blocks
managed by Automatic Segment Space Management (ASSM)? (Choose two.)

A.
PCTFREE defaults to 10% for all blocks in all segments for all compression methods

B.
ASSM assigns blocks to one of four fullness categories based on what percentage of the block is
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 12
Oracle 1z0-082 Exam
allocated for rows

C.
Update operations always attempt to find blocks with free space appropriate to the length of the
row being updated

D.
Insert operations always attempt to find blocks with free space appropriate to the length of the row
being inserted

E.
A block will always be eligible for inserts if the row is short enough to fit into the block

Answer: C,E

QUESTION NO: 18

Evaluate these commands which execute successfully:

Which two statements are true about the ORD_ITEMS table and the ORD_SEQ sequence?
(Choose two.)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 13


Oracle 1z0-082 Exam
A.
If sequence ORD_SEQ is dropped then the default value for column ORD_NO will be NULL for
rows inserted into ORD_ITEMS

B.
Any user inserting rows into table ORD_ITEMS must have been granted access to sequence
ORD_SEQ

C.
Column ORD_NO gets the next number from sequence ORD_SEQ whenever a row is inserted
into ORD_ITEMS and no explicit value is given for ORD_NO

D.
Sequence ORD_SEQ cycles back to 1 after every 5000 numbers and can cycle 20 times

E.
Sequence ORD_SEQ is guaranteed not to generate duplicate numbers

Answer: B,E

QUESTION NO: 19

Which three instance situations are possible with the Oracle Database server without multi-tenant?
(Choose three.)

A.
two or more instances on separate servers all associated with one database

B.
one instance on one server associated with one database

C.
one instance on one server associated with two or more databases on the same server

D.
one instance on one server not associated with any database

E.
one instance on one server associated with two or more databases on separate servers

Answer: C,D,E

QUESTION NO: 20

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 14


Oracle 1z0-082 Exam
Which two statements are true about the ORDER BY clause when used with a SQL statement
containing a SET operator such as UNION? (Choose two.)

A.
Column positions must be used in the ORDER BY clause

B.
Only column names from the first SELECT statement in the compound query are recognized

C.
The first column in the first SELECT of the compound query with the UNION operator is used by
default to sort output in the absence of an ORDER BY clause

D.
Each SELECT statement in the compound query must have its own ORDER BY clause

E.
Each SELECT statement in the compound query can have its own ORDER BY clause

Answer: B,E

QUESTION NO: 21

Which four account management capabilities can be configured using Oracle profiles? (Choose
four.)

A.
the number of hours for which an account is locked after the configured number of login attempts
has been reached

B.
the number of days for which an account may be inactive before it is locked

C.
the maximum amount of CPU time allowed for a user’s sessions before their account is locked

D.
the ability to prevent a password from ever being reused

E.
the number of password changes required within a period of time before a password can be
reused

F.
the number of days for which an account is locked after the configured number of login attempts
has been reached

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 15


Oracle 1z0-082 Exam
G.
the maximum number of sessions permitted for a user before the account is locked

Answer: A,D,E,F

QUESTION NO: 22

Which three statements are true about single-row functions? (Choose three.)

A.
They can be used only in the WHERE clause of a SELECT statement

B.
The argument can be a column name, variable, literal or an expression

C.
The data type returned can be different from the data type of the argument

D.
They can be nested to any level

E.
They can accept only one argument

F.
They return a single result row per table

Answer: B,C,D

QUESTION NO: 23

You want to use table compression suitable for OLTP that will:

Compress rows for all DML statements on that table

Minimize the overheads associated with compression

Which compression option is best suited for this?

A.
COLUMN STORE COMPRESS FOR QUERY LOW

B.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 16
Oracle 1z0-082 Exam
ROW STORE COMPRESS BASIC

C.
COLUMN STORE COMPRESS FOR ARCHIVE LOW

D.
COLUMN STORE COMPRESS FOR ARCHIVE HIGH

E.
ROW STORE COMPRESS ADVANCED

Answer: E
Reference: https://www.oracle.com/technetwork/database/options/compression/advanced-
compression-wp-12c-1896128.pdf

QUESTION NO: 24

Which two statements are true about space-saving features in an Oracle Database? (Choose
two.)

A.
Private Temporary Tables (PTTS) store metadata in memory only

B.
An index created with the UNUSABLE attribute has no segment

C.
If they exist for a session, Private Temporary Tables (PTTs) are always dropped at the next
COMMIT OR ROLLBACK statement

D.
An index that is altered to be UNUSABLE will retain its segment

E.
A table that is truncated will always have its segment removed

Answer: B,C

QUESTION NO: 25

Which two statements are true about the PMON background process? (Choose two.)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 17


Oracle 1z0-082 Exam
A.
It registers database services with all local and remote listeners known to the database instance

B.
It frees resources held by abnormally terminated processes

C.
It records checkpoint information in the control file

D.
It frees unused temporary segments

E.
It kills sessions that exceed idle time

Answer: A,B
Reference: https://docs.oracle.com/cd/B19306_01/server.102/b14220/process.htm

QUESTION NO: 26

In which three situations does a new transaction always start? (Choose three.)

A.
when issuing a SELECT FOR UPDATE statement after a CREATE TABLE AS SELECT statement
was issued in the same session

B.
when issuing a TRUNCATE statement after a SELECT statement was issued in the same session

C.
when issuing a CREATE TABLE statement after a SELECT statement was issued in the same
session

D.
when issuing the first Data Manipulation Language (DML) statement after a COMMIT OR
ROLLBACK statement was issued in the same session

E.
when issuing a CREATE INDEX statement after a CREATE TABLE statement completed
successfully in the same session

F.
when issuing a DML statement after a DML statement failed in the same session

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 18


Oracle 1z0-082 Exam
Answer: A,D,F

QUESTION NO: 27

Examine the description of the SALES1 table:

SALES2 is a table with the same description as SALES1.

Some sales data is duplicated in both tables.

You want to display the rows from the SALES1 table which are not present in the SALES2 table.

Which set operator generates the required output?

A.
INTERSECT

B.
UNION ALL

C.
UNION

D.
SUBTRACT

E.
MINUS

Answer: E

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 19


Oracle 1z0-082 Exam
QUESTION NO: 28

Your database instance is started with a PFILE.

Examine these parameters:

You want to increase the size of the buffer cache.

Free memory is available to increase the size of the buffer cache.

You execute the command:

SQL> ALTER SYSTEM SET DB_CACHE_SIZE=1024M;

What is the outcome?

A.
The value is changed only in the PFILE and takes effect at the next instance startup

B.
The value is changed for the current instance and in the PFILE

C.
It fails because the SCOPE clause is missing

D.
Change is applied to the current instance, but does not persist after instance restart

Answer: D
Reference: https://docs.oracle.com/database/121/SQLRF/statements_2017.htm#SQLRF00902

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 20


Oracle 1z0-082 Exam

QUESTION NO: 29

Which three Oracle database space management features will work with both Dictionary and
Locally managed tablespaces? (Choose three.)

A.
Oracle Managed Files (OMF)

B.
Online table segment shrink

C.
Online index segment shrink

D.
Automatic data file extension (AUTOEXTEND)

E.
Capacity planning growth reports based on historical data in the Automatic Workload Repository
(AWR)

Answer: A,D,E

QUESTION NO: 30

You execute this command:

During the export operation, you detach from the job by using CTRL+C and then execute this
command:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 21


Oracle 1z0-082 Exam
Export> STOP_JOB=immediate

Are you sure you wish to stop the job ([yes]/no): yes

Which two statements are true about the job? (Choose two.)

A.
You can no longer monitor it

B.
You can reattach to it and monitor it

C.
It is paused and can be resumed

D.
It continues to run in the background

E.
It terminates

Answer: A,E
Reference: https://blog.oracle48.nl/killing-and-resuming-datapump-expdp-and-impdp-jobs/

QUESTION NO: 31

In one of your databases, you create a user, HR, and then execute this command:

GRANT CREATE SESSION TO hr WITH ADMIN OPTION;

Which four actions can HR perform? (Choose four.)

A.
Revoke the CREATE SESSION privilege from other users

B.
Revoke the CREATE SESSION privilege from user HR

C.
Log in to the database instance

D.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 22


Oracle 1z0-082 Exam
Grant the CREATE SESSION privilege with ADMIN OPTION to other users

E.
Execute DDL statements in the HR schema

F.
Execute DML statements in the HR schema

Answer: A,B,C,D

QUESTION NO: 32

Which two statements are true about the WHERE and HAVING clauses in a SELECT statement?
(Choose two.)

A.
Aggregating functions and columns used in HAVING clauses must be specified in the SELECT list
of a query

B.
WHERE and HAVING clauses can be used in the same statement only if applied to different table
columns

C.
The HAVING clause can be used with aggregating functions in subqueries

D.
The WHERE clause can be used to exclude rows before dividing them into groups

E.
The WHERE clause can be used to exclude rows after dividing them into groups

Answer: C,D

QUESTION NO: 33

Which two statements are true about UNDO and REDO? (Choose two.)

A.
The generation of UNDO generates REDO

B.
DML modifies Oracle database objects and only generates UNDO

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 23


Oracle 1z0-082 Exam
C.
The generation of REDO generates UNDO

D.
DML modifies Oracle database objects and only generates REDO

E.
DML modifies Oracle database objects and generates UNDO and REDO

Answer: A,C

QUESTION NO: 34

The SCOTT/TIGER user exists in two databases, BOSTON_DB and DALLAS_DB, in two different
locations.

Each database has a tnsnames.ora file defining DALLAS_DB as a service name.

Examine this command:

CREATE DATABASE LINK dblink1 CONNECT TO scott IDENTIFIED BY tiger USING ‘dallas_db’;

How do you execute the command so that only SCOTT in BOSTON_DB can access the SCOTT
schema in DALLAS_DB?

A.
as SCOTT in DALLAS_DB

B.
as SCOTT in BOSTON_DB

C.
as SCOTT in BOSTON_DB and SYS in DALLAS_DB

D.
as SYS in both the databases

E.
as SCOTT in both the databases

Answer: D

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 24


Oracle 1z0-082 Exam
QUESTION NO: 35

Which three statements are true about the DESCRIBE command? (Choose three.)

A.
It displays the PRIMARY KEY constraint for any column or columns that have that constraint

B.
It can be used from SQL Developer

C.
It displays the NOT NULL constraint for any columns that have that constraint

D.
It can be used to display the structure of an existing view

E.
It displays all constraints that are defined for each column

F.
It can be used only from SQL*Plus

Answer: C,D,F

QUESTION NO: 36

Examine the description of the CUSTOMERS table:

For customers whose income level has a value, you want to display the first name and due
amount as 5% of their credit limit. Customers whose due amount is null should not be displayed.

Which query should be used?


"Leading the way in IT Testing & Certification Tools" - www.test-king.com 25
Oracle 1z0-082 Exam
A.
SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT

FROM customers

WHERE cust_income_level IS NOT NULL

AND due_amount IS NOT NULL;

B.
SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT

FROM customers

WHERE cust_income_level != NULL

AND cust_credit_level !=NULL;

C.
SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT

FROM customers

WHERE cust_income_level <> NULL

AND due_amount <> NULL;

D.
SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT

FROM customers

WHERE cust_income_level != NULL

AND due_amount != NULL;

E.
SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT

FROM customers

WHERE cust_income_level IS NOT NULL

AND cust_credit_limit IS NOT NULL;

Answer: E

QUESTION NO: 37

The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOICE_DATE
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 26
Oracle 1z0-082 Exam
column of data type DATE.

NLS_DATE_FORMAT is set to DD-MON-RR.

Which two are true about data type conversions involving these columns in query expressions?
(Choose two.)

A.
CONCAT (qty_sold, invoice_date) : requires explicit conversion

B.
invoice_date = ’15-march-2019’ : uses implicit conversion

C.
invoie_date > ’01-02-2019’ : uses implicit conversion

D.
qty_sold BETWEEN ‘101’ AND ’110’ : uses implicit conversion

E.
qty_sold = ‘0554982’ uses implicit conversion

Answer: B,D

QUESTION NO: 38

Which three are types of segments in an Oracle Database? (Choose three.)

A.
undo

B.
index

C.
stored procedures

D.
sequences

E.
tables

F.
clusters

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 27


Oracle 1z0-082 Exam
Answer: B,E,F
Reference: http://www.adp-gmbh.ch/ora/concepts/segments.html

QUESTION NO: 39

Which two statements are true about the results of using the INTERSECT operator in compound
queries? (Choose two.)

A.
Column names in each SELECT in the compound query can be different

B.
The number of columns in each SELECT in the compound query can be different

C.
Reversing the order of the intersected tables can sometimes affect the output

D.
INTERSECT returns rows common to both sides of the compound query

E.
INTERSECT ignores NULLs

Answer: A,E

QUESTION NO: 40

Which two statements are true about single row functions? (Choose two.)

A.
MOD : returns the quotient of a division operation

B.
FLOOR : returns the smallest integer greater than or equal to a specified number

C.
TRUNC : can be used with NUMBER and DATE values

D.
CONCAT : can be used to combine any number of values

E.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 28
Oracle 1z0-082 Exam
CEIL : can be used for positive and negative numbers

Answer: A,C
Reference: https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/Single-Row-
Functions.html#GUID-B93F789D-B486-49FF-B0CD-0C6181C5D85C

QUESTION NO: 41

The EMPLOYEES table contains columns EMP_ID of data type NUMBER and HIRE_DATE of
data type DATE.

You want to display the date of the first Monday after the completion of six months since hiring.

The NLS_TERRITORY parameter is set to AMERICA in the session and, therefore, Sunday is the
first day on the week.

Which query can be used?

A.
SELECT emp_id, ADD_MONTHS(hire_date, 6), NEXT_DAY(‘MONDAY’) FROM employees;

B.
SELECT emp_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), ‘MONDAY’) FROM employees;

C.
SELECT emp_id, NEXT_DAY(MONTHS_BETWEEN(hire_date, SYSDATE), 6) FROM employees;

D.
SELECT emp_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), 1) FROM employees;

Answer: B

QUESTION NO: 42

The ORCL database has RESUMABLE__TIMEOUT = 7200 and


DEFERRED_SEGMENT_CREATION = FALSE

User U1 has a 1 MB quota in tablespace DATA.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 29


Oracle 1z0-082 Exam
U1 executes this command:

SQL> CREATE TABLE t1 AS

(SELECT object_name, sharing, created

FROM dba_objects);

U1 complains that the command is taking too long to execute.

In the alert log, the database administrator (DBA) finds this:

2017-03-06T12:15:17.183438+05:30

statement in resumable session ‘User U1(136), Session 1, Instance 1’ was suspended due to
ORA-01536: space quota exceeded for tablespace ‘DATA’

Which are three actions any one of which the DBA could take to resume the session? (Choose
three.)

A.
Add a data file to DATA

B.
Drop other U1 objects in DATA

C.
Increase U1’s quota sufficiently in DATA

D.
Set DEFERRED_SEGMENT_CREATION to TRUE

E.
Grant UNLIMITED TABLESPACE to U1

F.
Set AUTOEXTEND ON for data files in DATA

Answer: B,C,E

QUESTION NO: 43

Which three statements are true about the Oracle Data Dictionary? (Choose three.)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 30


Oracle 1z0-082 Exam
A.
Data dictionary views are created by joins of dictionary base tables and DBA-defined tables

B.
The data dictionary is created and maintained by the database administrator

C.
Views with the same name but different prefixes, such as CDB, DBA, ALL and USER, reference
the same base tables from the data dictionary

D.
Base tables can be queried directly

E.
It is owned by the SYSTEM user

F.
Usernames of all users including database administrators are stored in the data dictionary

Answer: C,D,F

QUESTION NO: 44

In one of your databases, the user HR has the password HRMGR.

You want to connect to a database instance whose listener listens on port 1531 by using this
statement:

CONNECT HR/HRMGR@orcl

No name server is used.

Which statement is true about ORCL?

A.
It must be the value of the SERVICE_NAMES parameter on the client side

B.
It must resolve to a valid connect descriptor in the server’s tnsnames.ora file

C.
It must resolve to a valid connect descriptor in the client’s tnsnames.ora file

D.
It must be the name of the database to whose instance HR wishes to connect

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 31


Oracle 1z0-082 Exam
E.
It must be the name of the server running the database to whose instance HR wishes to connect

Answer: E

QUESTION NO: 45

Which two statements are true about views used for viewing tablespace and datafile information?
(Choose two.)

A.
Tablespace free space can be viewed in V$TABLESPACE

B.
V$TABLESPACE displays information that is contained in the controlfile about tablespaces

C.
V$TABLESPACE displays information about tablespaces contained in the data dictionary

D.
Tablespace free space can be viewed in DBA_TABLESPACES

E.
A datafile can be renamed when the database is in MOUNT state and the new file name is
displayed when querying DBA_DATA_FILES after the database is opened

Answer: B,E

QUESTION NO: 46

Examine the description of the PROMOTIONS table:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 32


Oracle 1z0-082 Exam
You want to display the unique promotion costs in each promotion category.

Which two queries can be used? (Choose two.)

A.
SELECT promo_cost, promo_category FROM promotions ORDER BY by 1;

B.
SELECT DISTINCT promo_cost || ’ in ‘ || DISTINCT promo_category FROM promotions ORDER
BY 1;

C.
SELECT DISTINCT promo_category || ‘ has ‘ || promo_cost AS COSTS FROM promotions
ORDER BY 1;

D.
SELECT promo_category, DISTINCT promo_cost FROM promotions ORDER BY 2;

E.
SELECT DISTINCT promo_category, promo_cost FROM promotions ORDER BY 1;

Answer: D,E

QUESTION NO: 47

In the ORCL database, UNDOTBS1 is the active undo tablespace with these properties:

1. A size of 100 MB

2. AUTOEXTEND is off

3. UNDO_RETENTION is set to 15 minutes

4. It has RETENTION GUARANTEE

UNDOTBS1 fills with uncommitted undo 10 minutes after the database opens.

What will happen when the next update is attempted by any transaction?

A.
It succeeds and the generated undo is stored in SYSTEM.

B.
It fails and returns the error message “ORA-30036: unable to extend segment by 8 in undo
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 33
Oracle 1z0-082 Exam
tablespace 'UNDOTBS1'?.

C.
It succeeds and the least recently written undo block of UNDOTBS1 is overwritten by the
generated undo.

D.
It succeeds and the generated undo is stored in SYSAUX.

E.
It succeeds and the least recently read undo block of UNDOTBS1 is overwritten by the generated
undo.

Answer: C

QUESTION NO: 48

Which two statements are true about the rules of precedence for operators? (Choose two.)

A.
The concatenation operator | | is always evaluated before addition and subtraction in an
expression

B.
NULLS influence the precedence of operators in an expression

C.
The + binary operator has the highest precedence in an expression in a SQL statement

D.
Arithmetic operators with equal precedence are evaluated from left to right within an expression

E.
Multiple parentheses can be used to override the default precedence of operators in an expression

Answer: C,E
Reference: https://docs.oracle.com/cd/B19306_01/server.102/b14200/operators001.htm

QUESTION NO: 49

In one of your databases, user KING is:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 34


Oracle 1z0-082 Exam
1. Not a DBA user

2. An operating system (OS) user

Examine this command and its output:

What must you do so that KING is authenticated by the OS when connecting to the database
instance?

A.
Set OS_AUTHENT_PREFIX to OPS$

B.
Have the OS administrator add KING to the OSDBA group

C.
Grant DBA to KING

D.
Unset REMOTE_LOGIN_PASSWORDFILE

E.
Alter user KING to be IDENTIFIED EXTERNALLY

Answer: D

QUESTION NO: 50

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables.

You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a
promotion time interval.

Examine this SQL statement:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 35


Oracle 1z0-082 Exam

Exhibit 1.

Exhibit 2.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 36


Oracle 1z0-082 Exam

What will be the result?

A.
It gives an error because the ALL keyword is not valid

B.
It gives an error because the GROUP BY clause is not valid

C.
It executes successfully but does not give the required result

D.
It executes successfully and gives the required result

Answer: D

QUESTION NO: 51

Which three statements are true about GLOBAL TEMPORARY TABLES? (Choose three.)

A.
A TRUNCATE command issued in a session causes all rows in a GLOBAL TEMPORARY TABLE

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 37


Oracle 1z0-082 Exam
for the issuing session to be deleted.

B.
GLOBAL TEMPORARY TABLE rows inserted by a session are available to any other session
whose user has been granted select on the table.

C.
GLOBAL TEMPORARY TABLE space allocation occurs at session start.

D.
Any GLOBAL TEMPORARY TABLE rows existing at session termination will be deleted.

E.
A GLOBAL TEMPORARY TABLE’s definition is available to multiple sessions.

F.
A DELETE command on a GLOBAL TEMPORARY TABLE cannot be rolled back.

Answer: A,D,E

QUESTION NO: 52

Which two statements are true about trace files produced by the Oracle Database server?
(Choose two.)

A.
They can be written by server processes

B.
Trace files are written to the Fast Recovery Area (FRA)

C.
They can be written by background processes

D.
All trace files contain error information that require contacting Oracle Support

E.
Trace file names are based on the database name concatenated with a sequential number

Answer: A,C
Reference: https://gerardnico.com/db/oracle/trace_file

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 38


Oracle 1z0-082 Exam
QUESTION NO: 53

You need to calculate the number of days from 1st January 2019 until today.

Dates are stored in the default format of DD-MON-RR.

Which two queries give the required output? (Choose two.)

A.
SELECT TO_CHAR(SYSDATE, ‘DD-MON-YYYY’) – ’01-JAN-2019’ FROM DUAL;

B.
SELECT ROUND(SYSDATE – ’01-JAN-2019’) FROM DUAL;

C.
SELECT ROUND(SYSDATE – TO_DATE(‘01/JANUARY/2019’)) FROM DUAL;

D.
SELECT TO_DATE(SYSDATE, ‘DD/MONTH/YYYY’) – ‘01/JANUARY/2019’ FROM DUAL;

E.
SELECT SYSDATE – TO_DATE(’01-JANUARY-2019’) FROM DUAL;

Answer: C,E

QUESTION NO: 54

Which two statements are true about the DUAL table? (Choose two.)

A.
It can be accessed only by the SYS user

B.
It consists of a single row and single column of VARCHAR2 data type

C.
It can display multiple rows but only a single column

D.
It can be used to display only constants or pseudo columns

E.
It can be accessed by any user who has the SELECT privilege in any schema

F.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 39
Oracle 1z0-082 Exam
It can display multiple rows and columns

Answer: A,B
Reference: https://en.wikipedia.org/wiki/DUAL_table

QUESTION NO: 55

Which four statements are true regarding primary and foreign key constraints and the effect they
can have on table data? (Choose four.)

A.
A table can have only one primary key but multiple foreign keys

B.
A table can have only one primary key and one foreign key

C.
The foreign key columns and parent table primary key columns must have the same names

D.
It is possible for child rows that have a foreign key to remain in the child table at the time the
parent row is deleted

E.
It is possible for child rows that have a foreign key to be deleted automatically from the child table
at the time the parent row is deleted

F.
Only the primary key can be defined at the column and table level

G.
Primary key and foreign key constraints can be defined at both the column and table level

Answer: A,C,E,G

QUESTION NO: 56

Examine the description of the EMPLOYEES table:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 40


Oracle 1z0-082 Exam

Which query is valid?

A.
SELECT dept_id, AVG(MAX(salary)) FROM employees GROUP BY dept_id;

B.
SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id;

C.
SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id, join_date;

D.
SELECT dept_id, MAX(AVG(salary)) FROM employees GROUP BY dept_id;

Answer: B

QUESTION NO: 57

What is true about non-equijoin statement performance? (Choose two.)

A.
Table aliases can improve performance

B.
The BETWEEN condition always performs better than using the >= and <= conditions

C.
The join syntax used makes no difference to performance

D.
The BETWEEN condition always performs less well than using the >= and <= conditions

E.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 41


Oracle 1z0-082 Exam
The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax

Answer: A,E

QUESTION NO: 58

In your data center, Oracle Managed Files (OMF) is used for all databases.

All tablespaces are smallfile tablespaces.

SALES_Q1 is a permanent user-defined tablespace in the SALES database.

Examine this command which is about to be issued by a DBA logged in to the SALES database:

ALTER TABLESPACE sales_q1 ADD DATAFILE;

Which are two actions, either one of which you could take to ensure that the command executes
successfully? (Choose two.)

A.
Ensure that DB_RECOVERY_FILE_DEST and DB_CREATE_FILE_DEST each specify with at
least 50 Mb of available space.

B.
Specify a path in the DATAFILE clause of the command specifying a location with at least 100M of
available space.

C.
Ensure that DB_CREATE_FILE_DEST specifies a location with at least 100 Mb of available
space.

D.
Add the AUTOEXTEND ON clause with NEXT set to 100M.

E.
Ensure that DB_RECOVERY_FILE_DEST and DB_CREATE_FILE_DEST each specify locations
with at least 50 Mb of available space.

Answer: B,D

QUESTION NO: 59
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 42
Oracle 1z0-082 Exam
Examine this command and some partial output:

Why does the DB01.abc.com service show unknown status?

A.
The service DB01.abc.com is dynamically registered

B.
The LOCAL_LISTENER database parameter is not set to a service name that refers to
LISTENER_1

C.
The service DB01.abc.com is statically registered

D.
The listener is not listening on the default port 1521

E.
The SID_LIST_LISTENER section is not contained in the LISTENER.ORA file

Answer: B

QUESTION NO: 60

Which three statements are true about the tools used to configure Oracle Net Services? (Choose
three.)

A.
The Oracle Net Configuration Assistant is only used when running the Oracle installer

B.
Oracle Net Manager can be used to centrally configure listeners on any database server target
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 43
Oracle 1z0-082 Exam
C.
The lsnrctl utility requires a listener.ora file to exist before it is started

D.
Oracle Net Manager can be used to locally configure naming methods on a database server

E.
Enterprise Manager Cloud Control can be used to centrally configure listeners on any managed
database server

F.
Enterprise Manager Cloud Control can be used to centrally configure net service names for any
database server target

Answer: B,D,E

QUESTION NO: 61

Which two statements are true regarding the UNION and UNION ALL operators? (Choose two.)

A.
Duplicates are eliminated automatically by the UNION ALL operator

B.
The number of columns selected in each SELECT statement must be identical

C.
The names of columns selected in each SELECT statement must be identical

D.
The output is sorted by the UNION ALL operator

E.
NULLS are not ignored during duplicate checking

Answer: B,E

QUESTION NO: 62

Which two statements are true about the Automatic Diagnostic Repository (ADR)? (Choose two.)

A.
The ADR base defaults to $ORACLE_HOME/rdbms/admin if

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 44


Oracle 1z0-082 Exam
neither DIAGNOSTIC_DEST nor ORACLE_BASE is set

B.
The ADR base defaults to $ORACLE_HOME/dbs if the DIAGNOSTIC_DEST parameter and the
ORACLE_BASE environment variable are not set

C.
It supports diagnostics for Automatic Storage Management (ASM)

D.
It supports diagnostics for Oracle Clusterware

E.
It is held inside an Oracle database schema

Answer: A,E
Reference: https://docs.oracle.com/cd/E11882_01/install.112/e27508/admin.htm

QUESTION NO: 63

You want to apply the principle of Least Privilege in all your live databases.

One of your requirements is to revoke unnecessary privileges from all users who have them using
Privilege Analysis.

Which three types of analyses can be done using the DBMS_PRIVILEGE_CAPTURE package?
(Choose three.)

A.
analysis of all privileges used by all users including administrative users in the database

B.
analysis of all privileges used by all users but excluding administrative users in the database

C.
analysis of privileges that a user has on their own schema objects that they did not use

D.
analysis of privileges that a user has on their own schema objects that they did use

E.
analysis of privileges granted directly to a role that are then used by a user who has been granted
that role

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 45


Oracle 1z0-082 Exam
F.
analysis of privileges granted indirectly to a role that are then used by a user who has been
granted that role

Answer: A,C,F
Reference: https://docs.oracle.com/database/121/ARPLS/d_priv_prof.htm#ARPLS74328

QUESTION NO: 64

Which three statements are true about undo segments and the use of undo by transactions in an
Oracle database instance? (Choose three.)

A.
An undo segment may be used by multiple transactions simultaneously

B.
Undo segments can wrap around to the first extent when a transaction fills the last extend of the
undo segment

C.
Undo segments have a minimum of three extents

D.
Undo segments can extend when a transaction fills the last extent of the undo segment

E.
A single transaction may use multiple undo segments simultaneously

F.
Undo segments must be stored in a BIGFILE tablespace

G.
Undo segments must be stored in a SMALLFILE tablespace

Answer: A,D,G

QUESTION NO: 65

Which two statements are true about Enterprise Manager Database Express? (Choose two.)

A.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 46
Oracle 1z0-082 Exam
It is available only when the database is open

B.
It can be used to perform database recovery

C.
The same port number can be used for Database Express configurations for databases on
different hosts

D.
It can be used to switch a database into ARCHIVELOGMODE

E.
The same port number can be used for multiple Database Express configurations for multiple
databases on the same host

Answer: A,C

QUESTION NO: 66

Table EMPLOYEES contains columns including EMPLOYEE_ID, JOB_ID and SALARY.

Only the EMPLOYEE_ID column is indexed.

Rows exist for employees 100 and 200.

Examine this statement:

Which two statements are true? (Choose two.)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 47


Oracle 1z0-082 Exam
A.
Employee 100 will have SALARY set to the same value as the SALARY of employee 200

B.
Employee 200 will have JOB_ID set to the same value as the JOB_ID of employee 100

C.
Employee 200 will have SALARY set to the same value as the SALARY of employee 100

D.
Employee 100 will have JOB_ID set to the same value as the JOB_ID of employee 200

E.
Employees 100 and 200 will have the same JOB_ID as before the update command

F.
Employees 100 and 200 will have the same SALARY as before the update command

Answer: A,B

QUESTION NO: 67

Which two are true about a SQL statement using SET operators such as UNION? (Choose two.)

A.
The data type group of each column returned by the second query must match the data type of the
corresponding column returned by the first query.

B.
The number, but not names, of columns must be identical for all SELECT statements in the query.

C.
The data type of each column returned by the second query must exactly match the data type of
the corresponding column returned by the first query.

D.
The names and number of columns must be identical for all SELECT statements in the query.

E.
The data type of each column returned by the second query must be implicitly convertible to the
data type of the corresponding column returned by the first query.

Answer: A,C

QUESTION NO: 68
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 48
Oracle 1z0-082 Exam
Which three statements are true about time zones, date data types, and timestamp data types in
an Oracle database? (Choose three.)

A.
The CURRENT_TIMESTAMP function returns data without time zone information

B.
A TIMESTAMP WITH LOCAL TIMEZONE data type column is stored in the database using the
time zone of the session that inserted the row

C.
A TIMESTAMP data type column contains information about year, month, and day

D.
The DBTIMEZONE function can return an offset from Universal Coordinated Time (UTC)

E.
The SESSIONTIMEZONE function can return an offset from Universal Coordinated Time (UTC)

Answer: A,D,E

QUESTION NO: 69

Which three statements are true about inner and outer joins? (Choose three.)

A.
A full outer join returns matched and unmatched rows

B.
An inner join returns matched rows

C.
Outer joins can only be used between two tables per query

D.
A full outer join must use Oracle syntax

E.
Outer joins can be used when there are multiple join conditions on two tables

F.
A left or right outer join returns only unmatched rows

Answer: A,B,E

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 49


Oracle 1z0-082 Exam
QUESTION NO: 70

Examine this description of the TRANSACTIONS table:

Which two SQL statements execute successfully? (Choose two.)

A.
SELECT customer_id AS “CUSTOMER-ID?, transaction_date AS DATE, amount + 100 “DUES?
FROM transactions;

B.
SELECT customer_id AS “CUSTOMER-ID?, transaction_date AS “DATE?, amount + 100 DUES
FROM transactions;

C.
SELECT customer_id AS CUSTOMER-ID, transaction_date AS TRANS_DATE, amount + 100
“DUES AMOUNT? FROM transactions;

D.
SELECT customer_id CUSTID, transaction_date TRANS_DATE, amount + 100 DUES FROM
transactions;

E.
SELECT customer_id AS ‘CUSTOMER-ID’, transaction_date AS DATE, amount + 100 ‘DUES
AMOUNT’ FROM transactions;

Answer: B,D

QUESTION NO: 71

The CUSTOMERS table has a CUST_CREDIT_LIMIT column of data type NUMBER.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 50


Oracle 1z0-082 Exam
Which two queries execute successfully? (Choose two.)

A.
SELECT NVL(cust_credit_limit * .15, ‘Not Available’) FROM customers;

B.
SELECT NVL2(cust_credit_limit * .15, ‘Not Available’) FROM customers;

C.
SELECT NVL(TO_CHAR(cust_credit_limit * .15), ‘Not Available’) FROM customers;

D.
SELECT TO_CHAR(NVL(cust_credit_limit * .15, ‘Not Available’)) FROM customers;

E.
SELECT NVL2(cust_credit_limit, TO_CHAR(cust_credit_limit * .15), ‘Not Available’) FROM
customers;

Answer: C,E

QUESTION NO: 72

Which statement is true about aggregate functions?

A.
Aggregate functions can be nested to any number of levels

B.
The AVG function implicitly converts NULLS to zero

C.
Aggregate functions can be used in any clause of a SELECT statement

D.
The MAX and MIN functions can be used on columns with character data types

Answer: A

QUESTION NO: 73

Your database instance was shut down normally and then started in NOMOUNT state. You then
execute this command:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 51


Oracle 1z0-082 Exam
ALTER DATABASE MOUNT;

Which two actions are performed? (Choose two.)

A.
The online redo logs are opened

B.
The online data files are opened

C.
The alert log records the execution details

D.
The Oracle background processes are started

E.
The initialization parameter file is read

F.
The control file is read

Answer: D,F

QUESTION NO: 74

Which two are true about shrinking a segment online? (Choose two.)

A.
It is not possible to shrink either indexes or Index Organized Tables (IOTs)

B.
It always eliminates all migrated rows if any exist in the table

C.
To shrink a table it must have a PRIMARY KEY constraint

D.
To shrink a table it must have a UNIQUE KEY constraint

E.
To shrink a table it must have row movement enabled

F.
It must be in a tablespace that uses Automatic Segment Space Management (ASSM)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 52


Oracle 1z0-082 Exam
Answer: C,E
Reference: https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_3001.htm

QUESTION NO: 75

Examine these commands:

Which two statements are true about the sqlldr execution? (Choose two.)

A.
It overwrites data in EMP with data in EMP.DAT

B.
It uses the database buffer cache to load data

C.
It generates a log that contains control file entries, which can be used with normal SQL*Loader
operations

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 53


Oracle 1z0-082 Exam
D.
It generates a sql script that it uses to load data from EMP.DAT to EMP

E.
It appends data from EMP.DAT to EMP

Answer: B,D

QUESTION NO: 76

A script abc.sql must be executed to perform a job.

A database user HR, who is defined in this database, executes this command:

$ sqlplus hr/hr@orcl @abc.sql

What will happen upon execution?

A.
The command succeeds and HR will be connected to the orcl and abc.sql databases

B.
The command succeeds and HR will be connected to the orcl database instance, and the abc.sql
script will be executed

C.
The command fails because the script must refer to the full path name

D.
The command fails and reports an error because @ is used twice

Answer: B

QUESTION NO: 77

Which three statements are true regarding indexes? (Choose three.)

A.
A UNIQUE index can be altered to be non-unique

B.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 54


Oracle 1z0-082 Exam
A SELECT statement can access one or more indices without accessing any tables

C.
A table belonging to one user can have an index that belongs to a different user

D.
An update to a table can result in updates to any or all of the table’s indexes

E.
When a table is dropped and is moved to the RECYCLE BIN, all indexes built on that table are
permanently dropped

F.
An update to a table can result in no updates to any of the table’s indexes

Answer: A,D,E

QUESTION NO: 78

Which three statements are true about Oracle synonyms? (Choose three.)

A.
A synonym cannot be created for a PL/SQL package

B.
A synonym can be available to all users

C.
A SEQUENCE can have a synonym

D.
A synonym created by one user can refer to an object belonging to another user

E.
Any user can drop a PUBLIC synonym

Answer: B,C,D
Reference: https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_7001.htm

QUESTION NO: 79

View the Exhibit and examine the structure of the PRODUCTS table.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 55
Oracle 1z0-082 Exam
Which two tasks require subqueries? (Choose two.)

A.
Display the number of products whose PROD_LIST_PRICE is more than the average
PROD_LIST_PRICE

B.
Display suppliers whose PROD_LIST_PRICE is less than 1000

C.
Display products whose PROD_MIN_PRICE is more than the average PROD_LIST_PRICE of all
products, and whose status is orderable

D.
Display the total number of products supplied by supplier 102 which have a product status of
obsolete

E.
Display the minimum PROD_LIST_PRICE for each product status

Answer: A,C

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 56


Oracle 1z0-082 Exam
QUESTION NO: 80

The SALES_Q1 and USERS tablespaces exist in one of your databases and TEMP is a temporary
tablespace.

Segment creation is not deferred.

You execute this command:

Which three statements must be true so that the SALES user can create tables in SALES_Q1?
(Choose three.)

A.
The sales user must have a quota on the TEMP tablespace

B.
The sales user must have a quota on the SALES_Q1 tablespace to hold the initial extends of all
tables they plan to create in their schema

C.
The sales user must have been granted the CREATE SESSION privilege

D.
The sales user must have their quota on the users tablespace removed

E.
The sales user must have a quota on the SALES_Q1 tablespace to hold all the rows to be inserted
into any table in their schema

F.
The sales user must have been granted the CREATE TABLE privilege

Answer: B,D,F

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 57


Oracle 1z0-082 Exam
QUESTION NO: 81

Which three statements are true about table data storage in an Oracle Database? (Choose three.)

A.
Data block headers contain their own Data Block Address (DBA)

B.
A table row piece can be chained across several database blocks

C.
Multiple row pieces from the same row may be stored in different database blocks

D.
Multiple row pieces from the same row may be stored in the same block

E.
Data block free space is always contiguous in the middle of the block

F.
Index block free space is always contiguous in the middle of the block

Answer: B,C,E
Reference:
https://books.google.com.pk/books?id=lNtVjrmbzckC&pg=PA267&lpg=PA267&dq=Multiple+row+p
ieces+from+the+same+row+may+be+stored+in+different+database+blocks&source=bl&ots=lEIhF
e2Q52&sig=ACfU3U1TETJPy194pARxfIJ5ROaQdySCMQ&hl=en&sa=X&ved=2ahUKEwivveLa97
_mAhWOzaQKHahYAVEQ6AEwAnoECAoQAQ#v=onepage&q=Multiple%20row%20pieces%20fr
om%20the%20same%20row%20may%20be%20stored%20in%20different%20database%20block
s&f=false

QUESTION NO: 82

Examine the description of the BOOKS table:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 58


Oracle 1z0-082 Exam

The table has 100 rows.

Examine this sequence of statements issued in a new session:

INSERT INTO books VALUES (‘ADV112’, ‘Adventures of Tom Sawyer’, NULL, NULL);

SAVEPOINT a;

DELETE FROM books;

ROLLBACK TO SAVEPOINT a;

ROLLBACK;

Which two statements are true? (Choose two.)

A.
The second ROLLBACK command does nothing

B.
The second ROLLBACK command replays the delete

C.
The first ROLLBACK command restores the 101 rows that were deleted, leaving the inserted row
still to be committed

D.
The second ROLLBACK command undoes the insert

E.
The first ROLLBACK command restores the 101 rows that were deleted and commits the inserted
row

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 59


Oracle 1z0-082 Exam
Answer: D,E

QUESTION NO: 83

Which three statements are true about external tables in Oracle 18c and later releases? (Choose
three.)

A.
External table files can be used for other external tables in a different database

B.
The ORACLE_LOADER access driver can be used to unload data from a database into an
external table

C.
The ORACLE_DATAPUMP access driver can be used to unload data from a database into an
external table

D.
They cannot be partitioned

E.
The ORACLE_DATAPUMP access driver can be used to load data into a database from an
external table

F.
They support UPDATEs but not INSERTs and DELETEs

Answer: A,B,F

QUESTION NO: 84

Which three statements are true about the Oracle join and ANSI join syntax? (Choose three.)

A.
The Oracle join syntax supports creation of a Cartesian product of two tables

B.
The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax

C.
The SQL:1999 compliant ANSI join syntax supports natural joins

D.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 60
Oracle 1z0-082 Exam
The SQL:1999 compliant ANSI join syntax supports creation of a Cartesian product of two tables

E.
The Oracle join syntax only supports right outer joins

F.
The Oracle join syntax supports natural joins

G.
The Oracle join syntax performs less well than the SQL:1999 compliant ANSI join syntax

Answer: C,D,F

QUESTION NO: 85

Which two tasks can you perform using DBCA for databases? (Choose two.)

A.
Configure a nonstandard block size for a new database

B.
Register a new database with an available Enterprise Manager Management server

C.
Change the standard block size of an existing database

D.
Configure incremental backups for a new database

E.
Enable flashback database for an existing database

Answer: A,B
Reference: https://docs.oracle.com/cd/B16254_01/doc/server.102/b14196/install003.htm

QUESTION NO: 86

You execute this query:

SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE), ‘MON’), ‘dd “Monday for? fmMonth rrrr’)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 61


Oracle 1z0-082 Exam
What is the result?

A.
It executes successfully but does not return any result

B.
It returns the date for the first Monday of the next month

C.
It generates an error

D.
It returns the date for the last Monday of the current month

Answer: B

QUESTION NO: 87

Examine this command:

CREATE UNDO TABLESPACE undotbs01

DATAFILE ‘undotbs_01.dbf’

SIZE 100M

AUTOEXTEND ON;

Which two actions must you take to ensure UNDOTBS01 is used as the default UNDO
tablespace? (Choose two.)

A.
Add the SEGMENT SPACE MANAGEMENT AUTO clause

B.
Set UNDO_TABLESPACE to UNDOTBS01

C.
Add the NOLOGGING clause

D.
Make certain that the database operates in automatic undo management mode

E.
Add the ONLINE clause

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 62


Oracle 1z0-082 Exam
Answer: B,D

QUESTION NO: 88

Which three statements are true about views in an Oracle database? (Choose three.)

A.
Views can be updated without the need to re-grant privileges on the view

B.
Tables in the defining query of a view must always exist in order to create the view

C.
The WITH CHECK clause prevents certain rows from being displayed when querying the view

D.
Data Manipulation Language (DML) can always be used on views

E.
Inserting one or more rows using a view whose defining query contains a GROUP BY clause will
cause an error

F.
Deleting one or more rows using a view whose defining query contains a GROUP BY clause will
cause an error

G.
The WITH CHECK clause prevents certain rows from being updated or inserted

Answer: A,E,F

QUESTION NO: 89

You execute this command:

CREATE SMALLFILE TABLESPACE sales

DATAFILE ‘/u01/app/oracle/sales01.dbf

SIZE 5G

SEGMENT SPACE MANAGEMENT AUTO;

Which two statements are true about the SALES tablespace? (Choose two.)
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 63
Oracle 1z0-082 Exam
A.
It must be smaller than the smallest BIGFILE tablespace

B.
Free space is managed using freelists

C.
Any data files added to the tablespace must have a size of 5 gigabytes

D.
It uses the database default blocksize

E.
It is a locally managed tablespace

Answer: D,E

QUESTION NO: 90

In the SALES database, DEFERRED_SEGMENT_CREATION is TRUE.

Examine this command:

SQL> CREATE TABLE T1(c1 INT PRIMARY KEY, c2 CLOB);

Which segment or segments, if any, are created as a result of executing the command?

A.
T1, an index segment for the primary key, a LOB segment, and a lobindex segment

B.
no segments are created

C.
T1 only

D.
T1 and an index segment created for the primary key only

E.
T1, an index segment for the primary key, and a LOB segment only

Answer: C

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 64


Oracle 1z0-082 Exam
QUESTION NO: 91

Which three activities are recorded in the database alert log? (Choose three.)

A.
Data Definition Language (DDL) statements

B.
non-default database parameters

C.
block corruption errors

D.
deadlock errors

E.
session logins and logouts

Answer: B,C,D
Reference:
https://docs.oracle.com/cd/B28359_01/server.111/b28310/monitoring001.htm#ADMIN11247

QUESTION NO: 92

Which two statements are true about Enterprise Manager (EM) Express? (Choose two.)

A.
You can use a single instance of EM Express to manage multiple database running on the same
server.

B.
EM Express uses a separate repository database to store target database metadata.

C.
By default, EM express is available for a database after database creation using DBCA.

D.
You can shut down a database instance using EM Express.

E.
You cannot start up a database instance using EM Express.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 65


Oracle 1z0-082 Exam
Answer: C,E

QUESTION NO: 93

Examine this SQL statement:

Identify three ORDER BY clauses, any one of which can complete the query successfully.
(Choose three.)

A.
ORDER BY “Last Name?

B.
ORDER BY 2, 1

C.
ORDER BY 2, cust_id

D.
ORDER BY CUST_NO

E.
ORDER BY “CUST_NO?

Answer: A,B,C

QUESTION NO: 94

Which two statements are true about the configuration and use of UNDO_RETENTION with
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 66
Oracle 1z0-082 Exam
GURANTEED RETENTION? (Choose two.)

A.
UNDO_RETENTION specifies for how long Oracle attempts to keep expired and unexpired
UNDO.

B.
UNDO_RETENTION specifies how long all types of UNDO are retained.

C.
Unexpired UNDO is always retained.

D.
Active UNDO is always retained.

E.
UNDO_RETENTION specifies for how long Oracle attempts to keep unexpired UNDO.

Answer: C,E

QUESTION NO: 95

Table ORDER_ITEMS contains columns ORDER_ID, UNIT_PRICE and QUANTITY, of data type
NUMBER.

Examine these SQL statements:

Statement 1:

SELECT MAX(unit_price * quantity) “Maximum Order?

FROM order_items;

Statement 2:

SELECT MAX(unit_price * quantity) “Maximum Order?

FROM order_items

GROUP BY order_id;

Which two statements are true? (Choose two.)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 67


Oracle 1z0-082 Exam
A.
Statement 1 returns only one row of output.

B.
Statement 2 returns only one row of output.

C.
Both statements will return NULL if either UNIT_PRICE or QUANTITY contains NULL.

D.
Both the statements give the same output.

E.
Statement 2 may return multiple rows of output.

Answer: A,E

QUESTION NO: 96

Which three files are used by conventional path SQL*Loader when the TABLE option is not
specified? (Choose three.)

A.
dump files

B.
control files

C.
password files

D.
bad files

E.
input files

Answer: B,D,E

QUESTION NO: 97

Which three statements are true about the naming methods and their features supported by
Oracle

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 68


Oracle 1z0-082 Exam
database used to resolve connection information? (Choose three.)

A.
Local Naming requires setting the TNS_ADMIN environment variable on the client side.

B.
A client can connect to an Oracle database instance even if no client side network admin has been
configured.

C.
Directory Naming can be used if Connect-Time Failover is required.

D.
Easy Connect supports TCP/IP and SSL.

E.
Local naming can be used if Connect-Time Failover is required.

F.
Directory Naming requires setting the TNS_ADMIN environment variable on the client side.

Answer: A,D,F

QUESTION NO: 98

Which two statements are true about User Authentication in an Oracle Database? (Choose two.)

A.
Password authentication must be used for system-privileged administrative users.

B.
Password File authentication must be used for system-privileged administrative users.

C.
Operating System authentication may be used for system-privileged administrative users.

D.
Password File authentication is supported for any type of database user.

E.
REMOTE_LOGIN_PASSWORDFILE must be set to exclusive to permit password changes for
system-privileged administrative users.

Answer: A,C

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 69


Oracle 1z0-082 Exam
QUESTION NO: 99

Which is the default column or columns for sorting output from compound queries using SET
operators such as INTERSECT in a SQL statement?

A.
the first NUMBER column in the first SELECT of the compound query

B.
the first NUMBER or VARCHAR2 column in the last SELECT of the compound query

C.
the first column in the last SELECT of the compound query

D.
the first column in the first SELECT of the compound query

E.
the first VARCHAR2 column in the first SELECT of the compound query

Answer: D

QUESTION NO: 100

Examine the description of the PRODUCT_STATUS table:

The STATUS column contains the values 'IN STOCK' or 'OUT OF STOCK' for each row.

Which two queries will execute successfully? (Choose two.)

A.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 70


Oracle 1z0-082 Exam
B.

C.

D.

E.

F.

Answer: B,C

QUESTION NO: 101

Which two statements are true about UNDO and UNDO tablespaces? (Choose two.)

A.
There can be only one UNDO tablespace created in a database.

B.
UNDO segments are owned by SYSTEM.

C.
UNDO segments are owned by SYSBACKUP.

D.
An UNDO tablespace may be owned by only one instance.

E.
An instance will crash if the active undo tablespace is lost.

Answer: B,D
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 71
Oracle 1z0-082 Exam

QUESTION NO: 102

You must create a tablespace of non-standard block size in a new file system and plan to use this
command:

The standard block size is 8k but other non-standard block sizes will also be used.

Which two are requirements for this command to succeed? (Choose two.)

A.
DB_32K_CACHE_SIZE must be less than DB_CACHE_SIZE.

B.
DB_32K_CACHE_SIZE must be set to a value that can be accommodated in the SGA.

C.
DB_32K_CACHE_SIZE should be set to a value greater than DB_CACHE_SIZE.

D.
The /u02 file system must have at least 100g space for the datafile.

E.
The operating system must use a 32k block size.

F.
DB_CACHE_SIZE must be set to a size that is smaller than DB_32K_CACHE_SIZE.

Answer: B,D

QUESTION NO: 103

Examine the description of the PRODUCTS table:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 72


Oracle 1z0-082 Exam

Which query is valid?

A.
SELECT prod_id, release_date, SUM(cost) FROM products GROUP BY prod_id;

B.
SELECT prod_id, release_date, SUM(cost) FROM products GROUP BY prod_id, release_date;

C.
SELECT prod_id, AVG(MAX(cost)) FROM products GROUP BY prod_id;

D.
SELECT prod_id, MAX(AVG(cost)) FROM products GROUP BY prod_id;

Answer: B

QUESTION NO: 104

Which two statements are true about the Oracle Data Dictionary? (Choose two.)

A.
All data dictionary view join base tables to dynamic performance views.

B.
Data dictionary base tables can be queried directly.

C.
It is owned by the SYS user.

D.
It is owned by the SYSTEM user.

E.
Data dictionary views are always created with queries that join two or more base tables.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 73


Oracle 1z0-082 Exam
Answer: B,D

QUESTION NO: 105

Which two Oracle database space management features require the use of locally managed
tablespaces? (Choose two.)

A.
Automatic data file extension (AUTOEXTEND)

B.
Server-generated tablespace space alerts

C.
Online segment shrink

D.
Free space management with bitmaps

E.
Oracle Managed Files (OMF)

Answer: C,D

QUESTION NO: 106

Which three statements are true about connection strings and service names used to connect to
an Oracle database instance? (Choose three.)

A.
A connection string must include the SID of a database instance.

B.
A connection string including a service name must be defined in the tnsnames.ora file.

C.
A single database instance can support connections for multiple service names.

D.
A single connection string can refer to multiple database instances.

E.
A service name is created by a listener.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 74


Oracle 1z0-082 Exam
F.
Different connection strings in the same tnsnames.ora file can contain the same service name,
host and port parameters.

Answer: A,B,E

QUESTION NO: 107

Which three statements are true about using SQL*Plus? (Choose three.)

A.
It has both command-line and graphical user interfaces (GUI).

B.
It must be downloaded from the Oracle Technology Network (OTN).

C.
It can run Recovery Manager (RMAN) commands.

D.
It has its own commands that are separate from any SQL statements.

E.
It can run scripts entered at the SQL prompt.

F.
It can run scripts passed to it by a shell script.

Answer: A,D,E

QUESTION NO: 108

The orders table has a column ORDER_DATE of data type DATE.

The default display format for a date is DD-MON-RR.

Which two WHERE conditions demonstrate the correct usage of conversion functions? (Choose
two.)

A.
WHERE order_date > TO_DATE(ADD_MONTHS(SYSDATE, 6), 'MON DD YYYY')

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 75


Oracle 1z0-082 Exam
B.
WHERE order dare > TO DATE('JUL 10 2018', 'MON DD YYYY')

C.
WHERE TO_CHAR(order date, 'MON DD YYYY') = 'JAN 20 2019'

D.
WHERE order_date > TO_CHAR(ADD_MONTHS(SYSDATE, 6), 'MON DD YYYY')

E.
WHERE order_date IN (TO_DATE('Oct 21 2018', 'Mon DD YYYY'), TO_CHAR('Nov 21 2018',
'Mon DD YYYY'))

Answer: A,C

QUESTION NO: 109

Which three statements are true about the Automatic Diagnostic Repository (ADR)? (Choose
three.)

A.
It can be used for problem diagnosis of a database when that database's instance is down.

B.
The ADR base is specified in the DIAGNIOSTIC_DEST database parameter.

C.
It is held inside an Oracle database schema.

D.
It is a file-based repository held outside any database.

E.
It is only used for Oracle Database diagnostic information.

Answer: A,B,E

QUESTION NO: 110

Which two statements are true about a self join? (Choose two.)

A.
It can be an inner join.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 76


Oracle 1z0-082 Exam
B.
It can be a left outer join.

C.
It must be an equijoin.

D.
The join key column must have an index.

E.
It must be a full outer join.

Answer: A,B

QUESTION NO: 111

Which statement is true about database links?

A.
Private database link creation requires the same user to exist in both the local and the remote
databases.

B.
A database link created in a database allows a connection from that database's instance to the
target database's instance, but not vice versa.

C.
A public database link can be used by a user connected to the local database instance to connect
to any schema in the remote database instance.

D.
A public database link can be created only by SYS.

E.
A database link can be created only between two Oracle databases.

Answer: C

QUESTION NO: 112

Which two queries execute successfully? (Choose two.)

A.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 77


Oracle 1z0-082 Exam
SELECT NULLIF(NULL, 100) FROM DUAL;

B.
SELECT NULLIF(100, 'A') FROM DUAL;

C.
SELECT COALESCE(100, 'A') FROM DUAL;

D.
SELECT COALESCE(100, NULL, 200) FROM DUAL;

E.
SELECT NULLIF(100, 100) FROM DUAL;

Answer: A,C

QUESTION NO: 113

Which three statements are true about data block storage in an Oracle Database? (Choose three.)

A.
An index block can contain row data.

B.
A data block header is of a fixed length.

C.
Row data is stored starting at the end of the block.

D.
A table block must always contain row data.

E.
A block header contains a row directory pointing to all rows in the block.

Answer: B,C,E

QUESTION NO: 114

Which two are benefits of external tables? (Choose two.)

A.
They support DELETES which transparently deletes records in the file system as if they were table

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 78


Oracle 1z0-082 Exam
rows.

B.
They can be queried, transformed, and joined with other tables without having to load the data
first.

C.
They support UPDATES which transparently updates records in the file system as if they were
table rows.

D.
The results of a complex join or aggregating function or both can be unloaded to a file for
transportation to another database.

E.
They can be queried while the database is in the MOUNT state like dynamic performance views.

Answer: B,D

QUESTION NO: 115

Examine the description of the MEMBERS table:

Examine the partial query:

SELECT city, last_name LNAME FROM members ...;

You want to display all cities that contain the string an. The cities must be returned in ascending
order, with the last names further sorted in descending order.

Which two clauses must you add to the query? (Choose two.)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 79


Oracle 1z0-082 Exam
A.
ORDER BY 1, 2

B.
WHERE city = '%AN%'

C.
WHERE city LIKE '%AN%'

D.
ORDER BY last_name DESC, city ASC

E.
WHERE city IN ('%AN%')

F.
ORDER BY 1, LNAME DESC

Answer: C,D

QUESTION NO: 116

Which three statements are true about sequences in a single instance Oracle database? (Choose
three.)

A.
Sequences can always have gaps.

B.
Two or more tables cannot have keys generated from the same sequence.

C.
A sequence's unallocated cached values are lost if the instance shuts down.

D.
A sequence can issue duplicate values.

E.
A sequence can only be dropped by a DBA.

F.
A sequence number that was allocated can be rolled back if a transaction fails.

Answer: B,C,F

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 80


Oracle 1z0-082 Exam
QUESTION NO: 117

Your database instance is started with an SPFILE.

A PFILE is also available.

You execute this command:

ALTER SYSTEM SET DB_CACHE_SIZE=100K;

Where is the value changed?

A.
in the SPFILE, PFILE, and memory

B.
in the SPFILE and in memory

C.
only in the SPFILE

D.
only in memory

E.
in the SPFILE and PFILE

Answer: B

QUESTION NO: 118

You want to apply the principle of Least Privilege in all your live databases.

One of your requirements is to revoke unnecessary privileges from all users who have them using
Privilege Analysis.

Which two are types of analyses can be done using the DBMS_PRIVILEGE_CAPTURE package?
(Choose two.)

A.
analysis of privileges that a user has on other schema’s objects

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 81


Oracle 1z0-082 Exam
B.
analysis of privileges that a user has on their own schema objects

C.
analysis of all privileges used by the sys user

D.
analysis of privileges granted indirectly to a role that are then used by a user who has been
granted that role

E.
analysis of privileges granted directly to a role that are then used by a user who has been granted
that role

Answer: A,E

QUESTION NO: 119

Examine the description of the SALES table:

The SALES table has 55,000 rows.

Examine this statement:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 82


Oracle 1z0-082 Exam

Which two statements are true? (Choose two.)

A.
SALES1 is created with l row.

B.
SALES1 is created with no rows.

C.
SALES1 has primary KEY and UNIQUE constraints on any selected columns which had those
constraints in the SALES table.

D.
SALES1 has NOT NULL constraints on any selected columns which had those constraints in the
SALES table.

E.
SALES1 is created with 55,000 rows.

Answer: D,E
Reference: https://docs.oracle.com/database/121/COMSC/scripts.htm

QUESTION NO: 120

Which three statements are true about performing Data Manipulation Language (DML) operations
on a view with no INSTEAD OF triggers defined? (Choose three.)

A.
Views cannot be used to query rows from an underlying table if the table has a PRIMARY KEY
and the PRIMARY KEY columns are not referenced in the defining query of the view.

B.
The WITH CHECK clause has no effect when deleting rows from the underlying table through the
view.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 83


Oracle 1z0-082 Exam
C.
Delete statements can always be done on a table through a view.

D.
Views cannot be used to add or modify rows in an underlying table if the defining query of the view
contains the DISTINCT keyword.

E.
Views cannot be used to add rows to an underlying table if the table has columns with NOT NULL
constraints lacking default values which are not referenced in the defining query of the view.

F.
Insert statements can always be done on a table through a view.

Answer: C,E,F

QUESTION NO: 121

Which three statements are true about indexes and their administration in an Oracle database?
(Choose three.)

A.
An index can be created as part of a CREATE TABLE statement.

B.
If a query filters on an indexed column, then it will always be used during execution of the query.

C.
A descending index is a type of function-based index.

D.
A DROP INDEX statement always prevents updates to the table during the drop operation.

E.
A UNIQUE and non-unique index can be created on the same table column.

F.
An INVINSIBLE INDEX is not maintained when Data Manipulation Language (DML) is performed
on its underlying table.

Answer: A,B,E

QUESTION NO: 122

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 84


Oracle 1z0-082 Exam
Which three actions are ways to apply the principle of least privilege? (Choose three.)

A.
setting the O7_DICTIONARY_ACCESSIBILITY parameter to true

B.
setting the REMOTE_OS_AUTHENT parameter to true

C.
revoking execute privilege on UTL_SMTP, UTL_TCP, UTL_HTTP, and UTL_FILE from the
SYSTEM user

D.
enabling Unified Auditing

E.
using Access Control Lists (ACLs)

F.
revoking execute privilege on UTL_SMTP, UTL_TCP, UTL_HTTP, and UTL_FILE from the public
user

Answer: C,D,E

QUESTION NO: 123

The STORES table has a column START_DATE of data type DATE, containing the date the row
was inserted.

You only want to display details of rows where START_DATE is within the last 25 months.

Which WHERE clause can be used?

A.
WHERE ADD_MONTHS(start_date, 25) <= SYSDATE

B.
WHERE MONTHS_BETWEEN(start_date, SYSDATE) <= 25

C.
WHERE MONTHS_BETWEEN(SYSDATE, start_date) <=25

D.
WHERE TO_NUMBER(start date - SYSDATE) <= 25

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 85


Oracle 1z0-082 Exam
Answer: A

QUESTION NO: 124

Examine the description of the BOOKS_TRANSACTIONS table:

Examine this partial SQL statement:

SELECT * FROM books_transactions

Which two WHERE conditions give the same result? (Choose two.)

A.
WHERE borrowed_date = SYSDATE AND (transaction_type = 'RM' AND member_id = 'A101' OR
member_id = 'A102');

B.
WHERE borrowed_date = SYSDATE AND transaction_type = 'RM' OR member_id IN ('A101',
'A102');

C.
WHERE borrowed_date = SYSDATE AND (transaction_type = 'RM' AND (member_id = 'A101' OR
member_id = 'A102'));

D.
WHERE borrowed_date = SYSDATE AND (transaction_type = 'RM' OR menber_id IN ('A101',
'A102'));

E.
WHERE (borrowed_date = SYSDATE AND transaction_type - 'RM') OR member_id IN ('A101',
VA102');

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 86


Oracle 1z0-082 Exam
Answer: A,C

QUESTION NO: 125

Which two statements are true about views? (Choose two.)

A.
The WITH CHECK clause prevents certain rows from being updated or inserted in the underlying
table through the view.

B.
The WITH CHECK clause prevents certain rows from being displayed when querying the view.

C.
Views can be updated without the need to re-grant privileges on the view.

D.
A view must only refer to tables in its defining query.

E.
Views can be indexed.

Answer: A,C

QUESTION NO: 126

Which compression method is recommended for Direct-Path Insert operations?

A.
ROW STORE COMPRESS BASIC

B.
ROW STORE COMPRESS ADVANCED

C.
COLUMN STORE COMPRESS ADVANCED

D.
COLUMN STORE COMPRESS BASIC

Answer: B

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 87


Oracle 1z0-082 Exam
QUESTION NO: 127

Which three statements are true about Deferred Segment Creation in Oracle databases? (Choose
three.)

A.
It is supported for Index Organized Tables (IOTs) contained in locally managed tablespaces.

B.
It is the default behavior for tables and indexes.

C.
Sessions may dynamically switch back and forth from DEFERRED to IMMEDIATE segment
creation.

D.
Indexes inherit the DEFERRED to IMMEDIATE segment creation attribute from their parent table.

E.
It is supported for SYS-owned tables contained in locally managed tablespaces.

Answer: A,D,E

QUESTION NO: 128

Examine these statements executed in a single Oracle session:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 88


Oracle 1z0-082 Exam

Which three statements are true? (Choose three.)

A.
The code for pen is 10.

B.
There is no row containing fountain pen.

C.
There is no row containing pen.

D.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 89


Oracle 1z0-082 Exam
The code for fountain pen is 3.

E.
The code for pen is l.

F.
There is no row containing pencil.

Answer: B,C,F

QUESTION NO: 129

Examine the description of the SALES1 table:

SALES2 is a table with the same description as SALES1.

Some sales data is contained erroneously in both tables.

You must display rows from SALES1 and SALES2 and wish to see the duplicates too.

Which set operator generates the required output?

A.
UNION ALL

B.
SUBTRACT

C.
MINUS

D.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 90
Oracle 1z0-082 Exam
UNION

E.
INTERSECT

Answer: A

QUESTION NO: 130

In the promotions table, the PROMO_BEGIN_DATE column is of data type DATE and the default
date format is DD-MON-RR.

Which two statements are true about expressions using PROMO_BEGIN_DATE contained in a
query? (Choose two.)

A.
TO_NUMBER(PROMO_BEGIN_DATE) - 5 will return a number.

B.
PROMO_BEGIN_DATE - SYSDATE will return an error.

C.
PROMO_BEGIN_DATE - SYSDATE will return a number.

D.
PROMO_BEGIN_DATE - 5 will return a date.

E.
TO_DATE(PROMO_BEGIN_DATE * 5) will return a date.

Answer: B,D

QUESTION NO: 131

Which two statements are true regarding indexes? (Choose two.)

A.
A non-unique index can be altered to be unique.

B.
An update to a table can result in no updates to any of the table's indexes.

C.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 91
Oracle 1z0-082 Exam
The RECYCLE BIN never contains indexes.

D.
An update to a table can result in updates to any or all of the table's indexes.

E.
A table belonging to one user cannot have an index that belongs to a different user.

Answer: B,D

QUESTION NO: 132

Which three statements are true regarding single row subqueries? (Choose three.)

A.
A SQL statement may have multiple single row subquery blocks.

B.
They can be used in the WHERE clause.

C.
They must be placed on the left side of the comparison operator or condition.

D.
They can be used in the HAVING clause.

E.
They must be placed on the right side of the comparison operator or condition.

F.
They must return a row to prevent errors in the SQL statement.

Answer: A,B,D

QUESTION NO: 133

Which two statements are true about Oracle synonyms? (Choose two.)

A.
Any user can create a public synonym.

B.
A synonym has an object number.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 92


Oracle 1z0-082 Exam
C.
A synonym can be created on an object in a package.

D.
All private synonym names must be unique in the database.

E.
A synonym can have a synonym.

Answer: A,D

QUESTION NO: 134

Examine this command:

SQL> ALTER TABLE ORDERS SHRINK SPACE COMPACT

Which two statements are true? (Choose two.)

A.
The SHRINK operation causes rows to be moved to empty space starting from the beginning of
the ORDERS segment.

B.
Queries and DML statements are allowed on ORDERS while the SHRINK is executing.

C.
Dependent indexes become UNUSABLE.

D.
Only queries are allowed on ORDERS while the shrink is executing.

E.
The high-water mark (HWM) of ORDERS is adjusted.

F.
The SHRINK operation causes rows to be moved to empty space starting toward the end of the
ORDERS segment.

Answer: C,E

QUESTION NO: 135

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 93


Oracle 1z0-082 Exam
The sales table has columns PROD_ID and QUANTITY_SOLD of data type number.

Which two queries execute successfully? (Choose two.)

A.
SELECT COUNT(prod_id) FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id;

B.
SELECT COUNT(prod_id) FROM sales GROUP BY prod_id WHERE quantity_sold > 55000;

C.
SELECT prod_id FROM sales WHERE quantity_sold > 55000 AND COUNT(*) > 10 GROUP BY
COUNT(*) > 10;

D.
SELECT prod_id FROM sales WHERE quantity_sold > 55000 GROUP BY proa_id HAVING
COUNT(*) > 10;

E.
SELECT prcd_id FROM sales WHERE quantity_sold > 55000 AND COUNT (*) > 10 GROUP BY
prod_id HAVING COUNT(*) > 10;

Answer: A,D

QUESTION NO: 136

Examine the description of the PRODUCT_DETAILS table:

Which two statements are true? (Choose two.)

A.
PRODUCT_ID can be assigned the PRIMARY KEY constraint.

B.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 94
Oracle 1z0-082 Exam
EXPIRY_DATE cannot be used in arithmetic expressions.

C.
PRODUCT_NAME cannot contain duplicate values.

D.
EXPIRY_DATE contains the SYSDATE by default if no date is assigned to it.

E.
PRODUCT_PRICE can be used in an arithmetic expression even if it has no value stored in it.

F.
PRODUCT_PRICE contains the value zero by default if no value is assigned to it.

Answer: A,C

QUESTION NO: 137

Which two statements are true about INTERVAL data types? (Choose two.)

A.
INTERVAL DAY TO SECOND columns support fractions of seconds.

B.
The YEAR field in an INTERVAL YEAR TO MONTH column must be a positive value.

C.
The value in an INTERVAL DAY TO SECOND column can be copied into an INTERVAL YEAR
TO MONTH column.

D.
INTERVAL YEAR TO MONTH columns only support monthly intervals within a range of years.

E.
INTERVAL YEAR TO MONTH columns only support monthly intervals within a single year.

F.
INTERVAL YEAR TO MONTH support yearly intervals.

Answer: A,D
Reference: https://www.oracletutorial.com/oracle-basics/oracle-
interval/#:~:text=Introduction%20to%20Oracle%20data%20type&text=There%20are%20two%20ty
pes%20of,and%20seconds%20including%20fractional%20seconds

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 95


Oracle 1z0-082 Exam
QUESTION NO: 138

Examine the description of the EMPLOYEES table:

NLS_DATE_FORMAT is set to DD-MON-YY.

Which query requires explicit data type conversion?

A.
SELECT join_date FROM employees WHERE join_date > '10-02-2018';

B.
SELECT join_date + '20' FROM employees;

C.
SELECT salary + '120.50' FROM employees;

D.
SELECT SUBSTR(join_date, 1, 2) - 10 FROM employees;

E.
SELECT join_date || ' ' || salary FROM employees;

Answer: C
Reference: https://docs.oracle.com/database/121/NLSPG/ch4datetime.htm#NLSPG004

QUESTION NO: 139

You start your database instance in NOMOUNT state.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 96


Oracle 1z0-082 Exam
Which two actions are performed? (Choose two.)

A.
SYS can access the database.

B.
The consistency of the database is checked.

C.
The control files are opened.

D.
All required background processes are started.

E.
Memory is allocated for the SGA.

Answer: B,C
Reference: https://www.oracletutorial.com/oracle-administration/oracle-startup/

QUESTION NO: 140

Which two statements are true about the PMON background process? (Choose two.)

A.
It registers database services with all local and remote listeners known to the database instance.

B.
It frees unused temporary segments.

C.
It rolls back transactions when a process fails.

D.
It records checkpoint information in the control file.

E.
It frees resources held by abnormally terminated processes.

Answer: A,E

QUESTION NO: 141


"Leading the way in IT Testing & Certification Tools" - www.test-king.com 97
Oracle 1z0-082 Exam
Which two statements are true about the Oracle join and ANSI join syntax? (Choose two.)

A.
The Oracle join syntax performs less well than the SQL:1999 compliant ANSI join syntax.

B.
The Oracle join syntax lacks the ability to do outer joins.

C.
The SQL:1999 compliant ANSI join syntax supports creation of a Cartesian product of two tables.

D.
The Oracle join syntax supports creation of a Cartesian product of two tables.

E.
The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax.

Answer: C,D

QUESTION NO: 142

Which two statements are true about single row functions? (Choose two.)

A.
CEIL : can be used for positive and negative numbers.

B.
MOD : returns the remainder of a division operation.

C.
CONCAT : can be used to combine any number of values.

D.
FLOOR : returns the smallest integer greater than or equal to a specified number.

E.
TRUNC : can be used only with NUMBER data types.

Answer: A,E

QUESTION NO: 143

What is true about non-equijoin statement performance?

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 98


Oracle 1z0-082 Exam
A.
The BETWEEN condition used with an non-equijoin always performs better than when using the
>= and <= conditions.

B.
The BETWEEN condition used with an non-equijoin sometimes performs better than using the >=

and <= conditions.

C.
The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax.

D.
The Oracle join syntax performs less well than the SQL:1999 compliant ANSI join syntax.

E.
The join syntax used makes no difference to performance.

Answer: E

QUESTION NO: 144

Examine the description of the CUSTOMERS table:

You need to display last names and credit limits of all customers whose last name starts with A or
B in lower or upper case, and whose credit limit is below 1000.

Examine this partial query:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 99


Oracle 1z0-082 Exam

Which two WHERE conditions give the required result? (Choose two.)

A.

B.

C.

D.

E.

Answer: B,C

QUESTION NO: 145

Which two statements are true about substitution variables? (Choose two.)

A.
A substitution variable can be used with any clause in a SELECT statement.

B.
A substitution variable used to prompt for a column name must be enclosed in double quotation
marks.

C.
A substitution variable used to prompt for a column name must be enclosed in single quotation
marks.

D.
A substitution variable prefixed with & always prompts only once for a value in a session.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 100
Oracle 1z0-082 Exam
E.
A substitution variable can be used only in a SELECT statement.

F.
A substitution variable prefixed with && prompts only once for a value in a session unless it is set
to undefined in the session.

Answer: A,F

QUESTION NO: 146

The CUSTOMERS table has a CUST_LAST_NAME column of data type VARCHAR2.

The table has two rows whose CUST_LAST_NAME values are Anderson and Ausson.

Which query produces output for CUST_LAST_NAME containing Oder for the first row and Aus for
the second?

A.
SELECT REPLACE(SUBSTR(cust_last_name, -3), 'An', 'O') FROM customers;

B.
SELECT REPLACE(TRIM(TRAILING 'son' FROM cust_last_name), 'An', 'O') FROM customers;

C.
SELECT INITCAP(REPLACE(TRIM('son' FROM cust_last_name), 'An', 'O')) FROM customers;

D.
SELECT REPLACE(REPLACE(cust_last_name, 'son', ''), 'An', 'O') FROM customers;

Answer: D

QUESTION NO: 147

Which two statements are true about GLOBAL TEMPORARY TABLES? (Choose two.)

A.
GLOBAL TEMPORARY TABLE space allocation occurs at session start.

B.
GLOBAL TEMPORARY TABLE rows inserted by a session are available to any other session
whose user has been granted select on the table.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 101
Oracle 1z0-082 Exam
C.
A TRUNCATE command issued in a session causes all news in a GLOBAL TEMPORARY TABLE
for the issuing session to be deleted.

D.
A GLOBAL TEMPORARY TABLE 's definition is available to multiple sessions.

E.
A DELETE command on a GLOBAL TEMPORARY TABLE cannot be rolled back.

Answer: C,D

QUESTION NO: 148

Which three statements are true about Resumable Space Allocation in Oracle databases?
(Choose three.)

A.
A user's session may be suspended and resumed multiple times.

B.
The AFTER SUSPEND event trigger can itself be suspended due to space conditions.

C.
All sessions must have the same timeout value when waiting for resumable space allocations.

D.
Resumable space allocation is only possible with locally managed tablespaces.

E.
A user's session may be suspended even if the user has the UNLTMTTED TABLESPACE system
privilege.

F.
Resumable space allocation may be enabled for some sessions and not others.

Answer: A,D,F

QUESTION NO: 149

Examine the description of the PRODUCT_INFORMATION table:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 102


Oracle 1z0-082 Exam

Which query retrieves the number of products with a null list price?

A.
SELECT COUNT(list_price) FROM product_information WHERE list_price IS NULL;

B.
SELECT COUNT(NVL(list_price, 0)) FROM product_information WHERE list_price IS NULL;

C.
SELECT COUNT(DISTINCT list price) FROM product_information WHERE list_price IS NULL;

D.
SELECT COUNT(list_price) FROM product_information WHERE list_price = NULL;

Answer: A

QUESTION NO: 150

Examine the description of the CUSTOMERS table:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 103


Oracle 1z0-082 Exam

You must determine if any customers' details have been entered more than once using a different
CUSTINO, by listing all duplicate names.

Which two methods can you use to get the required result? (Choose two.)

A.
subquery

B.
self join

C.
LEFT OUTER JOIN with self join

D.
RIGHT OUTER JOIN With self join

E.
FULL OUTER JOIN with self join

Answer: A,B

QUESTION NO: 151

Which two statements are true about undo segments and the use of undo by transactions in an

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 104


Oracle 1z0-082 Exam
Oracle database instance? (Choose two.)

A.
Undo segments can be stored in the SYSAUX tablespace.

B.
Undo segments can wrap around to the first extent when a transaction fills the last extend of the
undo segment.

C.
A single transaction may use multiple undo segments simultaneously.

D.
Undo segments can extend when a transaction fills the last extent of the undo segment.

E.
Undo segments can be stored in the SYSTEM tablespace.

Answer: B,D

QUESTION NO: 152

DATADIR1 and DATATDIR2 are database directory objects.

Examine this command:

Which two statements are true about the expdp operation? (Choose two.)

A.
It fails if the total size of the dump file is more than 2GB.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 105


Oracle 1z0-082 Exam
B.
It starts only when four worker processes are available.

C.
It creates a master table to store details of the export operation.

D.
It creates dump files for the entire database.

E.
It creates dump files only for objects in the SYSTEM schema.

Answer: B,E

QUESTION NO: 153

Which two statements are true about Enterprise Manager Database Express? (Choose two.)

A.
It is available only when the database is open

B.
It can be used to perform database recovery when the database is opened

C.
The same port number can be used for Database Express configurations for databases on
different hosts

D.
It can be used to switch a database into ARCHIVELOGMODE

E.
The same port number can be used for multiple Database Express configurations for multiple
databases on the same host

F.
It can be used to perform database recovery when the database is mounted

Answer: A,C

QUESTION NO: 154

Examine these SQL statements which execute successfully:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 106


Oracle 1z0-082 Exam

Which two statements are true after execution? (Choose two.)

A.
The primary key constraint will be enabled and IMMEDIATE.

B.
The primary key constraint will be enabled and DEFERRED.

C.
The foreign key constraint will be enabled and DEFERRED.

D.
The foreign key constraint will be disabled.

E.
The foreign key constraint will be enabled and IMMEDIATE.

Answer: A,D

QUESTION NO: 155

Which two statements are true about the ORDER BY clause? (Choose two.)

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 107


Oracle 1z0-082 Exam
A.
Only columns that are specified in the SELECT list can be used in the ORDER BY clause.

B.
Numeric values are displayed in descending order if they have decimal positions.

C.
NULLS are not included in the sort operation.

D.
Column aliases can be used in the ORDER BY clause.

E.
In a character sort, the values are case-sensitive.

Answer: C,E

QUESTION NO: 156

Examine this query:

Which two methods should you use to prevent prompting for a hire date value when this query is
executed? (Choose two.)

A.
Store the query in a script and pass the substitution value to the script when executing it.

B.
Execute the SET verify off command before executing the query.

C.
Use the undefine command before executing the query.

D.
Execute the SET VERIFY ON command before executing the query.

E.
Replace '&1' with '&&1' in the query.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 108


Oracle 1z0-082 Exam
F.
Use the define command before executing the query.

Answer: D,F

QUESTION NO: 157

You issued this command:

DROP TABLE hr.employees;

Which three statements are true? (Choose three.)

A.
All indexes defined on HR.EMPLOYEES are dropped

B.
Synonyms for HR.EMPLOYEES are dropped.

C.
The HR.EMPLOYEES table may be moved to the recycle bin.

D.
Sequences used to populate columns in the HR.EMPLOYEES table are dropped.

E.
All constraints defined on HR.EMPLOYEES are dropped.

F.
Views referencing HR.EMPLOYEES are dropped.

Answer: C,D,E

QUESTION NO: 158

Examine the data in the CUST_NAME column of the CUSTOMERS table:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 109


Oracle 1z0-082 Exam

You want to display the CUST_NAME values where the last name starts with Mc or MC.

Which two WHERE clauses give the required result? (Choose two.)

A.
WHERE UPPER (SUBSTR (cust_name, INSTR (cust_name, ' ') + 1)) LIKE UPPER ('MC%')

B.
WHERE SUBSTR(cust_name, INSTR(cust_name, ' ') + 1 ) LIKE 'Mc%' OR 'MC%'

C.
WHERE SUBSTR(cust_name, INSTR(cust_name, ' ') +1) LIKE 'Mc%'

D.
WHERE INITCAP(SUBSTR(cust_name, INSTR(cust_name, ' ') +1)) LIKE 'Mc%'

E.
WHERE INITCAP(SUBSTR(cust_name, INSTR(cust_name, ' ') +1)) IN (MC%', 'Mc%)

Answer: A,D

QUESTION NO: 159

Which three statements are true about Data Manipulation Language (DML)? (Choose three.)

A.
INSERT statements can insert NULLS explicitly into a column.

B.
INSERT INTO...SELECT...FROM statements automatically commit.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 110
Oracle 1z0-082 Exam
C.
DML statements require a primary key be defined on a table.

D.
DELETE statements can remove multiple rows based on multiple conditions.

E.
UPDATE statements can have different subqueries to specify the values for each updated column.

Answer: A,D,E
Explanation:

INSERT statements can insert NULLS explicitly into a column.This is true because when
using an INSERT statement, NULL values can be explicitly inserted into columns by specifying
NULL as the column's value.

DELETE statements can remove multiple rows based on multiple conditions.DELETE


statements allow the use of multiple conditions in the WHERE clause, enabling the deletion of
multiple rows that meet specified criteria.

UPDATE statements can have different subqueries to specify the values for each updated
column.This is true since each column in an UPDATE statement can be set using a subquery,
allowing complex updates that pull data from other tables or calculated values.

QUESTION NO: 160

Which two statements are true about segment types in an Oracle Database? (Choose two.)

A.
Temporary segments are only stored in a temporary tablespace.

B.
Index segments always have two or more extents.

C.
Undo segments are only stored in an undo tablespace.

D.
Cluster segments may contain data from multiple tables.

E.
Table segments always have two or more extents.

Answer: A,C
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 111
Oracle 1z0-082 Exam
Explanation:

Temporary segments are only stored in a temporary tablespace.This is true because


temporary segments are used to manage intermediate data during operations like sorts and joins.
They are specifically stored in temporary tablespaces to optimize their use and facilitate cleanup
once the session is completed.

Undo segments are only stored in an undo tablespace.This is correct because undo segments
store information necessary for rolling back transactions and maintaining read consistency. They
are specifically allocated in undo tablespaces, which are optimized for this purpose.

QUESTION NO: 161

Which three tasks are performed by background processes in an Oracle database instance?
(Choose three.)

A.
writing dirty database block images from the buffer cache

B.
reading database blocks into the buffer cache

C.
creating dedicated server connections

D.
writing redo to log files

E.
registering services with Oracle Net listeners

Answer: A,B,D
Explanation:

Writing dirty database block images from the buffer cacheThe Database Writer (DBWn)
background process is responsible for writing "dirty" (modified) blocks from the buffer cache to
disk. This ensures that modified data is eventually saved to the database files on disk.

Reading database blocks into the buffer cacheThe Server Process (and sometimes the
Database Buffer Cache) reads data blocks from disk into memory. This allows Oracle to optimize
data retrieval by caching frequently accessed data in the buffer cache.

Writing redo to log filesThe Log Writer (LGWR) process is responsible for writing redo entries,
which record changes made to data, to the redo log files. This helps in recovery processes by

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 112


Oracle 1z0-082 Exam
ensuring that all changes are stored in the redo log files.

QUESTION NO: 162

Which three statements are true about views in an Oracle Database? (Choose three.)

A.
Rows inserted into a table using a view are retained in the table if the view is dropped.

B.
Views can join tables only if they belong to the same schema.

C.
Views have no object number.

D.
Views have no segment.

E.
A SELECT statement cannot contain a WHERE clause when querying a view containing a
WHERE clause in its defining query.

F.
A view can be created that refers to a non-existent table in its defining query.

Answer: A,D,F
Explanation:

Rows inserted into a table using a view are retained in the table if the view is dropped.This
is true because views are logical representations of data. When a view is dropped, the underlying
table and its data remain unaffected. Any rows inserted into the table through the view persist in
the table.

Views have no segment.This is correct because views do not physically store data; they are
stored as definitions in the data dictionary. As a result, views do not have a physical segment like
tables do.

A view can be created that refers to a non-existent table in its defining query.This is true
when using the FORCE option in the CREATE VIEW statement, which allows a view to be created
even if the referenced table does not exist at the time of creation. This view becomes invalid until
the referenced table is created.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 113


Oracle 1z0-082 Exam
QUESTION NO: 163

orcl.dmp contains a full export of the ORCL database.

This command is executed to load data from orcl.dmp into the TESTDB database.

Which two statements are true? (Choose two.)

A.
It skips all indexes of ORCL:SH and ORCL:OE.

B.
It drops and re-creates indexes that exist In both ORCL:SH and TESTDB:HR.

C.
It skips only tables that exist in both ORCL:SH and TESTDB:HR.

D.
It drops and re-creates tables that exist in both ORCL:SH and TESTDB:HR.

E.
It skips only indexes that exist in both ORCL:SH and TESTDB:HR.

Answer: A,D
Explanation:

The EXCLUDE=index parameter in the command tells Data Pump to exclude all indexes from the
import. This means that no indexes from the ORCL:SH and ORCL:OE schemas will be imported
into TESTDB.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 114


Oracle 1z0-082 Exam
The TABLE_EXISTS_ACTION=replace parameter indicates that if a table already exists in the
destination schema (TESTDB:HR in this case), the existing table will be dropped and re-created
before the data is imported. This applies to tables from the ORCL:SH schema, which is being
remapped to HR in the TESTDB database.

QUESTION NO: 164

Which three statements are true about roles? (Choose three.)

A.
Object privileges may not be granted to roles.

B.
The SET ROLE statement can enable one or more roles for a session.

C.
Roles may be granted to roles.

D.
The SET ROLE statement can disable one or more roles for a session.

E.
All roles granted to a user are set on by default when the user logs in

F.
Roles must be password protected.

Answer: B,C,D
Explanation:

The SET ROLE statement can enable one or more roles for a session.This is correct because
the SET ROLE statement allows a user to enable specific roles for the current session, providing
access to the privileges associated with those roles.

Roles may be granted to roles.This is correct as Oracle allows roles to be granted to other roles,
creating a hierarchy of roles and privileges.

The SET ROLE statement can disable one or more roles for a session.This is true since SET
ROLE can also be used to disable certain roles for the current session, limiting access to only the
enabled roles.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 115


Oracle 1z0-082 Exam
QUESTION NO: 165

Examine this query:

SELECT TRUNC(ROUND(156.00,-2),-1) FROM DUAL

What is the result?

A.
150

B.
16

C.
100

D.
160

E.
200

Answer: D
Explanation:

1. ROUND(156.00, -2)

The ROUND function with a negative precision of -2 rounds the number to the nearest hundred.

So, ROUND(156.00, -2) will round 156 to the nearest hundred, resulting in 200.

2. TRUNC(200, -1)

The TRUNC function with a precision of -1 truncates the number to the nearest ten.

So, TRUNC(200, -1) will truncate 200 to the nearest ten, resulting in 160.

Thus, the final result of the query is 160.

QUESTION NO: 166

Which three statements are true about the Oracle Database server during and immediately after
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 116
Oracle 1z0-082 Exam
SHUTDOWN TRANSACTIONAL? (Choose three.)

A.
Sessions remain connected even if they are not running a transaction.

B.
Uncommitted transactions are allowed to continue to the next COMMIT.

C.
Uncommitted transactions are allowed to continue to the next ROLLBACK.

D.
Instance recovery occurs automatically during the shutdown.

E.
Instance recovery occurs at the next restart.

F.
New connection requests made to the database instance are refused.

Answer: A,B,F
Explanation:

Sessions remain connected even if they are not running a transaction.During a SHUTDOWN
TRANSACTIONAL, sessions that are not actively involved in transactions can remain connected,
though they won’t be able to start new transactions.

Uncommitted transactions are allowed to continue to the next COMMIT.SHUTDOWN


TRANSACTIONAL allows active, uncommitted transactions to complete. The shutdown process
waits for those transactions to finish and commit before proceeding with the shutdown.

New connection requests made to the database instance are refused.SHUTDOWN


TRANSACTIONAL refuses new connections to ensure no new transactions are started, allowing
the database to eventually shut down cleanly once existing transactions complete.

QUESTION NO: 167

Which three statements are true about Enterprise Manager Cloud Control? (Choose three.)

A.
It is available to manage a database only when that database is open.

B.
It provides management for Oracle-engineered systems.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 117
Oracle 1z0-082 Exam
C.
It uses a web-based console built into the Oracle database using XML DB.

D.
It is integrated with My Oracle Support.

E.
It provides management for Oracle middleware.

Answer: B,D,E
Explanation:

It provides management for Oracle-engineered systems.Enterprise Manager Cloud Control is


designed to manage Oracle-engineered systems like Exadata, Exalogic, and others, offering
comprehensive monitoring, management, and optimization features.

It is integrated with My Oracle Support.Enterprise Manager Cloud Control is integrated with My


Oracle Support, enabling users to log support requests, receive alerts, and apply patches directly
from the interface.

It provides management for Oracle middleware.Besides managing databases, Enterprise


Manager Cloud Control can monitor and manage Oracle middleware products, such as Oracle
WebLogic Server, ensuring a unified management platform for various Oracle technologies.

QUESTION NO: 168

Which three are benefits of using temp UNDO when performing DML on global temporary tables?
(Choose three.)

A.
It reduces the amount of redo generated.

B.
It permits DML on Global temporary tables even if the database is opened read only.

C.
It reduces I/Os to the SYSAUX tablespace.

D.
It reduces I/Os to the SYSTEM tablespace.

E.
It reduces the amount of UNDO stored in the UNDO tablespace.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 118


Oracle 1z0-082 Exam
Answer: A,D,E
Explanation:

It reduces the amount of redo generated.Using temporary undo (temp UNDO) for DML
operations on global temporary tables reduces the amount of redo data generated because
temporary undo is not recorded in the redo log. This can improve performance by minimizing the
workload on the redo logs.

It reduces I/Os to the SYSTEM tablespace.Temp UNDO operations for global temporary tables
reduce I/O operations in the SYSTEM tablespace because temporary undo is not stored in the
regular UNDO tablespace or other core tablespaces that require frequent I/O.

It reduces the amount of UNDO stored in the UNDO tablespace.Temp UNDO allows undo
data for global temporary tables to be stored in temporary tablespaces rather than the main UNDO
tablespace. This decreases the load on the UNDO tablespace and frees up space for regular
transactions.

QUESTION NO: 169

Examine the structure of the two tables:

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 119


Oracle 1z0-082 Exam

Which two queries execute successfully? (Choose two.)

A.

B.

C.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 120


Oracle 1z0-082 Exam

D.

E.

Answer: C,D
Explanation:

SELECT prod_id, exp_date FROM products

UNION ALL

SELECT prod_id, NULL FROM new_products;

This query executes successfully because it selects two columns (prod_id and exp_date) from
both tables. Even though new_products does not have an exp_date column, substituting it with
NULL is valid, and the UNION ALL operation works as long as the number of columns and their
data types align.

SELECT * FROM products

UNION

SELECT * FROM new_products;

This query also executes successfully because it uses the UNION operation to combine the
results of selecting all columns from both tables. Although the column data types do not match
perfectly (TIMESTAMP vs. DATE, CHAR vs. VARCHAR2), Oracle can implicitly convert the data
types for a UNION operation.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 121


Oracle 1z0-082 Exam

QUESTION NO: 170

Which two statements are true regarding non-equijoins? (Choose two.)

A.
Table aliases must be used.

B.
The Oracle join syntax can be used.

C.
The SQL1999 compliant ANSI join syntax must be used.

D.
The USING clause can be used.

E.
The ON clause can be used.

Answer: B,E
Explanation:

The Oracle join syntax can be used.Non-equijoins can be performed using the traditional Oracle
syntax by specifying the join condition in the WHERE clause, where the conditions are based on
non-equality operators (like <, >, etc.).

The ON clause can be used.In SQL, non-equijoins can be implemented using the ON clause in
the ANSI SQL syntax. This allows a join condition based on non-equality operators, making it
possible to join tables based on conditions other than equality.

QUESTION NO: 171

Which three statements are true about an SPFILE? (Choose three.)

A.
It must exist for a database instance to start.

B.
It can be used to create a pfile.

C.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 122
Oracle 1z0-082 Exam
It contains initialization parameters whose values can be changed using the ALTER SYSTEM
command.

D.
It can be created by SYS from an idle instance.

E.
It contains only static initialization parameters.

Answer: B,C,D
Explanation:

It can be used to create a pfile.The SPFILE (Server Parameter File) can be used to generate a
PFILE (Parameter File) by using the CREATE PFILE FROM SPFILE command. This allows for the
creation of a static PFILE based on the current SPFILE parameters.

It contains initialization parameters whose values can be changed using the ALTER
SYSTEM command.The SPFILE allows dynamic changes to parameter values using the ALTER
SYSTEM command, and these changes can persist across instance restarts if they are set in the
SPFILE.

It can be created by SYS from an idle instance.A SPFILE can be created by a user with SYS
privileges from an idle instance using the CREATE SPFILE FROM PFILE command. This means
that an SPFILE does not need to exist initially; it can be created from a PFILE even when the
instance is not running.

QUESTION NO: 172

Which two statements are true about the COUNT function? (Choose two.)

A.
COUNT (*) returns the number of rows in a table including duplicate rows and rows containing
NULLs in any column.

B.
COUNT (DISTINCT inv_amt) returns the number of rows excluding rows containing duplicates and
NULLs in the INV_AMT column.

C.
A SELECT statement using the COUNT function with a DISTINCT keyword cannot have a
WHERE clause.

D.
It can only be used for NUMBER data types.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 123


Oracle 1z0-082 Exam
E.
COUNT (inv_amt) returns the number of rows in a table including rows with NULL in the INV_AMT
column.

Answer: A,B
Explanation:

COUNT (*) returns the number of rows in a table including duplicate rows and rows
containing NULLs in any column.This is correct because COUNT(*) counts all rows in the table
regardless of whether any column contains NULL values. It includes duplicates and rows with
NULLs in any column.

COUNT (DISTINCT inv_amt) returns the number of rows excluding rows containing
duplicates and NULLs in the INV_AMT column.This is correct because COUNT(DISTINCT
inv_amt) counts only unique, non-NULL values in the INV_AMT column, excluding duplicates and
NULL values.

QUESTION NO: 173

Which two tasks can be performed in the NOMOUNT state? (Choose two.)

A.
renaming data files

B.
full database recovery

C.
re-creating control files

D.
creating a database

E.
enabling online redo log archiving

Answer: C,D
Explanation:

re-creating control filesIn the NOMOUNT state, the Oracle instance has been started, but the
control files have not yet been mounted. This allows for operations such as re-creating control
files, which can be useful during recovery when control files are missing or need to be recreated.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 124


Oracle 1z0-082 Exam
creating a databaseWhen creating a new database, the instance is started in the NOMOUNT
state. In this state, Oracle can execute the CREATE DATABASE command, allowing the
necessary structures to be created before moving to the MOUNT or OPEN state.

QUESTION NO: 174

TBS1 is a permanent user-defined tablespace. Oracle Managed Files (OMF) is not used in this
database.

Examine this command:

DROP TABLESPACE tbsl;

Which two will ensure that TBS1 is dropped and its datafiles are deleted from the file system?
(Choose two.)

A.
TBS1 must not contain any temp files.

B.
There must be no uncommitted transactions involving segments stored in TBS1.

C.
TBS1 must be READ WRITE.

D.
The INCLUDING CONTENTS AND DATAFILES clause must be added to the command.

E.
TBS1 must be altered READ ONLY.

Answer: A,D
Explanation:

TBS1 must not contain any temp files.Permanent tablespaces like TBS1 should not contain
temporary files, as temporary files are specific to temporary tablespaces. Dropping a permanent
tablespace requires it to contain only permanent datafiles.

The INCLUDING CONTENTS AND DATAFILES clause must be added to the command.The
INCLUDING CONTENTS AND DATAFILES clause ensures that all contents of the tablespace are
deleted, and the associated datafiles are also removed from the file system. Without this clause,
the tablespace is dropped, but its datafiles remain in the file system.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 125


Oracle 1z0-082 Exam

QUESTION NO: 175

The PRODUCT_INFORMATION table has a UNIT_PRICE column of data type NUMBER (8, 2).

Evaluate this SQL statement:

SELECT TO_CHAR(unit_price, '$9,999') FROM product_information;

Which two statements are true about the output? (Choose two.)

A.
A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as #######.

B.
A row whose UNIT_PRICE column contains the value 1023.99 will be displayed as $1,023.

C.
A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as $1,023.

D.
A row whose UNIT_PRICE column contains the value 1023.99 will be displayed as $1,024.

E.
A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as $1,0236.

Answer: A,D
Explanation:

A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as
#######.This is correct because the format specified in the TO_CHAR function, '$9,999', does not
have enough space to display the value 10235.99. When the value exceeds the defined format,
Oracle displays it as ####### to indicate an overflow.

A row whose UNIT_PRICE column contains the value 1023.99 will be displayed as $1,024.
This is correct because the TO_CHAR function with the format '$9,999' rounds the number to the
nearest integer. Therefore, 1023.99 will be rounded to 1024, and the result will be displayed as
$1,024.

QUESTION NO: 176

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 126


Oracle 1z0-082 Exam
Which two statements are true about constraints? (Choose two.)

A.
A UNIQUE constraint can use a pre-existing index on the constrained column or columns

B.
A FOREIGN KEY column can contain NULLs.

C.
A PRIMARY KEY constraint can only be added to an empty table.

D.
A column can have only one CHECK constraint.

E.
A CHECK constraint can refer to values in other rows.

Answer: A,B
Explanation:

A UNIQUE constraint can use a pre-existing index on the constrained column or columns.
This is correct because if an index already exists on the column or columns being constrained by a
UNIQUE constraint, Oracle can use that existing index to enforce the uniqueness, avoiding the
need to create a new one.

A FOREIGN KEY column can contain NULLs.This is correct because a FOREIGN KEY
constraint does not require non-NULL values in the constrained column. NULLs are allowed in a
FOREIGN KEY column, as they do not violate referential integrity.

QUESTION NO: 177

Which two actions can you perform using DBCA for an existing database? (Choose two.)

A.
Change the server mode from dedicated to shared, and vice versa.

B.
Change the character set.

C.
Create an additional listener.

D.
Create a template that can be used to clone the database.
"Leading the way in IT Testing & Certification Tools" - www.test-king.com 127
Oracle 1z0-082 Exam
E.
Create nonstandard block size tablespaces.

Answer: A,D
Explanation:

Change the server mode from dedicated to shared, and vice versa.DBCA (Database
Configuration Assistant) allows you to modify the server mode of an existing database. You can
switch between dedicated and shared server modes to adjust how the database handles client
connections.

Create a template that can be used to clone the database.DBCA provides the option to create
a database template based on the structure and settings of an existing database. This template
can then be used to create or clone databases with the same configuration.

QUESTION NO: 178

Which two statements are true about table data storage in an Oracle Database? (Choose two.)

A.
Multiple row pieces from the same row may be stored in different database blocks.

B.
Index block free space is always contiguous in the middle of the block.

C.
A table row can be chained across several database blocks.

D.
Multiple row pieces from the same row must be stored in different database blocks.

E.
Data block free space is always contiguous in the middle of the block.

Answer: A,C
Explanation:

Multiple row pieces from the same row may be stored in different database blocks.This is
correct because if a row is too large to fit in a single database block, it can be split into row pieces,
which may be stored across different blocks. This process is known as row migration and row
chaining.

A table row can be chained across several database blocks.This is also correct. Row chaining

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 128


Oracle 1z0-082 Exam
occurs when a single row cannot fit entirely within one block, so it is split across multiple blocks.
This can happen when a row's data exceeds the block size.

"Leading the way in IT Testing & Certification Tools" - www.test-king.com 129

You might also like