Winter Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

Oracle 1z0-082 Oracle Database Administration I Exam Practice Test

Page: 1 / 14
Total 142 questions

Oracle Database Administration I Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$42  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$36.75  $104.99
Question 1

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

Options:

A.

the first column in the first select of the compound query

B.

the first varchab2 column in the first select of the compound query

C.

the first number column in the first select of the compound query

D.

the first number or varchar2 column in the last select of the compound query

E.

the first column in the last select of the compound query

Question 2

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

Options:

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

Question 3

Which two statements are true about Oracle synonyms?

Options:

A.

A synonym has an object number.

B.

A synonym can be created on an object in a package.

C.

A synonym can have a synonym.

D.

All private synonym names must be unique in the database.

E.

Any user can create a PUBLIC synonym.

Question 4

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

Options:

A.

dump files

B.

control files

C.

password files

D.

bad files

E.

input files

Question 5

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

Options:

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

Question 6

Your database instance is started with an SPFILE.

A PFILE is also available. You execute this command:

ALTER SYSTEM SET DB_CACHE_SIZE=100K;

Where Is the value changed?

Options:

A.

in the SPFILE, SPFILE, and memory

B.

in the SPFILE and in memory

C.

only In the SPFILE

D.

in the SPFILE and SPFILEc

E.

only in memory

Question 7

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?

Options:

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

Question 8

Which statement is true about aggregate functions?

Options:

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

Question 9

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?

Options:

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

Question 10

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

Options:

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

Question 11

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

Options:

A.

undo

B.

index

C.

stored procedures

D.

sequences

E.

tables

F.

clusters

Question 12

Which three statements are true about time zones, date data types, and timestamp data types in an Oracle database? (Choose three.)

Options:

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)

Question 13

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

Options:

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

Question 14

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

Options:

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)

Question 15

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

Options:

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

Question 16

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

Options:

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

Question 17

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?

Options:

A.

INTERSECT

B.

UNION ALL

C.

UNION

D.

SUBTRACT

E.

MINUS

Question 18

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

Options:

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

Question 19

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

Which two queries execute successfully? (Choose two.)

Options:

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;

Question 20

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?

Options:

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

Question 21

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?

Options:

A.

SELECT &&col1, &&col2FROM &tableWHERE &&condition = &&cond;

B.

SELECT &col1, &col2FROM &&tableWHERE &condition;

C.

SELECT &col1, &col2FROM “&table”WHERE &condition;

D.

SELECT ‘&&col1’, ‘&&col2’FROM &tableWHERE ‘&&condition’ = ‘&cond’;

E.

SELECT &&col1, &&col2FROM &tableWHERE &&condition;

Page: 1 / 14
Total 142 questions