Oracle 1z0-082 Questions & Answers
Oracle 1z0-082 Questions & Answers
Which two statements are true about the BIG_TBS tablespace? (Choose two.)
A.
AUTOEXTEND is possible for the datafile
B.
It must be bigger than the largest SMALLFILE tablespace
C.
Additional data files may not be added
D.
It will be a dictionary-managed tablespace by default
E.
It will always have a 32K blocksize
Answer: A,B
QUESTION NO: 2
Which statement is true about the INTERSECT operator used in compound queries?
A.
Multiple INTERSECT operators are not possible in the same SQL statement
B.
It processes NULLs in the selected columns
C.
"Everything is under control" - www.pass4sure.com 2
Oracle 1z0-082 Exam
INTERSECT is of lower precedence than UNION or UNION ALL
D.
It ignores NULLs
Answer: B
QUESTION NO: 3
Which three statements are true about advanced connection options supported by Oracle Net for
connection to Oracle Database instances? (Choose three.)
A.
Connect Time Failover requires the use of Transparent Application Failover (TAF)
B.
Source Routing requires the use of a name server
C.
Source Routing enables the use of Connection Manager (CMAN) which enables network traffic to
be routed through a firewall
D.
Load Balancing can balance the number of connections to dispatchers when using a Shared
Server configuration
E.
Load Balancing requires the use of a name server
F.
Connect Time Failover requires the connect string to have two or more listener addresses
configured
Answer: B,C,F
Reference: https://docs.oracle.com/cd/E11882_01/network.112/e41945/advcfg.htm#NETAG013
QUESTION NO: 4
Which two statements are true about date/time functions in a session where
NLS_DATE_FORMAT is set to DD-MON-YYYY HH24:MI:SS? (Choose two.)
B.
SYSDATE can be queried only from the DUAL table
C.
CURRENT_DATE returns the current date and time as per the session time zone
D.
SYSDATE can be used in expressions only if the default date format is DD-MON-RR
E.
SYSDATE and CURRENT_DATE return the current date and time set for the operating system of
the database server
F.
CURRENT_TIMESTAMP returns the same date as CURRENT_DATE
Answer: C,F
QUESTION NO: 5
A database is configured to use automatic undo management with temporary undo enabled.
A.
in the undo tablespace
B.
in the SYSAUX tablespace
C.
in the SGA
D.
in the PGA
E.
in the temporary tablespace
QUESTION NO: 6
Be used for calculating interest for the number of days the loan remains unpaid
A.
INTERVAL YEAR TO MONTH
B.
INTERVAL DAY TO SECOND
C.
TIMESTAMP WITH LOCAL TIMEZONE
D.
TIMESTAMP
E.
TIMESTAMP WITH TIMEZONE
Answer: B
QUESTION NO: 7
A.
Dynamic service registration cannot be used for this database instance
B.
The LREG process registers services dynamically with the LISTENER_1 listener
C.
LISTENER_1 must also be defined in the LISTENER.ORA file to enable dynamic service
registration
D.
There are two listeners named LISTENER and LISTENER_1 running simultaneously using port
1521 on the same host as the database instances
E.
The definition for LISTENER_1 requires a CONNECT_DATA section to enable dynamic service
registration
Answer: C
Reference: https://docs.oracle.com/database/121/NETAG/listenercfg.htm#NETAG292
QUESTION NO: 8
Which three statements are true concerning logical and physical database structures? (Choose
three.)
A.
"Everything is under control" - www.pass4sure.com 6
Oracle 1z0-082 Exam
All tablespaces may have one or more data files
B.
The extents of a segment must always reside in the same datafile
C.
A smallfile tablespace might be bigger than a bigfile tablespace
D.
A segment can span multiple data files in some tablespaces
E.
A segment’s blocks can be of different sizes
F.
A segment might have only one extent
G.
Segments can span multiple tablespaces
Answer: C,D,F
QUESTION NO: 9
A.
Rolling back to a SAVEPOINT can undo a CREATE INDEX statement
B.
Rolling back to a SAVEPOINT can undo a TRUNCATE statement
C.
Only one SAVEPOINT may be issued in a transaction
D.
A SAVEPOINT does not issue a COMMIT
E.
Rolling back to a SAVEPOINT can undo a DELETE statement
Answer: D,E
QUESTION NO: 10
A.
writing inbound request to the common request queue from all shared server connections
B.
checking for outbound shared server responses on the common outbound response queue
C.
receiving inbound requests from processes using shared server connections
D.
sending each connection input request to the appropriate shared server input queue
E.
broadcasting shared server session responses back to requesters on all connections
F.
sending shared server session responses back to requesters on the appropriate connection
Answer: A,C,D
QUESTION NO: 11
Which two statements are true about the SET VERIFY ON command? (Choose two.)
A.
It can be used only in SQL*Plus
B.
It displays values for variables used only in the WHERE clause of a query
C.
It can be used in SQL Developer and SQL*Plus
D.
It displays values for variables created by the DEFINE command
E.
It displays values for variables prefixed with &&
Answer: A,D
Which three statements are true about a self join? (Choose three.)
A.
The ON clause must be used
B.
The query must use two different aliases for the table
C.
It must be an equijoin
D.
It must be an inner join
E.
The ON clause can be used
F.
It can be an outer join
Answer: B,D,E
QUESTION NO: 13
You want to write a query that prompts for two column names and the WHERE condition each
time it is executed in a session but only prompts for the table name the first time it is executed.
The variables used in your query are never undefined in your session.
A.
SELECT &&col1, &&col2
FROM &table
B.
SELECT &col1, &col2
FROM &&table
C.
SELECT &col1, &col2
FROM “&table?
WHERE &condition;
D.
SELECT ‘&&col1’, ‘&&col2’
FROM &table
E.
SELECT &&col1, &&col2
FROM &table
WHERE &&condition;
Answer: B
QUESTION NO: 14
You want to display details of all customers who reside in cities starting with the letter D followed
by at least two characters.
B.
SELECT * FROM customers WHERE city = ‘%D_’;
C.
SELECT * FROM customers WHERE city LIKE ‘D_’;
D.
SELECT * FROM customers WHERE city = ‘D_%’;
Answer: A
QUESTION NO: 15
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.
Answer: A,B
QUESTION NO: 16
Which three statements are true about dropping and unused columns in an Oracle database?
(Choose three.)
A.
A primary key column referenced by another column as a foreign key can be dropped if using the
CASCADE option.
B.
An UNUSED column’s space is reclaimed automatically when the block containing that column is
next queried.
C.
An UNUSED column’s space is reclaimed automatically when the row containing that column is
next queried.
D.
Partition key columns cannot be dropped.
E.
A DROP COLUMN command can be rolled back
F.
A column that is set to UNUSED still counts towards the limit of 1000 columns per table
Answer: A,B,F
QUESTION NO: 17
Which two statements are true regarding Oracle database space management within blocks
managed by Automatic Segment Space Management (ASSM)? (Choose two.)
A.
PCTFREE defaults to 10% for all blocks in all segments for all compression methods
B.
ASSM assigns blocks to one of four fullness categories based on what percentage of the block is
"Everything is under control" - www.pass4sure.com 12
Oracle 1z0-082 Exam
allocated for rows
C.
Update operations always attempt to find blocks with free space appropriate to the length of the
row being updated
D.
Insert operations always attempt to find blocks with free space appropriate to the length of the row
being inserted
E.
A block will always be eligible for inserts if the row is short enough to fit into the block
Answer: C,E
QUESTION NO: 18
Which two statements are true about the ORD_ITEMS table and the ORD_SEQ sequence?
(Choose two.)
B.
Any user inserting rows into table ORD_ITEMS must have been granted access to sequence
ORD_SEQ
C.
Column ORD_NO gets the next number from sequence ORD_SEQ whenever a row is inserted
into ORD_ITEMS and no explicit value is given for ORD_NO
D.
Sequence ORD_SEQ cycles back to 1 after every 5000 numbers and can cycle 20 times
E.
Sequence ORD_SEQ is guaranteed not to generate duplicate numbers
Answer: B,E
QUESTION NO: 19
Which three instance situations are possible with the Oracle Database server without multi-tenant?
(Choose three.)
A.
two or more instances on separate servers all associated with one database
B.
one instance on one server associated with one database
C.
one instance on one server associated with two or more databases on the same server
D.
one instance on one server not associated with any database
E.
one instance on one server associated with two or more databases on separate servers
Answer: C,D,E
QUESTION NO: 20
A.
Column positions must be used in the ORDER BY clause
B.
Only column names from the first SELECT statement in the compound query are recognized
C.
The first column in the first SELECT of the compound query with the UNION operator is used by
default to sort output in the absence of an ORDER BY clause
D.
Each SELECT statement in the compound query must have its own ORDER BY clause
E.
Each SELECT statement in the compound query can have its own ORDER BY clause
Answer: B,E
QUESTION NO: 21
Which four account management capabilities can be configured using Oracle profiles? (Choose
four.)
A.
the number of hours for which an account is locked after the configured number of login attempts
has been reached
B.
the number of days for which an account may be inactive before it is locked
C.
the maximum amount of CPU time allowed for a user’s sessions before their account is locked
D.
the ability to prevent a password from ever being reused
E.
the number of password changes required within a period of time before a password can be
reused
F.
the number of days for which an account is locked after the configured number of login attempts
has been reached
Answer: A,D,E,F
QUESTION NO: 22
Which three statements are true about single-row functions? (Choose three.)
A.
They can be used only in the WHERE clause of a SELECT statement
B.
The argument can be a column name, variable, literal or an expression
C.
The data type returned can be different from the data type of the argument
D.
They can be nested to any level
E.
They can accept only one argument
F.
They return a single result row per table
Answer: B,C,D
QUESTION NO: 23
You want to use table compression suitable for OLTP that will:
A.
COLUMN STORE COMPRESS FOR QUERY LOW
B.
"Everything is under control" - www.pass4sure.com 16
Oracle 1z0-082 Exam
ROW STORE COMPRESS BASIC
C.
COLUMN STORE COMPRESS FOR ARCHIVE LOW
D.
COLUMN STORE COMPRESS FOR ARCHIVE HIGH
E.
ROW STORE COMPRESS ADVANCED
Answer: E
Reference: https://www.oracle.com/technetwork/database/options/compression/advanced-
compression-wp-12c-1896128.pdf
QUESTION NO: 24
Which two statements are true about space-saving features in an Oracle Database? (Choose
two.)
A.
Private Temporary Tables (PTTS) store metadata in memory only
B.
An index created with the UNUSABLE attribute has no segment
C.
If they exist for a session, Private Temporary Tables (PTTs) are always dropped at the next
COMMIT OR ROLLBACK statement
D.
An index that is altered to be UNUSABLE will retain its segment
E.
A table that is truncated will always have its segment removed
Answer: B,C
QUESTION NO: 25
Which two statements are true about the PMON background process? (Choose two.)
B.
It frees resources held by abnormally terminated processes
C.
It records checkpoint information in the control file
D.
It frees unused temporary segments
E.
It kills sessions that exceed idle time
Answer: A,B
Reference: https://docs.oracle.com/cd/B19306_01/server.102/b14220/process.htm
QUESTION NO: 26
In which three situations does a new transaction always start? (Choose three.)
A.
when issuing a SELECT FOR UPDATE statement after a CREATE TABLE AS SELECT statement
was issued in the same session
B.
when issuing a TRUNCATE statement after a SELECT statement was issued in the same session
C.
when issuing a CREATE TABLE statement after a SELECT statement was issued in the same
session
D.
when issuing the first Data Manipulation Language (DML) statement after a COMMIT OR
ROLLBACK statement was issued in the same session
E.
when issuing a CREATE INDEX statement after a CREATE TABLE statement completed
successfully in the same session
F.
when issuing a DML statement after a DML statement failed in the same session
QUESTION NO: 27
You want to display the rows from the SALES1 table which are not present in the SALES2 table.
A.
INTERSECT
B.
UNION ALL
C.
UNION
D.
SUBTRACT
E.
MINUS
Answer: E
A.
The value is changed only in the PFILE and takes effect at the next instance startup
B.
The value is changed for the current instance and in the PFILE
C.
It fails because the SCOPE clause is missing
D.
Change is applied to the current instance, but does not persist after instance restart
Answer: D
Reference: https://docs.oracle.com/database/121/SQLRF/statements_2017.htm#SQLRF00902
QUESTION NO: 29
Which three Oracle database space management features will work with both Dictionary and
Locally managed tablespaces? (Choose three.)
A.
Oracle Managed Files (OMF)
B.
Online table segment shrink
C.
Online index segment shrink
D.
Automatic data file extension (AUTOEXTEND)
E.
Capacity planning growth reports based on historical data in the Automatic Workload Repository
(AWR)
Answer: A,D,E
QUESTION NO: 30
During the export operation, you detach from the job by using CTRL+C and then execute this
command:
Are you sure you wish to stop the job ([yes]/no): yes
Which two statements are true about the job? (Choose two.)
A.
You can no longer monitor it
B.
You can reattach to it and monitor it
C.
It is paused and can be resumed
D.
It continues to run in the background
E.
It terminates
Answer: A,E
Reference: https://blog.oracle48.nl/killing-and-resuming-datapump-expdp-and-impdp-jobs/
QUESTION NO: 31
In one of your databases, you create a user, HR, and then execute this command:
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.
E.
Execute DDL statements in the HR schema
F.
Execute DML statements in the HR schema
Answer: A,B,C,D
QUESTION NO: 32
Which two statements are true about the WHERE and HAVING clauses in a SELECT statement?
(Choose two.)
A.
Aggregating functions and columns used in HAVING clauses must be specified in the SELECT list
of a query
B.
WHERE and HAVING clauses can be used in the same statement only if applied to different table
columns
C.
The HAVING clause can be used with aggregating functions in subqueries
D.
The WHERE clause can be used to exclude rows before dividing them into groups
E.
The WHERE clause can be used to exclude rows after dividing them into groups
Answer: C,D
QUESTION NO: 33
Which two statements are true about UNDO and REDO? (Choose two.)
A.
The generation of UNDO generates REDO
B.
DML modifies Oracle database objects and only generates UNDO
D.
DML modifies Oracle database objects and only generates REDO
E.
DML modifies Oracle database objects and generates UNDO and REDO
Answer: A,C
QUESTION NO: 34
The SCOTT/TIGER user exists in two databases, BOSTON_DB and DALLAS_DB, in two different
locations.
CREATE DATABASE LINK dblink1 CONNECT TO scott IDENTIFIED BY tiger USING ‘dallas_db’;
How do you execute the command so that only SCOTT in BOSTON_DB can access the SCOTT
schema in DALLAS_DB?
A.
as SCOTT in DALLAS_DB
B.
as SCOTT in BOSTON_DB
C.
as SCOTT in BOSTON_DB and SYS in DALLAS_DB
D.
as SYS in both the databases
E.
as SCOTT in both the databases
Answer: D
Which three statements are true about the DESCRIBE command? (Choose three.)
A.
It displays the PRIMARY KEY constraint for any column or columns that have that constraint
B.
It can be used from SQL Developer
C.
It displays the NOT NULL constraint for any columns that have that constraint
D.
It can be used to display the structure of an existing view
E.
It displays all constraints that are defined for each column
F.
It can be used only from SQL*Plus
Answer: C,D,F
QUESTION NO: 36
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.
FROM customers
B.
SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT
FROM customers
C.
SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT
FROM customers
D.
SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT
FROM customers
E.
SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT
FROM customers
Answer: E
QUESTION NO: 37
The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOICE_DATE
"Everything is under control" - www.pass4sure.com 26
Oracle 1z0-082 Exam
column of data type DATE.
Which two are true about data type conversions involving these columns in query expressions?
(Choose two.)
A.
CONCAT (qty_sold, invoice_date) : requires explicit conversion
B.
invoice_date = ’15-march-2019’ : uses implicit conversion
C.
invoie_date > ’01-02-2019’ : uses implicit conversion
D.
qty_sold BETWEEN ‘101’ AND ’110’ : uses implicit conversion
E.
qty_sold = ‘0554982’ uses implicit conversion
Answer: B,D
QUESTION NO: 38
A.
undo
B.
index
C.
stored procedures
D.
sequences
E.
tables
F.
clusters
QUESTION NO: 39
Which two statements are true about the results of using the INTERSECT operator in compound
queries? (Choose two.)
A.
Column names in each SELECT in the compound query can be different
B.
The number of columns in each SELECT in the compound query can be different
C.
Reversing the order of the intersected tables can sometimes affect the output
D.
INTERSECT returns rows common to both sides of the compound query
E.
INTERSECT ignores NULLs
Answer: A,E
QUESTION NO: 40
Which two statements are true about single row functions? (Choose two.)
A.
MOD : returns the quotient of a division operation
B.
FLOOR : returns the smallest integer greater than or equal to a specified number
C.
TRUNC : can be used with NUMBER and DATE values
D.
CONCAT : can be used to combine any number of values
E.
"Everything is under control" - www.pass4sure.com 28
Oracle 1z0-082 Exam
CEIL : can be used for positive and negative numbers
Answer: A,C
Reference: https://docs.oracle.com/en/database/oracle/oracle-database/18/sqlrf/Single-Row-
Functions.html#GUID-B93F789D-B486-49FF-B0CD-0C6181C5D85C
QUESTION NO: 41
The EMPLOYEES table contains columns EMP_ID of data type NUMBER and HIRE_DATE of
data type DATE.
You want to display the date of the first Monday after the completion of six months since hiring.
The NLS_TERRITORY parameter is set to AMERICA in the session and, therefore, Sunday is the
first day on the week.
A.
SELECT emp_id, ADD_MONTHS(hire_date, 6), NEXT_DAY(‘MONDAY’) FROM employees;
B.
SELECT emp_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), ‘MONDAY’) FROM employees;
C.
SELECT emp_id, NEXT_DAY(MONTHS_BETWEEN(hire_date, SYSDATE), 6) FROM employees;
D.
SELECT emp_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), 1) FROM employees;
Answer: B
QUESTION NO: 42
FROM dba_objects);
2017-03-06T12:15:17.183438+05:30
statement in resumable session ‘User U1(136), Session 1, Instance 1’ was suspended due to
ORA-01536: space quota exceeded for tablespace ‘DATA’
Which are three actions any one of which the DBA could take to resume the session? (Choose
three.)
A.
Add a data file to DATA
B.
Drop other U1 objects in DATA
C.
Increase U1’s quota sufficiently in DATA
D.
Set DEFERRED_SEGMENT_CREATION to TRUE
E.
Grant UNLIMITED TABLESPACE to U1
F.
Set AUTOEXTEND ON for data files in DATA
Answer: B,C,E
QUESTION NO: 43
Which three statements are true about the Oracle Data Dictionary? (Choose three.)
B.
The data dictionary is created and maintained by the database administrator
C.
Views with the same name but different prefixes, such as CDB, DBA, ALL and USER, reference
the same base tables from the data dictionary
D.
Base tables can be queried directly
E.
It is owned by the SYSTEM user
F.
Usernames of all users including database administrators are stored in the data dictionary
Answer: C,D,F
QUESTION NO: 44
You want to connect to a database instance whose listener listens on port 1531 by using this
statement:
CONNECT HR/HRMGR@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
Answer: E
QUESTION NO: 45
Which two statements are true about views used for viewing tablespace and datafile information?
(Choose two.)
A.
Tablespace free space can be viewed in V$TABLESPACE
B.
V$TABLESPACE displays information that is contained in the controlfile about tablespaces
C.
V$TABLESPACE displays information about tablespaces contained in the data dictionary
D.
Tablespace free space can be viewed in DBA_TABLESPACES
E.
A datafile can be renamed when the database is in MOUNT state and the new file name is
displayed when querying DBA_DATA_FILES after the database is opened
Answer: B,E
QUESTION NO: 46
A.
SELECT promo_cost, promo_category FROM promotions ORDER BY by 1;
B.
SELECT DISTINCT promo_cost || ’ in ‘ || DISTINCT promo_category FROM promotions ORDER
BY 1;
C.
SELECT DISTINCT promo_category || ‘ has ‘ || promo_cost AS COSTS FROM promotions
ORDER BY 1;
D.
SELECT promo_category, DISTINCT promo_cost FROM promotions ORDER BY 2;
E.
SELECT DISTINCT promo_category, promo_cost FROM promotions ORDER BY 1;
Answer: D,E
QUESTION NO: 47
In the ORCL database, UNDOTBS1 is the active undo tablespace with these properties:
1. A size of 100 MB
2. AUTOEXTEND is off
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
"Everything is under control" - www.pass4sure.com 33
Oracle 1z0-082 Exam
tablespace 'UNDOTBS1'?.
C.
It succeeds and the least recently written undo block of UNDOTBS1 is overwritten by the
generated undo.
D.
It succeeds and the generated undo is stored in SYSAUX.
E.
It succeeds and the least recently read undo block of UNDOTBS1 is overwritten by the generated
undo.
Answer: C
QUESTION NO: 48
Which two statements are true about the rules of precedence for operators? (Choose two.)
A.
The concatenation operator | | is always evaluated before addition and subtraction in an
expression
B.
NULLS influence the precedence of operators in an expression
C.
The + binary operator has the highest precedence in an expression in a SQL statement
D.
Arithmetic operators with equal precedence are evaluated from left to right within an expression
E.
Multiple parentheses can be used to override the default precedence of operators in an expression
Answer: C,E
Reference: https://docs.oracle.com/cd/B19306_01/server.102/b14200/operators001.htm
QUESTION NO: 49
What must you do so that KING is authenticated by the OS when connecting to the database
instance?
A.
Set OS_AUTHENT_PREFIX to OPS$
B.
Have the OS administrator add KING to the OSDBA group
C.
Grant DBA to KING
D.
Unset REMOTE_LOGIN_PASSWORDFILE
E.
Alter user KING to be IDENTIFIED EXTERNALLY
Answer: D
QUESTION NO: 50
View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables.
You want to display PROD_IDS whose promotion cost is less than the highest cost PROD_ID in a
promotion time interval.
Exhibit 1.
Exhibit 2.
A.
It gives an error because the ALL keyword is not valid
B.
It gives an error because the GROUP BY clause is not valid
C.
It executes successfully but does not give the required result
D.
It executes successfully and gives the required result
Answer: D
QUESTION NO: 51
Which three statements are true about GLOBAL TEMPORARY TABLES? (Choose three.)
A.
A TRUNCATE command issued in a session causes all rows in a GLOBAL TEMPORARY TABLE
B.
GLOBAL TEMPORARY TABLE rows inserted by a session are available to any other session
whose user has been granted select on the table.
C.
GLOBAL TEMPORARY TABLE space allocation occurs at session start.
D.
Any GLOBAL TEMPORARY TABLE rows existing at session termination will be deleted.
E.
A GLOBAL TEMPORARY TABLE’s definition is available to multiple sessions.
F.
A DELETE command on a GLOBAL TEMPORARY TABLE cannot be rolled back.
Answer: A,D,E
QUESTION NO: 52
Which two statements are true about trace files produced by the Oracle Database server?
(Choose two.)
A.
They can be written by server processes
B.
Trace files are written to the Fast Recovery Area (FRA)
C.
They can be written by background processes
D.
All trace files contain error information that require contacting Oracle Support
E.
Trace file names are based on the database name concatenated with a sequential number
Answer: A,C
Reference: https://gerardnico.com/db/oracle/trace_file
You need to calculate the number of days from 1st January 2019 until today.
A.
SELECT TO_CHAR(SYSDATE, ‘DD-MON-YYYY’) – ’01-JAN-2019’ FROM DUAL;
B.
SELECT ROUND(SYSDATE – ’01-JAN-2019’) FROM DUAL;
C.
SELECT ROUND(SYSDATE – TO_DATE(‘01/JANUARY/2019’)) FROM DUAL;
D.
SELECT TO_DATE(SYSDATE, ‘DD/MONTH/YYYY’) – ‘01/JANUARY/2019’ FROM DUAL;
E.
SELECT SYSDATE – TO_DATE(’01-JANUARY-2019’) FROM DUAL;
Answer: C,E
QUESTION NO: 54
Which two statements are true about the DUAL table? (Choose two.)
A.
It can be accessed only by the SYS user
B.
It consists of a single row and single column of VARCHAR2 data type
C.
It can display multiple rows but only a single column
D.
It can be used to display only constants or pseudo columns
E.
It can be accessed by any user who has the SELECT privilege in any schema
F.
"Everything is under control" - www.pass4sure.com 39
Oracle 1z0-082 Exam
It can display multiple rows and columns
Answer: A,B
Reference: https://en.wikipedia.org/wiki/DUAL_table
QUESTION NO: 55
Which four statements are true regarding primary and foreign key constraints and the effect they
can have on table data? (Choose four.)
A.
A table can have only one primary key but multiple foreign keys
B.
A table can have only one primary key and one foreign key
C.
The foreign key columns and parent table primary key columns must have the same names
D.
It is possible for child rows that have a foreign key to remain in the child table at the time the
parent row is deleted
E.
It is possible for child rows that have a foreign key to be deleted automatically from the child table
at the time the parent row is deleted
F.
Only the primary key can be defined at the column and table level
G.
Primary key and foreign key constraints can be defined at both the column and table level
Answer: A,C,E,G
QUESTION NO: 56
A.
SELECT dept_id, AVG(MAX(salary)) FROM employees GROUP BY dept_id;
B.
SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id;
C.
SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id, join_date;
D.
SELECT dept_id, MAX(AVG(salary)) FROM employees GROUP BY dept_id;
Answer: B
QUESTION NO: 57
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.
Answer: A,E
QUESTION NO: 58
In your data center, Oracle Managed Files (OMF) is used for all databases.
Examine this command which is about to be issued by a DBA logged in to the SALES database:
Which are two actions, either one of which you could take to ensure that the command executes
successfully? (Choose two.)
A.
Ensure that DB_RECOVERY_FILE_DEST and DB_CREATE_FILE_DEST each specify with at
least 50 Mb of available space.
B.
Specify a path in the DATAFILE clause of the command specifying a location with at least 100M of
available space.
C.
Ensure that DB_CREATE_FILE_DEST specifies a location with at least 100 Mb of available
space.
D.
Add the AUTOEXTEND ON clause with NEXT set to 100M.
E.
Ensure that DB_RECOVERY_FILE_DEST and DB_CREATE_FILE_DEST each specify locations
with at least 50 Mb of available space.
Answer: B,D
QUESTION NO: 59
"Everything is under control" - www.pass4sure.com 42
Oracle 1z0-082 Exam
Examine this command and some partial output:
A.
The service DB01.abc.com is dynamically registered
B.
The LOCAL_LISTENER database parameter is not set to a service name that refers to
LISTENER_1
C.
The service DB01.abc.com is statically registered
D.
The listener is not listening on the default port 1521
E.
The SID_LIST_LISTENER section is not contained in the LISTENER.ORA file
Answer: B
QUESTION NO: 60
Which three statements are true about the tools used to configure Oracle Net Services? (Choose
three.)
A.
The Oracle Net Configuration Assistant is only used when running the Oracle installer
B.
Oracle Net Manager can be used to centrally configure listeners on any database server target
"Everything is under control" - www.pass4sure.com 43
Oracle 1z0-082 Exam
C.
The lsnrctl utility requires a listener.ora file to exist before it is started
D.
Oracle Net Manager can be used to locally configure naming methods on a database server
E.
Enterprise Manager Cloud Control can be used to centrally configure listeners on any managed
database server
F.
Enterprise Manager Cloud Control can be used to centrally configure net service names for any
database server target
Answer: B,D,E
QUESTION NO: 61
Which two statements are true regarding the UNION and UNION ALL operators? (Choose two.)
A.
Duplicates are eliminated automatically by the UNION ALL operator
B.
The number of columns selected in each SELECT statement must be identical
C.
The names of columns selected in each SELECT statement must be identical
D.
The output is sorted by the UNION ALL operator
E.
NULLS are not ignored during duplicate checking
Answer: B,E
QUESTION NO: 62
Which two statements are true about the Automatic Diagnostic Repository (ADR)? (Choose two.)
A.
The ADR base defaults to $ORACLE_HOME/rdbms/admin if
B.
The ADR base defaults to $ORACLE_HOME/dbs if the DIAGNOSTIC_DEST parameter and the
ORACLE_BASE environment variable are not set
C.
It supports diagnostics for Automatic Storage Management (ASM)
D.
It supports diagnostics for Oracle Clusterware
E.
It is held inside an Oracle database schema
Answer: A,E
Reference: https://docs.oracle.com/cd/E11882_01/install.112/e27508/admin.htm
QUESTION NO: 63
You want to apply the principle of Least Privilege in all your live databases.
One of your requirements is to revoke unnecessary privileges from all users who have them using
Privilege Analysis.
Which three types of analyses can be done using the DBMS_PRIVILEGE_CAPTURE package?
(Choose three.)
A.
analysis of all privileges used by all users including administrative users in the database
B.
analysis of all privileges used by all users but excluding administrative users in the database
C.
analysis of privileges that a user has on their own schema objects that they did not use
D.
analysis of privileges that a user has on their own schema objects that they did use
E.
analysis of privileges granted directly to a role that are then used by a user who has been granted
that role
Answer: A,C,F
Reference: https://docs.oracle.com/database/121/ARPLS/d_priv_prof.htm#ARPLS74328
QUESTION NO: 64
Which three statements are true about undo segments and the use of undo by transactions in an
Oracle database instance? (Choose three.)
A.
An undo segment may be used by multiple transactions simultaneously
B.
Undo segments can wrap around to the first extent when a transaction fills the last extend of the
undo segment
C.
Undo segments have a minimum of three extents
D.
Undo segments can extend when a transaction fills the last extent of the undo segment
E.
A single transaction may use multiple undo segments simultaneously
F.
Undo segments must be stored in a BIGFILE tablespace
G.
Undo segments must be stored in a SMALLFILE tablespace
Answer: A,D,G
QUESTION NO: 65
Which two statements are true about Enterprise Manager Database Express? (Choose two.)
A.
"Everything is under control" - www.pass4sure.com 46
Oracle 1z0-082 Exam
It is available only when the database is open
B.
It can be used to perform database recovery
C.
The same port number can be used for Database Express configurations for databases on
different hosts
D.
It can be used to switch a database into ARCHIVELOGMODE
E.
The same port number can be used for multiple Database Express configurations for multiple
databases on the same host
Answer: A,C
QUESTION NO: 66
B.
Employee 200 will have JOB_ID set to the same value as the JOB_ID of employee 100
C.
Employee 200 will have SALARY set to the same value as the SALARY of employee 100
D.
Employee 100 will have JOB_ID set to the same value as the JOB_ID of employee 200
E.
Employees 100 and 200 will have the same JOB_ID as before the update command
F.
Employees 100 and 200 will have the same SALARY as before the update command
Answer: A,B
QUESTION NO: 67
Which two are true about a SQL statement using SET operators such as UNION? (Choose two.)
A.
The data type group of each column returned by the second query must match the data type of the
corresponding column returned by the first query.
B.
The number, but not names, of columns must be identical for all SELECT statements in the query.
C.
The data type of each column returned by the second query must exactly match the data type of
the corresponding column returned by the first query.
D.
The names and number of columns must be identical for all SELECT statements in the query.
E.
The data type of each column returned by the second query must be implicitly convertible to the
data type of the corresponding column returned by the first query.
Answer: A,C
QUESTION NO: 68
"Everything is under control" - www.pass4sure.com 48
Oracle 1z0-082 Exam
Which three statements are true about time zones, date data types, and timestamp data types in
an Oracle database? (Choose three.)
A.
The CURRENT_TIMESTAMP function returns data without time zone information
B.
A TIMESTAMP WITH LOCAL TIMEZONE data type column is stored in the database using the
time zone of the session that inserted the row
C.
A TIMESTAMP data type column contains information about year, month, and day
D.
The DBTIMEZONE function can return an offset from Universal Coordinated Time (UTC)
E.
The SESSIONTIMEZONE function can return an offset from Universal Coordinated Time (UTC)
Answer: A,D,E
QUESTION NO: 69
Which three statements are true about inner and outer joins? (Choose three.)
A.
A full outer join returns matched and unmatched rows
B.
An inner join returns matched rows
C.
Outer joins can only be used between two tables per query
D.
A full outer join must use Oracle syntax
E.
Outer joins can be used when there are multiple join conditions on two tables
F.
A left or right outer join returns only unmatched rows
Answer: A,B,E
A.
SELECT customer_id AS “CUSTOMER-ID?, transaction_date AS DATE, amount + 100 “DUES?
FROM transactions;
B.
SELECT customer_id AS “CUSTOMER-ID?, transaction_date AS “DATE?, amount + 100 DUES
FROM transactions;
C.
SELECT customer_id AS CUSTOMER-ID, transaction_date AS TRANS_DATE, amount + 100
“DUES AMOUNT? FROM transactions;
D.
SELECT customer_id CUSTID, transaction_date TRANS_DATE, amount + 100 DUES FROM
transactions;
E.
SELECT customer_id AS ‘CUSTOMER-ID’, transaction_date AS DATE, amount + 100 ‘DUES
AMOUNT’ FROM transactions;
Answer: B,D
QUESTION NO: 71