Winter Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

1z0-082 Sample Questions Answers

Questions 4

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?

Options:

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

Buy Now
Questions 5

Examine this description of the TRANSACTIONS table:

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

Options:

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;

Buy Now
Questions 6

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

Buy Now
Questions 7

Which three functions are performed by dispatchers in a shared server configuration? (Choose three.)

Options:

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

Questions 8

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

Options:

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

Buy Now
Questions 9

Which two actions can you perform using DBCA for an existing database?

Options:

A.

Create a template that can be used to clone the database.

B.

Change the server mode from dedicated to shared, and vice versa.

C.

Change the character set.

D.

Create an additional listener.

E.

Create nonstandard block size tablespaces.

Buy Now
Questions 10

Which three statements are true about roles?

Options:

A.

All roles granted to a user are set on by default when the user logs in,

B.

Object privileges may not be granted to roles.

C.

The SET ROLE statement can disable one or more roles for a session.

D.

Roles must be password protected.

E.

Roles may be granted to roles.

F.

The SET ROLE statement can enable one or more roles for a session.

Buy Now
Questions 11

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

Questions 12

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?

Options:

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

Buy Now
Questions 13

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

Options:

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

Buy Now
Questions 14

Examine this command:

Which two statements are true? (Choose two.)

Options:

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

Buy Now
Questions 15

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

Options:

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;

Buy Now
Questions 16

Which two statements are true about User Authentication in an Oracle Database?

Options:

A.

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

B.

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

C.

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

D.

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

E.

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

Buy Now
Questions 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

Buy Now
Questions 18

Examine the description of the employees table:

Which query requires explicit data type conversion?

Options:

A.

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

B.

SELECT join_date I I ' ' II salary FROM employees;

C.

SELECT SUBSTR

D.

SELECT join_date + '20' FROM employees; SELECT salary * '120.50' FROM employees;

Buy Now
Questions 19

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?

Options:

A.

INTERVAL YEAR TO MONTH

B.

INTERVAL DAY TO SECOND

C.

TIMESTAMP WITH LOCAL TIMEZONE

D.

TIMESTAMP

E.

TIMESTAMP WITH TIMEZONE

Buy Now
Questions 20

Which three statements are true about using SQL*Plus?

Options:

A.

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

B.

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

C.

It can run scripts entered at the SQL prompt.

D.

It can run Recovery Manager (RMAN) commands.

E.

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

F.

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

Buy Now
Questions 21

Which two queries execute successfully?

Options:

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;

Buy Now
Questions 22

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

Options:

A.

COLUMN STORE COMPRESS BASIC

B.

COLUMN STORE COMPRESS ADVANCED

C.

RON STORE COMPRESS BASIC

D.

ROW STORE COMPRESS ADVANCED

Buy Now
Questions 23

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

Options:

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

Questions 24

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

Options:

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.

Buy Now
Questions 25

An Oracle database session has an uncommitted transaction in progress which updated 5000 rows in a table.

Which three situations does the transaction complete thereby committing the updates?

Options:

A.

when a DBA issues a successful SHUTDOWN TRANSACTIONAL statement and the user then issues a COMMIT

B.

when a CREATE INDEX statement is executed successfully in the same session

C.

when a COMMIT statement is issued by the same user from another session in the same database instance

D.

when the session logs out successfully

E.

when a DBA issues a successful SHUTDOWN IMMEDIATE statement and the user then issues a COMMIT

F.

when a CREATE TABLE AS SELECT statement is executed unsuccessfully in the same session

Buy Now
Questions 26

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

Options:

A.

The ADR base defaults to $ORACLE_HOME/rdbms/admin ifneither 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

Buy Now
Questions 27

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?

Options:

A.

in the undo tablespace

B.

in the SYSAUX tablespace

C.

in the SGA

D.

in the PGA

E.

in the temporary tablespace

Buy Now
Questions 28

While one of your databases was in mount state, the datafiles were renamed because they had been moved to a new file system. The database was then opened.

Which two statements are true?

Options:

A.

DBA_DATA_FILES displays the original name for the data files.

B.

V$DATAFILE displays the new names for the data files.

C.

DBA_DATA _FILES displays both the new name and the old name for the data files.

D.

DBA_DATA_FILES displays the new name for the data files.

E.

DBA_DATA_FILES must be resynchronized manually with the control file an order to have it display the new file names.

Buy Now
Questions 29

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?

Options:

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.

Buy Now
Questions 30

Examine this command:

SQL> ALTER TABLE ORDERS SHRINK SPACE COMPACT

Which two statements are true?

Options:

A.

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

B.

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

C.

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

D.

The shrink operation causes rows to be moved to empty space starting from the beginning of the orders segment.

E.

Dependent indexes become UNUSABLE.

F.

The shrink operation causes rows to be moved to empty space starting toward the end of the orders segment.

Buy Now
Questions 31

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

Options:

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

Buy Now
Questions 32

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

Options:

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

Buy Now
Questions 33

Which two statements are true about undo and undo tablespaces?

Options:

A.

There can be only one undo tablespace created in a database.

B.

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

C.

An undo tablespace may be owned by only one instance.

D.

undo segments are owned by SYSTEM.

E.

undo segments are owned by SYSBACKUP.

Buy Now
Questions 34

Which three statements are true about the naming methods and their features supported by Oracle database used to resolve connection information?

Options:

A.

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

B.

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

C.

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

D.

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

E.

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

F.

Easy Connect supports TCP/IP and SSL.

Buy Now
Questions 35

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

Options:

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”

Buy Now
Questions 36

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?

Options:

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.

Buy Now
Questions 37

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

Options:

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

Buy Now
Questions 38

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

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

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

Options:

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;

Buy Now
Questions 39

Which three statements are true regarding single row subqueries?

Options:

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.

Buy Now
Questions 40

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

Options:

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

Buy Now
Questions 41

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

h two statements are true about expressions using PROMO_BEGIN_DATE contained In a query?

Options:

A.

to_numberipromo_begin_date) - s will return a number.

B.

PROMO_ BEGIN_DATE - sysdate will return a number.

C.

PROMO_ BEGIN_DATE - sysdate will return an error.

D.

PROMO_ BEGIN_DATE - 5 will return a date.

E.

TO_date(PROMO_ BEGIN_DATE * 5| will return a date.

Buy Now
Questions 42

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

Options:

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

Buy Now
Exam Code: 1z0-082
Exam Name: Oracle Database Administration I
Last Update: Nov 21, 2024
Questions: 142
$64  $159.99
$48  $119.99
$40  $99.99
buy now 1z0-082