11.11 Special Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

1z0-082 Exam Dumps - Oracle Database Administration I

Question # 4

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

Full Access
Question # 5

Which two queries execute successfully?

A.

SELECT NULLIF(NULL, 100) FROM DUAL;

B.

SELECT COALESCE (100, 'AM FROM DUAL;

C.

SELECT 2TOLLIF(100, 'A') FROM DUAL;

D.

SELECT NULLIF(100,100) FROM DUAL;

E.

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

Full Access
Question # 6

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;

Full Access
Question # 7

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

Full Access
Question # 8

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

Full Access
Question # 9

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

Full Access
Question # 10

Your database instance is started with an SPFILE.

A PFILE is also available. You execute this command:

ALTER SYSTEM SET DB_CACHE_SIZE=100K;

Where Is the value changed?

A.

in the SPFILE, 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

Full Access
Question # 11

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

Full Access
Question # 12

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

Full Access
Question # 13

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_AMOUNTFROM customersWHERE cust_income_level IS NOT NULLAND due_amount IS NOT NULL;

B.

SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNTFROM customersWHERE cust_income_level != NULLAND cust_credit_level !=NULL;

C.

SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNTFROM customersWHERE cust_income_level <> NULLAND due_amount <> NULL;

D.

SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNTFROM customersWHERE cust_income_level != NULLAND due_amount != NULL;

E.

SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNTFROM customersWHERE cust_income_level IS NOT NULLAND cust_credit_limit IS NOT NULL;

Full Access
Question # 14

Which three statements are true regarding single row subqueries?

A.

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

B.

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

C.

They can be used in the where clause.

D.

A SQL statement may have multiple single row subquery blocks.

E.

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

F.

They can be used in the having clause.

Full Access
Question # 15

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

Full Access
Question # 16

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

Compress rows for all DML statements on that table

Minimize the overheads associated with compression

Which compression option is best suited for this?

A.

COLUMN STORE COMPRESS FOR QUERY LOW

B.

ROW STORE COMPRESS BASIC

C.

COLUMN STORE COMPRESS FOR ARCHIVE LOW

D.

COLUMN STORE COMPRESS FOR ARCHIVE HIGH

E.

ROW STORE COMPRESS ADVANCED

Full Access
Question # 17

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

One of the columns must meet three requirements:

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

Store a loan period of up to 10 years

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

Which data type should you use?

A.

INTERVAL YEAR TO MONTH

B.

INTERVAL DAY TO SECOND

C.

TIMESTAMP WITH LOCAL TIMEZONE

D.

TIMESTAMP

E.

TIMESTAMP WITH TIMEZONE

Full Access
Question # 18

Examine the description of the members table:

Examine the partial query:

SELECT city, last__name 1NAME FROM members

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

Which two clauses must you add to the query?

A.

ORDER BY 1, LNAME DESC

B.

ORDER BY 1, 2

C.

WHERE city LIKE *%AN%*

D.

WHERE city = =%AN%'

E.

WHERE city IN (•%AN%')

F.

ORDER BY last_narae DESC, city ASC

Full Access
Question # 19

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

Full Access
Question # 20

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

Full Access
Question # 21

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

Full Access