0%

Oracle Database SQL Certified Associate (1Z0-071)

Put Password to pass 1Z0-071 quiz sent by ORANUX!

Welcome to 1Z0-071 quiz!

1 / 74

1. Which two statements are true about *_TABLES views? (Choose two.)

 

2 / 74

2. Examine this statement:

On which two columns of the table will an index be created automatically? (Choose two.)

 

3 / 74

3.

Which two are true about global temporary tables? (Choose two.)

 

4 / 74

4. Which three statements about roles are true? (Choose three.)

 

5 / 74

5. Which three statements are true about Structured Query Language (SQL)? (Choose three.)

 

6 / 74

6.

Which two will execute successfully? (Choose two.)

 

7 / 74

7. Which two are true about granting object privileges on tables, views, and sequences? (Choose two.)

 

8 / 74

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

 

9 / 74

9. Table EMPLOYEES contains columns including EMPLOYEE_ID, JOB_ID and SALARY.
Only the EMPLOYEE_ID column is indexed.
Rows exist for employees 100 and 200.
Examine this statement:

Which two statements are true? (Choose two.)

 

10 / 74

10. You want to return the current date and time from the user session, with a data type of TIMESTAMP WITH TIME ZONE.
Which function will do this?

 

11 / 74

11. Which two are true about the NVL, NVL2, and COALESCE functions? (Choose two.)

 

12 / 74

12.

Which two are true about queries using set operators such as UNION? (Choose two.)

 

13 / 74

13.

Which two are true about a SQL statement using SET operators such as UNION? (Choose two.)

 

14 / 74

14. Examine the description of the EMPLOYEES table:

Which statement will execute successfully, returning distinct employees with non-null first names?

 

 

15 / 74

15. Which two actions can you perform with object privileges? (Choose two.)

 

16 / 74

16. Which three statements are true about multiple row subqueries? (Choose three.)

 

17 / 74

17.

You execute this query:

SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE), 'MON'), 'dd "Monday for" fmMonth rrrr')
FROM DUAL;

What is the result?

 

18 / 74

18. Examine the description of the PRODUCTS table:

Which three queries use valid expressions? (Choose three.)

 

19 / 74

19. Examine the description of the MEMBERS table:

Examine the partial query:
SELECT city, last_name AS lname 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? (Choose two.)

 

20 / 74

20. Which two statements are true about the COUNT function? (Choose two.)

 

21 / 74

21. Examine this list of requirements for a sequence:
1. Name: EMP_SEQ
2. First value returned: 1
3. Duplicates are never permitted.
4. Provide values to be inserted into the EMPLOYEES.EMPLOYEE_ID column.
5. Reduce the chances of gaps in the values.
Which two statements will satisfy these requirements? (Choose two.)

 

22 / 74

22. Which two are true? (Choose two.)

23 / 74

23. The EMPLOYEES table contains columns EMP_ID of data type NUMBER and HIRE_DATE of data type DATE.
You want to display the date of the first Monday after the completion of six months since hiring.
The NLS_TERRITORY parameter is set to AMERICA in the session and, therefore, Sunday is the first day of the week.
Which query can be used?

 

24 / 74

24. Which three statements are true about Oracle synonyms? (Choose three.)

25 / 74

25. Which two are true about the precedence of operators and conditions? (Choose two.)

 

26 / 74

26.

Which three are key components of an Entity Relationship Model? (Choose three.)

 

27 / 74

27. Which two are true about transactions in the Oracle Database? (Choose two.)

 

28 / 74

28. An Oracle Database session has an uncommitted transaction in progress which updated 5000 rows in a table.
In which three situations does the transaction complete thereby committing the updates? (Choose three.)

 

29 / 74

29. What is true about non-equijoin statement performance? (Choose two.)

30 / 74

30. Which three statements are true about inner and outer joins? (Choose three.)

 

31 / 74

31. Which three queries execute successfully? (Choose three.)

 

32 / 74

32. Which two statements are true about Oracle synonyms? (Choose two.)

 

33 / 74

33. Which is true about the ROUND, TRUNC and MOD functions?

 

34 / 74

34. You have been tasked to create a table for a banking application.
One of the columns must meet three requirements:
1) Be stored in a format supporting date arithmetic without using conversion functions
2) Store a loan period of up to 10 years
3) Be used for calculating interest for the number of days the loan remains unpaid
Which data type should you use?

 

35 / 74

35. Examine the description of the PRODUCT_DETAILS table:

Which two statements are true? (Choose two.)

 

36 / 74

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

 

37 / 74

37. Examine the data in the EMP table:

You execute this query:

Why does an error occur?

 

 

38 / 74

38. No user-defined locks are used in your database.
Which three are true about Transaction Control Language (TCL)? (Choose three.)

 

39 / 74

39.

Examine this business rule:
Each student can work on multiple projects and each project can have multiple students.
You must design an Entity Relationship (ER) model for optimal data storage and allow for generating reports in this format:

STUDENT_ID FIRST_NAME LAST_NAME PROJECT_ID PROJECT_NAME PROJECT_TASK

Which two statements are true? (Choose two.)

 

40 / 74

40. The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOICE_DATE column of data type DATE.
NLS_DATE_FORMAT is set to DD-MON-RR.
Which two are true about data type conversions involving these columns in query expressions? (Choose two.)

 

41 / 74

41. You start a session and execute these commands successfully:

Which two are true? (Choose two.)

42 / 74

42. Which three are true about scalar subquery expressions? (Choose three.)

 

43 / 74

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

 

44 / 74

44. Which two statements are true about an Oracle database? (Choose two.)

45 / 74

45. Which two are true? (Choose two.)

46 / 74

46. Which two are true about unused columns? (Choose two.)

 

47 / 74

47. Examine this list of requirements for a sequence:
1. Name: EMP_SEQ
2. First value returned: 1
3. Duplicates are never permitted.
4. Provide values to be inserted into the EMPLOYEES.EMPLOYEE_ID column.
5. Reduce the chances of gaps in the values.
Which two statements will satisfy these requirements? (Choose two.)

 

48 / 74

48.

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

 

49 / 74

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

 

50 / 74

50. You create a table named 123.
Which statement runs successfully?

 

51 / 74

51. The STORES table has a column START_DATE of data type DATE, containing the date the row was inserted.
You only want to display details of rows where START_DATE is within the last 25 months.
Which WHERE clause can be used?

 

52 / 74

52. Examine this query:

Which two methods should you use to prevent prompting for a hire date value when this query is executed? (Choose two.)

 

53 / 74

53. You own table DEPARTMENTS, referenced by views, indexes, and synonyms.
Examine this command which executes successfully:
DROP TABLE departments PURGE;
Which three statements are true? (Choose three.)

 

54 / 74

54.

Which three are true about privileges? (Choose three.)

 

55 / 74

55. Examine the description of the EMPLOYEES table:

Which two statements will insert a row into the EMPLOYEES table? (Choose two.)

 

56 / 74

56. Examine the description of the BOOKS table:

The table has 100 rows.
Examine this sequence of statements issued in a new session:
INSERT INTO books VALUES ('ADV112', 'Adventures of Tom Sawyer', NULL, NULL);
SAVEPOINT a;
DELETE FROM books;
ROLLBACK TO SAVEPOINT a;
ROLLBACK;
Which two statements are true? (Choose two.)

 

57 / 74

57. Which three are true about dropping columns from a table? (Choose three.)

 

58 / 74

58. In your session, the NLS_DATE_FORMAT is DD-MM-YYYY.
There are 86400 seconds in a day.
Examine this result:

DATE -
-----------
02-JAN-2020
Which statement returns this?

 

59 / 74

59. You need to allow user ANDREW to:
1. Modify the TITLE and ADDRESS columns of your CUSTOMERS table.
2. GRANT that permission to other users.
Which statement will do this?

 

60 / 74

60. Which two statements are true about selecting related rows from two tables based on an Entity Relationship Diagram (ERD)? (Choose two.)

 

61 / 74

61. Which two are true about external tables that use the ORACLE_DATAPUMP access driver? (Choose two.)

 

62 / 74

62. Which two statements are true regarding indexes? (Choose two.)

 

63 / 74

63. Which two statements are true about TRUNCATE and DELETE? (Choose two.)

 

64 / 74

64. Examine this partial command:

Which two clauses are required for this command to execute successfully? (Choose two.)

 

65 / 74

65. Examine this statement:

Which two statements are true? (Choose two.)

66 / 74

66. Which two statements are true about conditional INSERT ALL? (Choose two.)

 

67 / 74

67. Which two are true about using constraints? (Choose two.)

 

68 / 74

68.

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

 

69 / 74

69. Which two are true about queries using set operators (UNION, UNION ALL, INTERSECT and MINUS)? (Choose two.)

 

70 / 74

70. Examine this SQL statement:

Which two are true? (Choose two.)

 

71 / 74

71.

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

 

72 / 74

72. The SALES table has columns PROD_ID and QUANTITY_SOLD of data type NUMBER.
Which two queries execute successfully? (Choose two.)

 

73 / 74

73. Which three actions can you perform on an existing table containing data? (Choose three.)

 

74 / 74

74. Which three statements are true about the Oracle join and ANSI join syntax? (Choose three.)

 

Your score is

0%