Oracle Database 23ai SQL Associate (1Z0-171) Free Practice Test
Question 1
Which command creates a new role in Oracle Database?
Correct Answer: C
Question 2
Which data dictionary view lists all indexes created by the current user?
Correct Answer: A
Question 3
Which type of join retrieves only the rows with matching values in both tables?
Correct Answer: A
Question 4
What will the following query return?
SELECT TO_CHAR(SYSDATE, 'DD-MM-YYYY') AS formatted_date FROM dual;
SELECT TO_CHAR(SYSDATE, 'DD-MM-YYYY') AS formatted_date FROM dual;
Correct Answer: B
Question 5
What is the result of the following SQL query?
SELECT COALESCE(NULL, 100, 200) AS result FROM dual;
SELECT COALESCE(NULL, 100, 200) AS result FROM dual;
Correct Answer: A
Question 6
What is the purpose of the DBA_OBJECTS data dictionary view?
Correct Answer: B