Skip to main content

1Z0-082 Real Exam Questions

Oracle Database Administration I

176 questions available · Page 1 of 18

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Multiple choice

View the Exhibit and examine the structure of the PRODUCTS table.

Which two tasks require subqueries? (Choose two.)

  1. A

    Display the number of products whose PROD_LIST_PRICE is more than the average PROD_LIST_PRICE

  2. B

    Display suppliers whose PROD_LIST_PRICE is less than 1000

  3. C

    Display products whose PROD_MIN_PRICE is more than the average PROD_LIST_PRICE of all products, and whose status is orderable

  4. D

    Display the total number of products supplied by supplier 102 which have a product status of obsolete

  5. E

    Display the minimum PROD_LIST_PRICE for each product status

Show answer and explanation

Correct answers: A, C

Question 2 Single choice

Which statement is true about database links?

  1. A

    Private database link creation requires the same user to exist in both the local and the remote databases.

  2. B

    A public database link can be created only by SYS.

  3. C

    A database link can be created only between two Oracle databases.

  4. D

    A public database link can be used by a user connected to the local database instance to connect to any schema in the remote database instance.

  5. E

    A database link created in a database allows a connection from that database's instance to the target database's Instance, but not vice versa.

Show answer and explanation

Correct answer: E

Question 3 Multiple choice

Which three statements are true about connection strings and service names used to connect to an Oracle database instance?

  1. A

    A single database instance can support connections for multiple service names.

  2. B

    A service name is created by a listener.

  3. C

    A single connection string can refer to multiple database instances.

  4. D

    A connection string including a service name must be defined in the cnsnames.ora file.

  5. E

    A connection string must include the SID of a database Instance.

  6. F

    Different connection strings in the same tnsnames.ora file can contain the same service name, host and port parameters.

Show answer and explanation

Correct answers: A, C, F

Question 4 Multiple choice

Which two statements are true about INTERVAL data types? (Choose two.)

  1. A

    INTERVAL DAY TO SECOND columns support fractions of seconds.

  2. B

    The YEAR field in an INTERVAL YEAR TO MONTH column must be a positive value.

  3. C

    The value in an INTERVAL DAY TO SECOND column can be copied into an INTERVAL YEAR TO
    MONTH column.

  4. D

    INTERVAL YEAR TO MONTH columns only support monthly intervals within a range of years.

  5. E

    INTERVAL YEAR TO MONTH columns only support monthly intervals within a single year.

  6. F

    INTERVAL YEAR TO MONTH support yearly intervals.

Show answer and explanation

Correct answers: A, F

Question 5 Multiple choice

Which three statements are true about performing Data Manipulation Language (DML) operations on a view with no INSTEAD OF triggers defined? (Choose three.)

  1. A

    Views cannot be used to query rows from an underlying table if the table has a PRIMARY KEY and the PRIMARY KEY columns are not referenced in the defining query of the view.

  2. B

    The WITH CHECK clause has no effect when deleting rows from the underlying table through the view.

  3. C

    Delete statements can always be done on a table through a view.

  4. D

    Views cannot be used to add or modify rows in an underlying table if the defining query of the view contains the DISTINCT keyword.

  5. E

    Views cannot be used to add rows to an underlying table if the table has columns with NOT NULL constraints lacking default values which are not referenced in the defining query of the view.

  6. F

    Insert statements can always be done on a table through a view.

Show answer and explanation

Correct answers: B, D, E

Question 6 Multiple choice

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

  1. A

    Revoke the CREATE SESSION privilege from other users

  2. B

    Revoke the CREATE SESSION privilege from user HR

  3. C

    Log in to the database instance

  4. D

    Grant the CREATE SESSION privilege with ADMIN OPTION to other users

  5. E

    Execute DDL statements in the HR schema

  6. F

    Execute DML statements in the HR schema

Show answer and explanation

Correct answers: A, B, C, D

Explanation

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

Question 7 Single choice

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?

  1. A

    It gives an error because the ALL keyword is not valid

  2. B

    It gives an error because the GROUP BY clause is not valid

  3. C

    It executes successfully but does not give the required result

  4. D

    It executes successfully and gives the required result

Show answer and explanation

Correct answer: D

Question 8 Multiple choice

Which three statements are true about a self join? (Choose three.)

  1. A

    The ON clause must be used

  2. B

    The query must use two different aliases for the table

  3. C

    It must be an equijoin

  4. D

    It must be an inner join

  5. E

    The ON clause can be used

  6. F

    It can be an outer join

Show answer and explanation

Correct answers: B, E, F

Question 9 Multiple choice

Which two statements are true regarding a SAVEPOINT? (Choose two.)

  1. A

    Rolling back to a SAVEPOINT can undo a CREATE INDEX statement

  2. B

    Rolling back to a SAVEPOINT can undo a TRUNCATE statement

  3. C

    Only one SAVEPOINT may be issued in a transaction

  4. D

    A SAVEPOINT does not issue a COMMIT

  5. E

    Rolling back to a SAVEPOINT can undo a DELETE statement

Show answer and explanation

Correct answers: D, E

Question 10 Multiple choice

Which two statements are true about UNDO and REDO? (Choose two.)

  1. A

    The generation of UNDO generates REDO

  2. B

    DML modifies Oracle database objects and only generates UNDO

  3. C

    The generation of REDO generates UNDO

  4. D

    DML modifies Oracle database objects and only generates REDO

  5. E

    DML modifies Oracle database objects and generates UNDO and REDO

Show answer and explanation

Correct answers: A, E

Explanation

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

https://www.experts-exchange.com/articles/13880/UNDO-AND-REDO-IN-ORACLE.html