1z0-082 Practice Test

1z0-082 Practice Test practice questions, page 3 of 7, with answer review and explanations.

Question 11

Which two statements are true about the SET VERIFY ON command? (Choose two.)

  1. It can be used only in SQL*Plus
  2. It displays values for variables used only in the WHERE clause of a query
  3. It can be used in SQL Developer and SQL*Plus
  4. It displays values for variables created by the DEFINE command
  5. It displays values for variables prefixed with &&

Question 12

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

  1. The ON clause must be used
  2. The query must use two different aliases for the table
  3. It must be an equijoin
  4. It must be an inner join
  5. The ON clause can be used
  6. It can be an outer join

Question 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. Which query can be used?

  1. SELECT &&col1, &&col2 FROM &table WHERE &&condition = &&cond;
  2. SELECT &col1, &col2 FROM &&table WHERE &condition;
  3. SELECT &col1, &col2 FROM ג€&tableג€ WHERE &condition;
  4. SELECT '&&col1', '&&col2' FROM &table WHERE '&&condition' = '&cond';
  5. SELECT &&col1, &&col2 FROM &table WHERE &&condition;

Question 14

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?

  1. SELECT * FROM customers WHERE city LIKE 'D_%';
  2. SELECT * FROM customers WHERE city = '%D_';
  3. SELECT * FROM customers WHERE city LIKE 'D_';
  4. SELECT * FROM customers WHERE city = 'D_%';

Question 15

Examine this command: Which two statements are true? (Choose two.)

  1. DML may be performed on tables with one or more extents in this data file during the execution of this command.
  2. The tablespace containing SALES1.DBF must be altered READ ONLY before executing the command.
  3. The tablespace containing SALES1.DBF must be altered OFFLINE before executing the command.
  4. If Oracle Managed Files (OMF) is used, then the file is renamed but moved to DB_CREATE_FILE_DEST.
  5. The file is renamed and stored in the same location