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. Examine the description of the PRODUCTS table:

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

 

2 / 74

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

3 / 74

3. Examine this statement:

Which two statements are true? (Choose two.)

4 / 74

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

 

5 / 74

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

 

6 / 74

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

 

7 / 74

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

8 / 74

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

 

9 / 74

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

 

10 / 74

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

 

11 / 74

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

 

12 / 74

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

 

13 / 74

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

 

14 / 74

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

 

15 / 74

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

 

16 / 74

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

 

17 / 74

17.

Which two will execute successfully? (Choose two.)

 

18 / 74

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

19 / 74

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

 

20 / 74

20.

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

 

21 / 74

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

 

22 / 74

22. Examine the data in the EMP table:

You execute this query:

Why does an error occur?

 

 

23 / 74

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

 

24 / 74

24.

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

 

25 / 74

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

 

26 / 74

26. Examine this statement:

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

 

27 / 74

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

 

28 / 74

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

 

29 / 74

29. Examine the description of the EMPLOYEES table:

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

 

 

30 / 74

30. Examine the description of the PRODUCT_DETAILS table:

Which two statements are true? (Choose two.)

 

31 / 74

31.

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

 

32 / 74

32. Examine the description of the EMPLOYEES table:

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

 

33 / 74

33. Examine this SQL statement:

Which two are true? (Choose two.)

 

34 / 74

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

 

35 / 74

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

 

36 / 74

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

 

37 / 74

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

 

38 / 74

38. Examine this query:

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

 

39 / 74

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

 

40 / 74

40.

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

 

41 / 74

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

 

42 / 74

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

 

43 / 74

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

 

44 / 74

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

 

45 / 74

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

 

46 / 74

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

 

47 / 74

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

 

48 / 74

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

49 / 74

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

 

50 / 74

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

 

51 / 74

51.

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

 

52 / 74

52. Examine this partial command:

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

 

53 / 74

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

 

54 / 74

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

 

55 / 74

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

 

56 / 74

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

 

57 / 74

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

 

58 / 74

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

 

59 / 74

59.

You execute this query:

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

What is the result?

 

60 / 74

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

 

61 / 74

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

Which two are true? (Choose two.)

62 / 74

62.

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

 

63 / 74

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

 

64 / 74

64.

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

 

65 / 74

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

 

66 / 74

66.

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

 

67 / 74

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

 

68 / 74

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

 

69 / 74

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

70 / 74

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

 

71 / 74

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

 

72 / 74

72.

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

 

73 / 74

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

 

74 / 74

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

 

Your score is

0%