Oracle Database Quiz Questions

Course Name:Oracle
Chapter Name:Chapter 5 - DDL (Data Definition Language)
Lesson Content Link:JSON Data Type
Current Quiz Count:30
Progress
0%
Q1
True / False

Oracle supports storing JSON data within its database tables.

Q2
True / False

In Oracle, JSON data can be stored in columns of type VARCHAR2.

Q3
True / False

JSON stands for JavaScript Object Notation.

Q4
True / False

Oracle provides functions to query and manipulate JSON data stored in the database.

Q5
True / False

The IS JSON condition in Oracle is used to validate that a column contains valid JSON data.

Q6
True / False

In Oracle, JSON data can only be stored in tables with a JSON column type.

Q7
True / False

Oracle's JSON_TABLE function can be used to transform JSON data into relational data.

Q8
True / False

In Oracle, indexing JSON data stored in a CLOB column requires a different approach than indexing JSON data stored in a VARCHAR2 column.

Q9
True / False

Oracle SQL provides support for JSON path expressions to query JSON data.

Q10
True / False

The Oracle Certified Professional (OCP) exam includes topics on storing, querying, and indexing JSON data in Oracle databases.

Q11
Single Choice

Which Oracle SQL data type is specifically designed to store JSON data?

Q12
Single Choice

What does the following Oracle SQL statement do?

SQL Code
CREATE TABLE orders (
 order_id NUMBER PRIMARY KEY,
 order_data JSON
);
Q13
Single Choice

In Oracle, which function is used to validate that a column contains properly formatted JSON data?

Q14
Single Choice

What will the following Oracle SQL query return?

SQL Code
SELECT order_data.name FROM orders WHERE order_data.name = 'John Doe';
Q15
Single Choice

How can you extract the name field from a JSON column order_data in Oracle?

SQL Code
SELECT JSON_VALUE(order_data, '$.name') FROM orders;
Q16
Single Choice

Which Oracle SQL function is used to pretty-print a JSON object stored in a JSON column?

SQL Code
SELECT JSON_PRETTY(order_data) FROM orders WHERE order_id = 1;
Q17
Single Choice

What is the purpose of the JSON_EXISTS function in Oracle SQL?

SQL Code
SELECT * FROM orders WHERE JSON_EXISTS(order_data, '$.shipping_address');
Q18
Single Choice

Which of the following Oracle SQL statements would create a JSON index on the name field within a JSON column?

SQL Code
CREATE INDEX idx_name ON orders (JSON_VALUE(order_data, '$.name'));
Q19
Single Choice

How would you merge two JSON objects stored in Oracle JSON columns?

SQL Code
SELECT JSON_MERGEPATCH(order_data, new_data) FROM orders;
Q20
Single Choice

Which of the following is true about using the JSON data type in Oracle compared to storing JSON data in a CLOB column?

Q21
Multiple Choice

Identify the SQL scripts that correctly define a JSON column in an Oracle table.

Q22
Multiple Choice

Select the SQL scripts that correctly insert JSON data into a table with a JSON column in Oracle.

Q23
Multiple Choice

Determine the SQL scripts that correctly query data from a JSON column in Oracle.

Q24
Multiple Choice

Identify the SQL scripts that correctly update a JSON column in Oracle.

Q25
Multiple Choice

Select the SQL scripts that correctly delete JSON data within a column in Oracle.

Q26
Multiple Choice

Determine the SQL scripts that correctly validate JSON data in Oracle.

Q27
Multiple Choice

Identify the SQL scripts that correctly define a table with multiple JSON columns in Oracle.

Q28
Multiple Choice

Select the SQL scripts that correctly handle indexing on a JSON column in Oracle.

Q29
Multiple Choice

Determine the SQL scripts that correctly handle the scenario of altering a table to add a JSON column in Oracle.

Q30
Multiple Choice

Identify the SQL scripts that correctly drop a JSON column from an Oracle table.