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

Oracle Database Administration I Exam Number: 1Z0-082

Uploaded by

郭嘉龍
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
318 views

Oracle Database Administration I Exam Number: 1Z0-082

Uploaded by

郭嘉龍
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 162

2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

-
Expert Verified, Online, Free.

 Custom View Settings

Topic 1 - Single Topic

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 1/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #1 Topic 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

Correct Answer:
AB

Community vote distribution


AC (60%) B (20%) A다 (20%)

 
danito
Highly Voted 
2 years ago
A C i think the correct answers, becuase B has not sense and i did not references about that
upvoted 11 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
AC, Correct Answer!
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
oracle@localhost ~]$ cat date_format.sql

alter session set NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS' ;

select current_timestamp from dual ;

select current_date from dual ;

[oracle@localhost ~]$ sqlplus system/oracle @date_format.sql

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Apr 6 04:41:16 2022

Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Last Successful login time: Wed Apr 06 2022 04:41:01 -04:00

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production


Version 19.3.0.0.0

Session altered.

CURRENT_TIMESTAMP

---------------------------------------------------------------------------

06-APR-22 04.41.16.562674 AM -04:00

CURRENT_DATE

--------------------

06-APR-2022 04:41:16
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
That is why A and C are correct
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 2/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
Aramazd
2 months, 2 weeks ago
Bigfile tablespaces can significantly increase the storage capacity of an Oracle database. Smallfile tablespaces can contain up to 1024 files, but
bigfile tablespaces contain only one file that can be 1024 times larger than a smallfile tablespace.
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
A big Tablespace can have much more than 20 GB of size. So of course you can add additional Datafiles.
upvoted 1 times

 
emburria
5 months, 1 week ago
Selected Answer: AC
A,C for sure
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
Selected Answer: B
is correct
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
Selected Answer: A다
A,C is correct
upvoted 1 times

 
jonavasg
5 months, 2 weeks ago
Selected Answer: AC
A and C are the correct answers
upvoted 1 times

 
Omat
6 months, 1 week ago
Why should we paid if the answers are not correct !!

A and C of Cource
upvoted 1 times

 
adozoo
6 months, 2 weeks ago
answer is A C
upvoted 1 times

 
Guhborges
7 months ago
Selected Answer: AC
A-C for sure!
upvoted 1 times

 
vsna
10 months, 2 weeks ago
answer is A C
upvoted 2 times

 
ty_1
1 year, 2 months ago
practically A and C are write
upvoted 3 times

 
elvegaa
1 year, 7 months ago
A & C.

A - AUTOEXTEND is possible for any data file or temp file. It's not included in this sentence, but is possible to enable it in the future (OMF files
enable AUTOEXTEND by default)

B - This restriction isn't mentioned anywhere

C - BIGFILE tablespaces only allows one datafile

D - BIGFILE tablespaces are supported only for locally managed tablespaces with automatic segment space management
E - BIGFILE tablespaces's datafile can have different block sizes
upvoted 4 times

 
Ekos
1 year, 8 months ago
A and C
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 3/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #2 Topic 1

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.
INTERSECT is of lower precedence than UNION or UNION ALL

D.
It ignores NULLs

Correct Answer:
B

 
_Cobra_
1 month ago
B is correct
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B is correct
upvoted 1 times

 
Fan
1 year, 3 months ago
B is right.
upvoted 2 times

 
elvegaa
1 year, 7 months ago
B.

SET operators all have the same priority in Oracle Database.

NULL values are processed with set operators


upvoted 4 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
ora404
1 year, 9 months ago
SELECT 1, 2 FROM DUAL

UNION

SELECT 2, 3 FROM DUAL

INTERSECT

SELECT NULL, NULL FROM DUAL

INTERSECT

SELECT NULL, NULL FROM DUAL;

returns "no data found".


upvoted 2 times

 
SimoneF
1 year, 7 months ago
That is expected: the second two selects have no values in common with the corresponding columns in the first two, and the first two have
nothing in common between them.

For any row to be returned, with NULL values or not, it should be present in all of the intersected tables.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 4/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #3 Topic 1

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

Correct Answer:
BCF

Reference:

https://docs.oracle.com/cd/E11882_01/network.112/e41945/advcfg.htm#NETAG013

Community vote distribution


CDF (100%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
I think C, D and F are correct.
upvoted 12 times

 
ama
1 year, 11 months ago
D seems a legit answer..

https://docs.oracle.com/en/database/oracle/oracle-database/12.2/rilin/shared-server-configuration-for-an-oracle-rac-database.html#GUID-
2EFBA08D-FEEE-407F-BC42-E548DA946DF9
upvoted 2 times

 
yarsalan
Most Recent 
5 months ago
D is incorrect. Standalone Oracle databases perform load balancing by distributing connections among the shared server dispatcher processes.

Check out https://docs.oracle.com/en/database/oracle/oracle-database/19/rilin/shared-server-configuration-for-an-oracle-rac-


database.html#GUID-2EFBA08D-FEEE-407F-BC42-E548DA946DF9
upvoted 1 times

 
Kira_Sat
5 months, 2 weeks ago
Selected Answer: CDF
Correct Answer : C,D and F
upvoted 2 times

 
adozoo
6 months, 2 weeks ago
CDF is right!!!
upvoted 1 times

 
elvegaa
1 year, 7 months ago
C, D & F
upvoted 3 times

 
you1234
1 year, 11 months ago
ama, Please suggest suitable answer
upvoted 1 times

 
ama
1 year, 11 months ago
C, D, F
upvoted 6 times

 
you1234
1 year, 11 months ago
A & C & F is correct answer
upvoted 2 times

 
ama
1 year, 11 months ago
A is wrong…

Connect-Time Failover is a feature of local naming method, and can be easily set up by adding a tns entry into tnsnames. ora file on the client
machine, then the client can connect to the second database (listener) if the first database (listener) cannot be connected

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 5/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 5 times

 
elvegaa
1 year, 7 months ago
A is wrong.

Connect-Time Failover involves not yet connected sessions to failover a different address in case the first attempt is unreacheble.

Transparent Application Failover involves sessions already connected in the database, to failover to the next address when the session is
terminated.

Pretty similar, but not dependent. You can have a configuration with ConnectTime Failover but not Transparent Application Failover
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 6/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #4 Topic 1

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.)

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

Correct Answer:
BC

 
you1234
Highly Voted 
1 year, 11 months ago
C & F is correct
upvoted 14 times

 
Aramazd
Most Recent 
2 months, 2 weeks ago
F cannot be correct

oracle@localhost ~]$ cat date_format.sql

alter session set NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS' ;

select current_timestamp from dual ;

select current_date from dual ;

[oracle@localhost ~]$ sqlplus system/oracle @date_format.sql

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Apr 6 04:41:16 2022

Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Last Successful login time: Wed Apr 06 2022 04:41:01 -04:00

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production


Version 19.3.0.0.0

Session altered.

CURRENT_TIMESTAMP

---------------------------------------------------------------------------

06-APR-22 04.41.16.562674 AM -04:00

CURRENT_DATE

--------------------

06-APR-2022 04:41:16
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
F cannot be correct:

[oracle@localhost ~]$ cat date_format.sql

alter session set NLS_DATE_FORMAT is set to 'DD-MON-YYYY HH24:MI:SS' ;

select current_timestamp from dual ;

select current_date from dual ;

[oracle@localhost ~]$ sqlplus system/oracle @date_format.sql

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 7/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Apr 6 04:39:17 2022

Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Last Successful login time: Wed Apr 06 2022 04:38:02 -04:00

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production


Version 19.3.0.0.0

alter session set NLS_DATE_FORMAT is set to 'DD-MON-YYYY HH24:MI:SS'

ERROR at line 1:

ORA-00927: missing equal sign

CURRENT_TIMESTAMP

---------------------------------------------------------------------------

06-APR-22 04.39.18.153607 AM -04:00

CURRENT_D
---------

06-APR-22
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
C,F is correct
upvoted 2 times

 
alimdyahoo
5 months, 3 weeks ago
Current_date is session specific, Current_timestamp is also session specific with zone and sysdate is operating system date . So only left with Valid
choice B and C
upvoted 1 times

 
alimdyahoo
5 months, 3 weeks ago
oops my mistake . C and F are only valid choices. So C and F are correct
upvoted 1 times

 
eyildiz
8 months, 4 weeks ago
I think A and C are correct.

SQL> ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH24:MI:SS';

SQL> select sysdate,current_date,current_timestamp from dual;

SYSDATE CURRENT_DATE CURRENT_TIMESTAMP

-------------------- -------------------- ---------------------------------------------------------------------------

28-SEP-2021 14:32:48 28-SEP-2021 14:32:48 28-SEP-21 02.32.48.201457 PM +03:00

https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions172.htm

https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions036.htm

https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions037.htm
upvoted 2 times

 
DarrenChenSHCMB
7 months, 1 week ago
AC is correct
upvoted 1 times

 
kawsar
10 months, 2 weeks ago
SQL> set serveroutput on

SQL> declare

2 ld date;

3 begin

4 ld:=sysdate;

5 dbms_output.put_line(ld);

6 end;

7 /

08-AUG-2021 15:12:35
upvoted 2 times

 
kawsar
10 months, 2 weeks ago
ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH24:MI:SS';

select current_timestamp from dual;

select current_date from dual;

select sysdate from dual;

08-AUG-21 02.00.13.303335 AM US/PACIFIC

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 8/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

08-AUG-2021 02:00:15

08-AUG-2021 09:00:17

Now check the answers!!!!


upvoted 2 times

 
mianjee
11 months ago
B and C are correct!
upvoted 1 times

 
Ekos
1 year, 8 months ago
the correct answer is should be A and F
upvoted 1 times

 
Ekos
1 year, 7 months ago
sorry CF is the correct one
upvoted 6 times

 
ama
1 year, 11 months ago
so corrects are C , F
upvoted 3 times

 
ama
1 year, 11 months ago
E is also wrong becuase sysdate Displays only date
upvoted 1 times

 
danito
1 year, 10 months ago
if you read the question "where nls_date_format is set to ...."

I have done this and this is the result:

SQL> ALTER SESSION SET NLS_DATE_FORMAT = 'DD-MON-YYYY HH24:MI:SS';

Sesion modificada.

SQL> select sysdate from dual;

SYSDATE

--------------------

17-AGO-2020 17:59:34

SQL> select current_date from dual;

CURRENT_DATE

--------------------

17-AGO-2020 17:59:53

maybe E is correct
upvoted 1 times

 
ama
1 year, 11 months ago
A is wrong becuase sysdate Displays only date but not the time.
upvoted 1 times

 
elvegaa
1 year, 7 months ago
SYSDATE also shows time if you change the date display format to include it.

However, A is wrong because SYSDATE shows database resident OS date&time while CURRENT_TIMESTAMP shows session date&time. Different
time zones can affect the result.
upvoted 2 times

 
you1234
1 year, 11 months ago
A is wrong because it displaying the fractional with timezone. hence its looks wrong.

https://www.w3resource.com/oracle/datetime-functions/oracle-current_timestamp-function.php
upvoted 1 times

 
elvegaa
1 year, 7 months ago
Not because of this, but because SYSDATE shows database resident OS date&time while CURRENT_TIMESTAMP shows session date&time.
Different time zones can affect the result.
upvoted 3 times

 
ama
1 year, 12 months ago
B is wrong, see below:

SQL> select sysdate from v$instance;

SYSDATE

--------

25.06.20

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 9/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 4 times

 
NowOrNever
1 year, 11 months ago
but only works as sysdba !
upvoted 1 times

 
elvegaa
1 year, 7 months ago
It was just an example. You can use any table
SYSDATE is a built-in SQL function available for all users. You can use it anywhere you can use it as any other built-in SQL function.

Ex.

insert into mytable values (..., sysdate, ...);


upvoted 2 times

 
ama
1 year, 11 months ago
and ? it has Nothing to do with this question
upvoted 2 times

 
danito
2 years ago
I think C F
upvoted 3 times

 
danito
2 years ago
Sorry A C

https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions172.htm

https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions037.htm
upvoted 1 times

 
elvegaa
1 year, 7 months ago
A is wrong.

SYSDATE - returns the current date and time set for the operating system on which the database resides

CURRENT_TIMESTAMP - returns the current date and time in the session time zone

If you have a different time zone set in your session than the time zone set in the database's OS, time will be different
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 10/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #5 Topic 1

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

Correct Answer:
A

Reference:

https://docs.oracle.com/database/121/ADMIN/undo.htm#ADMIN11478

(16.7)

Community vote distribution


E (100%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
E is correct answer.
upvoted 15 times

 
NowOrNever
1 year, 11 months ago
I would agree

http://www.dba-oracle.com/t_temp_undo_enabled.htm
upvoted 1 times

 
ama
1 year, 11 months ago
Good hint, i think you have Right !

Oracle database 12c Release 1 (12.1) introduced the concept of temporary undo, allowing the undo segments for global temporary tables to be
stored in the temporary tablespace. This allows global temporary tables to be used in physical standby databases and read-only databases, as
well as removing the need to create redo.
upvoted 5 times

 
adoptc94
Highly Voted 
1 year, 10 months ago
Funny how the reference they put up supports answer E and not answer A:

16.7 Managing Temporary Undo

By default, undo records for temporary tables are stored in the undo tablespace and are logged in the redo, which is the same way undo is
managed for persistent tables. However, you can use the TEMP_UNDO_ENABLED initialization parameter to separate undo for temporary tables
from undo for persistent tables. When this parameter is set to TRUE, the undo for temporary tables is called temporary undo.

16.7.1 About Managing Temporary Undo

Temporary undo records are stored in the database's temporary tablespaces and thus are not logged in the redo log. When temporary undo is
enabled, some of the segments used by the temporary tablespaces store the temporary undo, and these segments are called temporary undo
segments.

Reference: https://docs.oracle.com/database/121/ADMIN/undo.htm#ADMIN11479

The correct answer is: E


upvoted 7 times

 
Soiram
Most Recent 
3 months, 3 weeks ago
Selected Answer: E
...with temporary undo enabled.
upvoted 1 times

 
emburria
5 months ago
Selected Answer: E
E-->Temporary undo records are stored in the database's temporary tablespaces and thus are not logged in the redo log. When temporary undo is
enabled, some of the segments used by the temporary tablespaces store the temporary undo, and these segments are called temporary undo
segments.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 11/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
ryuah
5 months, 2 weeks ago
E is correct
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
E is correct
upvoted 1 times

 
elvegaa
1 year, 7 months ago
Who's marking the right answers? They're almost all wrong!

A is wrong, E is the right one. The same reference supports the E answer
upvoted 4 times

 
Ekos
1 year, 8 months ago
E is the correct answer

Temporary undo records are stored in the database's temporary tablespaces and thus are not logged in the redo log
upvoted 1 times

Question #6 Topic 1

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

One of the columns must meet three requirements:

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

2. Store a loan period of up to 10 years

3. 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

Correct Answer:
B

 
thuto
1 month, 1 week ago
It is B... :)
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B is correct
upvoted 1 times

 
ty_1
1 year, 2 months ago
yes B is correct one
upvoted 1 times

 
khizar782
1 year, 2 months ago
Correct Answer is B.

Since the third requirement for banking application is

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

So, Data Type 'INTERVAL DAY TO SECOND' must be used to calculate duration in number of days.
upvoted 1 times

 
pr0glnx
1 year, 7 months ago
Yes: B'
upvoted 2 times

 
Ekos
1 year, 8 months ago
agree, b is the correct answer
upvoted 4 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 12/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #7 Topic 1

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:

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

Correct Answer:
C

Reference:

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

Community vote distribution


B (50%) C (50%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
Answer is B.
upvoted 17 times

 
NowOrNever
1 year, 11 months ago
I would agree

Dynamic service registration does not require any manual configuration in the listener.ora file.
upvoted 1 times

 
SimoneF
1 year, 7 months ago
I disagree: the manual configuration to which the documentation refers is intended to be "configuration [relative to dynamic registration]".

But the listener has to be defined in the listener.ora nonetheless, as stated in the same document:

"Synchronization occurs when the protocol address of the listener is specified in the listener.ora file and the location of the listener is
specified in the initialization parameter file."
upvoted 1 times

 
Muhab
Highly Voted 
1 year, 10 months ago
Answer is B.

The listener forwards client requests to supported services. These services are dynamically registered with the listener. This dynamic registration
feature is called service registration. The registration is performed by the Listener Registration (LREG) process. Dynamic service registration does
not require any manual configuration in the listener.ora file.

Reference:

https://docs.oracle.com/database/121/NETAG/listenercfg.htm#NETAG292
upvoted 7 times

 
elvegaa
1 year, 7 months ago
You DO need to define the listener in the listener.ora file if you're using an alias, however you don't define the instances registered in the
_SID_LIST argument.
upvoted 4 times

 
SimoneF
1 year, 7 months ago
Exactly, if the listener specified as local_listener is not configured, the service cannot be registered there.
upvoted 2 times

 
joseank
Most Recent 
1 month, 3 weeks ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 13/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

B is a true statement, if you dont define a service name in the listener then it listens to every request (that's what a dynamic service registration
means)

HOWEVER!!!

C is the correct answer, the listener MUST be defined in the listener.ora file in order for a listener to work, not in the tnsnames file, since tnsnames
its only used for aliases.

You can check multiple sources, for example: https://docs.oracle.com/database/121/NETAG/listenercfg.htm#NETAG292


upvoted 2 times

 
Franky_T
2 months, 1 week ago
Selected Answer: B
Dynamic service registration is configured in the database initialization file. It does not require any configuration in the listener.ora file. However,
listener configuration must be set to listen on the ports named in the database initialization file, and must not have parameters set that prevent
automatic registration, such as COST parameters.

By default, the LREG process registers service information with its local listener on the default local address of TCP/IP, port 1521. If the listener
configuration is synchronized with the database configuration, then LREG can register service information with a nondefault local listener or a
remote listener on another node.

Ref: https://docs.oracle.com/en/database/oracle/oracle-database/19/netag/configuring-and-administering-oracle-net-listener.html#GUID-
A7F49477-1F13-49E7-9B23-9A50A4627862
upvoted 1 times

 
Datajimm
3 months, 3 weeks ago
Selected Answer: C
The default listener name is LISTENER. If you want to use LISTENER_1, it must be defined in LISTENER.ORA

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/netag/configuring-and-administering-oracle-net-listener.html#GUID-
A3263EB4-C3F2-4529-ABC2-ADE749114D33
upvoted 1 times

 
emburria
5 months ago
B. No configuration in listener.ora is needed. Also the name of the listener can be whatever we want.... in tnsnames is an alias.....
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B is correct
upvoted 1 times

 
adozoo
6 months, 2 weeks ago
Answer is B.
upvoted 1 times

 
nyale
9 months, 2 weeks ago
The local_listener service name, address or address list is must be specified in the tnsnames.ora file or you will get an ORA-00119 error. So answer
is C
upvoted 1 times

 
nobody347
1 year ago
Answer is C 100%

I create Listener_1 in tnsnames.ora and didn't put information about it in listener.ora, when i start Listener_1 it was failed because TNS-01151 ;
Missing listener name, Listener_1, in listener.ora.
upvoted 5 times

 
yukclam9
1 year, 2 months ago
I think is B - setting local_listener or remote_listener will enable dynamic registration ie. LREG will do its job. Failing to find a valid listener is a
separate matter.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 14/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #8 Topic 1

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

A.
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

Correct Answer:
CFG

Community vote distribution


CDF (100%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
C, D and F. Answer A is wrong, it says - "All tablespaces may have one or more data files", but bigfile tablespaces can have only one datafile.
upvoted 11 times

 
nyale
9 months, 2 weeks ago
They said one or more!!! so a bigfile can have one and this makes A correct because one more is >=1
upvoted 3 times

 
algerianphoenix
1 month, 1 week ago
Nope, "Not All tablespaces might have one or more data files", this is one of question when they play with your logic and common sense, I
fell into the same logic as yours, before I negate the question.
upvoted 1 times

 
ama
1 year, 10 months ago
what you think About this Information :

Smallfile tablespaces can contain up to 1024 files, but bigfile tablespaces contain only one file that can be 1024 times larger than a smallfile
tablespace.

https://web.stanford.edu/dept/itss/docs/oracle/10gR2/server.102/b14220/physical.htm
upvoted 1 times

 
adoptc94
1 year, 10 months ago
It's just like Rivaldo11 said, not all tablespaces may have one or more data files! Bigfile tablespaces can only have ONE datafile (which can be
and in most cases are much bigger in size than smallfile datafiles) - as stated in your statement.

A is definitely incorrect!

My picks would also be C, D and F


upvoted 4 times

 
Darkseid1231
Most Recent 
3 weeks ago
AMA, what is the correct answer please ?

D & F i'm sure


upvoted 1 times

 
Franky_T
2 months, 1 week ago
Selected Answer: CDF
A is wrong. Because bigfile tablespaces may have only one datafile

B is wrong. Because if a tablespace has more than one datafile then the extents of the segment can be in any one or all of the data files. Remember
that tablespaces are LOGICAL objects and the segment lives in the logical object, regardless of which file the extent exists on.

C is correct. Smallfile tablespaces may have many datafiles that collectively exceed the the size of the datafile that is in the bigfile tablespace

D is correct. The opposite of option B. A tablespace is a logical object made up of one or more datafiles. With locally managed tablespaces the
server will decide where the next extent allocation should be done for a segment

E is wrong. A segment must have all it's extents in the same tablespace, and block size is defined at tablespace level

F is correct. If a segment has row pieces that collectively are less than or equal to the total storage requirement of one extent then the segment will
have only one extent allocated to it

G is wrong. A segment can reside in one tablespace only


upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 15/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
Aramazd
2 months, 2 weeks ago
A segment belongs only to one tablespace, but a segment's extents might span on different Datafiles of a tablespace.

That's why I vote for B C D


upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
G is wrong because

Each segment belongs to one and only one tablespace. Thus, all extents for a segment are stored in the same tablespace. Within a tablespace, a
segment can include extents from multiple data files, as shown in Figure 12-2. For example, one extent for a segment may be stored in users01.dbf,
while another is stored in users02.dbf. A single extent can never span data files.
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
A segment can have several extents:

Segments

The level of logical database storage above an extent is called a segment. A segment is a set of extents that have been allocated for a specific type
of data structure, and that all are stored in the same tablespace. For example, each table's data is stored in its own data segment, while each
index's data is stored in its own index segment.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
C,D,F is correct

but I think A can also be the answer.


upvoted 1 times

 
adozoo
6 months, 2 weeks ago
Answer is C D F
upvoted 1 times

 
fadal
7 months, 1 week ago
A Is Correct

Each tablespace in an Oracle database consists of one or more files called datafiles, which are physical structures that conform to the operating
system in which Oracle is running.

https://docs.oracle.com/cd/B19306_01/server.102/b14220/physical.htm
upvoted 1 times

 
fadal
7 months, 1 week ago
B is absolutely Correct

each extent can contain data from only one datafile.

https://docs.oracle.com/cd/B19306_01/server.102/b14220/logical.htm
upvoted 1 times

 
Datajimm
3 months, 3 weeks ago
It says "The extents of a segment", and I understand that as "all the extents of a segment" must reside in the same datafile. And that is not true.
upvoted 1 times

 
fadal
7 months, 1 week ago
F is wrong

Oracle allocates another extent for that segment. Because extents are allocated as needed.

https://docs.oracle.com/cd/B19306_01/server.102/b14220/logical.htm
upvoted 1 times

 
Datajimm
3 months, 3 weeks ago
It says "might", in other words "it is possible" to have a segment with a single extent. That is true.
upvoted 1 times

 
fadal
7 months, 1 week ago
A segment is a set of extents, each of which has been allocated for a specific data structure and all of which are stored in the same tablespace

https://docs.oracle.com/cd/B19306_01/server.102/b14220/logical.htm
upvoted 1 times

 
Borislone
1 year, 3 months ago
G is wrong because segments is in plural and tablespaces is also in plural
upvoted 2 times

 
Borislone
1 year, 3 months ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 16/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

I read it again A is wrong because of "All tablespaces", the answer implies that all tablespace could have one datafile and that is a no no
upvoted 1 times

 
Manokim21
1 year, 3 months ago
The wording is confusing.. It says "may have one or more" right.. So it's like implying All tablespace should have a datafile (either one or more)
and no tablespace can be created without a datafile something like that?
upvoted 1 times

 
Borislone
1 year, 3 months ago
A is correct

https://docs.oracle.com/cd/B19306_01/server.102/b14220/physical.htm#:~:text=A%20tablespace%20in%20an%20Oracle,required%20for%20the%2
0file%20header.
upvoted 2 times

 
SimoneF
1 year, 7 months ago
The wording used is misleading, but I think there are some safe points:

A - Wrong: not all tablespaces may have more than one datafile, since bigfile tablespaces can only have one.

B - Wrong: Extents of the same segments can be on different datafiles, no doubts here.

C - Right: A bigfile tablespace could very well be 100MB, and a smallfile tablespace span multiple GB datafiles. So no dobuts here either.

E - Wrong: A segment resides on a single tablespace and block size is consistent across a tablespace, so no dobuts here as well.

F - Mostly right: wording is ambiguous but I dare say it's possible for a segment to have only one extent. I'm inclined to think that it would have
been different if it said "A segment might only have one extent". But I'm not a native English speaker, so a grain of salt here.

D and G are, for me, the trickiest but, the more I read, the more I'm actually convinced that D is wrong and G means that different segments can be
on different tablespace, which would clearly be true. So maybe this time, in the end, the marked answers are correct and it is CFG.
upvoted 3 times

 
elbelgounetos
1 year, 3 months ago
G is wrong see https://www.slideshare.net/ImranAli102/less05-storage slide 3.

A segment is tied to a tablespace.


upvoted 1 times

 
Phat
1 year, 5 months ago
I think D is correct. segment can span multiple datafiles in "some" tablespaces. But in others tablespaces, segment can only on 1 datafile.

G could be wrong. the wording is only "segments" not "different segments". in 1 tablespace, we have "segments" and they only stay on 1
tablespace.
upvoted 2 times

 
leozanon94
10 months ago
Exactly, G is absolutely wrong. D is right cause you can have a smallfile TBL (with more data files) or a bigfile TBL (with only one data file).

Oracle documentation:

"Oracle Database physically stores tablespace data in data files. Tablespaces and data files are closely related, but have important differences:

- Each tablespace consists of one or more data files, which conform to the operating system in which Oracle Database is running.

- The data for a database is collectively stored in the data files located in each tablespace of the database.

- A segment can span one or more data files, but it cannot span multiple tablespaces.

- A database must have the SYSTEM and SYSAUX tablespaces. Oracle Database automatically allocates the first data files of any database for
the SYSTEM tablespace during database creation."

https://docs.oracle.com/cd/E11882_01/server.112/e40540/physical.htm#CNCPT403
upvoted 1 times

 
Phat
1 year, 5 months ago
I read again and again, seem SimoneF is correct.
upvoted 1 times

 
Ekos
1 year, 8 months ago
ACF is the correct answer
upvoted 2 times

 
SimoneF
1 year, 7 months ago
A is wrong, BIGFILE tablespaces may only have one datafile.
upvoted 1 times

 
pr0glnx
1 year, 7 months ago
F: false

A segment almost always have many extents


upvoted 1 times

 
SimoneF
1 year, 7 months ago
"Almost" is key here. The question asks if a segment "might" have only one extents, not if it's limited to one. I think it's just a misleading
wording, but F it's actually true.
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 17/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #9 Topic 1

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

Correct Answer:
DE

 
Sharif1
Highly Voted 
1 year, 10 months ago
DE provided answer's are correct.
upvoted 11 times

 
Ekos
1 year, 6 months ago
agree, DE are correct
upvoted 3 times

 
Aramazd
Most Recent 
2 months, 2 weeks ago
DE I agree too
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
D,E is correct
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 18/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #10 Topic 1

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

Correct Answer:
ACD

Community vote distribution


ACF (100%)

 
Abhirup
Highly Voted 
1 year, 10 months ago
A,C,F correct
upvoted 8 times

 
NiciMilo
Highly Voted 
1 year, 10 months ago
i think A, C and F

D is wrong

Ref: https://docs.oracle.com/cd/B28359_01/server.111/b28310/manproc001.htm#ADMIN11168

An ***idle shared server process picks up*** the virtual circuit from the common queue
upvoted 5 times

 
Franky_T
Most Recent 
2 months, 1 week ago
Selected Answer: ACF
A is correct. All dispatchers are required to write incoming requests to a common response queue, which the (idle) shared server processes will
monitor and pick up.

B is wrong. Each dispatcher has it's own response queue.

C is correct. This is the main purpose of dispatchers in a shared server architecture.

D is wrong. Connection input requests are handled by the listener and, shared server processes do not have their own input queues, they monitor
the common input queue.

E is wrong. Shared server responses cannot be broadcasted to all connections.

F is correct. Shared server responses must be sent back to the requester on it's own connection.

Reference:

https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/application-and-networking-architecture.html#GUID-EC8F8778-02B7-4CF9-
9E6F-A5D88C777235
upvoted 2 times

 
Aramazd
2 months, 2 weeks ago
So correct answers can only be C D F
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
A is wrong too because the dispatcher does not writes inbounds requests from shared servers.
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
E is wrong because the concept of a broadcast does not exist in this mechanism.
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
B is wrong because there is no common response queue. Instead each dispatcher has it's own queue.
upvoted 1 times

 
brolem
10 months, 3 weeks ago
I think C, D, F, only because of the wording. "A" states " common request queue FROM all shared server connections". The dispatches send
requests TO shared server connections. The send responses FROM the shared server connections.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 19/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #11 Topic 1

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 &&

Correct Answer:
AD

Community vote distribution


CE (100%)

 
danito
Highly Voted 
2 years ago
C D correct anwers
upvoted 8 times

 
elbelgounetos
1 year, 3 months ago
If guess D is a trap. If you use DEFINE and you're not using the variable, it'll never be displayed with SET VERIFY ON.

Example :

set verify on

DEFINE dummy_char = 'X'

SELECT * FROM dual


upvoted 3 times

 
Franky_T
Most Recent 
2 months, 1 week ago
Selected Answer: CE
The SET VERIFY ON command will enable the display of any substitution variable used in our last executed SQL statement. When you use the
DEFINE clause to create a variable, and the variable is not used in the next SQL statement then that variable will not be "shown" by the SET VERIFY
command. Oh, and the command is available in all apps that allow the execution of SQL language against your database.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
C,E is correct
upvoted 1 times

 
yukclam9
1 year, 2 months ago
C,E. D is not correct because 'define' as a individual command will not trigger the prompt. Only when defined variable is used with & or && the
verify on thing will take effect.
upvoted 3 times

 
SimoneF
1 year, 7 months ago
This is impossible, I just tested the behaviour to be sure and, unsurprisingly, I confirmed that C-D-E seems to be true, thus invalidating A:
upvoted 1 times

 
SimoneF
1 year, 7 months ago
E - It works on && prefixed variables:

SQL> set verify off

SQL> select employee_id from hr.employees where employee_id =&&emp;

Immettere un valore per emp: 200

EMPLOYEE_ID

-----------

200

SQL> undefine emp

SQL> set verify on

SQL> select employee_id from hr.employees where employee_id =&&emp;

Immettere un valore per emp: 200

vecchio 1: select employee_id from hr.employees where employee_id =&&emp

nuovo 1: select employee_id from hr.employees where employee_id =200

EMPLOYEE_ID

-----------

200

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 20/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

So, either there are 3 answers instead of (and different from) the 2 suggested, or I'm seriously missing something here.
upvoted 2 times

 
Guhborges
7 months, 3 weeks ago
Simone, you are missing something here! SET VERIFY does not display values for variables created by the DEFINE command, it shows the
corresponding values of the variables we are currently using. If you don't use the create by define variable, you won't be able to see the
value of DEFINE.
upvoted 3 times

 
SimoneF
1 year, 7 months ago
D - It works for variables created via DEFINE:

SQL> set verify off

SQL> define emp = 200;

SQL> select employee_id from hr.employees where employee_id = &emp;

EMPLOYEE_ID

-----------

200

SQL> set verify on

SQL> select employee_id from hr.employees where employee_id = &emp;

vecchio 1: select employee_id from hr.employees where employee_id = &emp

nuovo 1: select employee_id from hr.employees where employee_id = 200

EMPLOYEE_ID

-----------

200
upvoted 1 times

 
SimoneF
1 year, 7 months ago
C: It works on SqlDevelope 3.22, so it's not even a new functionality.
upvoted 1 times

 
esarregui
1 year, 7 months ago
Answer: C + ¿D or E?

SQL> set verify on

SQL> select &&x from dual;

Enter value for x: dummy

old 1: select &&x from dual

new 1: select dummy from dual

SQL> set verify on

SQL> define y='dummy';

SQL> select &y from dual;

old 1: select &y from dual

new 1: select dummy from dual

X
upvoted 1 times

 
Chansi
1 year, 10 months ago
Did u check if it works on sql developer? It doesn’t work on toad. I tested
upvoted 1 times

 
adoptc94
1 year, 9 months ago
If works in SQL Developer, there are also some YouTube Tutorials that show the command using SQL Developer.
upvoted 1 times

 
you1234
1 year, 11 months ago
C & E is correct
upvoted 2 times

 
ama
1 year, 10 months ago
i agree, E is working:

SQL> set verify off

SQL> select &&var from dual;

Geben Sie einen Wert fur var ein: sysdate

SYSDATE

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 21/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

--------

04.08.20

SQL> set verify on

SQL> select &&var from dual;

alt 1: select &&var from dual

neu 1: select sysdate from dual

SYSDATE

--------

04.08.20
upvoted 1 times

 
NowOrNever
1 year, 11 months ago
why not E?

SET VERIFY ON

UNDEFINE dummy_number;

SELECT employee_id, job_id FROM employees where EMPLOYEE_ID = &&dummy_number;

-- working, he just asks for an input (like 206)

i agree with C, but unsure between D and E


upvoted 2 times

 
ama
1 year, 11 months ago
E is wrong… look at below example, the variable was disaplyed even without using set verify on!

SQL> SELECT owner , TABLE_NAME FROM DBA_TABLES where table_name = '&&dummy_number';

Geben Sie einen Wert fur dummy_number ein: DUAL

alt 1: SELECT owner , TABLE_NAME FROM DBA_TABLES where table_name = '&&dummy_number'

neu 1: SELECT owner , TABLE_NAME FROM DBA_TABLES where table_name = 'DUAL'

OWNER

--------------------------------------------------------------------------------

TABLE_NAME

--------------------------------------------------------------------------------

SYS

DUAL
upvoted 1 times

 
adoptc94
1 year, 9 months ago
that's because SET VERIFY ON is the default. If you don't specify SET VERIFY OFF it will use SET VERIFY ON
upvoted 3 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 22/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #12 Topic 1

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

Correct Answer:
BDE

Community vote distribution


BEF (100%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
B, E and F
upvoted 15 times

 
ama
1 year, 11 months ago
Good Hint
upvoted 1 times

 
escoletsgo1
Highly Voted 
1 year, 9 months ago
B, E, F
upvoted 6 times

 
Franky_T
Most Recent 
2 months, 1 week ago
Selected Answer: BEF
When you are doing a self-join, keep in mind that you are joining two "individual" data sets. There exists no restriction within Oracle that forces you
to use an ON clause join rather than a WHERE clause join, or an INNER join versus an OUTER join.
upvoted 1 times

 
Datajimm
3 months, 3 weeks ago
Selected Answer: BEF
a) false: you can use WHERE clause instead

b) true: otherwise it reports ORA-00918

c) false: can be any condition

d) false: can be any join

e) true: can be used, but not necessary

f) true: can be any join


upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B,E,F is correct
upvoted 1 times

 
flaviogcmelo
1 year, 1 month ago
I would like to understand why the ON clause "can" instead of "must" be used? My answer was A, B and F.
upvoted 2 times

 
nobody347
1 year, 1 month ago
u can make self join using WHERE
upvoted 1 times

 
saif_alrwiliy
1 year, 10 months ago
Actually the Self Join CAN be the A, C and D. The word MUST makes the question wrong.
upvoted 2 times

 
avanand
1 year, 10 months ago
B, D , E looks correct.

I don't think self join can be outer.


upvoted 3 times

 
adoptc94
1 year, 9 months ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 23/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

The correct answers should be B, E and F a self join can also be an outer join.

There is no difference for self joins. A self join is just two tables being joined. They just happen to be two copies of the same data
upvoted 3 times

 
elvegaa
1 year, 7 months ago
Self outer joins are also possible, and plausible.

Figure a table with employees like:

id name boss

-- ----------- -------------

1 John NULL

2 Paul 1

3 Scott 1

4 Kate 3

You can build a self outer join to retrieve a list of employees names and their bosses names, if any.
upvoted 2 times

Question #13 Topic 1

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 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;

Correct Answer:
B

Community vote distribution


B (100%)

 
avanand
Highly Voted 
1 year, 10 months ago
B is correct
upvoted 8 times

 
Datajimm
Most Recent 
3 months, 3 weeks ago
Selected Answer: B
single & prompts for input for every run

double && prompts for input only on the first run


upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B is correct
upvoted 1 times

 
baeji
1 year, 6 months ago
B is correct
upvoted 2 times

 
adoptc94
1 year, 9 months ago
Correct answer: B

Tested in SQL-Developer, col1, col2 and condition will be prompted everytime, while table will only be prompted the first time you execute this
statement
upvoted 4 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 24/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #14 Topic 1

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?

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_%';

Correct Answer:
A

 
NowOrNever
Highly Voted 
1 year, 7 months ago
there is no valid answer here

correct would be (followed by at least two characters):

SELECT * FROM EMPLOYEES WHERE FIRST_NAME LIKE 'D__%';

but A is the most correct


upvoted 8 times

 
SimoneF
1 year, 7 months ago
I assume there's been some issue with copy-pasting the text, and the first ' as been replaced with "~

I think it's supposed to be A anyway, but you're certainly correct that they're all wrong written as they are.
upvoted 2 times

 
elvegaa
1 year, 7 months ago
You're right. Also, there's no valid answer because double quotes are used in the LIKE clause
upvoted 3 times

 
Ekos
Highly Voted 
1 year, 8 months ago
yes, A is the correct answer
upvoted 7 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
No correct answer here, the correct SQL query would be:

SELECT * FROM EMPLOYEES WHERE FIRST_NAME LIKE 'D__%';

Notice there 2 underscores;


upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 25/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #15 Topic 1

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.

E.
The file is renamed and stored in the same location

Correct Answer:
AB

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
I would say A and E.
upvoted 20 times

 
NowOrNever
1 year, 11 months ago
Yes, BCD is wrong

D - like in the posted link descirbed

it will be moved to DB_CREATE_FILE_DEST location only, when TO is omitted

So AE is correct
upvoted 4 times

 
khalilshahin01
Highly Voted 
1 year, 11 months ago
answer is A & E

Queries and DML and DDL operations can be performed while the data file is being moved, for example:

1-SELECT statements against tables and partitions

2-Creation of tables and indexes

3- Rebuilding of indexes

Other notes:

1- If objects are compressed while the data file is moved, the compression remains the same.

2- You do not have to shut down the database or take the data file offline while you move a data file to another

location, disk, or storage system.

3- You can omit the TO clause only when an Oracle-managed file is used. In this case, the

DB_CREATE_FILE_DEST initialization parameter should be set to indicate the new location.

4-If the REUSE option is specified, the existing file is overwritten.

note: The REUSE keyword indicates the new file should be created even if it already exists.

5-If the KEEP clause is specified, the old file will be kept after the move operation. The KEEP clause is not allowed

if the source file is an Oracle-managed file.


upvoted 11 times

 
cratostt
Most Recent 
2 months, 3 weeks ago
The is no rename in move datafile. The only options are A,B
upvoted 1 times

 
emburria
5 months ago
A, E. It's an online operation
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,E is correct
upvoted 1 times

 
gabriel3600
1 year ago
A and E
upvoted 2 times

 
Ekos
1 year, 6 months ago
the answer is A and E
upvoted 4 times

 
SimoneF
1 year, 7 months ago
https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 26/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

It's funny how A and B are actually contradicting one another... if the datafile is Read Only, how can you execute any DML on tables residing there?

Considering the ability of renaming datafiles online from 12c, I would say the more correct answers are A and E.

D is wrong because, evn with OMF, you can still force the creation of a datafile with a custom name on filesystem if you give the full path. If you
only gave the file name, on the contrary, it would in fact create the new datafile on the default location.
upvoted 3 times

 
elvegaa
1 year, 7 months ago
For old folks, note that "ALTER DATABASE MOVE..." syntax replaces "ALTER DATABASE RENAME..." (pre-12c era), so is no longer to set the
tablespace offline and DML operations can be performed.
upvoted 3 times

 
avanand
1 year, 10 months ago
A E

ALTER DATABASE MOVE DATAFILE ( 'filename' | 'ASM_filename' | file_number )

[ TO ( 'filename' | 'ASM_filename' ) ]

[ REUSE ] [ KEEP ]

The source file can be specified using the file number or name, while the destination file must be specified by the file name.

The REUSE keyword indicates the new file should be created even if it already exists.

The KEEP keyword indicates the original copy of the datafile should be retained.

When the source file is an OMF file the KEEP option can not be used.

If the destination file is an OMF file, the TO clause can be omitted and the file will be created with

an OMF name in the DB_CREATE_FILE_DEST location.


upvoted 8 times

 
you1234
1 year, 12 months ago
ama,

which one is correct? Plase suggest


upvoted 1 times

 
ama
1 year, 11 months ago
I would take A, D

See below https://oracle-base.com/articles/12c/online-move-datafile-12cr1


upvoted 2 times

 
NiciMilo
1 year, 11 months ago
Why D but not E?

if it were OMF, i think we dont need the TO clause


upvoted 2 times

 
elvegaa
1 year, 7 months ago
But in the question they're defining a destination in the TO clause, hence the datafile would be created in that destination, not in the OMF
destination.
upvoted 3 times

 
SimoneF
1 year, 7 months ago
I agree, and so I also think it's A and E
upvoted 3 times

 
ama
2 years ago
Why B is correct ? according to the Oracle documentation, Move Option is new and only possible in 12c and can be executed ONLINE without
taking anything offline

https://oracle-base.com/articles/12c/online-move-datafile-12cr1
upvoted 2 times

 
danito
2 years ago
B D correct options
upvoted 1 times

 
danito
2 years ago
https://oracle-base.com/articles/12c/online-move-datafile-12cr1
upvoted 1 times

 
danito
1 year, 10 months ago
I agree with you A E
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 27/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #16 Topic 1

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

Correct Answer:
ABF

Community vote distribution


ADF (100%)

 
dotruonghan
Highly Voted 
1 year, 11 months ago
• Answer A is RIGHT: Oders is Parent table with PRIMARY KEY ord_no, Order_items is child table which ord_no is REFERENCE KEY that reference
ord_no of Parent table, now drop PRIMARY KEY on Orders by command: ALTER TABLE orders DROP COLUMN ORD_NO CASCADE CONSTRAINTS;

• Answer D is RIGHT: ORA-12984: cannot drop partitioning column

• Answer F is RIGHT: Unused Columns Count against 1000-column Table Limit Causing ORA-01792 on Compressed Table (Doc ID 2259600.1) and
"ORA-01792: Maximum Number Of Columns In A Table Or View Is 1000" AND HIDDEN_COLUMN name is recreated with date and timestamp (Doc
ID 2624150.1)
upvoted 16 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
It should be A, D and F.
upvoted 7 times

 
NowOrNever
1 year, 11 months ago
i think so too

F is true - i tested it

BC are false

A is true, but you have to add it to

ALTER TABLE <table_mame> SET unused (<column_name>) CASCADE CONSTRAINTS;

before you drop unused constraints

E should be wrong, could not find a way to undo this with roll back, this seems already the case if it is set to unused
upvoted 2 times

 
mitosenoriko
Most Recent 
4 days, 20 hours ago
Selected Answer: ADF
A and D and F
upvoted 1 times

 
emburria
5 months ago
A, D and F
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,D,F is correct
upvoted 1 times

 
gabriel3600
1 year ago
A,D e F
upvoted 1 times

 
dotruonghan
1 year, 11 months ago
F is true

Unused Columns Count against 1000-column Table Limit Causing ORA-01792 on Compressed Table (Doc ID 2259600.1)
upvoted 2 times

 
NiciMilo
1 year, 11 months ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 28/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Is B really correct?

According to:

https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/managing-tables.html#GUID-29CA8FDC-55FB-4BEF-AE4A-5D1B4D2BE1E1

"The ALTER TABLE...DROP UNUSED COLUMNS statement is the only action allowed on unused columns. It physically removes unused columns from
the table and reclaims disk space. "
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 29/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #17 Topic 1

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 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

Correct Answer:
CE

Community vote distribution


BD (67%) BC (33%)

 
ioio
Highly Voted 
1 year, 2 months ago
the answer is B and D

Characteristics of Bitmap Segment Management

Bitmap space management uses four bits inside each data block header to indicate the amount of available space in the data block. Unlike
traditional space management with a fixed relink and unlink threshold, bitmap space managements allow Oracle to compare the actual row space
for an INSERT with the actual available space on the data block. This enables better reuse of the available free space especially for objects with rows
of highly varying size. Here are the values inside the four-bit space:

Value Meaning

0000 Unformatted Block

0001 Block is logically full

0010 <25% free space

0011 >25% but <50% free space

0100 > 50% but <75% free space

0101 >75% free space

Table 1: Bitmap value meanings.


upvoted 5 times

 
Darkseid1231
Most Recent 
2 weeks, 6 days ago
AMA, what is the correct answer please ?
upvoted 1 times

 
Franky_T
2 months, 1 week ago
Selected Answer: BD
A is wrong for obvious reasons. All segments include (tables, indexes, undo and temp). On top of that "all" compression is mentioned in the
answer.

B is correct. This is a well known feature of ASSM and can be queried via the dbms_space.SPACE_USAGE procedure.

C is wrong. The key to this answer is "always". If a block has sufficient free space to accomodate the row update then Oracle does not need to
search for a different block with enough free space.

D is correct. Oracle does this by scanning the BMB in the segment to determine a block that can store the entire row. The main purpose here is to
avoid row chanining.

E is wrong. It all depends what the PCTFREE value is for the segment. A block with a PCTFREE of 10% could have rows that uses 90% of the
available space, that block is deemed full and not eligible for insert operations.
upvoted 1 times

 
emburria
5 months ago
Selected Answer: BC
B,C for sure
upvoted 1 times

 
emburria
5 months ago
Selected Answer: BD
B,D are correct
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B,D is correct
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 30/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
Fan
1 year, 3 months ago
It's A , D.
upvoted 1 times

 
Eric_F
3 months ago
PCTFREE dufault is 0 when used COMPRESS BASIC, so A is incurrect.
upvoted 1 times

 
ogdru
1 year, 3 months ago
A...for all compression methods is not correct!!

create table T1

( col1 varchar2(100) );

create table T2

( col1 varchar2(100) )

row store compress basic;

create table T3

( col1 varchar2(100) )

row store compress advanced;

SQL> select TABLE_NAME,COMPRESSION,COMPRESS_FOR,PCT_FREE from dba_tables where OWNER='SCOTT' order by TABLE_NAME;

TABLE_NAME COMPRESS COMPRESS_FOR PCT_FREE

-------------------- -------- ------------------------------ ----------

T1 DISABLED 10

T2 ENABLED BASIC 0

T3 ENABLED ADVANCED 10

This make me very confused!!


upvoted 1 times

 
adoptc94
1 year, 10 months ago
Someone has any suggestion?

A could be true as the default value for pctfree is 10, but I am not sure for all compression methods

B should be true with ASSM each block is divided into 4 sections named FS1 (between 0 and 25% free space), FS2 (25% to 50% free space), FS3
(50% to 75% free space) and FS4 (75% to 100% free space)

E is not true, a block is only eligible for inserts if it's not full! A block is marked as full when the pctfree threshold is reached, at this point the block
is only available for update or delete operations. The block will be available for inserts again only after the block gets under the pctfree treshold

I this case I'd go with answers: B, C

But I am not completely sure, to me they seem like the right answers
upvoted 3 times

 
SimoneF
1 year, 6 months ago
I agree with B, but I would go on D rather than C. Update operations should first try to fit the new data in the same block and only when it's
impossible they will look for other blocks where to fit the complete row.

A and E have already been explained to be false, which upon which I agree.
upvoted 6 times

 
Ekos
1 year, 6 months ago
agree, the answer is B and D
upvoted 6 times

 
NowOrNever
1 year, 9 months ago
there are these 4 fullness "categories", but 6 values to represent the fullness

Value | Meaning | SPACE_USAGE Procedure

0000 | Unformatted Block | unformatted_blocks

0001 | Block is logically full | full_blocks

0010 | <25% free space | fs1_blocks

0011 | >=25% but <50% free space | fs2_blocks

0100 | >=50% but <75% free space | fs3_blocks

0101 | >=75% free space | fs4_blocks

i still would agree to B


upvoted 2 times

 
adoptc94
1 year, 9 months ago
Update to answer A - this answer is false. PCTFREE is implicitly zero on compressed tables
upvoted 2 times

 
you1234
1 year, 11 months ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 31/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

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 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) The first block with enough free space to accommodate a row being inserted will always be used for that row.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 32/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #18 Topic 1

Evaluate these commands which execute successfully:

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

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

Correct Answer:
BE

Community vote distribution


BE (100%)

 
ama
Highly Voted 
1 year, 11 months ago
i double checked this Question again.

i am sure B,C are correct


upvoted 20 times

 
Ekos
1 year, 6 months ago
yes, agree
upvoted 2 times

 
Sharif1
Highly Voted 
1 year, 10 months ago
BC are correct.
upvoted 8 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
BC, Correct answers.
upvoted 1 times

 
BM2000
1 month, 1 week ago
Selected Answer: BE
B: GRANT SELECT ON my_user.my_seq TO another_user; —to give access to others

For E create sequence and table with smaller values:

CREATE sequence ord_seq

INCREMENT BY 1

START WITH 1

MAXVALUE 1000

CYCLE

CACHE 500;

CREATE TABLE ord_items (ord_no number(1) DEFAULT ord_seq.NEXTVAL NOT NULL, item_no number(3), PRIMARY KEY (ord_no, item_no));

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 33/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

select * from ord_items;

insert into ord_items values(default,1); — keep entering until it will not take any more, keep going after few errors

After getting values from 1 to 9 it will give this error

“value larger than specified precision allowed for this column”


Sequence never get the chance to CYCLE so E is correct in this scenario only.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B,C is correct
upvoted 1 times

 
Guhborges
8 months, 3 weeks ago
B, C for sure.
upvoted 1 times

 
gabriel3600
1 year ago
B and C
upvoted 1 times

 
kawsar
1 year, 2 months ago
Is there any possibility D is right...Hence C and D are correct
upvoted 1 times

 
escoletsgo1
1 year, 9 months ago
BC 100%
upvoted 7 times

 
NowOrNever
1 year, 11 months ago
BC are correct

ADE are wrong


upvoted 8 times

 
ama
1 year, 11 months ago
Wrong, A C are correct..

B is wrong, i tested it
upvoted 2 times

 
elbelgounetos
1 year, 3 months ago
A is wrong dropping the sequence lead to ORA-02289 : sequence does not exists
upvoted 1 times

 
NowOrNever
1 year, 11 months ago
BC are correct

ADE are wrong


upvoted 7 times

 
you1234
1 year, 11 months ago
B is wrong - if you have insert privilege on table from other schema. not required separate privileges on sequence. still you can insert/access the
sequence from other user.

C & E is correct answer.


upvoted 1 times

 
esarregui
1 year, 7 months ago
No, B is correct. Try yourself:

-- hr session:

CREATE TABLE ord_items(

ord_no NUMBER(4) DEFAULT ord_seq.NEXTVAL NOT NULL,

item_no NUMBER(3),

qty NUMBER(3),

expiry_date DATE,

CONSTRAINT it_pk PRIMARY KEY(ord_no),

constraint ord_fk foreign key(ord_no) references ord_items(ord_no));

grant select on ord_items to ALICE;

grant insert on ord_items to ALICE;

-- ALICE session:

insert into hr.ord_items(item_no,qty) values (2,200);

Error SQL: ORA-00942: la tabla o vista no existe

00942. 00000 - "table or view does not exist"

*Cause:

*Action:

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 34/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

To solve it:

-- hr session

GRANT SELECT ON ord_seq TO ALICE;


upvoted 3 times

 
elbelgounetos
1 year, 3 months ago
Well actually, you could insert with insert into hr.ord_items(ord_no,item_no,qty) values (1000,2,200); just fine so B is not true. You have to
grant select on the sequence only if you use default value for ord_no.
upvoted 1 times

 
elbelgounetos
1 year, 3 months ago
But still, I don't see a best answer than B and C
upvoted 3 times

 
ama
1 year, 11 months ago
E is wrong …

E is wrong… here the evidence

Sequence's values can be duplicate if the CYCLE clause is used at the time of creating sequence, what it means when the high value is reached, it
shall start from min-value resulting in duplicate values
upvoted 1 times

 
you1234
1 year, 11 months ago
C & E is the correct answer
upvoted 1 times

 
ama
1 year, 12 months ago
So in my opinion, correct answers are B, C
upvoted 3 times

 
ama
1 year, 12 months ago
E is wrong… here the evidence

Sequence's values can be duplicate if the CYCLE clause is used at the time of creating sequence, what it means when the high value is reached, it
shall start from min-value resulting in duplicate values
upvoted 2 times

 
husseinyounes
2 years ago
CE i think
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 35/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #19 Topic 1

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

Correct Answer:
CDE

Community vote distribution


ABD (100%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
A, B and D.
upvoted 18 times

 
Ekos
1 year, 6 months ago
yes, i agree
upvoted 2 times

 
ama
Highly Voted 
1 year, 11 months ago
A: RAC 2,3 or 4 nodes

B: Single instance (standalone) with database

C: one instance running multiple INDEPENDENT databases!!

D: Single instance (standalone) without database

E: absurd configuration!

corrects are A, B and D


upvoted 9 times

 
elbelgounetos
1 year, 3 months ago
It helped me : https://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1631683800346891854
upvoted 1 times

 
hadiwuu
Most Recent 
1 month ago
AT THIS POINT I REALLY THINK THIS WEBSITE CREATED BY ORACLE TO MAKE PEOPLE FAIL THEIR EXAMS AND REPEAT OVER AND OVER FOR
PROFIT!

HOW COME THEY CAN MESSED UP THIS SIMPLE QUESTION WITH WRONG ANSWER??
upvoted 1 times

 
emburria
5 months ago
Selected Answer: ABD
A, B, D
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,B,D is correct
upvoted 1 times

 
ioio
1 year, 2 months ago
A, B and D.

https://docs.oracle.com/cd/E11882_01/server.112/e40540/startup.htm#CNCPT955
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 36/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #20 Topic 1

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

Correct Answer:
BE

 
danito
Highly Voted 
2 years ago
B C are the corrects
upvoted 21 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
ama
1 year, 12 months ago
evidence ?
upvoted 1 times

 
you1234
Highly Voted 
1 year, 11 months ago
B & C is correct answer
upvoted 5 times

 
ama
1 year, 11 months ago
Yes!!!

B and C are correct


upvoted 4 times

 
emburria
Most Recent 
5 months ago
B, C are correct. It's incredible how (nearly) all the answers they give are worng
upvoted 2 times

 
ryuah
5 months, 2 weeks ago
B,C is correct
upvoted 1 times

 
mianjee
10 months ago
select employee_id,last_name "Last Name"

FROM employees

where employee_id=101

union

select employee_id EMP_NO, last_name

from employees

where employee_id=113;

C is correct.
upvoted 1 times

 
you1234
1 year, 11 months ago
Please ignore this - I want to type for other question

B is wrong - you can insert if you have insert privilege on table from other schema. not required separate privileges on sequence.
upvoted 1 times

 
you1234
1 year, 11 months ago
B is wrong - you can insert if you have insert privilege on table from other schema. not required separate privileges on sequence.
upvoted 1 times

 
you1234
1 year, 11 months ago
B & C is correct answer
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 37/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 38/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #21 Topic 1

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

G.
the maximum number of sessions permitted for a user before the account is locked

Correct Answer:
DEFG

Community vote distribution


ABDE (100%)

 
NowOrNever
Highly Voted 
1 year, 9 months ago
Correct Answer: ABEF

Wrong Answer: CDG

A: 1/24 is one hour, 1/96 is 15 minutes

B: INACTIVE_ACCOUNT_TIME

C: the account will not be locked, it can not exceed this limit

D: not possible so far

E:

PASSWORD_REUSE_MAX - defines the number of changes required before a password can be reused

PASSWORD_REUSE_TIME - Sets the number of days before which a password cannot be reused.

F: PASSWORD_LOCK_TIME

G: the account will not be locked, it can not exceed this limit
upvoted 10 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
avanand
Highly Voted 
1 year, 10 months ago
A D E F

A. the number of hours for which an account is locked after the configured number of login attempts has been reached -- [it accepts in days,you
can enter fraction of days to achieve hours].

B. the number of days for which an account may be inactive before it is locked [Inactive is not a state for an account]

C. the maximum amount of CPU time allowed for a user's sessions before their account is locked [account never get locked in such settings]

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

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

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

G. the maximum number of sessions permitted for a user before the account is locked [account never get locked in such settings]
upvoted 9 times

 
elvegaa
1 year, 7 months ago
Not D, but B.

D - PASSWORD_REUSE_MAX and PASSWORD_REUSE_TIME cannot avoid to EVER reuse a password. You can set a max number of passwords
and days before you can reuse a password, but not forever.

B - Since 12.2 theres a new parameter The INACTIVE_ACCOUNT_TIME profile parameter locks a user account that has not logged in to the
database instance in a specified number of days.

Users are considered active users if they log in periodically. The INACTIVE_ACCOUNT_TIME timing is based on the number of days after the last
time a user successfully logs in.

Ref https://docs.oracle.com/en/database/oracle/oracle-database/12.2/dbseg/configuring-authentication.html#GUID-ED98E6DA-A30C-4052-
A343-B516CD641737
upvoted 3 times

 
SimoneF
1 year, 6 months ago
I would say instead that E is wrong, since it doesn't define "the number of password changes required within a period of time" but the time
that has to pass before reusing the same password.

For this and what you all said before, I would go with A-B-D-F
upvoted 7 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 39/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
ogdru
1 year, 3 months ago
This is the most CORRECT one.
upvoted 1 times

 
elbelgounetos
1 year, 3 months ago
I agree with your analyse? E cannot be true. And D is in the documentation so A B D F
upvoted 1 times

 
SimoneF
1 year, 6 months ago
But for D, there is this, speaking about PASSWORD_REUSE_MAX and PASSWORD_REUSE_TIME:

"If you specify a value for either of these parameters and specify UNLIMITED for the other, then the user can never reuse a password."

source: https://docs.oracle.com/database/121/SQLRF/statements_6012.htm#SQLRF01310
upvoted 3 times

 
ama
1 year, 10 months ago
This time i have to give you right ! LOL

Thx
upvoted 3 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: ABDE
Firstly, I have an issue with the answers, there are 5 correct ones and not 4.

A is correct. The time interval is not important here, but you can lock an account for a specified time when this threshold has been reached
(failed_login_attempts & password_lock_time).

B is correct. Can be set with the incative_account_time of the profile.

C is wrong. When the CPU limit has been reached the account is not locked, but rather the session receives either an ORA-02392 or an ORA-02393
errors.

D is correct. This can be done by setting a value for either password_reuse_time or password_reuse_max and unlimited for the other, then a user
can never reuse a password.

E is correct. Again we use the password_reuse_time and password_reuse_max parameters (must be used together to have any effect).

F is correct. It's essentially the same answer as option A, the only difference being the time interval.

G is wrong. Accounts are not locked when this threshold is reached, additional sessions are simply denied with error ORA-00018.
upvoted 2 times

 
ryuah
5 months, 2 weeks ago
A,D,E,F is correct
upvoted 1 times

 
krontar
9 months, 3 weeks ago
I think that we have 5 correct answers.

My guess is that this question is older than the "INACTIVE_ACCOUNT_TIME " feature.

Correct answers are:

ABDEF
upvoted 2 times

 
ioio
1 year, 2 months ago
D and E are correct:

PASSWORD_REUSE_TIME and PASSWORD_REUSE_MAX

If you specify a value for both of these parameters, then the user cannot reuse a password until the password has been changed the number of
times specified for PASSWORD_REUSE_MAX during the number of days specified for PASSWORD_REUSE_TIME.

For example, if you specify PASSWORD_REUSE_TIME to 30 and PASSWORD_REUSE_MAX to 10, then the user can reuse the password after 30 days
if the password has already been changed 10 times.

If you specify a value for either of these parameters and specify UNLIMITED for the other, then the user can never reuse a password.

https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/CREATE-PROFILE.html#GUID-ABC7AE4D-64A8-4EA9-857D-BEF7300B64C3
upvoted 1 times

 
ioio
1 year, 2 months ago
D is correct:

PASSWORD_REUSE_TIME and PASSWORD_REUSE_MAX

If you specify a value for either of these parameters and specify UNLIMITED for the other, then the user can never reuse a password.

https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/CREATE-PROFILE.html#GUID-ABC7AE4D-64A8-4EA9-857D-BEF7300B64C3
upvoted 1 times

 
Fan
1 year, 3 months ago
A. ---Yes. 1/24 means hour. it' correct. but D is ok as well, we can reach our goal by password_reused_MAX & TIME.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 40/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
danito
1 year, 10 months ago
I cannot see what is wrong: C D E F G
https://docs.oracle.com/database/121/SQLRF/statements_6012.htm#SQLRF01310
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 41/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #22 Topic 1

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

Correct Answer:
BCF

Reference:

https://www.folkstalk.com/2012/01/oracle-single-row-functions-examples.html

Community vote distribution


BCD (100%)

 
avanand
Highly Voted 
2 years ago
Correct choice is B C D.

single row function can be nested to any level.


upvoted 13 times

 
danito
2 years ago
D is not correct, more than three nested functions return ora0935
upvoted 2 times

 
elvegaa
1 year, 7 months ago
I had no such error in 11.2

select DECODE(COALESCE(NVL(ROUND(TRUNC(5)),4),3),2)1) from dual;


upvoted 2 times

 
saidov1981
1 year, 2 months ago
statement correction:

select decode(coalesce(nvl(round(trunc(5)),4),3),5,5,1) from dual; -- or

select decode(coalesce(nvl(round(trunc(5)),4),3),2,1) from dual;


upvoted 1 times

 
emburria
Most Recent 
5 months ago
Selected Answer: BCD
B, C, D for sure
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B,C,D is correct
upvoted 1 times

 
Guhborges
8 months, 3 weeks ago
BCDE is right for me.

E- We can use upper for only one and we can use CONCAT for more than two, isn't that correct?
upvoted 1 times

 
Guhborges
8 months, 3 weeks ago
Why not E? They can only accept one argument, they can also accept more. Is different when we use the word MUST.... I'm not a native English
speaker...
upvoted 1 times

 
dbaclaudio
1 year, 5 months ago
B,C,D

A - Incorrect -> Documentation: "can appear in select lists, WHERE clauses, START WITH and CONNECT BY clauses, and HAVING clauses."

B - Correct -> EXAMPLE: select lower(&data), lower(DUMMY), lower('TABLE'),LOWER(TO_DATE('12-JAN-08','DD-MONTH-RR')) from dual;

RESULT: 12-jan-21 x table 12-jan-08

C - Correct -> Like in length or months_between

D - Correct -> there's no limit in documentation. EXAMPLE: select instr(substr(decode(mod(6,4),4,'abcabcabc',1,'bcabcabca','cabcabcab'),4),'abc')


from dual;

RESULT: 2

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 42/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

E - Incorrect -> Functions like substr, accepts more than one parameter

F - Incorrect -> Here's a catch, documentation: "Single-row functions return a single result row for every row of a queried table or view" NOT
"...return a single result row per table"
upvoted 3 times

 
elvegaa
1 year, 7 months ago
B C D & E seems right to me :\

I guess.. D is the most close to wrong, since i'm sure there's some kind of nesting limit, but this limit is not specified in oracle documentation.
upvoted 2 times

 
SimoneF
1 year, 6 months ago
There is no such limit for single-row functions, and E is certainly false: for instance, CONCAT is a single-row function and it accepts two
arguments.
upvoted 2 times

 
Ekos
1 year, 8 months ago
C, D, and E
upvoted 1 times

 
Ekos
1 year, 6 months ago
Sorry, B,C,D is the correct one
upvoted 2 times

 
dkmraju
1 year, 9 months ago
Correct one B, C, F
upvoted 2 times

 
you1234
1 year, 11 months ago
B & C & D is correct answer
upvoted 4 times

 
ama
1 year, 11 months ago
yes, D is also correct …

see Question 30 > https://www.tutorialspoint.com/sql_certificate/using_single_row_functions_questions.htm


upvoted 1 times

 
GraceYu
2 years ago
This is note regards single row function and aggregate function

https://oracledbars.blogspot.com/2018/01/using-conversion-functions-and.html.

Nesting Functions

Single-row functions can be nested to any level. • Nested functions are evaluated from the deepest level to the least deep level.

https://mahtodeepak05.wordpress.com/2014/12/17/aggregate-function-nesting-in-oracle/

Hence Two level Deep is the max you can go with nested aggregate functions in Oracle.

Logically that the way it should be, Third aggregation functions wont have any group to act on as previous aggregations functions “SUM” had
already produce singular output.
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 43/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #23 Topic 1

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

1. Compress rows for all DML statements on that table

2. Minimize the overheads associated with compression

Which compression option is best suited for this?

A.
COLUMN STORE COMPRESS FOR QUERY LOW

B.
ROW STORE COMPRESS BASIC

C.
COLUMN STORE COMPRESS FOR ARCHIVE LOW

D.
COLUMN STORE COMPRESS FOR ARCHIVE HIGH

E.
ROW STORE COMPRESS ADVANCED

Correct Answer:
E

Reference:

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

 
avanand
Highly Voted 
1 year, 10 months ago
E is correct

https://docs.oracle.com/database/121/ADMIN/tables.htm#ADMIN-GUID-34D15DD1-0925-4C9A-BE8A-3EE91671E526
upvoted 9 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
ryuah
Most Recent 
5 months, 2 weeks ago
E is correct
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 44/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #24 Topic 1

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

Correct Answer:
BC

Community vote distribution


AB (100%)

 
avanand
Highly Voted 
2 years ago
Correct should be A and B

C is incorrect as on the session level setting, it preserves the definition.


upvoted 13 times

 
NowOrNever
1 year, 9 months ago
i agree with AB

A - https://oracle-base.com/articles/18c/private-temporary-tables-18c

Oracle 18c introduced the concept of a private temporary table, a memory-based temporary table that is dropped at the end of the session or
transaction depending on the setup.

B - https://docs.oracle.com/html/E25494_01/indexes003.htm#CIHFIGDG

Beginning with Oracle Database 11g Release 2, the database does not create an index segment when creating an unusable index.

C - not always, depends on the setup of the table creation


upvoted 5 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: AB
A is correct. PTT's exist in memory only.

B is correct. Indexes created this way will not have a segment. Query user_segments.

C is wrong. PTT's will exist for the session if they are created with the ON COMMIT PRESERVE DEFINITION clause.

D is wrong. When an existing index is made unusable then the index segment is dropped.

E is wrong. Truncated tables will release the space that was used by the removed rows EXCEPT that which is specified by the MINEXTENTS storage
parameter.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,B is correct
upvoted 1 times

 
ioio
1 year, 2 months ago
A and B are correct.

E is incorrect:

TRUNCATE TABLE statement:

Deallocates all space used by the removed rows except that specified by the MINEXTENTS storage parameter
upvoted 1 times

 
khalilshahin01
1 year, 10 months ago
my friend passed the exam and he Choose B&C and get wrong answer about space-saving

i will go for

AE if database 18c

or

BE if database 12c
upvoted 1 times

 
adoptc94
1 year, 9 months ago
I am not sure about E, the wording is important here.

When truncating a table you can use the option REUSE STORAGE, f.e. TRUNCATE TABLE table1 REUSE STORAGE;

REUSE STORAGE specifies that all space currently allocated for the table or cluster remains allocated to it. Which means a table that is being
truncated has not always all it's segments removed!

I'd go with answers: A,B

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 45/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 2 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
you1234
1 year, 11 months ago
ama, any suggestion on correct answer please
upvoted 1 times

 
ama
1 year, 11 months ago
I pick B,C
upvoted 1 times

 
FayK
1 year, 11 months ago
Correct B &C.

Oracle 18c introduced the concept of a private temporary table, a memory-based temporary table that is dropped at the end of the session or
transaction depending on the setup.

Private temporary tables are dropped at the end of the session, Global temporary tables have their data definition preserved.
upvoted 1 times

 
NiciMilo
1 year, 11 months ago
so C is incorrect

Private Temporary Tables (PTTs) are ***NOT*** always dropped at the next COMMIT OR ROLLBACK statement because you can create PTTs with
ON COMMIT PRESERVE DEFINITION;
upvoted 3 times

 
ama
1 year, 11 months ago
what?

The ON COMMIT DROP DEFINITION clause, the default, indicates the table should be dropped at the end of the transaction, or the end of
the session.

see here https://oracle-base.com/articles/18c/private-temporary-tables-18c


upvoted 1 times

 
avanand
1 year, 10 months ago
Exactly, as per that link also, you may choose "ON COMMIT PRESERVE DEFINITION" also. So You have a choice you may preserve or you
may drop.

So "C" is not true, as its not always dropped.


upvoted 4 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 46/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #25 Topic 1

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 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

Correct Answer:
AB

Reference:

https://docs.oracle.com/cd/B19306_01/server.102/b14220/process.htm

Community vote distribution


BE (100%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
Should be B and E. A is not correct - "...LREG registers database services with all local and remote listeners...", in 12c and higher versions.
upvoted 13 times

 
Ekos
1 year, 6 months ago
yes, agree
upvoted 1 times

 
Datajimm
Most Recent 
3 months, 2 weeks ago
Selected Answer: BE
a) is done by LREG

b) is done by PMON process group

c) is done by CKPT

d) is done by SMON

e) is done by PMON process group


upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B,E is correct
upvoted 1 times

 
abebeW
1 year ago
AB

https://docs.oracle.com/cd/B19306_01/server.102/b14220/process.htm
upvoted 1 times

 
LrnsTgh
10 months ago
1z0-082 for Oracle Database 12cR2 or higher. agree with answering B & E.

answering A (register database) for Oracle 11g or lower version.


upvoted 1 times

 
leozanon94
10 months ago
We have to consider that the question is on PMON process and not PMON group (with PMON process, CLMN process and CLnn)

https://docs.oracle.com/en/database/oracle/oracle-database/21/cncpt/process-architecture.html#GUID-B5CA9579-53DB-442C-A85F-
F21FD334833A

So i think E is wrong for this reason.

The answer B is right.

Answer A could be right or wrong depending by Oracle version.

For me correct answers are: A, B and I think that this is an old question referenced to an old Oracle version (<= 12cR1). Idk.

Maybe during the exam the answers will be different.


upvoted 1 times

 
Muhab
1 year, 10 months ago
AE is Answer

• Performs process recovery when a user process fails

– Cleans up the database buffer cache

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 47/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

– Frees resources that are used by the user process

• Monitors sessions for idle session timeout


upvoted 1 times

 
Muhab
1 year, 10 months ago
sorry i mean BE
upvoted 4 times

 
avanand
1 year, 10 months ago
Correct, Answer is BE.
upvoted 3 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 48/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #26 Topic 1

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

Correct Answer:
ADF

Community vote distribution


AD (100%)

 
dotruonghan
Highly Voted 
1 year, 11 months ago
ADE should be correct

https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/transactions.html#GUID-7690181F-8293-47B9-ADC1-905BD9C3AF57

• A transaction begins when the first executable SQL statement is encountered. An executable SQL statement is a SQL statement that generates
calls to a database instance, including DML and DDL statements and the SET TRANSACTION statement.

• A transaction ends when any of the following actions occurs:

o A user issues a COMMIT or ROLLBACK statement without a SAVEPOINT clause.  Answer D

o A user runs a DDL command such as CREATE, DROP, RENAME, or ALTER. The database issues an implicit COMMIT statement before and after
every DDL statement. If the current transaction contains DML statements, then Oracle Database first commits the transaction and then runs and
commits the DDL statement as a new, single-statement transaction.

o SELECT do not have a transaction start/end. Check by command: SELECT XID AS "txn id", XIDUSN AS "undo seg", XIDSLOT AS "slot", XIDSQN AS
"seq", STATUS AS "txn status" FROM V$TRANSACTION;
upvoted 12 times

 
SimoneF
1 year, 6 months ago
Spot on, I agree
upvoted 1 times

 
you1234
Highly Voted 
1 year, 11 months ago
A & D & F is correct answer
upvoted 9 times

 
ama
1 year, 11 months ago
why not A, D; E?
upvoted 4 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: AD
Issue again, only two possible answers here.

A transaction implicitly begins with any operation that obtains a TX lock:

- When a statement that modifies data is issued (DML ONLY)

- When a SELECT ... FOR UPDATE statement is issued

- When a transaction is explicitly started with a SET TRANSACTION statement or the DBMS_TRANSACTION package

A is correct. A select for update clause obtains a transaction lock TX, which is one of the three conditions under which transactions will implicitly
begin.

B is wrong. A truncate statement is DDL, and DDL statements perform implicit commits after they are done. Commits ends transactions, they don't
start them

C is wrong. A create table statement is DDL, same issue as option B.

D is correct. DML statements start transactions.

E is wrong. A create index statement is DDL, same issue as option B and C.

F is wrong. When a DML statement fails it does not end a transaction, only commit or rollback (implicit or explicit) can do this. New DML
statements will simply continue in the context of the current transaction. This option is easily tested.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,C,E is correct
upvoted 1 times

 
ozan_a
10 months, 2 weeks ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 49/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

A. when issuing a SELECT FOR UPDATE statement after a CREATE TABLE AS SELECT statement was issued in the same session --> DDL auto commit
+ new transaction. true.

B. when issuing a TRUNCATE statement after a SELECT statement was issued in the same session --> truncate doesn't start a transaction. wrong.

C. when issuing a CREATE TABLE statement after a SELECT statement was issued in the same session --> whether have a transaction or not, a DDL
always create a transaction. true.

D. when issuing the first Data Manipulation Language (DML) statement after a COMMIT OR ROLLBACK statement was issued in the same session --
> a select doesn't create a transaction. wrong.

E. when issuing a CREATE INDEX statement after a CREATE TABLE statement completed successfully in the same session --> a DDL always create a
transaction. true.

F. when issuing a DML statement after a DML statement failed in the same session --> we need commit or rollback for a new transaction. wrong.

Answer : A,C,E
upvoted 1 times

 
ozan_a
10 months, 2 weeks ago
A. when issuing a SELECT FOR UPDATE statement after a CREATE TABLE AS SELECT statement was issued in the same session --> DDL auto commit
+ new transaction. true.

B. when issuing a TRUNCATE statement after a SELECT statement was issued in the same session --> truncate doesn't start a transaction. wrong.

C. when issuing a CREATE TABLE statement after a SELECT statement was issued in the same session --> whether have a transaction or not, a DDL
always create a transaction. true.

D. when issuing the first Data Manipulation Language (DML) statement after a COMMIT OR ROLLBACK statement was issued in the same session --
> a select doesn't create a transaction. wrong.

E. when issuing a CREATE INDEX statement after a CREATE TABLE statement completed successfully in the same session --> a DDL always create a
transaction. true.

F. when issuing a DML statement after a DML statement failed in the same session --> we need commit or rollback for a new transaction. wrong.

Answer : A,C,E
upvoted 2 times

 
ioio
1 year, 2 months ago
C D E are correct

C and E: Create Table and Create Index are DDL and a new single transaction is created anyway.

D: when a DML issued when no transaction is still active, a new transaction will started

Select for update is not a DML

Truncate is not starting a transaction

if a DML fails, the transaction still remains active


upvoted 2 times

 
Fan
1 year, 3 months ago
E should be DDL after DDL , I don't konw what will happened? a new trans or not.
upvoted 1 times

 
saif_alrwiliy
1 year, 10 months ago
A,D,F is correct answer
upvoted 3 times

 
Chansi
1 year, 10 months ago
the question is When does a new transaction start ? create table does start a new transaction.

The select is not a transaction agreed but Create table does start a new transaction.
upvoted 1 times

 
ama
1 year, 10 months ago
no, a new Transaction means that there was a previous Transaction ouccred in the same session
upvoted 1 times

 
Chansi
1 year, 10 months ago
C is also correct.This is again something not clear.It just says when does a new transaction start . So all DDLs do that and there are three of them.
So they are trying understand our DDL knowledge rather the DML as there are only two options for commit and Rollback.Thoughts?
upvoted 1 times

 
ama
1 year, 10 months ago
C is not correct, beaucase a select is not a Transaction.
upvoted 2 times

 
Fan
1 year, 3 months ago
except "select update for"
upvoted 1 times

 
ama
1 year, 11 months ago
well, the Situation described in F is not triggering a Rollback.

as there is no implicit Rollback, i think there will be no new Transaction


upvoted 2 times

 
husseinyounes
2 years ago
E ?? it should be after an insert table to be correct??

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 50/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 1 times

 
danito
2 years ago
https://www.examtopics.com/exams/oracle/1z0-071/view/26/ #256 I am not sure
upvoted 1 times

 
LrnsTgh
10 months ago
this test 1z0-082 use Oracle 12cR2 or higher (especially 19c). 1z0-071 used oracle 12cR1 or lower and 1z0-062 used oracle 11g or lower
upvoted 1 times

 
danito
2 years ago
A D E shoud be the correct answers
upvoted 6 times

 
Ekos
1 year, 6 months ago
yes, agree. A, D, and E is the correct answer
upvoted 2 times

Question #27 Topic 1

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

Correct Answer:
E

 
Ekos
Highly Voted 
1 year, 6 months ago
E. MINUS
upvoted 6 times

 
ryuah
Most Recent 
5 months, 2 weeks ago
E is correct
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 51/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #28 Topic 1

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

Correct Answer:
D

Reference:

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

Community vote distribution


B (50%) D (50%)

 
adoptc94
Highly Voted 
1 year, 9 months ago
Correct Answer: D, the change is applied in memory only, the change does not persist as the database can't write to the pfile

The default SCOPE option, when you start the instance using a PFILE, is MEMORY (as well as the only scope option you can use with a pfile). If
scope is omitted the default scope option is used instead. The SCOPE clause is optional and not mandatory when changing the value of a
parameter!

A is wrong, as the pfile is a read only file for the database so it can't write to it. Changes to the pfile have to be done manually by changing it
directly using f.e. vi on unix systems.

B is wrong, same reason as for why answer A is wrong

C is wrong, as mentioned above, when omitted the scope clause defaults to MEMORY when using a pfile.

Not related to that question but the more you know: When starting the database using a spfile you have three options for the scope (MEMORY,
SPFILE and BOTH). Default value is BOTH.
upvoted 15 times

 
Ekos
1 year, 6 months ago
yes, agree. D is the correct answer
upvoted 1 times

 
Xhost
Most Recent 
19 hours, 6 minutes ago
Selected Answer: B
The right answer is B!

Default is SCOPE=BOTH
upvoted 1 times

 
Franky_T
2 months ago
Selected Answer: D
A is wrong. PFILES are static and any changes made to the system does not update the text (p)file.

B is wrong. Issue as with point A.

C is wrong. Statement without the scope parameter does not fail. Easy to test.

D is correct. PFILE based instances change parameters by default happen in memory and as with points A and B, will not modify the PFILE.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 52/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

D is correct
upvoted 1 times

 
brolem
10 months ago
Per adoptc94's final notes, in 19c "When starting the database using a spfile you have three options for the scope (MEMORY, SPFILE and BOTH).
Default value is BOTH.". As the default is both, when SCOPE is not used, the change will be applied to both MEMORY and the SPFILE.
upvoted 2 times

 
dirk1
7 months, 2 weeks ago
Yes, the default is SCOPE=BOTH if a server parameter file was used to start up the instance, and the default is MEMORY if a text initialization
parameter file was used to start up the instance.
upvoted 1 times

Question #29 Topic 1

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)

Correct Answer:
ADE

Community vote distribution


ADE (100%)

 
Ekos
Highly Voted 
1 year, 6 months ago
correct, A,D, and E
upvoted 7 times

 
baeji
1 year, 6 months ago
i agree
upvoted 1 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: ADE
A. OMF implements an automatic file name and location option. This is done at file level and has nothing to do with how the tablespace is
"managed".

B is wrong. Segment shrink operations are only available with ASSM, which in turn requires LMTBS.

C is wrong. Same feature as option B.

D is correct. AUTOEXTEND is done at file level.

E is correct. Reports are always available through the AWR and has nothing to do with tablespace management type.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 53/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #30 Topic 1

You execute this command:

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

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

Correct Answer:
AE

Reference:

https://blog.oracle48.nl/killing-and-resuming-datapump-expdp-and-impdp-jobs/

 
you1234
Highly Voted 
1 year, 11 months ago
typo. B & C is correct answer.
upvoted 13 times

 
you1234
Highly Voted 
1 year, 11 months ago
B & C is correct. see the example which is done on 12c version

B. You can reattach to it and monitor it

C. It is paused and can be resumed


upvoted 9 times

 
ryuah
Most Recent 
5 months, 2 weeks ago
B,C is correct
upvoted 1 times

 
van2020
9 months, 3 weeks ago
"If the master table and dump file set are not disturbed when or after the STOP_JOB command is issued, then the job can be attached to and
restarted at a later time with the START_JOB command." https://docs.oracle.com/database/121/SUTIL/GUID-2BF78573-239C-4D56-8C40-
B1F30F3E8609.htm#SUTIL953
upvoted 1 times

 
Ekos
1 year, 6 months ago
i choose B and C for the correct answer
upvoted 2 times

 
dotruonghan
1 year, 11 months ago
Export> start_job
upvoted 1 times

 
you1234
1 year, 11 months ago
A is wrong because you can still be monitor & see the status of Job via attach=

correct is B & C.
upvoted 3 times

 
NowOrNever
1 year, 11 months ago
AC

B - it can be reattached, but it is no longer running, so it can’t be monitored in that meaning

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 54/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

D - wrong

E - KILL_JOB does that not STOP_JOB


upvoted 1 times

 
you1234
1 year, 11 months ago
A & B is correct answer

On 12c

Export>stop_job=immediate;

Export> start_job

. . exported "SSSSMS"."ABM_FACILITY_PREF_DET" 0 KB 0 rows

Job "SYSTEM"."SYS_EXPORT_FULL_01" stopped due to fatal error at Sat Jul 18 18:0 <<<<<<<<<<<<<this is error because stop_job=immediate;

Job SYS_EXPORT_FULL_01 has been reopened at Sat Jul 18 18:05:10 2020

ORA-39012: Client detached before the job started.

Job "SYSTEM"."SYS_EXPORT_FULL_01" stopped due to fatal error at Sat Jul 18 18:07:39 2020 elapsed 0 00:02:30

Job SYS_EXPORT_FULL_01 håas been reopened at Sat Jul 18 18:07:43 2020 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<see job
are started again Export> start_job

Restarting "SYSTEM"."SYS_EXPORT_FULL_01": "system/********@aauat" directory=IMPDP1 dumpfile=aauat_full_%U..dmp logfile=aauat_full_..log


compression=all full=y parallel=4

. . exported "SSSSMS"."AWTM_STANDARD_XML" 0 KB 0 rows


upvoted 1 times

 
NowOrNever
1 year, 11 months ago
.. ORA-39012: Client detached before the job started. ...

if the export startet and you perform the command "STOP_JOB=immediate" it also exits EXPORT> and you cant execute "start_job" !
upvoted 1 times

 
NowOrNever
1 year, 11 months ago
i have to correct myself

if you reconnect "expdp system/oracle"

it continues ... thats new to me


upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 55/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #31 Topic 1

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

GRANT CREATE SESSION TO hr WITH ADMIN OPTION;

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

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.
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

Correct Answer:
ADE

Reference:

https://docs.oracle.com/cd/B28359_01/network.111/b28531/authorization.htm#DBSEG224

Community vote distribution


ABC (100%)

 
NiciMilo
Highly Voted 
1 year, 11 months ago
I guess A, C and D are correct.

but B actually worked in my 19c testing environment ?!


upvoted 10 times

 
hp9000
Highly Voted 
1 year, 5 months ago
BCD

SYS@linuxdb1 > create user hr identified by hr1;

User created.

SYS@linuxdb1 > grant create session to hr with admin option;

Grant succeeded.

SYS@linuxdb1 > connect hr

Enter password:

Connected.

HR@linuxdb1 > show user;

USER is "HR"

HR@linuxdb1 > revoke create session from hr;

Revoke succeeded.

HR@linuxdb1 >

(here I connected as SYS to do something else and tried to go back as HR, it didn't work).

SYS@linuxdb1 > connect hr

Enter password:

ERROR:

ORA-01045: user HR lacks CREATE SESSION privilege; logon denied

Warning: You are no longer connected to ORACLE.

@ > connect sys as sysdba

Enter password:

Connected.

SYS@linuxdb1 > grant create session to hr;

Grant succeeded.

SYS@linuxdb1 > connect hr

Enter password:

Connected.

HR@linuxdb1 >

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 56/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

HR@linuxdb1 > revoke create session from toad;

revoke create session from toad

ERROR at line 1:

ORA-01031: insufficient privileges

A is incorrect, HR can't revoke privs from another user. B is correct, it can revoke its own privs.

BCD is the right answer for me.


upvoted 5 times

 
LrnsTgh
10 months ago
try the second one using with admin option then revoke create session from toad 😁. but I agree B, C , D
upvoted 1 times

 
leozanon94
10 months ago
i tried (added admin option) and i got this error: ORA-01952: system privileges not granted to 'toad'.

I agree the answer A is false.


upvoted 1 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
ABCD, correct answers by testing.
upvoted 1 times

 
Franky_T
2 months ago
Again a question with 4 possible answers and not 3. All 4 possible answers are easily reproducable. I tested all options on version 12.2.0.1.

A is correct. When granted the GRANT privilege it implies that you have the ability to revoke the privilege as well. This is possible because of the
WITH ADMIN OPTION.

B is correct. Same as for answer A.

C is correct. Obvious privilege.

D is correct. Any user that is granted a privilege WITH ADMIN OPTION has the ability to pass the privilege along to other users, even with ADMIN
OPTION.

E is wrong. CREATE SESSION has nothing to do with DDL.

F is wrong. CREATE SESSION has nothing to do with DML.


upvoted 2 times

 
Aramazd
2 months, 2 weeks ago
ACD is correct.
upvoted 1 times

 
Eric_F
3 months, 1 week ago
I guess ABD, I think it test usage for WITH ADMIN OPTION, but not privileges, so better answers exclude login option. And as all correct
description, I choose ABCD.
upvoted 1 times

 
piecia_18
4 months, 2 weeks ago
Selected Answer: ABC
A, B, C, D are correct.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,C,D is correct

B - In sample hr, it is possible to revoke privacy by itself.

But as in the question, it's impossible if we made a new hr.


upvoted 1 times

 
flaviogcmelo
1 year, 2 months ago
I believe that this question should be rewritten, as there are 4 correct answers. As of version 18c, it is possible to revoke an own privilege. They are
A, B, C and D.
upvoted 2 times

 
BrianG
1 year, 3 months ago
https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_9013.htm

WITH ADMIN OPTION

Specify WITH ADMIN OPTION to enable the grantee to:

Grant the role to another user or role, unless the role is a GLOBAL role

Revoke the role from another user or role

Alter the role to change the authorization needed to access it

Drop the role

ACD
https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 57/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 2 times

 
sig
1 year, 4 months ago
ACD. B is wrong.
upvoted 1 times

 
Phat
1 year, 5 months ago
this question is tricky. ACDE seems correct. But not sure about DML & DDL.
upvoted 1 times

 
nisalsam
1 year, 7 months ago
I doubt that you can revoke you own privileges with 'with admin' option. So A would be wrong.
therefore the correct answers are CDE.
upvoted 1 times

 
flaviogcmelo
1 year, 2 months ago
I also believed in the same thing, but I tested in my 19c environment and worked.
upvoted 1 times

 
tlcecertified
1 year, 7 months ago
Although "CREATE SESSION" is granted to HR, however, we are not certain in HR could log on as the account status is not stated as "open" in this
question, there are also possibility that HR's account is locked out for a period due to failed login attempt or password expired, solely granting
"CREATE SESSION" to HR could not ensure HR could perform what answer C mentions, so C is incorrect.
upvoted 4 times

 
NowOrNever
1 year, 11 months ago
ABCD are correct, but we only need 3
upvoted 3 times

 
Ekos
1 year, 6 months ago
yes, agree
upvoted 1 times

 
NowOrNever
1 year, 11 months ago
ABCD are correct, but we only need 3
upvoted 5 times

 
SimoneF
1 year, 6 months ago
B is wrong, a user cannot revoke a privilege from itself
upvoted 1 times

 
Guhborges
6 months, 2 weeks ago
Nop, you're wrong! A user can revoke a privilege from itself....
upvoted 1 times

 
LrnsTgh
10 months ago
yap. it is ambiguous. is it revoke create session from itself or revoke create session other user from hr?
upvoted 1 times

 
GraceYu
2 years ago
ABD but C seems correct as well as create session allows hr to login .
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 58/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #32 Topic 1

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

Correct Answer:
CD

Community vote distribution


CD (100%)

 
NiciMilo
Highly Voted 
1 year, 11 months ago
C & D are correct
upvoted 27 times

 
Ekos
1 year, 6 months ago
i agree, CD is the correct answer
upvoted 2 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: CD
A is wrong. The issue in this answer is the "and columns" portion. Having clauses may only contain a group function that was used in the select list.

B is wrong. This answer is silly. The where clause "looks" at table (column) data and the having clause "looks" at group function results. Remember
that the WHERE clause pre-filters table data and the HAVING clause post-filters group function results.

C is correct. Having clauses can be used with aggregate functions in a subquery, as long as the result is properly used in the main query.

D is correct. The WHERE clause pre-filters data from the table before the GROUP BY clause divides them into groups.

E is wrong. The HAVING clause should be used as a post-filter in aggregate queries.


upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
HR user can connect to the DB

can also give create session to other users but he cannot do DML

QL> create table students (ID number(10), name varchar(20) ) ;

create table students (ID number(10), name varchar(20) )

ERROR at line 1:

ORA-01031: insufficient privileges

SQL>
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B,C,D is correct
upvoted 1 times

 
ryuah
5 months ago
C,D is correct
upvoted 1 times

 
NowOrNever
1 year, 9 months ago
B is wrong

https://www.techonthenet.com/oracle/having.php

SELECT expression1, expression2, ... expression_n,

aggregate_function (aggregate_expression)

FROM tables

[WHERE conditions]

GROUP BY expression1, expression2, ... expression_n

HAVING having_condition;
upvoted 2 times

 
you1234
1 year, 11 months ago
B & D is correct one

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 59/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 1 times

 
you1234
1 year, 11 months ago
A & D is correct answer
upvoted 1 times

 
ama
1 year, 11 months ago
A is wrong … look at this example :

select file#,avg(rfile#) from v$datafile Group by file# having Count(TS#) >0

file# avg(rfile#)

-----------------------

1 1

6 6

5 5

8 1024

3 3

7 10
upvoted 5 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 60/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #33 Topic 1

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

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

Correct Answer:
AC

Community vote distribution


CE (50%) AE (50%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
I would say A is correct - "Whenever we do insert in the database, it does following things:

- Insert the row in the buffer

- generate the undo in the buffer

- Write the redo changes i.e insert rows in redo logs

- Write the redo changes for undo segments in the redo logs.

So A and E should be correct answers.


upvoted 19 times

 
NowOrNever
Highly Voted 
1 year, 11 months ago
AE

https://www.experts-exchange.com/articles/13880/UNDO-AND-REDO-IN-ORACLE.html

… undo is stored in redo logs also. During roll forward phase of instance/media recovery, as changes (redo in redo logs) are applied to datafiles,
undo stored in redo logs is used to generate undo segments. These segments are subsequently used to rollback uncommitted changes during
rollback phase of instance/media recovery.
upvoted 10 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: CE
A is wrong. Not all UNDO generates REDO. When temp_undo_enabled parameter is set to true then UNDO is stored in the temporary tablespace
and does not generate REDO.

B is wrong. DML by default generates both UNDO and REDO.

C is correct. All REDO entries must have associated UNDO segments, which both are needed for consistent instance recovery.

D is wrong. Same as answer B.

E is correct. Same as answer B.


upvoted 2 times

 
Aramazd
2 months, 2 weeks ago
AE sounds correct
upvoted 1 times

 
Datajimm
3 months, 2 weeks ago
Selected Answer: AE
a) true: changes in undo has to be stored in the redo, so during instance recovery the undo can be reconstructed in order to rollback transactions

b) false: see above

c) false

d) false: dml has to generate undo, so transaction can be rolled back

e) true: dml generates undo, which in turn generates redo


upvoted 2 times

 
ryuah
5 months, 2 weeks ago
A,E is correct
upvoted 2 times

 
danito
2 years ago
I think C and E
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 61/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #34 Topic 1

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

Correct Answer:
D

Community vote distribution


B (100%)

 
NowOrNever
Highly Voted 
1 year, 11 months ago
B

https://docs.oracle.com/cd/B28359_01/server.111/b28310/ds_concepts002.htm#ADMIN12085

Database links are either private or public. If they are private, then only the user who created the link has access; if they are public, then all
database users have access.

https://docs.oracle.com/database/121/SQLRF/statements_5006.htm#SQLRF01205
upvoted 12 times

 
avanand
Highly Voted 
1 year, 10 months ago
B is correct.
upvoted 6 times

 
Phat
1 year, 5 months ago
agree. if Scott create the link, only Scott can use it. to access dallas_db from boston_db, Scoot has to create the private link from boston_db.
upvoted 1 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: B
Firstly, there is no reference to Scott's permissions, so we have to assume that Scott has the ability to create the DB Link.

A is wrong. DALLAS_DB is the target, so the link has to be created from the source which is BOSTON_DB.
B is correct. Source and target is correct and this has to be a private link only accessible to Scott.

C is wrong. This link is one-directional and only needs to be done from BOSTON_DB.

D is wrong. DB Links created by SYS becomes publicly available, we only want Scott to access this link.

E is wrong. Just silly, we don't need a DB Link from a database to itself.


upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B is correct
upvoted 1 times

 
Rivaldo11
1 year, 11 months ago
How do you know that user SCOTT lacks "create database link" privilege? I would say B.
upvoted 2 times

 
ama
1 year, 11 months ago
this is the script for scott Schema...

https://github.com/oracle/dotnet-db-samples/blob/master/schemas/scott.sql

i didn't find any create database link priveleges!


upvoted 2 times

 
SimoneF
1 year, 6 months ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 62/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

But if you create the DBLINK as SYS schema, SCOTT cannot access it. I think the question is not about the privileges of the schema, which is
more in a hypothetical situation where the privilege is there, while rather on the functioning of dblinks.
upvoted 1 times

 
you1234
1 year, 11 months ago
ama, D is correct?
upvoted 2 times

 
you1234
2 years ago
B is correct? any suggestion
upvoted 4 times

 
Ekos
1 year, 6 months ago
agree, B is correct
upvoted 2 times

 
ama
1 year, 12 months ago
easy, SCOT User lacks the "create database link" privilege

so B is wrong!
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 63/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #35 Topic 1

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

Correct Answer:
CDF

 
husseinyounes
Highly Voted 
2 years ago
BCD is the correct ans
upvoted 17 times

 
SimoneF
1 year, 6 months ago
But F is also definitely true.
upvoted 1 times

 
SimoneF
1 year, 6 months ago
Sorry my mistake, I didn't read "only". BCD it is :)
upvoted 1 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
NowOrNever
Highly Voted 
1 year, 11 months ago
BCD are correct
upvoted 6 times

 
ryuah
Most Recent 
5 months, 2 weeks ago
B,C,D is correct
upvoted 2 times

 
tko86
1 year, 11 months ago
It can be used in SQL developer as well as SQL Plus. I tried it as well.
upvoted 4 times

 
danito
2 years ago
I use describe comand in sqldeveloper, i guess the answers are not totaly right
upvoted 4 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 64/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #36 Topic 1

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?

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;

Correct Answer:
E

 
Borislone
Highly Voted 
1 year, 8 months ago
E is correct
upvoted 11 times

 
Guhborges
6 months, 3 weeks ago
I agree
upvoted 1 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
E, You can only filter by NULL using 'IS NULL' or 'IS NOT NULL'.
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
there is not due_amount in the table. So E is correct
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
E is correct
upvoted 1 times

 
brolem
10 months ago
A is the correct answer. E does not address the fact that customer's with a due_amount of null should not be displayed
upvoted 2 times

 
LrnsTgh
10 months ago
it is impossible WHERE clause used alias column. A is wrong.
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 65/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #37 Topic 1

The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOICE_DATE 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

Correct Answer:
BD

 
ioio
Highly Voted 
1 year, 2 months ago
sorry but you are wrong.

Oracle always converts string to number and string to date.

VARCHAR → NUMBER

VARCHAR → DATE

only D and E are correct.

as the NLS_DATE_FORMAT is set to DD-MON-RR then B and C can not use implicit conversion because the showed dates are not in defined NLS
format.

A is also incorrect
upvoted 7 times

 
leozanon94
10 months ago
Right, i agree.

A is false cause CONCAT doesn't require explicit conversion.

B is false cause it gives to me error ORA-00933 is not the correct format (should be 15-MAR-2019)

C is false cause the month is not valid

D and E are true!


upvoted 1 times

 
NowOrNever
Highly Voted 
1 year, 9 months ago
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

ABDE - producing no errors

BDE - are the correct ones


upvoted 6 times

 
Guhborges
6 months, 3 weeks ago
B is wrong, it is in the wrong format, the NLS_DATE_FORMAT is set to DD-MON-RR, and the answer B the date is set to DD-MONTH-YYYY
upvoted 1 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
Franky_T
Most Recent 
2 months ago
Again a question with 3 correct answers and not two. Assuming that the values supplied in answers D and E should read '101' AND '110', and
'0554982' respectively (we have seen "mistakes" like this on the site before), the we can easily test the options against the sample HR schema. I
tested all the options against Oracle 12.2.0.1.

A is wrong. Oracle performs implicit conversion here.

B is correct. Implicit conversion does work here. The supplied date format is DD-month-YYYY, it is close enough to the default DD-MON-RR, which
allows Oracle to do the conversion.

C is wrong. Oracle cannot perform implicit conversion here. The supplied format is DD-MM-YYYY, the MONTH portion of the format causes the
issue here, it is supplied in a number format where the default MON format requires a text based value. Error ORA-01843: not a valid month is
returned.

D is correct. Oracle will convert the supplied values of 101 and 110 into number format to match the data type of the column.

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 66/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

E is correct. Oracle will convert the supplied value into a number format to match the data type of the column. The preceding 0 will also be
dropped after conversion.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
D,E is correct
upvoted 1 times

 
escoletsgo1
1 year, 8 months ago
BD is the answer
upvoted 4 times

 
Chansi
1 year, 10 months ago
Is that a type in D and E as they are not quoted properly
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 67/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #38 Topic 1

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

Correct Answer:
BEF

Reference:

http://www.adp-gmbh.ch/ora/concepts/segments.html

 
ogdru
Highly Voted 
1 year, 3 months ago
1.User Segments

-Table, table partition, or table cluster

-LOB or LOB partition

-Index or index partition


2.Temporary Segments

3.Undo Segments

Ref: https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/logical-storage-structures.html#GUID-7DA83E64-9FF1-45A7-A9AC-
D4997DDE0866

A B E F should be correct??
upvoted 9 times

 
Guhborges
8 months, 2 weeks ago
I agree with A B E F, so this question is impossible, because they need only three
upvoted 1 times

 
NowOrNever
Highly Voted 
1 year, 9 months ago
BEF

https://docs.oracle.com/en/database/oracle/oracle-database/18/refrn/DBA_SEGMENTS.html#GUID-7BF4F8C7-1917-4532-B048-C044E17A1754
upvoted 6 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
Franky_T
Most Recent 
2 months ago
Again a question with four possible answers and not three.

select the distinct segment_type from dba_segments to get a list of all the segment types.

A is correct.

B is correct.

C is wrong.

D is wrong.

E is correct.

F is correct.

https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/DBA_SEGMENTS.html#GUID-7BF4F8C7-1917-4532-B048-C044E17A1754
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
Segment types

There are 11 types of segments in Oracle 10g:

table

table partition

index

index partition

cluster

rollback

deferred rollback
temporary

cache

lobsegment

lobindex

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 68/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

These types can be grouped into four segment classes:

data segments: table and cluster

index

rollback

temporary data
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B,E,F is correct
upvoted 1 times

 
brolem
10 months ago
From the Oracle 19c documentation:

User Segments

A single data segment in a database stores the data for one user object.

There are different types of segments. Examples of user segments include:

Table, table partition, or table cluster

LOB or LOB partition

Index or index partition

Each nonpartitioned object and object partition is stored in its own segment. For example, if an index has five partitions, then five segments
contain the index data.

https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/logical-storage-structures.html#GUID-EFB292CB-87EA-42AA-808C-
BD85E540BACC
upvoted 1 times

 
Borislone
11 months, 3 weeks ago
AEF is correct
upvoted 1 times

 
adoptc94
1 year, 9 months ago
A is also correct

Taken from the Oracle Administrators Workshop Study Guide:

The different types of segments include:

- Table and cluster

- Index

- Undo

- Temporary
upvoted 3 times

 
Phat
1 year, 3 months ago
From Oracle 9i, undo is managed by undo tablespace, and not with rollback segment anymore. Hence we have rollback segment, but not undo
segment.
upvoted 3 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 69/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #39 Topic 1

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

Correct Answer:
AE

Community vote distribution


AD (100%)

 
danito
Highly Voted 
2 years ago
I think A D
upvoted 18 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
ama
1 year, 12 months ago
D yes but A no!

The reason why B is wrong is Illustrated here: in case of two compound Statements : The number and the order of columns must be the same in
the two queries.
https://www.oracletutorial.com/oracle-basics/oracle-intersect/
upvoted 1 times

 
SimoneF
1 year, 6 months ago
The number has to be the same but the names can be different. In that page you linked, in fact, I see no reference to the fact that the names
must be the same, even though they are in the example.
upvoted 2 times

 
you1234
Highly Voted 
1 year, 11 months ago
A & D is correct one
upvoted 9 times

 
josue1
Most Recent 
5 days, 2 hours ago
Selected Answer: AD
-> example tables t1 and t2 in 19.3.

SQL> select * from t1 /*rows: 1,2,3,null*/;

----------

4 rows selected.

SQL> select * from t2 /*rows: 2,null*/;

NN

----------

2 rows selected.

--> Test A, D and E.

SQL> select n from t1

2 intersect

3 select nn from t2;

----------

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 70/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

2 rows selected.

--> Test B

SQL> select n, n from t1

2 intersect

3 select nn from t2;

select n, n from t1

ERROR at line 1:

ORA-01789: query block has incorrect number of result columns

--> Test C

SQL> select nn from t2

2 intersect

3 select n from t1;

NN

----------

2 rows selected.

Summary:
A. Column names in each SELECT in the compound query can be different --> True

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

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

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

E. INTERSECT ignores NULLs --> False


upvoted 1 times

 
Franky_T
2 months ago
Selected Answer: AD
A is correct. Column names in a compound query is not important, column data types are as well as the number of columns.

B is wrong. Compound queries must have the same amount of columns in each of the query blocks.

C is wrong. Intersect shows rows that are common to both queries so the order of the query blocks do not matter.

D is correct. This is the purpose of the INTERSECT operator.

E is wrong. NULLS are processed in SET queries.


upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,D is correct
upvoted 1 times

 
Sharif1
1 year, 11 months ago
A, D are correct.
upvoted 6 times

 
NowOrNever
1 year, 11 months ago
AD are correct

https://www.examtopics.com/discussions/oracle/view/8224-exam-1z0-071-topic-1-question-239-discussion/
upvoted 6 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 71/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #40 Topic 1

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.
CEIL : can be used for positive and negative numbers

Correct Answer:
AC

Reference:

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

 
you1234
Highly Voted 
1 year, 11 months ago
C & E is correct one
upvoted 18 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 3 times

 
ama
1 year, 11 months ago
I agree
upvoted 2 times

 
Franky_T
Most Recent 
2 months ago
A is wrong. A quotient is the result of a division operation. MOD returns the remainder of n2 divided by n1.

B is wrong. FLOOR returns the largest integer equal to or less than n.

C is correct. The TRUNC (number) function returns n1 truncated to n2 decimal places. The TRUNC (date) function returns date with the time portion
of the day truncated to the unit specified by the format model fmt.

D is wrong. CONCAT returns char1 concatenated with char2. Both char1 and char2 can be any of the data types CHAR, VARCHAR2, NCHAR,
NVARCHAR2, CLOB, or NCLOB.

E is correct. Not clearly documented but implied with: "This function takes as an argument any numeric data type". Negative numbers are still
numbers.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
C,E is correct
upvoted 1 times

 
SimoneF
1 year, 6 months ago
It's amusing how the link in the alleged solution is correct, but the given solution is wrong. MOD returns the remainder of course.

I agree with C & E


upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 72/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #41 Topic 1

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;

Correct Answer:
B

Community vote distribution


B (100%)

 
ama
Highly Voted 
1 year, 11 months ago
I double checked this Question, B is correct !

the Setting of NLS_TERRITORY changed the behavior


upvoted 14 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
saif_alrwiliy
Highly Voted 
1 year, 10 months ago
"The NLS_TERRITORY parameter is set to AMERICA in the session and, therefore, Sunday is the first day of the week."

1 is Sunday in that case.

Correct answer is B.
upvoted 10 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: B
A is wrong. The NEXT_DAY function needs 2 arguments to work. NEXT_DAY returns the date of the first weekday named by char that is later than
the date date.

B is correct. First we add 6 months to the hire date using the ADD_MONTHS function, then passing that date value to the NEXT_DAY function.

C is wrong. Issues with both the MONTHS_BETWEEN function (wrong usage and argument order) and the NEXT_DAY function (second argument
should be a day name).

D is wrong. Not because of the usage but because of the Day returned. Using a "1" as the second argument in the NEXT_DAY function it returns a
Sunday date and not the first Monday. Looking at the official Oracle documentation the second argument should be character (day name) only.
"The argument char must be a day of the week in the date language of your session, either the full name or the abbreviation." Just goes to show
that 1, Oracle documentation is never 100% complete and 2, test test test if you are not sure.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B is correct
upvoted 1 times

 
mianjee
10 months ago
ALTER SESSION SET NLS_TERRITORY = "AMERICA";

SELECT employee_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), 'MONDAY') FROM employees;

Result = 22-DEC-03 (Monday)

SELECT employee_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), 1) FROM employees;

Result = 21-DEC-03 (Sunday)

Correct answer is B!
upvoted 1 times

 
you1234
1 year, 11 months ago
D is correct
upvoted 1 times

 
ama
1 year, 12 months ago
Today is 24.06.2020...

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 73/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

SQL> alter session set nls_date_format='DD.MM.YYYY';

Session wurde geandert.

SQL>

SQL>

SQL> select sysdate, NEXT_DAY(ADD_MONTHS(sysdate, 6), 1) from dual;

SYSDATE NEXT_DAY(A

---------- ----------

24.06.2020 28.12.2020

The first Monday after six months is 28.12.2020 > so correct answer must be D
upvoted 2 times

 
SimoneF
1 year, 6 months ago
But if your NLS_TERRITORY is 'AMERICA' and your week starts with sunday, it will give you the wrong result.

For me, this works until i leave the territory as ITALY but, when I set it to AMERICA like the question states, it's wrong while 'MONDAY' works.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 74/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #42 Topic 1

The ORCL database has RESUMABLE__TIMEOUT = 7200 and DEFERRED_SEGMENT_CREATION = FALSE

User U1 has a 1 MB quota in tablespace DATA.

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

Correct Answer:
CDF

Community vote distribution


BCF (50%) BCE (50%)

 
elcaso34
Highly Voted 
2 years ago
I think BCE

Set DEFERRED_SEGMENT_CREATION to TRUE, when creating the table you are already inserting rows as select, therefore the segment has already
been created the D is not.

Configure Set AUTOEXTEND ON for data files in DATA, if you have 1M quota it will not work.
upvoted 15 times

 
ama
1 year, 11 months ago
DEFERRED_SEGMENT_CREATION is Default TRUE.

it doesnt make Change at all. so this Option is wrong and wont solve the problem
upvoted 1 times

 
SimoneF
1 year, 6 months ago
He didn't said that DEFERRED_SEGMENT_CREATION would help. And it wouldn't but not for the reason you're saying: in the question is
written that the parameter is set at FALSE in this case. The reason for which it wouldn't help is that, with a CREATE AS SELECT, the first row is
inserted immediately, so the segment is also created. That could have helped in the case of a normal create table.
upvoted 1 times

 
avanand
Highly Voted 
1 year, 10 months ago
BCE,

A. Add a data file to DATA -- Won't help as problem is quota to user not the space

B. Drop other U1 objects in DATA -- Will help as it will reduce the used space from quota for that user

C. Increase U1's quota sufficiently in DATA -- Will help.

D. Set DEFERRED_SEGMENT_CREATION to TRUE -- Won't help, segments has to be created as its CTAS

E. Grant UNLIMITED TABLESPACE to U1 -- Will help.

F. Set AUTOEXTEND ON for data files in DATA -- Won't help as problem is quota to user not the space
upvoted 9 times

 
Xhost
Most Recent 
17 hours, 58 minutes ago
Selected Answer: BCF
I would say B, C, F!
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 75/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
Franky_T
2 months ago
Selected Answer: BCE
The DEFERRED_SEGMENT_CREATION = FALSE was added to the question to throw you off. DEFERRED_SEGMENT_CREATION set to TRUE will only
delay the allocation of the first extent (thus creating the segment) until the first row is inserted into the table.

The issue here is simply space required for table creation vs quota allocated to the user.

Answers can only be B, C and E.


upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
I guess B C E too.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B,C,E is correct
upvoted 1 times

 
Borislone
11 months, 1 week ago
CDE is correct.
upvoted 1 times

 
Ekos
1 year, 7 months ago
i think the answer is BCE
upvoted 1 times

 
Chansi
1 year, 10 months ago
B CE . D may help you get the table created but may fail while inserting.

Also the question says " Any of the options should resolve the issue." B is not ideal but given the options that we have it is one of the solutions that
work.
upvoted 4 times

 
ama
1 year, 12 months ago
ORA-01536 space quota exceeded for tablespace ‘string’

Cause: The space quota for the segment owner in the tablespace has been exhausted and the operation attempted the creation of a new segment
extent in the tablespace.

Action: Either drop unnecessary objects in the tablespace to reclaim space or have a privileged user increase the quota on this tablespace for the
segment owner
upvoted 3 times

 
SimoneF
1 year, 6 months ago
Yes, I agree on BCE
upvoted 1 times

 
adoptc94
1 year, 10 months ago
I'd also go with BCE

as elcaso34 mentioned, your're not only creating the table but you're also inserting rows at the same time, so setting
deferred_segment_creation to true won't help as rows are inserted therefore segments will be allocated which use up quota

While B isn't really something I'd recommend it still would resume the session if enough quota is available again.
upvoted 2 times

 
Sharif1
1 year, 10 months ago
so BCE seems to be the right answers.
upvoted 8 times

 
ama
1 year, 12 months ago
i think CDE … dropping existing objects is never a choice to solve a Problem! so B is false
upvoted 2 times

 
SimoneF
1 year, 6 months ago
It's probably not something you would do without consulting with the owner of the objects, or at least without knowing that it's disposable
data. But it is indeed a course of action that would resume the session. Hence, it's a correct answer.
upvoted 1 times

 
danito
2 years ago
I think BCD
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 76/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #43 Topic 1

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

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

Correct Answer:
CDF

Community vote distribution


CDF (100%)

 
NowOrNever
Highly Voted 
1 year, 9 months ago
CDF - correct

https://docs.oracle.com/cd/B28359_01/server.111/b28318/datadict.htm#CNCPT1210

SYS, Owner of the Data Dictionary


upvoted 11 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: CDF
A is wrong. "DBA_defined tables" does not fit here. Dictionary views are based on system base tables only.

B is wrong. Internally created and managed by the Oracle server.

C is correct. They all have to reference the same base tables, they only display filtered rowsets from these tables.

D is correct. You can query these tables, however not recommended as data is stored in a cryptic format. Consider logging in as the SYS user, since
you "own" the tables you can select from them. And as DBA you can grant select on any table in any schema to any user. This is a permission
(ownership) issue and not a data format issue.

E is wrong. Owned by the SYS user, stored in the SYSTEM tablespace.

F is correct. All user's usernames are stored in the dictionary and are queries via DBA_USERS.
upvoted 2 times

 
Guhborges
8 months, 3 weeks ago
GUYS, the correcly answer are ACDF

A- User-Accessible Views

The views that summarize and display the information stored in the base tables of the data dictionary. These views decode the base table data into
useful information, such as user or table names, using joins and WHERE clauses to simplify the information. Most users are given access to the
views rather than the base tables.

https://docs.oracle.com/cd/B19306_01/server.102/b14220/datadict.htm
upvoted 1 times

 
Guhborges
8 months, 3 weeks ago
Sorry,

A-C-F

We are not able to display all base table, most of the data is stored in a cryptic format
upvoted 1 times

 
Borislone
11 months, 3 weeks ago
ACF is correct
upvoted 2 times

 
Datajimm
3 months, 2 weeks ago
A is wrong: they are certainly not joins of tables defined by the database administrator (DBA), they are joins of system tables
upvoted 1 times

 
Borislone
11 months, 3 weeks ago
D is wrong. Base Tables

The underlying tables that store information about the associated database. Only Oracle should write to and read these tables. Users rarely access
them directly because they are normalized, and most of the data is stored in a cryptic format.

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 77/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 1 times

 
ioio
1 year, 2 months ago
CDF - correct

https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/data-dictionary-and-dynamic-performance-views.html#GUID-6F1EA52F-
C3AF-407C-B4FA-AE8C8651055E
upvoted 1 times

 
adoptc94
1 year, 9 months ago
Correct answers: C,E,F
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 78/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #44 Topic 1

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

E.
It must be the name of the server running the database to whose instance HR wishes to connect

Correct Answer:
E

Community vote distribution


C (100%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
It should be C.
upvoted 21 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
adoptc94
1 year, 9 months ago
I agree correct answer should be C
upvoted 1 times

 
Franky_T
Most Recent 
2 months ago
Selected Answer: C
A is wrong. SERVICE_NAMES is an instance parameter on server side.

B is wrong. The connect descriptor must be accessible to the client and therefore cannot be on the server side.

C is correct. Service name resolution must happen at client side so we need a local TNSNAMES.ORA file with the appropriate connect descriptor.

D is wrong. You never connect to a database, but rather to a database instance via a service.

E is wrong. The server name has nothing to do with the service.


upvoted 1 times

 
ryuah
5 months, 2 weeks ago
C is correct
upvoted 1 times

 
NowOrNever
1 year, 9 months ago
E - correct

https://docs.oracle.com/cd/E17781_01/server.112/e18804/connecting.htm#ADMQS142

username/password@[//]host[:port][/service_name]

CONNECT system/[email protected]/XE
upvoted 3 times

 
SimoneF
1 year, 6 months ago
"port (optional) is the TCP port number on which the Oracle Net listener is listening. If not specified, the default port number 1521 is assumed."

So you cannot use that syntax in this case, since it would try to connect on port 1521 while the listener, as per question, is configured to listen
on port 1531.

C is correct because "Name server" is referred to the record in a DNS but it doesn't change the fact that the tns must point to the correct server,
either using an IP or direct resolution of the address via hosts file.
upvoted 3 times

 
NowOrNever
1 year, 9 months ago
C is correct
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 79/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 80/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #45 Topic 1

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

Correct Answer:
BE

Community vote distribution


BE (100%)

 
Franky_T
1 month, 4 weeks ago
Selected Answer: BE
A is wrong. This view displays basic TS information with no reference to block consumption.

B is correct.

C is wrong. V$-views query the instance and not the dictionary.

D is wrong. You have to query dba_tablespaces, dba_data_files and dba_free_space to obtain this information.

E is correct, but could be wrong also. If we rename the datafile with the SQL command" alter database move datafile" then yes. If we assume that
the renaming is done on the OS then the "ALTER DATABASE RENAME FILE" command should be issued when the database is in mount state so that
the dictionary can be updated.
upvoted 1 times

 
casfdsaf
3 months, 1 week ago
Selected Answer: BE
b e is right
upvoted 1 times

 
zorel
10 months ago
SQL> shutdown immediate;

Database closed.

E correct.

Database dismounted.

ORACLE instance shut down.

SQL> startup mount;

ORACLE instance started.

Total System Global Area 1375731600 bytes

Fixed Size 8896400 bytes

Variable Size 838860800 bytes

Database Buffers 520093696 bytes

Redo Buffers 7880704 bytes

Database mounted.

SQL> alter database move datafile '/oradata/ORA19/testing1.dbf' to '/oradata/ORA19/testing01.dbf';

Database altered.
upvoted 1 times

 
saidov1981
1 year, 2 months ago
B & E are the right answers.

B: v$tablespace gets infromation from control file as per article shared by SimoneF

https://docs.oracle.com/cd/B19306_01/server.102/b14237/dynviews_2156.htm#REFRN30277

E: since all DBA_* dictionaries are not accessible until DB is opened


upvoted 4 times

 
batavo27
1 year, 7 months ago
Answer C.

SQL> select * from v$tablespace;

TS# NAME INC BIG FLA ENC CON_ID

---------- ------------------------------ --- --- --- --- ----------

1 SYSAUX YES NO YES 1

0 SYSTEM YES NO YES 1

2 UNDOTBS1 YES NO YES 1

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 81/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

4 USERS YES NO YES 1

3 TEMP NO NO YES 1

0 SYSTEM YES NO YES 2

1 SYSAUX YES NO YES 2

2 UNDOTBS1 YES NO YES 2

3 TEMP NO NO YES 2

0 SYSTEM YES NO YES 3

1 SYSAUX YES NO YES 3

Have some informations about the data files


upvoted 2 times

 
SimoneF
1 year, 6 months ago
Answer C doesn't speak about data files thought, but states that v$tablespace view would get data from the data dictionary. That's not true and
the view actually gets data from the controlfile, as stated in answer B which is correct:

https://docs.oracle.com/cd/B19306_01/server.102/b14237/dynviews_2156.htm#REFRN30277
upvoted 1 times

 
batavo27
1 year, 7 months ago
B and C is correct. TO rename the datafile, database needs is open state.

SQL> alter tablespace teste10

2 rename datafile '/u02/oradata/ORCL/teste10.dbf'

3 to '/u02/oradata/ORCL/teste11.dbf';

alter tablespace teste10

ERROR at line 1:

ORA-01109: database not open


upvoted 3 times

 
SimoneF
1 year, 6 months ago
Was the database in mount? Because E is true and C is definitely wrong:
https://docs.oracle.com/cd/B19306_01/server.102/b14237/dynviews_2156.htm#REFRN30277
upvoted 2 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
Ekos
1 year, 6 months ago
sorry, it should be B E the correct answer
upvoted 1 times

 
avanand
1 year, 10 months ago
B, E should be correct
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 82/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #46 Topic 1

Examine the description of the PROMOTIONS table:

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;

Correct Answer:
DE

Community vote distribution


CE (100%)

 
you1234
Highly Voted 
1 year, 11 months ago
C & E is correct answer
upvoted 16 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
Sharif1
Highly Voted 
1 year, 11 months ago
yes, C and E are correct.
upvoted 8 times

 
Franky_T
Most Recent 
1 month, 4 weeks ago
Selected Answer: CE
A is wrong. No DISTINCT clause used.

B is wrong. DISTINCT can be used only once in a select clause at the beginning.

C is correct.

D is wrong. DISTINCT can be used only once in a select clause at the beginning.

E is correct.
upvoted 1 times

 
casfdsaf
3 months, 1 week ago
Selected Answer: CE
ce right
upvoted 1 times

 
Guhborges
5 months ago
Selected Answer: CE
c & e for sure
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
C,E is correct
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 83/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #47 Topic 1

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 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.

Correct Answer:
C

Community vote distribution


B (100%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
It should be B.
upvoted 26 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
fgdgdfg
Highly Voted 
1 year, 10 months ago
B. To guarantee the success of long-running queries or Oracle Flashback operations, you can enable retention guarantee. If retention guarantee is
enabled, the specified minimum undo retention is guaranteed; the database never overwrites unexpired undo data even if it means that
transactions fail due to lack of space in the undo tablespace. If retention guarantee is not enabled, the database can overwrite unexpired undo
when space is low, thus lowering the undo retention for the system. This option is disabled by default.
upvoted 7 times

 
Franky_T
Most Recent 
1 month, 4 weeks ago
Selected Answer: B
Tricky question indeed. The documentation clearly shows that: "The UNDO_RETENTION parameter is ignored for a fixed size undo tablespace. The
database always tunes the undo retention period for the best possible retention, based on system activity and undo tablespace size." This shows
that Unexpired segments will be overwritten by new transactional data. However, the issue here is with the part of the question that states
"UNDOTBS1 fills with uncommitted undo 10 minutes after the database opens". This implies that all segments have an ACTIVE state. ASKTOM
states: "We will not reuse space (wrap the rollback segment back around over itself) while there is an active transaction there."

With this in mind the answer has to be B.


upvoted 1 times

 
casfdsaf
3 months, 1 week ago
Selected Answer: B
b right
upvoted 1 times

 
Datajimm
3 months, 2 weeks ago
Selected Answer: B
correct answer is B: The transaction is not committed, therefore the undo space is active. It cannot be overwritten by the next update, so it throws
an error.
upvoted 1 times

 
emburria
5 months ago
B. "UNDOTBS1 fills with uncommitted undo 10 minutes after the database opens."...data is uncommitted, so oracle is not going to discard
uncommitted data.....
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B is correct

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 84/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 1 times

 
iamajavacompiler
1 year, 1 month ago
I did not understand why the answer is B?
upvoted 2 times

 
ioio
1 year, 2 months ago
in fact it is an interesting question!

it is C:

The UNDO_RETENTION parameter can only be honored if the current undo tablespace has enough space. If an active transaction requires undo
space and the undo tablespace does not have available space, then the system starts reusing unexpired undo space. This action can potentially
cause some queries to fail with a "snapshot too old" message.

For AUTOEXTEND undo tablespaces, the system retains undo for at least the time specified in this parameter, and automatically tunes the undo
retention period to satisfy the undo requirements of the queries. For fixed- size undo tablespaces, the system automatically tunes for the maximum
possible undo retention period, based on undo tablespace size and usage history, and ignores UNDO_RETENTION unless retention guarantee is
enabled.

https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/UNDO_RETENTION.html#GUID-D238E854-A2C5-463E-A146-31F61300124E
upvoted 1 times

 
Datajimm
3 months, 2 weeks ago
Your quote only applies to unexpired undo space. In our case the undo is active and that cannot be reused by another transaction.

C is the wrong answer, B is the correct.


upvoted 1 times

 
avanand
1 year, 10 months ago
Its a tricky question. To me answer should be C.

The undo_retention parameter is ignored for a fixed size undo tablespace.

The database may overwrite unexpired undo information when tablespace space becomes low.

Go to this link and search this: "The following points explain the exact impact of the UNDO_RETENTION parameter on undo retention"

https://docs.oracle.com/cd/B19306_01/server.102/b14231/undo.htm
upvoted 6 times

 
adoptc94
1 year, 10 months ago
I think you might be right!

Retention Guarantee enforces unexpired undo to be retained for the specified undo retention, but as undo retention is ignored for fixed size
undo tablespaces, unexpired undo can be overwritten to support new transactions

But my issue with this question is, that it states that the undo tablespace is filled with uncommited undo, which means that it is active undo
which will never be overwritten right? Only unexpired & expired undo may be overwritten to support new transations
upvoted 1 times

 
adoptc94
1 year, 9 months ago
Please ignore my previous comment, I was just confused at that time

Answer C is 100% wrong!

While it is true, that the undo retention will be ignored for fixed size undo tablespaces, it won't be ignored if retention guarantee is enabled!

Source: https://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams222.htm#REFRN10225

For fixed- size undo tablespaces, the system automatically tunes for the maximum possible undo retention period, based on undo
tablespace size and usage history, and ignores UNDO_RETENTION !!!unless retention guarantee is enabled.!!!

So the correct answer for this question is B!


upvoted 4 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 85/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #48 Topic 1

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

Correct Answer:
CE

Reference:

https://docs.oracle.com/cd/B19306_01/server.102/b14200/operators001.htm

Community vote distribution


DE (100%)

 
husseinyounes
Highly Voted 
2 years ago
DE is correct
upvoted 19 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
Trowa
Highly Voted 
1 year, 10 months ago
DE are correct.

Precedence

Precedence is the order in which Oracle evaluates different operators in the same expression. When evaluating an expression containing multiple
operators, Oracle evaluates operators with higher precedence before evaluating those with lower precedence. Oracle evaluates operators with
equal precedence from left to right within an expression.

https://docs.oracle.com/cd/A87860_01/doc/server.817/a85397/operator.htm
upvoted 6 times

 
casfdsaf
Most Recent 
3 months, 1 week ago
Selected Answer: DE
de is right
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
D,E is correct
upvoted 1 times

 
Guhborges
9 months, 2 weeks ago
C & E is correct.

+ has the higher precedence.

https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/About-SQL-Operators.html#GUID-FEF44762-F45C-41D9-B380-
F6A61AD25338
upvoted 1 times

 
emburria
5 months ago
No, in this case is + binary (not unary operator)
upvoted 1 times

 
Guhborges
5 months ago
D & E :)
upvoted 1 times

 
SimoneF
1 year, 6 months ago
D and E are obviously correct BUT, since this was too strange of a mistake to be true, I went and review the precedence rules, finding out
something I honestly forgot or ignored altogether:

"+" IS, actually, the operator with the highest precedence, together with "-", yet only when they're used a unary operators "identity" and
"negation".

For example, in a simple operation +X*Y, the "+" is the first operator evaluated.

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 86/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

As a binary operator it still comes, obviously, after multiplication and division, I've just been thinking that in a similar question where they could
state "unary", I could have easily been tricked overlooking that simple detail.

https://docs.oracle.com/cd/A87860_01/doc/server.817/a85397/operator.htm#997667
upvoted 4 times

 
Joejoel
7 months, 1 week ago
please check on the same link.

Precedence Example

In the following expression, multiplication has a higher precedence than addition, so Oracle first multiplies 2 by 3 and then adds the result to 1.

1+2*3
upvoted 1 times

 
Datajimm
3 months, 2 weeks ago
SimoneF is talking about the + unary operator, and of course he is right about it. You on the other hand talking about the + binary operator.
upvoted 1 times

 
avanand
1 year, 10 months ago
DE is obviously right answers
upvoted 3 times

 
you1234
1 year, 11 months ago
D & E is correct answer
upvoted 6 times

 
danito
2 years ago
D E i think
upvoted 5 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 87/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #49 Topic 1

In one of your databases, user KING is:

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

Correct Answer:
D

Community vote distribution


E (100%)

 
Sharif1
Highly Voted 
1 year, 10 months ago
Correct answer is E, os user must be identified externally.
upvoted 17 times

 
ama
1 year, 10 months ago
oh yea E is correct!
upvoted 5 times

 
mberrios
Highly Voted 
1 year, 8 months ago
Correct is E
upvoted 5 times

 
Guhborges
Most Recent 
5 months ago
Selected Answer: E
E is correct.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
E is correct
upvoted 1 times

 
saadkhan45
7 months, 1 week ago
REMOTE_LOGIN_PASSWORDFILE: NONE

NONE: Instructs the Oracle system not to use password files, and the login of privileged users is authenticated by the operating system.

NONE Oracle ignores any password file. Therefore, privileged users must be authenticated by the operating system.

NONE

Oracle ignores any password file. Therefore, privileged users must be authenticated by the operating system.

https://docs.oracle.com/cd/B14117_01/server.101/b10755/initparams176.htm

https://titanwolf.org/Network/Articles/Article?AID=cf58b9e3-cc76-4fe0-b7c2-3073595bc869
upvoted 1 times

 
saadkhan45
7 months, 1 week ago
So, Correct Answer: D
upvoted 1 times

 
ofranco
9 months, 1 week ago
Agree with A

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 88/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 1 times

 
eddkzew
1 year, 5 months ago
E is the correct one:

https://docs.oracle.com/cd/B19306_01/network.102/b14266/admnauth.htm#i1006459

Creating a User Who Is Authenticated Externally

The following statement creates a user who is identified by Oracle and authenticated by the operating system or a network service. This example
assumes that OS_AUTHENT_PREFIX = "".

CREATE USER scott IDENTIFIED EXTERNALLY;

Using CREATE USER ... IDENTIFIED EXTERNALLY, you create database accounts that must be authenticated by the operating system or network
service. Oracle will then rely on this external login authentication when it provides that specific operating system user with access to the database
resources of a specific user.
upvoted 2 times

 
Ekos
1 year, 7 months ago
B is the correct one.

Members of OSDBA group are granted the SYSDBA system privileges to administer the database.
upvoted 1 times

 
SimoneF
1 year, 6 months ago
But King is NOT a DBA user, as per stated in the question, and I assume is a requirement to leave that unchanged. So you don't allow a user the
DBA role (even worse actually, it would SYSDBA) just for it to be able to connect to the database.

E is the most correct if you want to allow the user to be authenticated by OS without changing its role.
upvoted 2 times

 
avanand
1 year, 10 months ago
I think answer should be A.

Because unless you set OS_AUTHENT_PREFIX you can't have this user created on database which can identified externally.

And when you have OS_AUTHENT_PREFIX set to OPS$ (eg) , you need to alter OPS$KING to identified externally not to KING.
upvoted 4 times

 
NowOrNever
1 year, 9 months ago
A - ist wrong

a prefix can be empty, it is not necessary to set it back to default OPS$


upvoted 5 times

 
Muhab
1 year, 10 months ago
The Answer should be A .

Ref : https://oracle-base.com/articles/misc/os-authentication
upvoted 4 times

 
Schmeili
1 year, 10 months ago
when you read https://oracle-base.com/articles/misc/os-authentication E is correct...
upvoted 3 times

 
SimoneF
1 year, 6 months ago
Agreed
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 89/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #50 Topic 1

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:

Exhibit 1.

Exhibit 2.

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

Correct Answer:
D

 
ioio
Highly Voted 
1 year, 2 months ago
the correct answer is C but so far nobody explained the correct reason!

the issue here is not the ALL operator but the last line of the query:

(promo_end_date - promo_begin_date) is returning the number of days which the promotion was running, but no interval, which is requested by
the question. so logically the query is not generating desired output.
upvoted 6 times

 
yukclam9
1 year, 2 months ago
dear ioio, you are right with the returned data type. however I see the promotion time interval as time difference between promotion, so it is
more of a logical concept rather than requirement on data type.
https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 90/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 1 times

 
Zairlam
Most Recent 
3 months, 1 week ago
I have recreated the tables and inserted some random data on them and tested the query.

The correct answer is C:

When you run

select prod_id from costs where prod_id in

(select prod_id from promotions where promo_cost < all

(select max(promo_cost) from promotions group by (promo_end-promo_begin)));

The query does go through but returns no results.

When you run the same query without the group by part you get the expected results (prod_id 2 had the highest promo_cost)

PROD_ID

4
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
C is correct
upvoted 1 times

 
ryuah
5 months, 1 week ago
sry D is correct
upvoted 1 times

 
EIYA
5 months, 2 weeks ago
D is correct
upvoted 1 times

 
ogdru
1 year, 3 months ago
<ALL: less than the lowest value returned by subquery.

<ANY: less than the highest value returned by subquery.


upvoted 4 times

 
Fan
1 year, 3 months ago
thank you.
upvoted 1 times

 
Phat
1 year, 5 months ago
so what is the correct answer ???
upvoted 2 times

 
sseet40
1 year, 5 months ago
The correct answer is D.

<ALL means that The value must be smaller than the smallest value in the list to evaluate to TRUE
upvoted 4 times

 
mberrios
1 year, 8 months ago
c - correct
upvoted 2 times

 
NowOrNever
1 year, 9 months ago
C- correct answer

display PROD_IDS whose promotion cost is less than the highest cost PROD_ID

WHERE promo_cost < ALL

(SELECT MAX(promo_cost)

FROM promotions

GROUP BY (promo_end_date - promo_begin_date)));


“< ALL …” here is the mistake, if the next selection returns not only one max value, it returns the wrong, maybe even an empty result
upvoted 4 times

 
adoptc94
1 year, 9 months ago
I'd suggest answer A, but I am not completely sure!
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 91/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #51 Topic 1

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 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.

Correct Answer:
BCF

Community vote distribution


ADE (100%)

 
danito
Highly Voted 
2 years ago
A D E i think the correct answers
upvoted 18 times

 
Franky_T
Most Recent 
1 month, 4 weeks ago
Once again a question with four correct answers and not three.

A is correct. Can be easily tested. The default behavior for the ON COMMIT action is to delete rows if no hold-able cursor is open on the table. A
TRUNCATE (DDL) performs an implicit COMMIT which closes any open cursor in the session.
B is wrong. You can grant other users SELECT privilege on your own GTT, but even if you do so the other user cannot see it. Can be easily tested.

C is wrong. GTT space allocation (TEMP tablespace) occurs when it's created and not when the session starts.
D is correct. The GTT exists at session level.

E is correct. GTT's metadata is stored on disk and visible to all sessions, GTT's data however is session specific.

F is correct. Can be easily tested. ON ROLLBACK DELETE ROWS is the default behavior for the NOT LOGGED option, thus removing all rows from a
GTT when a ROLLBACK command is issued in the session.
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
D E F are correct answers.
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
At the termination of the session the rows are deleted but the table still exists:

SQL> INSERT INTO temp1(id,description)

VALUES(1,'Transaction specific global temp table');

1 row created.

SQL>

SQL> select * from TEMP1;

ID

----------

DESCRIPTION

--------------------------------------------------------------------------------

Transaction specific global temp table

SQL> exit

Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.3.0.0.0

[oracle@localhost ~]$ sqlplus system/oracle

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Apr 6 00:41:30 2022

Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Last Successful login time: Wed Apr 06 2022 00:40:47 -04:00

Connected to:

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 92/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production


Version 19.3.0.0.0

SQL> select * from TEMP1;

no rows selected

SQL>
upvoted 1 times

 
Aramazd
2 months, 2 weeks ago
A delete from temp table cannot be rolled back:

SQL> select * from TEMP1;

ID

----------

DESCRIPTION

--------------------------------------------------------------------------------

Transaction specific global temp table

SQL> delete from temp1;

1 row deleted.

SQL> select * from TEMP1;

no rows selected

SQL> rollback;

Rollback complete.

SQL> select * from TEMP1;

no rows selected

SQL>
upvoted 1 times

 
josue1
4 days, 18 hours ago
SQL> create global temporary table tmp_t (n integer) on commit preserve rows;

Table created.

SQL>

SQL> insert into tmp_t values(1);

1 row created.

SQL> commit;

Commit complete.

SQL> select * from tmp_t;

----------

SQL> delete from tmp_t;

1 row deleted.

SQL> rollback;

Rollback complete.

SQL> select * from tmp_t;

----------

1
upvoted 1 times

 
casfdsaf
3 months, 1 week ago
Selected Answer: ADE
ADE correct
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 93/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
ryuah
5 months, 2 weeks ago
A,D,E is correct
upvoted 1 times

 
ogdru
1 year, 3 months ago
F is true

SQL> select * from gtt1;

ID

----------

1 row selected.

SQL> delete from gtt1;

1 row deleted.

SQL> select * from gtt1;

no rows selected

SQL> rollback;

Rollback complete.

SQL> select * from gtt1;

no rows selected
upvoted 1 times

 
_gio_
8 months, 3 weeks ago
but if you write a savepoint it works....
upvoted 1 times

 
NowOrNever
1 year, 9 months ago
BCF - are definitly WRONG
upvoted 1 times

 
saif_alrwiliy
1 year, 10 months ago
A. GLOBAL TEMPORARY TABLE rows inserted by a session are available to any other session whose user has been granted select on the table ->
FALSE, you cant view data from other session

B. GLOBAL TEMPORARY TABLE space allocation occurs at session start. -> AT First dml sentence, then space is allocated ¿false?

C. A DELETE command on a GLOBAL TEMPORARY TABLE cannot be rolled back. -> Depends. If you create with on commit preserve rows, you can
rollback and commit. -> FALSE

D. A GLOBAL TEMPORARY TABLE's definition is available to multiple sessions. -> Yes, with the appropiate permisions ¿TRUE?

E. Any GLOBAL TEMPORARY TABLE rows existing at session termination will be deleted. -> TRUE

F. A TRUNCATE command issued in a session causes all rows in a GLOBAL TEMPORARY TABLE for the issuing session to be deleted. -> TRUE,
truncate delete rows from table

¿D,E,F?

Very well presented explanations from Primisser

https://www.examtopics.com/discussions/oracle/view/8895-exam-1z0-071-topic-1-question-298-discussion/
upvoted 3 times

 
NiciMilo
1 year, 11 months ago
why is E correct?

Reference:

"Other users do not need the same table structure."

"Multiple connections can define declared global temporary tables with the same name"

https://docs.oracle.com/javadb/10.8.3.0/ref/rrefdeclaretemptable.html
upvoted 2 times

 
ama
1 year, 10 months ago
Global temporary Tables are permanent tables created and available to users.

only the data in the table is private to the user who inserted into it.

so the Definition (DDL) is available to multiple sessions


upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 94/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #52 Topic 1

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

Correct Answer:
AC

Reference:

https://gerardnico.com/db/oracle/trace_file

Community vote distribution


AC (100%)

 
GraceYu
Highly Voted 
2 years ago
AC

https://docs.oracle.com/html/E25494_01/monitoring001.htm

Each server and background process can write to an associated trace file. When an internal error is detected by a process, it dumps information
about the error to its trace file. Some of the information written to a trace file is intended for the database administrator, and other information is
for Oracle Support Services. Trace file information is also used to tune applications and instances.
upvoted 12 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
casfdsaf
Most Recent 
3 months, 1 week ago
Selected Answer: AC
AC correct
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,C is correct
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 95/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #53 Topic 1

st

You need to calculate the number of days from 1

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;

Correct Answer:
AB

Community vote distribution


CE (100%)

 
danito
Highly Voted 
2 years ago
I think C E
upvoted 15 times

 
Ekos
1 year, 6 months ago
i agree, C & E
upvoted 1 times

 
danito
2 years ago
sorry B E
upvoted 1 times

 
silsilgn
1 year, 11 months ago
c e are correct
upvoted 1 times

 
you1234
Highly Voted 
1 year, 11 months ago
Here is the correct option

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;


upvoted 13 times

 
Franky_T
Most Recent 
1 month, 4 weeks ago
Selected Answer: CE
Easily tested. They key thing here is to remember that we have to convert the supplied date (character format) into date format before we can use
in in an arithmetic expression.

A is wrong. Error 01722 invalid number.

B is wrong. Error 01722 invalid number.

C is correct. Returns a result.

D is wrong. Error 01722 invalid number.

E is correct. Returns a result.


upvoted 2 times

 
hp9000
1 year, 5 months ago
C:

select round(sysdate - to_date ('01/JANUARY/2019')) from dual;

E:

select sysdate - to_date ('01/JANUARY/2019') from dual;


upvoted 6 times

 
FayK
1 year, 11 months ago
Correct C& E.
upvoted 8 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 96/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
ama
1 year, 11 months ago
The answers are not clear to me, and they contain Syntax Errors..

can anyone retype the answers so we can execute them and see which works?
upvoted 3 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 97/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #54 Topic 1

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.
It can display multiple rows and columns

Correct Answer:
AB

Reference:

https://en.wikipedia.org/wiki/DUAL_table

Community vote distribution


EF (50%) BF (50%)

 
Sharif1
Highly Voted 
1 year, 10 months ago
B and F are correct answers.

F is correct :
SQL> SELECT level, sysdate

2 FROM dual

3 CONNECT BY

4 level <= 4;

LEVEL SYSDATE

---------- ---------

1 06-AUG-20

2 06-AUG-20

3 06-AUG-20

4 06-AUG-20

It can return multple rows and columns.

D is wrong, you just create a brand new user and do not grant any privilege but still it can select dual table.
upvoted 17 times

 
AnimeshOracle
1 month, 2 weeks ago
F is incorrect because Dual has only one column. Here in your example what you are doing is a projection of multiple column through select
statement which can be done in any table even though the table has limited number of columns.
upvoted 1 times

 
AnimeshOracle
1 month, 2 weeks ago
B,E seems to be more correct options.
upvoted 1 times

 
SimoneF
1 year, 6 months ago
Thank you, I got to F by exclusion but I was having some trouble finding a good example of a case in which it returned multiple rows.
upvoted 2 times

 
danito
Highly Voted 
2 years ago
B E https://docs.oracle.com/cd/B19306_01/server.102/b14200/queries009.htm
upvoted 10 times

 
ama
1 year, 11 months ago
E seems wrong, i would choose A and D
upvoted 1 times

 
ama
1 year, 11 months ago
sorry i mean, B & D
upvoted 4 times

 
Trowa
1 year, 10 months ago
BD are the correct answers.

https://stackoverflow.com/questions/50212079/is-it-possible-to-have-multiple-rows-with-select-from-dual

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 98/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 1 times

 
NiciMilo
1 year, 11 months ago
D is incorrect

"Alternatively, you can select a constant, pseudocolumn, or ***expression*** from any table"
upvoted 2 times

 
ama
1 year, 10 months ago
well, then B, F seems fine
upvoted 1 times

 
chenwen
Most Recent 
1 month, 1 week ago
B,E IS CORRECT
upvoted 1 times

 
casfdsaf
3 months, 1 week ago
Selected Answer: EF
I THINK EF
upvoted 1 times

 
yarsalan
4 months, 3 weeks ago
Selected Answer: BF
B , F are correct.
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
B,F is correct
upvoted 1 times

 
dummydba
1 year ago
B is correct as you guys explained here. And the other one should be E.

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

Any schema owner can select data from its own tables. so that argument is valid here.
upvoted 2 times

 
hp9000
1 year, 5 months ago
We agree on B, what's the second right answer?
upvoted 1 times

 
Phat
1 year, 3 months ago
D as Sharif1 explained.
upvoted 1 times

 
Muhab
1 year, 10 months ago
The Answer BE

ref
https://docs.oracle.com/cd/B19306_01/server.102/b14200/queries009.htm
upvoted 5 times

 
Schmeili
1 year, 10 months ago
E is incorrect, you can query dual without privilege select any schema
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 99/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #55 Topic 1

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

Correct Answer:
ACEG

Community vote distribution


ADEG (67%) ADEF (33%)

 
danito
Highly Voted 
2 years ago
ADEG i think
upvoted 23 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
NiciMilo
1 year, 10 months ago
How is D possible?
upvoted 1 times

 
nhsang
1 year, 10 months ago
In the relational 1-0, you can use ON DELETE SET NULL to keep child-records, but child-keys will be updated to NULL.
upvoted 3 times

 
ama
1 year, 10 months ago
this means that D is wrong
upvoted 1 times

 
SimoneF
1 year, 6 months ago
No because the child row stays, just some of its values are nullified.
upvoted 3 times

 
renzoku
1 year, 3 months ago
But you can be achieved by disabling the FK constraint and re enabling with no validate clause after performing delete on parent
table.
upvoted 2 times

 
avanand
Highly Voted 
1 year, 10 months ago
ADEG in my opinion too...

A. A table can have only one primary key but multiple foreign keys --> For sure

B. A table can have only one primary key and one foreign key --> There is no such restrictions

C. The foreign key columns and parent table primary key columns must have the same names --> There is no such restriction.

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 --> Can be achieved by
disabling the FK constraint and re enabling with no validate clause after performing delete on parent table.

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 -->
CASCADE option

F. Only the primary key can be defined at the column and table level --> No such restrictions

G. Primary key and foreign key constraints can be defined at both the column and table level --> True.
upvoted 13 times

 
LrnsTgh
10 months ago
might correct A, B (can have), D, E, G

wrong C ("Must"), F (PK,FK, UQ, CK defined at column and table level. only not null in column level).

I vote ADEG
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 100/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
ryuah
Most Recent 
2 weeks, 2 days ago
Selected Answer: ADEG
good choice
upvoted 1 times

 
algerianphoenix
1 month, 1 week ago
ADEG, without a shadow of doubt, just common DB knowledge.
upvoted 1 times

 
Franky_T
1 month, 4 weeks ago
Selected Answer: ADEG
A is correct. The only restriction is on the PK, a table can have only one. No restrictions exist on the number of FK's a table may have.

B is wrong. Tables may have many foreign keys in them, it all depends on the db's relational model.

C is wrong. The DB does not care about column names, only data type, size and contents of the PK and FK.

D is correct. The FK must be created with the ON DELETE SET NULL option. Without this option ORA-02292 will be raised when attempting to
delete a row from the parent table that has child record.

E is correct. The FK must be created with ON DELETE CASCADE option. Without this option ORA-02292 will be raised when attempting to delete a
row from the parent table that has child record.

F is wrong. The only constraint that has to be defined inline (column level) is NOT NULL.

G is correct. The only constraint that has to be defined inline (column level) is NOT NULL.
upvoted 1 times

 
casfdsaf
3 months, 1 week ago
Selected Answer: ADEF
adeg is correct
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,D,E,G is correct
upvoted 1 times

 
LongHi
6 months, 3 weeks ago
ADEG correct
upvoted 1 times

 
LongHi
6 months, 3 weeks ago
D: using ON DELETE cascade

F: using on delete set null


upvoted 1 times

 
LongHi
6 months, 3 weeks ago
sorry error typo: E: using on delete set null
upvoted 1 times

 
you1234
1 year, 11 months ago
ACEG is correct answer
upvoted 4 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 101/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #56 Topic 1

Examine the description of the EMPLOYEES table:

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;

Correct Answer:
B

Community vote distribution


C (67%) B (33%)

 
you1234
Highly Voted 
1 year, 11 months ago
C is correct answer
upvoted 20 times

 
danito
Highly Voted 
2 years ago
I think C
upvoted 9 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
C, by testing on OE DB sample.
upvoted 1 times

 
Franky_T
1 month, 4 weeks ago
Selected Answer: C
A is wrong. When using nested aggregate functions you are not allowed to display any additional column(s) other than the nested aggregate
function.

B is wrong. Missing the join_date column in the GROUP BY clause. The rule states: "Any column in the select list that's not part of an aggregate
function MUST BE in the group by clause".

C is correct.

D is wrong. Same issue as with option A.


upvoted 1 times

 
Sankar1406
2 months, 3 weeks ago
Selected Answer: C
C for sure
upvoted 1 times

 
sagartake
2 months, 4 weeks ago
Selected Answer: B
B is correct
upvoted 1 times

 
algerianphoenix
1 month, 1 week ago
C, in B there is a missing column in the group by clause.
upvoted 2 times

 
ryuah
5 months, 2 weeks ago
C is correct

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 102/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 1 times

 
Taush
9 months ago
I created the same table with same data type: Option A and B gave errors while C and D gave the same output.
upvoted 1 times

 
Guhborges
9 months, 2 weeks ago
C is the correct answer:

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

All options with non-groupable functions need to be added in GROUP BY.


upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 103/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #57 Topic 1

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.
The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax

Correct Answer:
AE

 
khalilshahin01
Highly Voted 
1 year, 10 months ago
Dear all,

AC is correct answer for sure

i faced this question in 1z0-071 exam and i select AC and got correct answers :)

Regards.
upvoted 14 times

 
ryuah
Most Recent 
5 months, 2 weeks ago
A,C is correct
upvoted 1 times

 
avanand
1 year, 10 months ago
A and C.

There's no performance benefit or hit by using ANSI joins rather than traditional joins, but by using ANSI joins, your queries are more portable
between DBMS platforms, and they're a bit easier to read.

http://www.dba-oracle.com/oracle_news/2004_2_19_rittman.htm
upvoted 4 times

 
adoptc94
1 year, 10 months ago
So now we have to choose between A and C or A and E

After reading through following explanation it seems to me that there are some specific cases where traditional joins perform better

Source (taken from ama's post up there): https://stackoverflow.com/questions/58476906/1z0-071-oracle-exam-question-which-answers-is-


correct

But generally speaking there shouldn't be any big differences in performance between traditional and ansi join syntax - I am pretty sure that
there are also some specific cases where ansi joins perform better than traditional joins.

So in that case I would go with A and C and just hope for the best!
upvoted 4 times

 
Fan
1 year, 3 months ago
ORACLE will never issue a software worse than others. so A E are correct.
upvoted 1 times

 
yukclam9
1 year, 2 months ago
your point is valid and they make all joining syntax equal in performance. there is no winner
upvoted 1 times

 
Ekos
1 year, 6 months ago
i agree, AC is the correct answer
upvoted 1 times

 
Chansi
1 year, 10 months ago
Thin its A and C. any evidence for E?
upvoted 2 times

 
ama
1 year, 10 months ago
E is correct… check this> https://stackoverflow.com/questions/58476906/1z0-071-oracle-exam-question-which-answers-is-correct

so i bet on A, E
upvoted 1 times

 
you1234
1 year, 11 months ago
https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 104/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

B & C looks close answers


upvoted 1 times

 
ama
1 year, 10 months ago
A, E !!!
upvoted 1 times

 
dotruonghan
1 year, 11 months ago
A is correct

https://orawiss.wordpress.com/table-alias-speed-up-database-access/
upvoted 1 times

 
you1234
1 year, 11 months ago
B & E is correct one
upvoted 1 times

 
ama
1 year, 11 months ago
can you Elaborate more ? is this a guess or you have evidence?
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 105/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #58 Topic 1

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.

Correct Answer:
BD

Community vote distribution


BC (100%)

 
NowOrNever
Highly Voted 
1 year, 10 months ago
BC are the correct one

https://oracle-base.com/articles/9i/oracle-managed-files

- Files typically have a default size of 100M

- if OMF is used you do not need to specify a path for the new created datafile

BUT

we have to "ensure that the command executes successfully"

so we need a location with at least 100 MB free space and we can ensure that with B or C
upvoted 9 times

 
ama
1 year, 10 months ago
really? if my database using OMF i should not add a path for the datafile.

The Database will do that for me !


upvoted 3 times

 
Phat
1 year, 3 months ago
yes, db does that for you, but if you want to specify the path, it also fine.
upvoted 1 times

 
Chansi
Highly Voted 
1 year, 10 months ago
This B,C because the question says either one of the solution should work. Ina situation where there isn't enough space in the "db_create_file_dest"
location, you either make sure to have enough space in "db_create_file_dest" or you can override by providing the path where there is enough
space
upvoted 6 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
ryuah
Most Recent 
2 weeks, 2 days ago
Selected Answer: BC
good choice
upvoted 1 times

 
Borislone
11 months, 3 weeks ago
BD is correct because in this case the database has both OMF and unmanaged files. with add data file clause, the path must be added
upvoted 1 times

 
adoptc94
1 year, 9 months ago
Correct answers are B,C

Answers A and E are false as OMF defaults to a file size of at least 100MB

As for answer D, you can omit the AUTOEXTEND clause, the database will use the default value of AUTOEXTEND UNLIMITED instead. Using
AUTOEXTEND ON won't ensure that the command executes successfully, as the file will be autoextensible either way.

So the only possible answers left are B and C.


https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 106/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 5 times

 
ama
1 year, 10 months ago
Here the evidence that D is correct

Very unfortunately, the default AUTOEXTEND ON NEXT size is 1 Database block (based on the blocksize of the tablespace). But if you create your
Tablespace using OMF (i.e. where "db_create_file_dest" is configured), then Oracle defaults the initial size to 100MB and *also* defaults the
AUTOEXTEND to ON with a of 100MB !
upvoted 2 times

 
SimoneF
1 year, 5 months ago
I think what you just quoted actually disproves D: if the autoextend is already automatically set ON with a next extent of 100M, then giving the
exact same option wouldn't change anything and especially wouldn't help ensuring that the statement completes correctly.
upvoted 3 times

 
ama
1 year, 11 months ago
Well,

first of all OMF is in use so no Need to specify a path for the new created datafile.

Correct answers must be C, D

https://oracle-base.com/articles/9i/oracle-managed-files
upvoted 3 times

 
Fan
1 year, 3 months ago
Oracle Managed Files (OMF) is used, so no need to specify a datafile location.
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 107/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #59 Topic 1

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

Correct Answer:
B

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
C is correct answer.
upvoted 21 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
ama
1 year, 11 months ago
Good hint,

An UNKNOWN status means that the instance is registered statically (with a SID_LIST) in the listener. ora file rather than dynamically with service
registration. Therefore, the database status is "not known" to the listener.
upvoted 4 times

 
XhostSI
Most Recent 
4 months, 2 weeks ago
C is the answer!
upvoted 1 times

 
ofranco
9 months, 1 week ago
Agree, it is C
upvoted 1 times

 
avanand
1 year, 10 months ago
Its C without doubt.
upvoted 1 times

 
danito
1 year, 10 months ago
and D? the picture shows port 1562?
upvoted 1 times

 
danito
1 year, 10 months ago
please forget my comment. totally agree the correct is C
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 108/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #60 Topic 1

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

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

Correct Answer:
BDE

 
GraceYu
Highly Voted 
2 years ago
DEF

Oracle Net Manager to locally control and Enterprise Manager Cloud Control to centrally control.
upvoted 15 times

 
dotruonghan
Highly Voted 
1 year, 11 months ago
Answer: D,E,F

Explanation:
https://docs.oracle.com/en/database/oracle/oracle-database/19/netag/introducing-oracle-net-services.html#GUID-6B1F0584-887D-4D2A-B982-
40ACF15DF985

• Oracle Enterprise Manager Cloud Control combines configuration functionality across multiple file systems, along with listener administrative
control to provide an integrated environment for configuring and managing Oracle Net Services.

• Oracle Net Manager provides configuration functionality for an Oracle home on a local client or server host.
upvoted 8 times

 
Borislone
Most Recent 
11 months, 1 week ago
A is correct
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 109/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #61 Topic 1

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

Correct Answer:
BE

 
you1234
Highly Voted 
1 year, 11 months ago
B & E is correct answer
upvoted 19 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
dotruonghan
Highly Voted 
1 year, 11 months ago
BE is correct answer
upvoted 7 times

 
ryuah
Most Recent 
5 months, 1 week ago
B,E is correct
upvoted 2 times

 
Guhborges
6 months, 3 weeks ago
B - E is correct!
upvoted 1 times

 
Oye
1 year, 7 months ago
B and E
upvoted 1 times

 
avanand
1 year, 10 months ago
B and E guys.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 110/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #62 Topic 1

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

A.
The ADR base defaults to $ORACLE_HOME/rdbms/admin if 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

Correct Answer:
AE

Reference:

https://docs.oracle.com/cd/E11882_01/install.112/e27508/admin.htm

 
elcaso34
Highly Voted 
2 years ago
I think C D.

The database, Oracle Automatic Storage Management (Oracle ASM), the listener, Oracle Clusterware, and other Oracle products or components
store all diagnostic data in the ADR.

https://docs.oracle.com/database/121/ADMIN/diag.htm#ADMIN11260
upvoted 18 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
Sharif1
Highly Voted 
1 year, 11 months ago
yes elcaso34 is correct, options C and D are correct.
upvoted 10 times

 
brolem
Most Recent 
9 months ago
A, B - Wrong: The ADR root directory is known as the ADR base. Its location is set by the DIAGNOSTIC_DEST initialization parameter. If this
parameter is omitted or left null, the database sets DIAGNOSTIC_DEST upon startup as follows: If environment variable ORACLE_BASE is set,
DIAGNOSTIC_DEST is set to SORACLE_BASE. If environment variable ORACLE_BASE is not set, DIAGNOSTIC_DEST is set to SORACLE_HOME/log.

C - Correct: For example, in an Oracle Real Application Clusters environment with Oracle ASM, each database instance, Oracle ASM instance, and
listener has an ADR home.

D - Correct: Oracle Clusterware uses ADR and has its own Oracle home and Oracle base.

E - Wrong: The Automatic Diagnostic Repository (ADR) is a directory structure that is stored outside of the database. It is therefore available for
problem diagnosis when the database is down.

From <https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/diagnosing-and-resolving-problems.html#GUID-951A06EE-DDF7-
4C2A-B0BB-B24418BB2E33>
upvoted 3 times

 
elbelgounetos
1 year, 3 months ago
The ADR root directory is known as the ADR base. Its location is set by the DIAGNOSTIC_DEST initialization parameter. If this parameter is omitted
or left null, the database sets DIAGNOSTIC_DEST upon startup as follows:

If environment variable ORACLE_BASE is set, DIAGNOSTIC_DEST iS set to SORACLE_BASE.

If environment variable ORACLE_BASE is not set, DIAGNOSTIC_DEST iS set to SORACLE_HOME/log.


upvoted 3 times

 
danito
2 years ago
I think A D
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 111/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #63 Topic 1

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

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

Correct Answer:
ACF

Reference:

https://docs.oracle.com/database/121/ARPLS/d_priv_prof.htm#ARPLS74328

 
ama
Highly Voted 
1 year, 10 months ago
i would say B, E , F are correct!
upvoted 18 times

 
Fw1z
12 months ago
b is wrong only SYS!!!!!!
upvoted 1 times

 
Yema
1 year, 4 months ago
I agree also

http://dbaparadise.com/2019/02/7-steps-to-setup-privilege-analysis/
upvoted 1 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
XhostSI
Most Recent 
4 months, 2 weeks ago
A. An undo segment may be used by multiple transactions simultaneously - True

B. Undo segments can wrap around to the first extent when a transaction fills the last extent of the undo segment - True (undo segment act as a
circular buffer)

C. Undo segments have a minimum of three extents - False (each segment has a minimum of two extents)

D. Undo segments can extend when a transaction fills the last extent of the undo segment - True (Undo tablespace are locally managed with auto
extent allocation )

E. A single transaction may use multiple undo segments simultaneously - False

F. Undo segments must be stored in a BIGFILE tablespace - False

G. Undo segments must be stored in a SMALLFILE tablespace - False (DBCA automatically creates a smallfile undo tablespece, but it can be
configured as bigfile table space as well)

So correct answers are: A, B, D


upvoted 1 times

 
Guhborges
6 months, 3 weeks ago
A - E - F CORRECT!!!!

A - Right - We can analyze the administrative user, the oracle just excludes the SYS user

B - Wrong, oracle does not delete administrative user, like question A, only SYS user

C - Wrong - We cannot analyze the permission of the scheme itself

D - Wrong - We cannot analyze the privilege of our schema

E - Right - we can analyze the permission that was given directly.

F - Right - we can analyze the permission that was given indirectly.


upvoted 2 times

 
Borislone
11 months, 3 weeks ago
sorry BEF is definitely correct
upvoted 1 times

 
Borislone
11 months, 3 weeks ago
the correct answer is AEF
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 112/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
nobody347
1 year ago
Anybody have answer for this question after exam?
upvoted 1 times

 
ama
1 year, 10 months ago
we can analyze all users except SYS, i dunno but answer B saying all users except administrative Users!

You cannot analyze the privileges of the SYS user.

https://docs.oracle.com/en/database/oracle/oracle-database/19/dbseg/performing-privilege-analysis-find-privilege-use.html#GUID-AD683DDB-
D345-4702-B1F4-37B79F276B66
upvoted 3 times

 
KtNow
1 year, 5 months ago
administrative users - SYS, SYSTEM.

DBMS_PRIVILEGE_CAPTURE Analyzes all privilege use, except privileges used by the SYS (ONLY SYS!!!!!)

DEF sounds right


upvoted 3 times

 
leozanon94
10 months ago
DEF sounds right also for me.

A and B: are false for administrative users.

C: is false cause this procedure doesn't analyze privileges not used.

D: is true cause you can set the type as G_DATABASE --> : "Captures all privilege use in the database, except privileges used by the SYS user."
So including privileges in own schema.

E and F are true cause it analyzes privileges directly and indirectly

https://docs.oracle.com/en/database/oracle/oracle-database/21/arpls/DBMS_PRIVILEGE_CAPTURE.html#GUID-8E855D12-AF7B-4995-878B-
B954FA92FF08
upvoted 2 times

 
Guhborges
6 months, 3 weeks ago
You are wrong bout the user SYSTEM, we can't analyze only the user SYS

SQL> BEGIN

DBMS_PRIVILEGE_CAPTURE.CREATE_CAPTURE(

name =>

'validando_permissao',

description => 'Analyzes system

privilege use',

type =>

DBMS_PRIVILEGE_CAPTURE.G_CONTEXT,

condition =>

'SYS_CONTEXT(''USERENV'',

''SESSION_USER'')=''system''');

END;

/ 2 3 4 5 6 7 8 9 10 11 12 13

PL/SQL procedure successfully completed.


upvoted 1 times

 
ama
1 year, 10 months ago
C, D are wrong!

Privileges in own Schema can not be analyzed!


upvoted 1 times

 
NowOrNever
1 year, 11 months ago
DEF - i think

Database privilege analysis enables you to create a policy that records the usage of system and object privileges that have been granted to users.
You then can determine the privileges that your users are using and not using. From there, you can revoke any unused privileges, thereby reducing
the number of excess privilege grants for users.

C- you can analize only used privileges, but then determine the unsued privileges

F - When using role-based analysis for the CREATE_CAPTURE procedure, privilege use is analyzed even if the privilege is indirectly granted to the
specified role.
upvoted 2 times

 
Sharif1
1 year, 11 months ago
The option B seems to be more close. The answer is given in the same link.

Analyzes all privilege use, except privileges used by the SYS user.

So the options which are correct seems to be B C F.


upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 113/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #64 Topic 1

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

Correct Answer:
ADG

 
adoptc94
Highly Voted 
1 year, 10 months ago
F and G are both false!

While the default is smallfile you can also create a bigfile undo tablespace which means both smallfile and bigfile are possible for undo tablespaces

E is also false as each transaction is assigned to only one undo segment, but an undo segment can service more than one transaction at a time ->
A is right

Which leaves us with B,C,D as possible answers.

B and D are true -> taken from the Oracle Administrator Workshop Studyguide: Transactions and Undo Data (14 - 5): If an extent fills up and more
space is needed, the transaction acquires that space from the next extent in the segment. After all extents have been consumed, the transaction
either wraps around back into the first extent or requests a new extent to be allocated to the undo segment (supporting answers B and D)

The right answers for this question are: A,B,D

I would also say that C is false as I am pretty sure that UNDO segments have a minimum of 2 extents (and not 3 extents) to support the circular use
of undo segments and this can be achieved by a minimum of 2 extents
upvoted 14 times

 
tlcecertified
1 year, 7 months ago
C is correct, in 19c, any simple transaction (e.g. updating only 1 field of 1 record) would generate 3 extents, you can observe the number of
extent_id in dba_undo_extents view to justify this.

my test script

set transaction name 'testforanswerc';

update dual set dummy = 'y';

select

r.name "RBS name",

t.used_ublk "Undo blocks",

t.used_urec "Undo recs"

from

v$session s,

v$transaction t,

v$rollname r

where

t.addr = s.taddr

and

r.usn = t.xidusn;

SELECT SEGMENT_NAME, EXTENT_ID FROM DBA_UNDO_EXTENTS WHERE SEGMENT_NAME='<what you found from above r.name column>'

rollback;
upvoted 2 times

 
ogdru
1 year, 3 months ago
SQL> create undo tablespace undotbs02;

Tablespace created.

SQL> select distinct tablespace_name, extent_id from dba_undo_extents order by 1,2;

TABLESPACE_NAME EXTENT_ID

------------------------------ ----------

UNDOTBS02 0

UNDOTBS02 1
https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 114/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 1 times

 
avanand
Highly Voted 
1 year, 10 months ago
I think it should be A D G
upvoted 5 times

 
XhostSI
Most Recent 
4 months, 1 week ago
A. An undo segment may be used by multiple transactions simultaneously - True

B. Undo segments can wrap around to the first extent when a transaction fills the last extent of the undo segment - True (undo segment act as a
circular buffer)

C. Undo segments have a minimum of three extents - False (each segment has a minimum of two extents)

D. Undo segments can extend when a transaction fills the last extent of the undo segment - True (Undo tablespace are locally managed with auto
extent allocation )

E. A single transaction may use multiple undo segments simultaneously - False

F. Undo segments must be stored in a BIGFILE tablespace - False

G. Undo segments must be stored in a SMALLFILE tablespace - False (DBCA automatically creates a smallfile undo tablespece, but it can be
configured as bigfile table space as well)

So correct answers are: A, B, D


upvoted 2 times

 
Borislone
11 months, 3 weeks ago
A is correct for parallel DML or DDL transaction multiple undo segments can be used simultaneously
upvoted 1 times

 
Schmeili
1 year, 10 months ago
seems to be A, D, G

A because of:

Multiple active transactions can write concurrently to the same undo segment or to different segments. For example, transactions T1 and T2 can
both write to undo segment U1, or T1 can write to U1 while T2 writes to undo segment U2.
upvoted 3 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
NowOrNever
1 year, 10 months ago
Correct Answer: CDG

Wrong Answer: ABEF

I could not complete verify C, but in my DB it seems to be the default size on creation, i have not tried to minimize them

UNDO segments are used in a circular fashion. If there are ten UNDO segments, the first transaction uses the first UNDO segment, the second
transaction uses the second UNDO segment, and the eleventh transaction circles back to the first UNDO segment. Once a transaction starts in an
UNDO segment, it must finish in that segment.
upvoted 1 times

 
ama
1 year, 10 months ago
are you really sure that C is correct!!!!???

look below

SQL> select segment_name,count(EXTENT_ID) from dba_undo_extents group by segment_name;

SEGMENT_NAME COUNT(EXTENT_ID)

------------------------------ ----------------

_SYSSMU11_3443795589$ 24

_SYSSMU6_1437887270$ 22

_SYSSMU135_1421094332$ 2

_SYSSMU161_3597468454$ 2
upvoted 1 times

 
NowOrNever
1 year, 9 months ago
you are right C is wrong

A is the correct one

https://coggle.it/diagram/WuHx64lXs-uDQScg/t/managing-undo-data

https://www.coursehero.com/file/p5uvnu8/10-6-Transactions-and-Undo-Data-Each-transaction-is-assigned-to-only-one-undo/

it's hidden in the course material

So i also go with ADG


upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 115/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #65 Topic 1

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

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

Correct Answer:
DE

Reference:

https://docs.oracle.com/en/database/oracle/oracle-database/19/admqs/getting-started-with-database-administration.html#GUID-EB851101-
07BE-

4038-BB9D-06E01CC7F5D5

 
dbaclaudio
Highly Voted 
1 year, 5 months ago
Correct Answers:

A and C

A - Correct -> to startup the enterprise manager database express, the database have to be in open state

B - Incorrect -> to perform a full recovery, the database has to be in mount state, and EM express not work if database is not in open state

C - Correct -> since they are in different hosts, you can use the same port for then (default 5500)

D - Incorrect -> to switch a database to ARCHIVELOGMODE the database need to be in mount state (like B answer)

E - Incorrect -> the same port cannot be used in the same time for different services in the same host (here a basic of tcp/ip protocol)

If need more reference:

EM Express (Chapter 3.3)

https://docs.oracle.com/en/database/oracle/oracle-database/19/admqs/2-day-dba.pdf

ARCHIVELOGMODE (Chapter 12.3.2)

https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/database-administrators-guide.pdf
upvoted 11 times

 
avanand
Highly Voted 
1 year, 10 months ago
Whats wrong with A and C.

And if A is correct how can D be correct?


upvoted 8 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
adoptc94
1 year, 10 months ago
The correct answers are A and C
upvoted 9 times

 
ama
Most Recent 
1 year, 11 months ago
A, B are correct!

EM Express is available only when the database is open. This means that EM Express cannot be used to start up the database. Other operations that
require that the database change state, such as enable or disable ARCHIVELOG mode, are also not available in EM Express.
upvoted 1 times

 
ama
1 year, 11 months ago
Sorry, A and C are corrects, because Database Recovery requires sometimes changing the DB state
upvoted 13 times

 
danito
2 years ago
A E https://www.oracle.com/technetwork/database/manageability/emx-intro-1965965.html
upvoted 1 times

 
ama
1 year, 11 months ago
E is wrong…

Use the PL/SQL procedure DBMS_XDB_CONFIG.SETHTTPSPORT to set the HTTPS port for EM Express for the database to a port that is not in
use. This will update the HTTPS port in the xdbconfig.xml file in the Oracle XML DB Repository. You must connect as SYS / AS SYSDBA to run the
procedure.

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 116/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

so you Need to use a port that is not in use


upvoted 1 times

 
elcaso34
2 years ago
OEM Database Express is designed to manage only one database, and is intended for

database administrators. When you invoke Database Express, you will be prompted for a

username and password to connect to the database. You should provide a user account that

has administrative privileges.


upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 117/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #66 Topic 1

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.)

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

Correct Answer:
AB

Community vote distribution


AD (100%)

 
danito
Highly Voted 
2 years ago
A D the correct options
upvoted 28 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
you1234
Highly Voted 
1 year, 11 months ago
A & D is correct
upvoted 13 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
AD, Employee 100 will have Employee 200 data ...
upvoted 1 times

 
ryuah
5 months, 2 weeks ago
A,D is correct
upvoted 1 times

 
Guhborges
6 months, 3 weeks ago
Selected Answer: AD
A D the correct!
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 118/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #67 Topic 1

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.

Correct Answer:
AC

 
danito
Highly Voted 
2 years ago
A B are the correct options
upvoted 13 times

 
elbelgounetos
1 year, 3 months ago
reference https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/The-UNION-ALL-INTERSECT-MINUS-Operators.html#GUID-
B64FE747-586E-4513-945F-80CB197125EE
upvoted 1 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
I would also say A and B - "...Tables must have the same number of columns presented in the same order. In addition, the data type of the
corresponding column must be in the same data type group such as number or character..."
upvoted 6 times

 
ryuah
Most Recent 
5 months, 1 week ago
A,B is correct
upvoted 1 times

 
avanand
1 year, 10 months ago
A and B are correct.

For SET operator, Data type group should be matched.

For example, a NUMBER column in first query can be UNIONed with INTERGER column in second query.
upvoted 3 times

 
you1234
1 year, 11 months ago
C & E is correct answer
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 119/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #68 Topic 1

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)

Correct Answer:
ADE

 
SimoneF
Highly Voted 
1 year, 5 months ago
C D E:

"TIMESTAMP WITH LOCAL TIME ZONE is another variant of TIMESTAMP that is sensitive to time zone information. It differs from TIMESTAMP WITH
TIME ZONE in that data stored in the database is normalized to the database time zone, and the time zone information is not stored as part of the
column data. When a user retrieves the data, Oracle returns it in the user's local session time zone."

So, the data is stored with the DB Timezone, even if it's retrieved with the session timezone.

A is clearly wrong by example, so the rest are true. With D and E we can also have an easy sample, while for C, which is apparently the most
ambiguous, I agree with whom was saying that the TIMESTAMP data type contains indeed informations about day, month and year, and in the
answer is never stated that they are the only ones present. So as it's put, it's definitely right.

https://docs.oracle.com/database/121/NLSPG/ch4datetime.htm#GUID-CD2954CE-45E2-4938-A599-CCB96879510F
upvoted 8 times

 
yarsalan
Most Recent 
4 months, 4 weeks ago
C is wrong. The TIMESTAMP datatype is an extension of the DATE datatype. It stores a year, month, day, hour, minute, and second values. It also
stores fractional seconds, which are not stored by the DATE datatype.
https://docs.oracle.com/cd/B19306_01/server.102/b14225/ch4datetime.htm#:~:text=The%20TIMESTAMP%20datatype%20is%20an,stored%20by%2
0the%20DATE%20datatype.
upvoted 1 times

 
MCzombie
1 year, 5 months ago
(CDE) IAM SURE!!
upvoted 2 times

 
heaaa
1 year, 7 months ago
B IS wrong.

TIMESTAMP WITH LOCAL TIME ZONE Data Type

TIMESTAMP WITH LOCAL TIME ZONE is another variant of TIMESTAMP. It differs from TIMESTAMP WITH TIME ZONE as follows: data stored in the
database is normalized to the database time zone, and the time zone offset is not stored as part of the column data.

so session time zone must transform .


upvoted 1 times

 
Chansi
1 year, 10 months ago
B, is only right if you supply the offset . Here is the test . Still B ? any thoughts?

alter session set time_zone='-7:00';

SQL> desc test3

Name Null? Type

----------------------------------------- -------- ----------------------------

ID NUMBER

TIMES1 TIMESTAMP(6) WITH LOCAL TIME

ZONE

insert into test3 values (8, TIMESTAMP '2020-07-01 2:00:00 -8:00');

insert into test3 values (9,TIMESTAMP '2020-07-01 2:00:00');

SQL> select id,times1 from test3 where id in (8,9);

ID

----------

TIMES1

---------------------------------------------------------------------------

01-JUL-20 03.00.00.000000 AM

01-JUL-20 02.00.00.000000 AM

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 120/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

upvoted 2 times

 
NowOrNever
1 year, 9 months ago
B - ... column is stored in the database ***using*** the time zone ...

in the first insert you are overwriting the offset

the second insert uses your session offset


upvoted 2 times

 
ama
1 year, 10 months ago
i still believe B, D, E are correct..

C is wrong because The TIMESTAMP data type allows you to store date and time data including year, month, day, hour, minute and second.
upvoted 3 times

 
adoptc94
1 year, 9 months ago
I don't see any issue with answer C!

While it does also store hour, minute and seconds the answer doesn't state that it ONLY stores year, month and day - it does contain it which is
true.

I'd go with C,D,E


upvoted 8 times

 
ama
1 year, 10 months ago
D is correct > SQL> select DBTIMEZONE from dual;

DBTIME

------

+01:00
upvoted 1 times

 
NowOrNever
1 year, 11 months ago
Correct Answer: BCD

Wrong Answer: AE

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

CURRENT_TIMESTAMP

Returns the current date and time in the session time zone as a TIMESTAMP WITH TIME ZONE value

select CURRENT_TIMESTAMP from dual;

-- CURRENT_TIMESTAMP

-- 28-JUL-20 09.56.37.618148000 AM AMERICA/LOS_ANGELES

DBTIMEZONE

Returns the value of the database time zone. The value is a time zone offset or a time zone region name

SESSIONTIMEZONE

Returns the value of the current session's time zone

SELECT sessiontimezone FROM DUAL;

-- SESSIONTIMEZONE

-- America/Los_Angeles

B is driving me crazy, but AE are wrong, so ...


upvoted 1 times

 
ama
1 year, 10 months ago
but in one of my database the sessiontimezone Returns this:

SQL> select SESSIONTIMEZONE from dual;

SESSIONTIMEZONE

---------------------------------------------------------------------------

+02:00

SQL>

what you think?


upvoted 1 times

 
ama
1 year, 11 months ago
A is wrong

SQL> select CURRENT_TIMESTAMP from dual;

CURRENT_TIMESTAMP

---------------------------------------------------------------------------

23.07.20 12:18:00,735965 +02:00


upvoted 3 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 121/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
you1234
1 year, 11 months ago
B & C & E is correct answer
upvoted 1 times

 
ama
1 year, 11 months ago
B, D, E are correct…

C is wrong see my Reply to danito


upvoted 3 times

 
ama
1 year, 11 months ago
The TIMESTAMP data type allows you to store date and time data including year, month, day, hour, minute and second.
upvoted 1 times

 
danito
2 years ago
C D E i think
upvoted 4 times

 
ama
1 year, 11 months ago
C is wrong …

SQL> select systimestamp from dual;

SYSTIMESTAMP

---------------------------------------------------------------------------

01.07.20 11:49:00,748290 +02:00


upvoted 2 times

 
elbelgounetos
1 year, 3 months ago
A is wrong It's local_timezone

B is wrong, it depend of the function used to insert

C is not "only" it can contain more information. => true

D true see documentation.

SESSIONTIMEZONE returns the time zone of the current session. The return type is a time zone offset (a character type in the format
'[+|-]TZH:TZM') or a time zone region name, depending on how the user specified the session time zone value in the most recent ALTER
SESSION statement.

E true see documentation

DBTIMEZONE returns the value of the database time zone. The return type is a time zone offset (a character type in the format
'[+|-]TZH:TZM') or a time zone region name, depending on how the user specified the database time zone value in the most recent CREATE
DATABASE or ALTER DATABASE statement.

SO C,D,E
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 122/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #69 Topic 1

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

Correct Answer:
ABF

Reference:

https://www.studytonight.com/dbms/joining-in-sql.php

 
danito
Highly Voted 
2 years ago
I think A B E
upvoted 17 times

 
Ekos
Highly Voted 
1 year, 7 months ago
i think A, B, E is the correct answer

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

can be like following query :

- select * from table a left join table1 b on a.col1 = b.col1 and a.col2=b.col2;
upvoted 5 times

 
ryuah
Most Recent 
5 months, 1 week ago
A,B,E is correct
upvoted 2 times

 
krontar
9 months ago
A B E

F is wrong. To be true It should be "FULL outer join".

Left outer (only rows from the left table)

Right outer (only rows from the right table)


upvoted 1 times

 
krontar
9 months ago
F. A left or right outer join returns only unmatched rows

To be TRUE it should be

"F. A left or right outer join returns only unmatched rows FOR THE JOINED TABLE"
upvoted 1 times

 
SimoneF
1 year, 5 months ago
A B E, no doubts for me here.
upvoted 5 times

 
escoletsgo1
1 year, 9 months ago
F is wrong guys. How can a left or right join 'ONLY" return unmatched rows?

ABE is the answer.


upvoted 4 times

 
ama
1 year, 10 months ago
A,B, F
upvoted 1 times

 
NiciMilo
1 year, 10 months ago
Why F? i think E is correct
upvoted 1 times

 
ama
1 year, 10 months ago
because F : LEFT JOIN returns only unmatched rows from the left table. RIGHT JOIN returns only unmatched rows from the right table.

https://mode.com/sql-tutorial/sql-outer-joins/
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 123/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
adoptc94
1 year, 10 months ago
F is wrong!! A left join returns all rows from the left table and rows from the right table where the join condition is met! Left or Right Joins
DO NOT return only unmatched rows!

So if we have table1 (left table) and table2 (right table): The left join would return all records from table1 and only those records from
table2 that intersect with table1.

I would go with answers: A,B,E


upvoted 6 times

 
Yema
1 year, 4 months ago
ama is correct. I read his reference.

There are a few types of outer joins:

LEFT JOIN returns only unmatched rows from the left table.

RIGHT JOIN returns only unmatched rows from the right table.

FULL OUTER JOIN returns unmatched rows from both tables.


upvoted 1 times

 
you1234
1 year, 11 months ago
A & B & F is correct answer
upvoted 4 times

 
ama
1 year, 11 months ago
F?

The left outer join returns a resultset table with the matched data from the two tables and then the remaining rows of the left table and null
from the right table's columns.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 124/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #70 Topic 1

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;

Correct Answer:
BD

 
NowOrNever
Highly Voted 
1 year, 11 months ago
BD are correct
upvoted 16 times

 
Ekos
1 year, 6 months ago
agree, BD are correct
upvoted 2 times

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
Sorry, A is not correct since DATE is keyword. So B and D are correct.
upvoted 6 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
BD, Correct Answer.
upvoted 1 times

 
ryuah
5 months, 1 week ago
B,D is correct
upvoted 1 times

 
Rivaldo11
1 year, 11 months ago
A is also correct answer.
upvoted 1 times

 
algerianphoenix
1 month, 1 week ago
Nope, you can not use the keyword DATE.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 125/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #71 Topic 1

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

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;

Correct Answer:
BC

 
you1234
Highly Voted 
1 year, 11 months ago
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;


Correct C & E.
upvoted 16 times

 
Ekos
1 year, 7 months ago
correct, C & E
upvoted 3 times

 
ama
1 year, 10 months ago
YES C & E
upvoted 3 times

 
XhostSI
Most Recent 
4 months ago
Adopted to HR Schema:

SELECT NVL(TO_CHAR(commission_pct * .15), 'Not Available') FROM employees;

SELECT NVL2(commission_pct, TO_CHAR(commission_pct * .15), 'Not Available') FROM employees;

Correct answers: C, E
upvoted 1 times

 
ama
1 year, 11 months ago
C , D are corrects!
upvoted 1 times

 
LrnsTgh
10 months ago
D has no different with A. they aren't correct.
upvoted 1 times

 
amorimleandro
1 year, 11 months ago
Nope, C, E are correct. You cannot convert all the function NVL in D, because its result is an error. But, in E, we have a similar situation as in C.
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 126/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #72 Topic 1

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

Correct Answer:
A

 
you1234
Highly Voted 
1 year, 11 months ago
D is correct
upvoted 17 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
danito
Most Recent 
2 years ago
A is wrong. I think the correct is D
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 127/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #73 Topic 1

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

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

Correct Answer:
DF

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
E and D are during NOMOUNT stage, A and B are during OPEN stage, so correct answer should be C and F.
upvoted 15 times

 
Ekos
1 year, 6 months ago
i agree with CF
upvoted 2 times

 
NowOrNever
1 year, 10 months ago
i agree with CF

http://facedba.blogspot.com/2014/07/oracle-database-startup-stages-and.html
upvoted 7 times

 
baeji
Highly Voted 
1 year, 6 months ago
A. The online redo logs are opened - OPEN

B. The online data files are opened - OPEN

C. The alert log records the execution details - MOUNT

D. The Oracle background processes are started - NOMOUNT

E. The initialization parameter file is read - NOMOUNT

F. The control file is read - MOUNT


upvoted 13 times

 
kamunkafle
Most Recent 
9 months ago
Initialization parameters are read and Oracle background processes are started in NOMOUNT mode.

The control file is read , alert log records the execution details along with trace files starts in MOUNT mode because the control file is read at this
stage.

Redo logs and datafiles are opened after OPEN mode.

E,D 100%
upvoted 1 times

 
kamunkafle
9 months ago
I mean CF lol
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 128/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #74 Topic 1

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)

Correct Answer:
CE

Reference:

https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_3001.htm

 
you1234
Highly Voted 
1 year, 11 months ago
E & F is correct one
upvoted 17 times

 
Ekos
1 year, 6 months ago
i agree E & F is the correct answer
upvoted 4 times

 
ama
1 year, 11 months ago
i agree
upvoted 5 times

 
leozanon94
1 year ago
i agree, but during exam what did you chose?
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 129/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #75 Topic 1

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

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

Correct Answer:
BD

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
C & E are correct - ..."SQL*Loader express mode generates a log file that includes a SQL*Loader control file. The log file also contains SQL scripts
for creating the external table and performing the load using a SQL INSERT AS SELECT statement. Neither the control file nor the SQL scripts are
used by SQL*Loader express mode. They are made available to you in case you want to use them as a starting point to perform operations using
regular SQL*Loader or standalone external tables; the control file is for use with SQL*Loader, whereas the SQL scripts are for use with standalone
external tables operations."
upvoted 21 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 3 times

 
Borislone
Most Recent 
11 months, 3 weeks ago
CD is correct
upvoted 2 times

 
Datajimm
3 months, 1 week ago
D is not correct.

It is true, that is generates a script, but "Neither the control file nor the SQL scripts are used by SQL*Loader express mode." while answer D
states "...that it uses to load data..."

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-sql-loader-express-mode.html#GUID-0F35B551-861B-
450D-8BF3-2312893A67D7
upvoted 1 times

 
ama
1 year, 11 months ago
This is tricky Question, as the Oracle documentation states:

A conventional Path insert takes the data in the source file and constructs Basic insert Statements using the individual source data as bind variables,
These Statements are then then run against the table and data is inserted, the data is read into the Buffer Cache.
upvoted 1 times

 
you1234
1 year, 11 months ago
D & E is correct answer
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 130/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #76 Topic 1

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

Correct Answer:
B

Community vote distribution


C (100%)

 
you1234
Highly Voted 
1 year, 11 months ago
B looks OK the answer?
upvoted 13 times

 
ama
1 year, 11 months ago
yes B is correct
upvoted 7 times

 
Ekos
1 year, 6 months ago
yes, i agree
upvoted 2 times

 
ryuah
Most Recent 
1 week, 3 days ago
Selected Answer: C
hey C is correct because orcl is alias not database instance. and full path need.
upvoted 1 times

 
danito
2 years ago
C is correct. orcl is a host not database instance
upvoted 1 times

 
Guhborges
6 months, 4 weeks ago
Yeah, on this case you're wrong
upvoted 1 times

 
ama
1 year, 11 months ago
You are wrong!!!!
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 131/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #77 Topic 1

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

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

B.
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

Correct Answer:
ADE

Community vote distribution


BCF (100%)

 
ama
Highly Voted 
1 year, 10 months ago
B, C, F
upvoted 9 times

 
Phat
1 year, 5 months ago
I would select BCF
upvoted 1 times

 
ama
Highly Voted 
1 year, 11 months ago
so in my opinion , B & C & D are correct!
upvoted 5 times

 
MCzombie
1 year, 5 months ago
agreed!
upvoted 2 times

 
yarsalan
Most Recent 
4 months, 4 weeks ago
Selected Answer: BCF
B, C, F are correct
upvoted 1 times

 
Borislone
9 months ago
The Answer should be BDE.

C is missing the "Not" making it incorrect.


upvoted 1 times

 
SimoneF
1 year, 5 months ago
I think the biggest confusion here is given by option D.

While A is false (can't change the uniqueness of an index) as E (Indexes of a dropped table are moved to the recycled bin if enabled)

B is true if you select more indexed columns on different indexes and no unindexed columns.

C is true for sure cause it's possible, given the right privileges, to create an index as schema X on a table owned by schema Y.

F Is true cause no index may be updated, if you update a non-indexed column and the row address is unchanged

D also sounds right, I think the key might be in the phrasing here: if it's intended that the update of any or all indexes are the only possible
outcome of a table update, then it would in fact be false. Otherwise, as someone else noted, I also suspect that more answers may be right, even
though you only have to select three.
upvoted 3 times

 
gbab1792
1 year, 6 months ago
C D E is correct
upvoted 1 times

 
MartinY
1 year, 7 months ago
BCF is correct

B: index-only scan

C: global temporary table

F: changing the non-index column


upvoted 1 times

 
rosiiieee
1 year, 9 months ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 132/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

So what is the EXACT ANSWER? I think CDE... I saw this question when i study 1z0-071 test, but after i see these discusses, i cannot have confidence
about my answer...
upvoted 1 times

 
danito
1 year, 9 months ago
Be careful with the exam. I had this question but with a small detail:

one of answer was: very similar to C but "cannot" instead of "can"

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

(my exam) A table belonging to one user cannot have an index that belongs to a different use

So you must study a lot. To study this dump is not enought


upvoted 2 times

 
NowOrNever
1 year, 9 months ago
Thx

so BDF is right

and C is maybe missing the "not" which would make it to a wrong answer
upvoted 3 times

 
Phat
1 year, 5 months ago
if this is changed in the question, so I guess the final answer is BDF.
upvoted 1 times

 
BananaSlug
1 year, 10 months ago
A C E

A - True: To view all indexes, you can simply type: SELECT * FROM all_indexes;

B - False: "when rows are inserted or deleted, all indexes on the table must be updated as well. Also, when a column is updated, all indexes that
contain the column must be updated." - https://docs.oracle.com/cd/B10501_01/server.920/a96521/indexes.htm
upvoted 1 times

 
BananaSlug
1 year, 10 months ago
C - True: "To create an index in another schema, you must have CREATE ANY INDEX system privilege. Also, the owner of the schema to contain
the index must have either space quota on the tablespaces to contain the index or index partitions, or UNLIMITED TABLESPACE system
privilege." - https://docs.oracle.com/cd/A87860_01/doc/server.817/a76956/indexes.htm
upvoted 1 times

 
BananaSlug
1 year, 10 months ago
D - False: All answers on Stack Overflow say the only way to do this is to first drop the unique index and recreate it as non-unique. -
https://stackoverflow.com/questions/11979152/oracle-database-converting-unique-index-to-non-unique-one

E - True: (same as B) "when rows are inserted or deleted, all indexes on the table must be updated as well. Also, when a column is updated,
all indexes that contain the column must be updated." - https://docs.oracle.com/cd/B10501_01/server.920/a96521/indexes.htm
upvoted 1 times

 
BananaSlug
1 year, 10 months ago
F - False: "If you dropped a table, and recovered it back from the recycle bin, what happens to its indexes? Are all indexes recovered back
automatically? The answer is that all indexes will be recovered, if you recover a dropped table from the recycle bin. However, the indexes'
names will not be the original names." - http://dba.fyicenter.com/faq/oracle/Recovered-Table-with-Index.html
upvoted 1 times

 
NowOrNever
1 year, 10 months ago
AE - wrong that i agree

D - correct i agree too

F - if i update a non indexed column and the row does not change the position in the datafile (because the updated value uses the same amount of
space) the index should not be touched right?
upvoted 1 times

 
ama
1 year, 10 months ago
You are correct that updating an non-indexed column will not cause changes to the Indexes, probably F should be picked instead D

what you thinK?


upvoted 1 times

 
ama
1 year, 10 months ago
again here is the evidence that F correct and D is wrong

When rows are inserted or deleted, all indexes on the table must be updated. When a column is updated, all indexes on the column must be
updated.

https://docs.oracle.com/cd/B12037_01/appdev.101/b10795/adfns_in.htm

so final answers should be B, C , F

Thx
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 133/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

 
NowOrNever
1 year, 10 months ago
E - is not entirely true, you can’t recover it, but it still remains in the recycle bin and you have to drop it to recreate an index with the same
name on the column again - so what means “permanently dropped”?

B - https://docs.oracle.com/cd/A87860_01/doc/server.817/a76992/ch6_acce.htm

If all columns selected by a query are in a composite index, then Oracle can return these values from the index without accessing the
table.

Using Bitmap Access Plans on Regular B*-tree Indexes

Note: This statement is executed by accessing indexes only, so no table access is necessary.

My tendency goes to BCD

I thing EF may also be possible, F more likely than E


upvoted 1 times

 
adoptc94
1 year, 10 months ago
I would also suggest: BCD

Especially for D Oracle says following:

The database automatically maintains and uses indexes after they are created. The database also automatically reflects changes to
data, such as adding, updating, and deleting rows, in all relevant indexes with no additional actions required by users. Retrieval
performance of indexed data remains almost constant, even as rows are inserted. However, the presence of many indexes on a table
degrades DML performance because the database must also update the indexes.

Source: https://docs.oracle.com/cd/E11882_01/server.112/e40540/indexiot.htm#CNCPT1895

But F seems also like it's true, just like you mentioned if someone updates only non indexed columns in the table, there shouldn't be
any changes done to the index.

I am confused as to what the right answers are for sure - is it possible that out of the 6 choices 4 are right, but you only have to
choose 3 of them?
upvoted 3 times

 
ama
1 year, 11 months ago
E is wrong >

What Is the Recycle Bin?

The recycle bin is actually a data dictionary table containing information about dropped objects. Dropped tables and any associated objects such
as indexes, constraints, nested tables, and the likes are not removed and still occupy space. They continue to count against user space quotas, until
specifically purged from the recycle bin or the unlikely situation where they must be purged by the database because of tablespace space
constraints.
upvoted 1 times

 
ama
1 year, 11 months ago
C is correct >

To create an index in another schema, you must have CREATE ANY INDEX system privilege. Also, the owner of the schema to contain the index
must have either the UNLIMITED TABLESPACE system privilege or space quota on the tablespaces to contain the index or index partitions.
upvoted 2 times

 
ama
1 year, 11 months ago
B is correct >

If all columns selected by a query are in a composite index, then Oracle can return these values from the index without accessing the table.
upvoted 2 times

 
you1234
1 year, 11 months ago
A & C & D is correct one.
upvoted 2 times

 
ama
1 year, 11 months ago
But here they say A is wrong

https://www.google.com/url?
sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj8t7CWkbvqAhUmposKHZ8MBtwQFjACegQIAxAB&url=https%3A
%2F%2Fasktom.oracle.com%2Fpls%2Fapex%2Fasktom.search%3Ftag%3Dconverting-unique-index-to-non-
unique&usg=AOvVaw3U0KcGYeExyz_xTyRkJy82

what you think?????????


upvoted 1 times

 
erial
1 year, 12 months ago
correct answers ADE
upvoted 1 times

 
erial
1 year, 12 months ago
fixing -> BDE
upvoted 2 times

 
you1234
1 year, 12 months ago
any suggestion please
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 134/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #78 Topic 1

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

Correct Answer:
BCD

Reference:

https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_7001.htm

 
NiciMilo
Highly Voted 
1 year, 10 months ago
B, C and D
upvoted 18 times

 
Ekos
1 year, 6 months ago
i agree, B, C, and D is the correct answer
upvoted 2 times

 
Mandar79
Most Recent 
1 year, 9 months ago
https://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_7001.htm

Public synonyms are accessible to all users.


upvoted 1 times

 
Mandar79
1 year, 9 months ago
https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9002.htm#SQLRF01805

To drop a private synonym, either the synonym must be in your own schema or you must have the DROP ANY SYNONYM system privilege.

To drop a PUBLIC synonym, you must have the DROP PUBLIC SYNONYM system privilege.
upvoted 2 times

 
ama
1 year, 11 months ago
E is wrong!!!!!!!!!!!

To drop a PUBLIC synonym, you must have the DROP PUBLIC SYNONYM system privilege
upvoted 3 times

 
you1234
1 year, 11 months ago
B & D & E is correct answer
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 135/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #79 Topic 1

View the Exhibit and examine the structure of the PRODUCTS table.

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

Correct Answer:
AC

 
Ekos
Highly Voted 
1 year, 6 months ago
i agree, A & C is the correct answer
upvoted 10 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
AC, correct answer by testing.
upvoted 1 times

 
iamajavacompiler
1 year, 1 month ago
Why is D wrong?
upvoted 1 times

 
leozanon94
1 year ago
Select * from products where supplier_id = 102 And prod_status = 'obsolete';
upvoted 3 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 136/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #80 Topic 1

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

Correct Answer:
BDF

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
B, C and F
upvoted 21 times

 
NowOrNever
1 year, 10 months ago
BDF

https://blogs.oracle.com/sql/how-to-create-users-grant-them-privileges-and-remove-them-in-oracle-database

https://docs.oracle.com/database/121/DBSEG/users.htm#DBSEG002

You can assign each user a tablespace quota for any tablespace, except a temporary tablespace.
upvoted 1 times

 
adoptc94
1 year, 10 months ago
Why would D be right?

The database checks the users quota in the tablespace that he wants to create the object in. Having quota in another tablespace isn't any
issue so why would you need to remove the quota from tablespace users to be able to create objects in tablespace sales_q1?

The right answers are:

B -> The user need quota in the tablespace he wants to create the object (sales_q1)

C -> User needs to be able to create a session (login in) to the database to create objects in the first place

F -> User needs to have the right privilege to create the object (in this case a table)

D is complete nonsense given the question and won't help in any way to create objects in sales_q1 tablespace
upvoted 4 times

 
NowOrNever
1 year, 9 months ago
Sorry

BCF of course
upvoted 2 times

 
Rcravi
Most Recent 
3 months, 1 week ago
Correct - CEF

A - you cant assign quota on TEMP tablespace

B - you do not need any quota for creating table in any tablespace

D - is wrong as you are not creating table in users, so this is not concerning to the question

Correct -

C,F - these are the basic privileges required.

E - For holding the data, quota is required.


upvoted 1 times

 
Rcravi
3 months, 1 week ago
Update/correction

E - is correct when asked for inserting the data. So E is wrong for this question

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 137/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

B- is correct when deferred_segment_creation is set to FALSE, you need quota on sales_Q1 tablespace.

correct answers are B C and F.


upvoted 1 times

 
Ekos
1 year, 6 months ago
C,E,F is the correct answer.

b is wrong. we dont need any initial extents when we create table. the segments are needed when we start insert the data.
upvoted 2 times

 
SimoneF
1 year, 5 months ago
Sorry one more thing: E is also false cause SALES_Q1 is not the only tablespace where sales has quota, so we don't know if all the tables in that
schema will reside there or on USERS. So, SALES_Q1 doesn't necessarily have to be as big as all the data that the schema will have.
upvoted 1 times

 
SimoneF
1 year, 5 months ago
Read the question again: it clearly states "Segment creation is not deferred." exactly to prevent this objection.

And E is false anyway, cause the question also asks for the requirements for the creation of the tables, not for their population.
upvoted 1 times

 
Mandar79
1 year, 9 months ago
BCF is correct

https://docs.oracle.com/database/121/DBSEG/users.htm#DBSEG99778

When you create a new user account, you should enable this user to access the database
upvoted 3 times

 
Chansi
1 year, 10 months ago
Isn't it CEF ? What if the user is executing Create as Select so just B won't work rt ?
upvoted 2 times

 
SimoneF
1 year, 5 months ago
There are two problems with E:

first and most notably, user sales can (and not randomly, does) have quota on other tablespaces, so not all of his tables have to reside on
SALES_Q1.

Second, the question asks what's necessary for the user to be able to create tables. To create a select, meaning creating and filling them, is not a
necessary requirement. Even if the space wouldn't be necessary to insert all the data, to be enough for hosting the initial extents would satisfy
the minimum requirement, which is to create the tables (hence, the structure) to begin with.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 138/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #81 Topic 1

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

Correct Answer:
BCE

Reference:

https://books.google.com.pk/books?
id=lNtVjrmbzckC&pg=PA267&lpg=PA267&dq=Multiple+row+pieces+from+the+same+row+may+be+stored+in

+different+database

+blocks&source=bl&ots=lEIhFe2Q52&sig=ACfU3U1TETJPy194pARxfIJ5ROaQdySCMQ&hl=en&sa=X&ved=2ahUKEwivveLa97_mAhWOzaQKHahY
AVEQ6AEw

AnoECAoQAQ#v=onepage&q=Multiple%20row%20pieces%20from%20the%20same%20row%20may%20be%20stored%20in%20different%20data
base%

20blocks&f=false

 
ama
Highly Voted 
1 year, 11 months ago
I would say A, B, C are correct!
upvoted 11 times

 
baeji
1 year, 6 months ago
agreed A, B, C are correct
upvoted 2 times

 
emburria
Most Recent 
5 months ago
A, C, D. B is not correct. A row can be chained, but not a row piece...if so, then is another piece
upvoted 2 times

 
flaviogcmelo
1 year, 2 months ago
A,B and C.

https://antognini.ch/2016/10/whats-the-difference-between-row-migration-and-row-chaining/
upvoted 1 times

 
yukclam9
1 year, 2 months ago
I dont think B is correct - the most granular unit of row is a single row piece. row piece can not be chained. a row can be chained by multiple row
pieces + pointers.
upvoted 2 times

 
Phat
1 year, 5 months ago
so what is the final answers for this?
upvoted 1 times

 
Mandar79
1 year, 9 months ago
The Oracle block header contains the following:
http://www.dba-
oracle.com/t_data_block_format.htm#:~:text=The%20header%20of%20a%20data,and%20a%20%22variable%22%20area.&text=The%20data%20bl
ock%20address.,displacement%20into%20the%20data%20file).

A fixed-size block header.

A block directory.

The interested transaction list (ITL).

Space management information.

The data block address.


upvoted 2 times

 
Mandar79
1 year, 9 months ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 139/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

The header contains general block information, such as the block address and the type of segment (for example, data or index).

https://docs.oracle.com/cd/B10501_01/server.920/a96524/c03block.htm#:~:text=The%20header%20contains%20general%20block,example%2C%2
0data%20or%20index).
upvoted 1 times

 
adoptc94
1 year, 10 months ago
Right answers: A,B,C

E and F are false because the free space of a block gets fragmented over time as data is added and removed from it -> this is called fragmentation
(meaning the free space is not contiguous anymore). If the free space of a block is fragmented to a point where no new rows can be inserted, the
free space is coalesced by the oracle server so that it's contiguous again and can be used for inserts or updates.

Coalescing free blocks doesn't change the actual size of free space in the block.

For why answer D is wrong, I am not completely sure but I guess that you wouldn't store a row as multiple row pieces in one block. If you can fit
the whole row into a single block than it would be stored there as a single row piece and not multiple - but that's just my guess
upvoted 2 times

 
KtNow
1 year, 5 months ago
about D.

--ora.doc--

Oracle Database can only store 255 columns in a row piece. if you insert a row into a table that has 1000 columns, then the database creates 4
row pieces, typically chained over multiple blocks. --

typically chained, but possible situation that it can be in one block.

for example oracle block 4K(8K). row 1000 columns=4 row pieces, if column is small then at least 2 row pieces possible insert in one block. why
not? for my point of view answer D possible also.
upvoted 3 times

 
KtNow
1 year, 5 months ago
so i would say A-B-C-D
upvoted 1 times

 
ama
1 year, 10 months ago
C is correct > https://antognini.ch/2016/10/whats-the-difference-between-row-migration-and-row-chaining/
upvoted 2 times

 
SimoneF
1 year, 5 months ago
Interestingly, this also says that D is true.

I was actually in doubt on the B answer, which is then false cause it is a row that is chained in different row pieces, while the right ones are A-C-
D
upvoted 6 times

 
ama
1 year, 11 months ago
E is wrong …

Free space can be also Noncontiguous also called fragmented space.

https://docs.oracle.com/cd/E25054_01/server.1111/e25789/logical.htm
upvoted 4 times

 
ama
1 year, 11 months ago
A is correct!!

The header of a data block has two areas a "common" area and a "variable" area. The Oracle block header contains the following:

A fixed-size block header.

A block directory.

The interested transaction list (ITL).

Space management information.

The data block address. This "DBA" (48 bytes), consisting of the file number (v$datafile.file#) and the relative block number (the displacement into
the data file). Note that the relative block address is not the same as the absolute block address.
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 140/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #82 Topic 1

Examine the description of the BOOKS table:

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

Correct Answer:
DE

 
you1234
Highly Voted 
1 year, 12 months ago
C & D is correct one
upvoted 23 times

 
Guhborges
7 months ago
I agree, C & D
upvoted 1 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
Even though it is asked for "two" correct answers, I only found D as correct, the others make no sense to me, especially the SQL INSERT itself is
wrong.
upvoted 1 times

 
yukclam9
1 year, 2 months ago
to me the insert does not make sense. why we are inserting characters to a date column?
upvoted 3 times

 
LrnsTgh
10 months ago
😂 LOL. very good eyes
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 141/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #83 Topic 1

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

Correct Answer:
ABF

 
GraceYu
Highly Voted 
2 years ago
ACE. B is wrong. ORACLE_LOADER loads data not unload data. ORACLE_DATAPUMP is able to load and unload data.
upvoted 19 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
danito
2 years ago
I agree
upvoted 2 times

 
Mandar79
Highly Voted 
1 year, 9 months ago
ACE - Correct

https://docs.oracle.com/cd/B19306_01/server.102/b14215/et_concepts.htm

B - Incorrect

The ORACLE_LOADER access driver is the default. It can perform only data loads, and the data must come from text datafiles

C and E - Correct

The ORACLE_DATAPUMP access driver can perform both loads and unloads.

F - Incorrect

https://docs.oracle.com/en/database/oracle/oracle-database/18/admin/managing-tables.html#GUID-697B86CC-875C-4F68-AF80-49B41F33AE45

You can, for example, select, join, or sort external table data. You can also create views and synonyms for external tables. However, no DML
operations (UPDATE, INSERT, or DELETE) are possible, and no indexes can be created, on external tables.

D - Incorrect

Partitioned external tables were introduced in Oracle Database 12c Release 2 (12.2), allowing external tables to benefit from partition pruning and
partition-wise.

https://oracle-base.com/articles/12c/partitioned-external-tables-
12cr2#:~:text=Partitioned%20external%20tables%20were%20introduced,are%20supported%20with%20some%20restrictions.
upvoted 7 times

 
danito
Most Recent 
2 years ago
F is wrong. The correct answers are ABC

https://docs.oracle.com/en/database/oracle/oracle-database/18/admin/managing-tables.html#GUID-F6948F0E-0557-4C42-9145-1897DE974CC3

Another access driver, ORACLE_DATAPUMP, lets you unload data....

No DML operations (UPDATE, INSERT, or DELETE) are possibl....


upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 142/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #84 Topic 1

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.
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

Correct Answer:
CDF

 
ama
Highly Voted 
1 year, 10 months ago
A,C, D

https://oracle-base.com/articles/9i/ansi-iso-sql-support
upvoted 12 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
yarsalan
Most Recent 
4 months, 4 weeks ago
A and C and D
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 143/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #85 Topic 1

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

Correct Answer:
BC

Reference:

https://docs.oracle.com/cd/B16254_01/doc/server.102/b14196/install003.htm

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
A and B.
upvoted 13 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
yarsalan
Most Recent 
4 months, 4 weeks ago
A and B
upvoted 1 times

 
ofranco
9 months, 1 week ago
For me is A,B
upvoted 1 times

 
Borislone
11 months, 3 weeks ago
the correct answer is BD
upvoted 2 times

 
Borislone
11 months, 3 weeks ago
D is correct. When creating new database
upvoted 1 times

 
Guhborges
7 months, 2 weeks ago
You can't create incremental backups with dbca.
upvoted 1 times

 
pr0glnx
1 year, 7 months ago
A and B

You can change by DBCA: But for new databases only!


upvoted 4 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 144/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #86 Topic 1

You execute this query:

SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE), "˜MON'), "˜dd "Monday for" fmMonth rrrr')

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

Correct Answer:
B

 
Mandar79
Highly Voted 
1 year, 9 months ago
Correct - B (Assuming from dual is mentioned)

select sysdate from dual;

11-09-20

select TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE),'MON'),'dd "Monday for" fmMonth rrrr') from dual


05 Monday for October 2020
upvoted 9 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
B, Correct answer.

Besides that, Oracle Database is just amazing for having such feature!!
upvoted 1 times

 
dbaclaudio
1 year, 5 months ago
C - the query isn't complete, missing the "from" clause
upvoted 4 times

 
NiciMilo
1 year, 10 months ago
C... I think the SQL is missing FROM DUAL;
upvoted 3 times

 
ama
1 year, 10 months ago
No!!!!

Look today is Tuesday the 04.08.2020 >

SQL> select sysdate from dual;

SYSDATE

--------

04.08.20

SQL> select TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE),'MON')) from dual;

TO_CHAR(

--------

07.09.20

The 07.09.20 will be the first Monday of the next Month..


upvoted 4 times

 
Pajkee
2 months, 3 weeks ago
No!!!!!!!!!!!! FROM Keyword is missing ! :-)
upvoted 1 times

 
Ekos
1 year, 6 months ago
agree, b is the correct answer
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 145/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #87 Topic 1

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

Correct Answer:
BD

 
kamunkafle
9 months ago
B and D 100%
upvoted 1 times

 
Asmodeus
1 year, 4 months ago
Also vote for B & D.

SQL>alter system set undo_management=manual scope=spfile;

Bounce instance.

SQL> show parameter undo

NAME TYPE VALUE

------------------------------------ ----------- ------------------------------

temp_undo_enabled boolean FALSE

undo_management string MANUAL

undo_retention integer 900

undo_tablespace string UNDOTBS1

SQL> alter system set undo_tablespace='UNDOTBS2';

alter system set undo_tablespace='UNDOTBS2'

ERROR at line 1:

ORA-02097: parameter cannot be modified because specified value is invalid

ORA-30014: operation only supported in Automatic Undo Management mode


upvoted 4 times

 
Mandar79
1 year, 9 months ago
https://docs.oracle.com/cd/B19306_01/server.102/b14231/undo.htm

You can switch from using one undo tablespace to another. Because the UNDO_TABLESPACE initialization parameter is a dynamic parameter, the
ALTER SYSTEM SET statement can be used to assign a new undo tablespace.

ALTER SYSTEM SET UNDO_TABLESPACE = undotbs_02;


upvoted 1 times

 
NowOrNever
1 year, 9 months ago
BD - correct
ALTER SYSTEM SET UNDO_TABLESPACE = UNDOTBS01;

show parameter undo

NAME TYPE VALUE

------------------------ ---------- ---------

temp_undo_enabled Boolean FALSE

undo_management string AUTO

undo_retention integer 900

undo_tablespace string UNDOTBS01


upvoted 3 times

 
Mandar79
1 year, 9 months ago
BD seems to be correct can anyone confirm
upvoted 4 times

 
Ekos
1 year, 6 months ago
https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 146/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

i agree
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 147/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #88 Topic 1

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

Correct Answer:
BDE

Community vote distribution


AFG (100%)

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
G is tricky answer - "The WITH CHECK clause prevents certain rows from being updated or inserted". Techically, it is correct, but I woulc rather say -
"The WITH CHECK clause allow certain rows to be updated or inserted", since only rows which are inline with WITH CHECK constraint can be
affected. Speaking about A - "...Specify OR REPLACE to re-create the view if it already exists. You can use this clause to change the definition of an
existing view without dropping, re-creating, and regranting object privileges previously granted on it..." So, it should be A, E and F.
upvoted 8 times

 
noobasty
11 months ago
Answer is EFG

A is wrong because it should be views can be altered*** without the need to re-grant privileges on the view. Not update

G is correct, certain rows cannot be updated or inserted . for example. you try to update the department_id to 100 from 20 but the view was
created with a where department id_= 20

or insert a deparment_id other than 20 . it will cause a ORA-01402 error


upvoted 3 times

 
noobasty
11 months ago
Answer is EFG

A is wrong because it should be views can be replaced*** without the need to re-grant privileges on the view. Not update

G is correct, certain rows cannot be updated or inserted . for example. you try to update the department_id to 100 from 20 but the view was
created with a where department id_= 20

or insert a deparment_id other than 20 . it will cause a ORA-01402 error


upvoted 2 times

 
Ekos
1 year, 6 months ago
hmm... make sense
upvoted 1 times

 
adoptc94
Highly Voted 
1 year, 9 months ago
This question is a nightmare... there are 4 possible answers

A -> Specify OR REPLACE to re-create the view if it already exists. You can use this clause to change the definition of an existing view without
dropping, re-creating, and regranting object privileges previously granted on it.

Source: https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_8004.htm#SQLRF01504

E & F-> If a view is defined by a query that contains SET or DISTINCT operators, a GROUP BY clause, or a group function, then rows cannot be
inserted into, updated in, or deleted from the base tables using the view.

Source: https://docs.oracle.com/database/121/ADMIN/views.htm#ADMIN11781

G -> Specify WITH CHECK OPTION to indicate that Oracle Database prohibits any changes to the table or view that would produce rows that are
not included in the subquery. When used in the subquery of a DML statement, you can specify this clause in a subquery in the FROM clause but
not in subquery in the WHERE clause.

Source: https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_8004.htm#SQLRF01504

I'd go with answer A, E, F and hope for the best!


upvoted 5 times

 
yarsalan
Most Recent 
4 months, 4 weeks ago

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 148/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Selected Answer: AFG


I think, A,F,G are correct
upvoted 1 times

 
Borislone
11 months ago
D is correct
upvoted 1 times

 
Mandar79
1 year, 9 months ago
AEF

https://docs.oracle.com/cd/B28359_01/server.111/b28310/views001.htm#ADMIN11780

B - Incorrect

For example, when a view is created that refers to a nonexistent table or an invalid column of an existing table …CREATE FORCE VIEW AS

E & F - Correct

If a view is defined by a query that contains SET or DISTINCT operators, a GROUP BY clause, or a group function, then rows cannot be inserted into,
updated in, or deleted from the base tables using the view.
upvoted 3 times

 
NowOrNever
1 year, 10 months ago
Correct Answer: AEF

Wrong Answer: BCD

Uncertain: G

https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_8004.htm#SQLRF01504

for me G could also be a valid answer


upvoted 4 times

 
ama
1 year, 11 months ago
A, F, G

Source >https://juejin.im/post/5e43caf4f265da57213ef2e3

Q138. Which three statements are true about views in an Oracle database?

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

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

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

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

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

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

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

Answer: BEF
upvoted 2 times

 
Rivaldo11
1 year, 11 months ago
G should also be correct.
upvoted 1 times

 
you1234
1 year, 11 months ago
A & E & F is correct answer
upvoted 3 times

 
danito
2 years ago
B is not correct, you can create a broken view with force option. I think DEG
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 149/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #89 Topic 1

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.)

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

Correct Answer:
DE

 
Ekos
Highly Voted 
1 year, 6 months ago
D, E is the correct answer
upvoted 8 times

 
Mandar79
Highly Voted 
1 year, 9 months ago
Incorrect segment management clause It lets you specify whether Oracle Database should track the used and free space in the segments in the
tablespace using free lists or bitmaps. This clause is not valid for a temporary tablespace.

AUTO :Specify AUTO if you want the database to manage the free space of segments in the tablespace using a bitmap. MANUAL :Specify MANUAL
if you want the database to manage the free space of segments in the tablespace using free lists

E - Correct

https://docs.oracle.com/cd/B28359_01/server.111/b28310/tspaces002.htm#ADMIN11360

Create a locally managed tablespace by specifying LOCAL in the EXTENT MANAGEMENT clause of the CREATE TABLESPACE statement. This is the
default for new permanent tablespaces,

D - Correct

https://docs.oracle.com/cd/B28359_01/server.111/b28310/create005.htm#ADMIN11105

The most commonly used block size should be picked as the standard block size. In many cases, this is the only block size that you need to specify.
Typically, DB_BLOCK_SIZE is set to either 4K or 8K. If you do not set a value for this parameter, the default data block size is operating system
specific.
upvoted 5 times

 
kamunkafle
Most Recent 
9 months ago
D, E both are by default lol.
upvoted 1 times

 
Mandar79
1 year, 9 months ago
B - Incorrect segment management clause It lets you specify whether Oracle Database should track the used and free space in the segments in the
tablespace using free lists or bitmaps. This clause is not valid for a temporary tablespace.

AUTO :Specify AUTO if you want the database to manage the free space of segments in the tablespace using a bitmap. MANUAL :Specify MANUAL
if you want the database to manage the free space of segments in the tablespace using free lists
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 150/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #90 Topic 1

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

Correct Answer:
C

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
Answer is B.
upvoted 11 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
ama
1 year, 11 months ago
I agree

DEFERRED_SEGMENT_CREATION specifies the semantics of deferred segment creation. If set to true, then segments for tables and their
dependent objects (LOBs, indexes) will not be created until the first row is inserted into the table.

Before creating a set of tables, if it is known that a significant number of them will not be populated, then consider setting this parameter to
true. This saves disk space and minimizes install time.
upvoted 1 times

 
Chansi
Highly Voted 
1 year, 10 months ago
SQL> alter session set deferred_segment_creation=TRUE;

Session altered.

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

Table created.

SQL> select segment_name,segment_type,bytes from user_segments;

no rows selected

Answer is B
upvoted 6 times

 
kamunkafle
Most Recent 
9 months ago
B (until rows are inserted in non- partitioned table, it doesn’t create any segments) when DEFERRED_SEGMENT_CREATION is true
upvoted 1 times

 
Viki5099
1 year, 6 months ago
ALTER SESSION SET DEFERRED_SEGMENT_CREATION=TRUE

SHOW PARAMETERS DEF

CREATE TABLE TEMP_DEF_SEQ_CHK (C1 INT PRIMARY KEY, LOB1 CLOB)

SELECT * FROM USER_SEGMENTS;

no rows selected

SELECT SEGMENT_CREATED FROM USER_INDEXES;

SEG

---

NO

NO
upvoted 1 times

 
Mandar79
1 year, 9 months ago
DEFERRED_SEGMENT_CREATION specifies the semantics of deferred segment creation. If set to true, then segments for tables and their dependent
objects (LOBs, indexes) will not be created until the first row is inserted into the table.

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 151/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

https://oracle-base.com/articles/11g/segment-creation-on-demand-11gr2
upvoted 2 times

 
khalilshahin01
1 year, 11 months ago
SQL> alter session set DEFERRED_SEGMENT_CREATION=true;

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

SQL> select * from user_segments where segment_name = upper('T1');

no row selected

Answer is B.
upvoted 2 times

 
khalilshahin01
1 year, 11 months ago
sorry Answer is A.

You can also query the SEGMENT_CREATED column of the USER_TABLES, USER_INDEXES,

or USER_LOBS views. For non-partitioned tables, indexes, and LOBs, this column shows YES if

the segment is created.


upvoted 1 times

 
ama
1 year, 11 months ago
DEFERRED_SEGMENT_CREATION specifies the semantics of deferred segment creation. If set to true, then segments for tables and their
dependent objects (LOBs, indexes) will not be created until the first row is inserted into the table.
upvoted 2 times

 
SimoneF
1 year, 5 months ago
Exactly, khalilshahin01 you got it right the first time: as you saw from the user_segments, if nothing is there then no segment has been
created.
upvoted 1 times

 
you1234
1 year, 11 months ago
12c.

SQL> show parameter def

NAME TYPE VALUE

------------------------------------ ----------- ------------------------------

deferred_segment_creation boolean TRUE

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

Table created.

SQL> select CONSTRAINT_NAME,CONSTRAINT_TYPE,TABLE_NAME from user_constraints where table_name='T1';

CONSTRAINT_NAME C TABLE_NAME

---------------------- - ---------------------------------

SYS_C0081022 P T1

SQL> select COLUMN_NAME,SEGMENT_NAME,INDEX_NAME from user_lobs where table_name='T1';

COLUMN_NAME SEGMENT_NAME INDEX_NAME

---------------------- -------------------------------------------- ---------------------------------

C2 SYS_LOB0000686210C00002$$ SYS_IL0000686210C00002$$

SQL>

not done any DML operations.

A is correct.
upvoted 1 times

 
Muhab
1 year, 11 months ago
no B is correct.

SQL> select COLUMN_NAME,SEGMENT_NAME,INDEX_NAME,SEGMENT_CREATED from user_lobs where table_name='T1';

COLUMN_NAME SEGMENT_NAME INDEX_NAME SEGMENT_CREATED

---------------------- -------------------------------------------- --------------------------------- ---------------------------------

C2 SYS_LOB0000686210C00002$$ SYS_IL0000686210C00002$$ NO

see SEGMENT_CREATED is no that mean no segment created.


upvoted 5 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 152/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #91 Topic 1

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

Correct Answer:
BCD

Reference:

https://docs.oracle.com/cd/B28359_01/server.111/b28310/monitoring001.htm#ADMIN11247

 
Mandar79
Highly Voted 
1 year, 9 months ago
BCD

https://docs.oracle.com/cd/B28359_01/server.111/b28310/monitoring001.htm#ADMIN11247

All internal errors (ORA-600), block corruption errors (ORA-1578), and deadlock errors (ORA-60) that occur

The values of all initialization parameters that had nondefault values at the time the database and instance start
upvoted 12 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 1 times

 
flaviogcmelo
Most Recent 
1 year, 2 months ago
In item 8.1.1.1 (About Monitoring Errors with Trace Files and the Alert Log) in the version 19c documentation, the following information is included:

The alert log is a chronological log of messages and errors, and includes the following items:

All internal errors (ORA-00600), block corruption errors (ORA-01578), and deadlock errors (ORA-00060) that occur

Administrative operations, such as some CREATE, ALTER, and DROP statements and STARTUP, SHUTDOWN, and ARCHIVELOG statements

Messages and errors relating to the functions of shared server and dispatcher processes

Errors occurring during the automatic refresh of a materialized view

The values of all initialization parameters that had nondefault values at the time the database and instance start

Therefore, I understand that there are four correct options in this item: ABCD
upvoted 1 times

 
s_sani
1 year, 9 months ago
CDE https://docs.oracle.com/cd/B28359_01/server.111/b28310/monitoring001.htm#ADMIN11242
upvoted 1 times

 
NowOrNever
1 year, 9 months ago
E is wrong
upvoted 2 times

 
Mandar79
1 year, 9 months ago
https://docs.oracle.com/cd/B28359_01/server.111/b28310/monitoring001.htm#ADMIN11247

C and D are correct

All internal errors (ORA-600), block corruption errors (ORA-1578), and deadlock errors (ORA-60) that occur

The values of all initialization parameters that had nondefault values at the time the database and instance start

A - Incorrect

The DDL log is stored in the log/ddl subdirectory of the ADR home

11g : DDL go both log.xml & alert.log

12c : DDL only go to log.xml


upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 153/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #92 Topic 1

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

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.

Correct Answer:
CE

 
Mandar79
Highly Voted 
1 year, 9 months ago
CE seems correct
upvoted 9 times

 
Guhborges
7 months, 2 weeks ago
You can't shutdown with EM on 18c and higher!
upvoted 1 times

 
Ekos
1 year, 6 months ago
yes, agree
upvoted 1 times

 
kamunkafle
Most Recent 
9 months ago
Answer 1: C (after database is created using DBCA, thats exactly when EM is available )

Answer 2: E (You can never start database instance using an EM)

Why is A wrong?

=> On a same server, 1 (instance) of EM can manage only 1 database not multiple databases.

Many instances of EM can manage many databases.


upvoted 1 times

 
pepelu69
1 year, 5 months ago
AE are the correct answer
upvoted 4 times

 
Phat
1 year, 5 months ago
I agree
upvoted 1 times

 
Fan
1 year, 2 months ago
that's right. you can find this question in 062.
upvoted 1 times

 
Fan
1 year, 2 months ago
type. It's C E.
upvoted 1 times

 
Fan
1 year, 2 months ago
TYPO. C E are correct.
upvoted 1 times

 
Mandar79
1 year, 9 months ago
EM Express is available only when the database is open. This means that EM Express cannot be used to start up the database

https://docs.oracle.com/en/database/oracle/oracle-database/19/admqs/getting-started-with-database-administration.html#GUID-BA75AD46-
D22E-4914-A31E-C395CD6A2BBA

https://www.oracle.com/technetwork/database/manageability/emx-intro-1965965.html

When dbca completes, it indicates the port on which EM Express is configured


upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 154/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #93 Topic 1

Examine this SQL statement:

SELECT cust_id, cust_last_name "Last Name"

FROM customers -

WHERE country_id = 10 -

UNION -

SELECT cust_id CUST_NO, cust_last_name

FROM customers -

WHERE country_id = 30 -

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"

Correct Answer:
ABC

 
escoletsgo1
Highly Voted 
1 year, 9 months ago
ABC

You cant sort by CUST_NO, it is not in the first query.


upvoted 16 times

 
Ekos
1 year, 6 months ago
yes, agree
upvoted 2 times

 
Mandar79
Highly Voted 
1 year, 9 months ago
ABC is correct, you cannot sort if cust_no is not present in the first select query
upvoted 6 times

 
algerianphoenix
Most Recent 
1 month, 1 week ago
BCD, correct answer by test
upvoted 1 times

 
kamunkafle
9 months ago
A, B, C (In union the first select statement must have the columns specified to make the usage of the order by clause)
upvoted 1 times

 
BananaSlug
1 year, 10 months ago
B C D is correct
upvoted 3 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 155/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #94 Topic 1

Which two statements are true about the configuration and use of UNDO_RETENTION with 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.

Correct Answer:
BC

 
Rivaldo11
Highly Voted 
1 year, 11 months ago
"...If retention guarantee is enabled, the specified minimum undo retention is guaranteed; the database never overwrites unexpired undo data even
if it means that transactions fail due to lack of space in the undo tablespace. If retention guarantee is not enabled, the database can overwrite
unexpired undo when space is low, thus lowering the undo retention for the system..." Acoording to this, correct answers should be C and E.
upvoted 9 times

 
_gio_
9 months, 3 weeks ago
E is wrong because Oracle doesn't "attempt to keep". It's mandatory to keep the unexpired undo. So C, D
upvoted 3 times

 
SimoneF
Highly Voted 
1 year, 5 months ago
By definition, undo extents that still have to overlive the retention period are unexpired. So, when undo_retention is set and retention is
guaranteed, unexpired undo is always retained.

As opposed to the case in which retention is noguarantee, where also unexpired extents can be overwritten IF and when needed.

In this particolar case, so, I would say C-D are the correct answers.
upvoted 6 times

 
elbelgounetos
1 year, 3 months ago
I Agree.

Undo retention is the threshold after which UNDO go from unexpired to expired. So it's pointless to talk about undo retention that keep some
kind of undo. UNDO RETENTION defines what kind of undo it is.

So C and D
upvoted 1 times

 
Phat
1 year, 5 months ago
After reading the oracle docs, section 16.2.2.3 Retention Guarantee. I can say the correct answer shall be C,E. retention guarantee &
undo_retention are about unexpired undo information.

https://docs.oracle.com/database/121/ADMIN/undo.htm#ADMIN11466
upvoted 1 times

 
kamunkafle
Most Recent 
9 months ago
Answer 1. C (always retains only unexpired undo not expired one)

Answer 2. E vs. D

Analysis:

D: Active undo is definitely retained by undo, yes, but it is not the use/configuration of UNDO_RETENTION. Ref: https://blog.oracle48.nl/oracle-
database-undo-space-explained/

E: Undo retention does specify for how long Oracle must keep unexpired undo, yes, there is (attempt) in the sentence but attempt does mean a
task for a computer, unlike human a computer attempts are accurate they don't pause and say I don't want to attempt this like us when we get
afraid.

So,

As the question demands configuration and use of UNDO_RETENTION with GUARANTEED RETENTION,

The true answers are C and E


upvoted 1 times

 
kamunkafle
9 months ago
Answer 1. C (always retains only unexpired undo not expired one)

Answer 2. E vs. D

Analysis:

D: Active undo is definitely retained by undo, yes, but it is not the use of UNDO_RETENTION.

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 156/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

E: Undo retention does specify for how long Oracle must keep unexpired undo, yes, there is (attempt) in the sentence but attempt does mean a
task for a computer, unlike human a computer attempts are accurate they don't pause and say i don't want to attempt this like us when we get
afraid.

So,

As the question demands configuration and use of UNDO_RETENTION with GUARANTEED RETENTION,

The true answers are C and E


upvoted 1 times

 
Borislone
11 months ago
BC is correct since undo retention is guarantee, all type of undo has to be retained event if the new undo transaction has to fail
upvoted 1 times

 
Ekos
1 year, 6 months ago
i choose D and E for the correct answer
upvoted 4 times

 
Chansi
1 year, 10 months ago
the question is undo retention with guaranteed retention

so its C and D as unexpired undo in this case is always retained


upvoted 4 times

 
NowOrNever
1 year, 10 months ago
Correct Answer: CE

Wrong Answer: AB

A - keep only unexpired UNDO

B - not all

D - true, but not described by UNDO_RETENTION, only the confirmed UNDO


upvoted 3 times

 
ogdru
1 year, 2 months ago
The question is ask about the configuration and use of UNDO_RETENTION with GURANTEED so I sure D is correct answer.
upvoted 1 times

 
NiciMilo
1 year, 10 months ago
I think should be DE
upvoted 2 times

 
ama
1 year, 11 months ago
I bet on A, C

When automatic undo management is enabled, there is always a current undo retention period, which is the minimum amount of time that Oracle
Database attempts to retain old undo information before overwriting it. Old (committed) undo information that is older than the current undo
retention period is said to be expired. Old undo information with an age that is less than the current undo retention period is said to be unexpired.
upvoted 2 times

 
you1234
1 year, 11 months ago
this is real question asked in the exam

the one more question is

which two statments are true about UNDO and UNDO tablespace?

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

B) UNDO segements are owned by SYSBACKUP.

C)UNDO Segments are owned by SYSTEM

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

E) An undo tablespace may be owned by only one instance.

correct answer is A & D. any suggestion for this answer? this question is asked in real exam
upvoted 1 times

 
Rivaldo11
1 year, 11 months ago
D and E are correct.
upvoted 6 times

 
ama
1 year, 11 months ago
E is correct

UNDO_RETENTION

(seconds)

Once a transaction commits the undo data for that transaction stays in the undo tablespace until space is required in which case it will be over
written.

committed undo information (unexpired) :

also known as unexpired undo, required to support undo_retention interval

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 157/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

after undo_retention period or undo tablespace space pressure unless guaranteed option is set (see below)

http://datadisk.org.uk/html_docs/oracle/undo.htm
upvoted 2 times

 
ama
1 year, 11 months ago
C is correct

Retention Guarantee

Oracle Database 10g lets you guarantee undo retention. When you enable this option, the database never overwrites unexpired undo data i.e.
undo data whose age is less than the undo retention period. This option is disabled by default, which means that the database can overwrite the
unexpired undo data in order to avoid failure of DML operations if there is not enough free space left in the undo tablespace.

satya-dba.blogspot.com/2009/09/undo-tablespace-undo-management.html
upvoted 2 times

 
adoptc94
1 year, 10 months ago
This question is just tricky and not clear at all...

C is correct but only if you're using guarantee retention.

Normally the statement 'Unexpired UNDO is always retained' is not true! If you're not using guarantee retention unexpired undo can be
overwritten, which means it is not always retained

For me two statements that are 100% true in all cases are D and E

- active undo is always retained no matter what

- undo_rentention is the parameter that specifies how long to retain unexpired undo

But answer C would be true in this case too, so I wouldn't know what two answers to pick... considering the question is about using undo with
guarantee retention C&E could be true but then again D is also true no matter how you look at it
upvoted 2 times

 
Phat
1 year, 5 months ago
the undo guarantee and retention are about unexpired undo, not talk about active undo. And the question is asking clearly about the use of
these 2 parameters.
upvoted 1 times

 
elcaso34
1 year, 11 months ago
I think that:

Answer A is correct

UNDO_RETENTION specifies (in seconds) how long the confirmed UNDO information will be retained:

UNCONFIRMED UNDO - ACTIVE.

CONFIRMED UNDO - NOT EXPIRED (WITHIN THE RETENTION INTERVAL)


EXPIRED (OUTSIDE THE RETENTION INTERVAL)

Answer C is correct, as it has the guarantee of retention, the UNDO information of the confirmed but not expired transactions will be kept until it
reaches the UNDO_RETENTION value.
upvoted 1 times

 
you1234
1 year, 12 months ago
any suggestion?

the one more question is

which two statments are true about UNDO and UNDO tablespace?

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

B) UNDO segements are owned by SYSBACKUP.

C)UNDO Segments are owned by SYSTEM

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

E) An undo tablespace may be owned by only one instance.

Need to choose 2 correct answer


upvoted 1 times

 
elcaso34
1 year, 11 months ago
I think that:

Segments of undo are created automatically and are always owned by SYS. Therefore B and C are not correct. sysbackup is a privilege and
system does not own the UNDO segments.

The E is correct, they can only be associated to a single instance.

A is not correct, since you can have several UNDO tablepaces, in the same database but only one for the management of UNDO

TABLESPACE_NAME BLOCK_SIZE STATUS CONTENTS RETENTION EXTENT_MAN ALLOCATIO

------------------------------ ---------- --------- --------- ----------- ---------- ---------

UNDOTBS1 8192 ONLINE UNDO NOGUARANTEE LOCAL SYSTEM

TESTUNDO 8192 ONLINE UNDO GUARANTEE LOCAL SYSTEM

SQL> SHOW PARAMETER UNDO

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 158/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

NAME TYPE VALUE

------------------------------------ ----------- ------------------------------

undo_management string AUTO

undo_retention integer 900

undo_tablespace string UNDOTBS1

The D is correct, One instance will fall if the table space of an active undo., the management of the ENDO, is needed to perform the
transactions.
upvoted 3 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 159/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #95 Topic 1

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?

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.

Correct Answer:
CE

 
danito
Highly Voted 
2 years ago
A E because https://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqlj27781.html

The Expression can contain multiple column references or expressions, but it cannot contain another aggregate or subquery. It must evaluate to a
built-in data type. You can therefore call methods that evaluate to built-in data types. (For example, a method that returns a java.lang.Integer or int
evaluates to an INTEGER.) If an expression evaluates to NULL, the aggregate skips that value.
upvoted 15 times

 
Ekos
1 year, 6 months ago
i agree
upvoted 2 times

 
kamunkafle
Most Recent 
9 months ago
A and E (max function gives only one output in st.1 / when group by order_id is used, max function is used for every order_id
upvoted 1 times

 
flaviogcmelo
1 year, 2 months ago
A , E are the correct statements. I've tested on this same sample schema.
upvoted 2 times

 
guestart
1 year, 3 months ago
Yes, A & E are correct answers.

The followding demo is what I have tested on LiveSQL.

CREATE TABLE order_items (order_id number, unit_price number, quantity number);

INSERT INTO order_items VALUES (1, 234.35, 300);

INSERT INTO order_items VALUES (2, 95.10, 20);

INSERT INTO order_items VALUES (3, 150.75, 400);

INSERT INTO order_items VALUES (4, 50.65, NULL);

INSERT INTO order_items VALUES (5, 20.15, 150);

INSERT INTO order_items VALUES (6, 80.50, 70);

COMMIT;

SELECT MAX(unit_price * quantity) "Maximum Order"

FROM order_items;

Maximum Order

-------------------------

70305

SELECT order_id, MAX(unit_price * quantity) "Maximum Order"


FROM order_items

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 160/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

GROUP BY order_id;

ORDER_ID Maximum Order

---------------- -------------------------

6 5635

1 70305

2 1902

4 -

5 3022.5

3 60300
upvoted 4 times

 
Mandar79
1 year, 9 months ago
A - Correct in all scenarios

E - Correct if there is more than 1 row

C - Correct if there is only one row which has either UNIT_PRICE or QUANTITY contains NULL
upvoted 3 times

 
spike_ge
10 months, 1 week ago
C is wrong. Statement 2 may result in multiple rows and some of them may not be NULL
upvoted 1 times

 
ama
1 year, 11 months ago
A, E seems ok
upvoted 4 times

 
you1234
1 year, 12 months ago
any body pass this exam ? Please suggest
upvoted 2 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 161/162
2022/6/24 下午2:58 1z0-082 Exam – Free Actual Q&As, Page 1 | ExamTopics

Question #96 Topic 1

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

Correct Answer:
BDE

Community vote distribution


BDE (100%)

 
Mandar79
Highly Voted 
1 year, 9 months ago
BDE seems to be correct, can someone confirm.

SQLLDR CONTROL=sample.ctl, LOG=sample.log, BAD=baz.bad, DATA=etc.dat

USERID=scott/tiger, ERRORS=999, LOAD=2000, DISCARD=toss.dsc,

DISCARDMAX=5

https://docs.oracle.com/cd/B19306_01/server.102/b14215/ldr_params.htm
upvoted 9 times

 
NowOrNever
1 year, 9 months ago
BDE - I agree

https://docs.oracle.com/cd/B28359_01/server.111/b28319/ldr_modes.htm#i1011474
upvoted 1 times

 
aediansyahsari
Most Recent 
1 month ago
Selected Answer: BDE
correct
upvoted 1 times

 
kamunkafle
9 months ago
BDE 100%
upvoted 1 times

https://www.examtopics.com/exams/oracle/1z0-082/custom-view/ 162/162

You might also like