- Which of the following is not a SQL aggregate function?
a) COUNT
b) SUM
c) AVG
d) UPDATE
Answer: d) UPDATE
- Which of the following SQL commands is used to return all rows from a table?
a) SELECT *
b) SELECT ALL
c) SELECT SOME
d) SELECT DISTINCT
Answer: a) SELECT *
- Which Oracle database component manages user security and authentication?
a) Database Administrator (DBA)
b) Oracle Internet Directory (OID)
c) Oracle Identity Manager (OIM)
d) Oracle Access Manager (OAM)
Answer: b) Oracle Internet Directory (OID)
- Which of the following is not a type of join in SQL?
a) INNER JOIN
b) OUTER JOIN
c) FULL JOIN
d) CROSS JOIN
Answer: c) FULL JOIN
- Which Oracle tool is used for monitoring database performance and diagnosing problems?
a) Oracle Grid Infrastructure
b) Oracle Enterprise Manager
c) Oracle Data Guard
d) Oracle Real Application Clusters
Answer: b) Oracle Enterprise Manager
- Which SQL keyword is used to sort data in descending order?
a) ASC
b) DESC
c) ORDER BY
d) GROUP BY
Answer: b) DESC
- Which of the following data types can store only numeric values with no decimal places in Oracle?
a) NUMBER
b) INTEGER
c) FLOAT
d) BINARY_INTEGER
Answer: b) INTEGER
- Which built-in Oracle package can be used to send email from the database?
a) DBMS_OUTPUT
b) UTL_SMTP
c) DBMS_SCHEDULER
d) UTL_FILE
Answer: b) UTL_SMTP
- Which Oracle feature allows a single database instance to support multiple databases?
a) Oracle Real Application Clusters
b) Oracle Grid Infrastructure
c) Oracle Multitenant
d) Oracle GoldenGate
Answer: c) Oracle Multitenant
- Which SQL keyword is used to limit the number of rows returned in a query?
a) LIMIT
b) OFFSET
c) TOP
d) ROWNUM
Answer: d) ROWNUM
- Which Oracle database component handles memory management and optimization?
a) System Global Area (SGA)
b) Program Global Area (PGA)
c) Oracle Shared Server (OSS)
d) Oracle Real Application Clusters (RAC)
Answer: a) System Global Area (SGA)
- Which SQL keyword is used to group data in a query?
a) GROUP BY
b) ORDER BY
c) DIVIDE BY
d) MULTIPLY BY
Answer: a) GROUP BY
- Which Oracle database component is responsible for managing database backups?
a) Oracle Recovery Manager (RMAN)
b) Oracle Data Guard
c) Oracle Advanced Security
d) Oracle Internet Directory (OID)
Answer: a) Oracle Recovery Manager (RMAN)
- Which SQL keyword is used to filter data in a query with multiple conditions?
a) OR
b) AND
c) NOT
d) XOR
Answer: b) AND
- Which Oracle tool provides an interface for administering the database?
a) Oracle Data Guard
b) Oracle Net Manager
c) Oracle Enterprise Manager
d) Oracle Performance Analyzer
Answer: c) Oracle Enterprise Manager
- Which SQL function is used to find the highest value in a column?
a) MAX
b) MIN
c) AVG
d) SUM
Answer: a) MAX
- Which Oracle tool provides real-time performance monitoring and tuning recommendations?
a) Oracle Tuning Pack
b) Oracle Real Application Testing
c) Oracle Diagnostics Pack
d) Oracle Database Vault
Answer: a) Oracle Tuning Pack
- Which SQL keyword is used to specify a condition in a query?
a) WHERE
b) WHEN
c) IF
d) THEN
Answer: a) WHERE
- Which Oracle database component allows simultaneous access to a single database by multiple users?
a) Oracle Shared Server (OSS)
b) Oracle Real Application Clusters (RAC)
c) Oracle Internet Directory (OID)
d) Oracle Advanced Security
Answer: a) Oracle Shared Server (OSS)
- Which SQL function is used to find the average value of a column?
a) AVG
b) MIN
c) MAX
d) SUM
Answer: a) AVG
- Which Oracle tool allows developers to design and deploy web applications and web services?
a) Oracle Application Express (APEX)
b) Oracle Forms
c) Oracle WebLogic Server
d) Oracle Business Intelligence Enterprise Edition (OBIEE)
Answer: a) Oracle Application Express (APEX)
- Which SQL keyword is used to return only the distinct values in a column?
a) DISTINCT
b) UNIQUE
c) ALL
d) SAME
Answer: a) DISTINCT
- Which Oracle database component is used for data replication and disaster recovery?
a) Oracle Database Vault
b) Oracle Data Guard
c) Oracle Streams
d) Oracle GoldenGate
Answer: b) Oracle Data Guard
- Which SQL keyword is used to join multiple tables in a query?
a) JOIN
b) MERGE
c) COMBINE
d) UNITE
Answer: a) JOIN
- Which Oracle tool provides security policies and controls for database access?
a) Oracle Database Vault
b) Oracle Label Security
c) Oracle Advanced Security
d) Oracle Audit Vault and Database Firewall
Answer: a) Oracle Database Vault
- Which SQL function is used to find the lowest value in a column?
a) MIN
b) MAX
c) AVG
d) SUM
Answer: a) MIN
- Which Oracle database component is used for workload management and resource allocation?
a) Oracle Grid Infrastructure
b) Oracle Real Application Clusters (RAC)
c) Oracle Resource Manager
d) Oracle Automatic Storage Management (ASM)
Answer: c) Oracle Resource Manager
- Which SQL keyword is used to retrieve data from multiple tables using a common column?
a) UNION
b) MINUS
c) INTERSECT
d) JOIN
Answer: d) JOIN
- Which Oracle tool provides automated database testing and workload analysis?
a) Oracle Real Application Testing
b) Oracle Data Guard
c) Oracle Diagnostics Pack
d) Oracle Enterprise Manager
Answer: a) Oracle Real Application Testing
- Which SQL function is used to concatenate columns or strings together?
a) CONCAT
b) STRCAT
c) MERGE
d) JOIN
Answer: a) CONCAT
- Which Oracle database component provides automatic storage optimization and redundancy?
a) Oracle Real Application Clusters (RAC)
b) Oracle Automatic Storage Management (ASM)
c) Oracle Shared Server (OSS)
d) Oracle Streams
Answer: b) Oracle Automatic Storage Management (ASM)
- Which SQL keyword is used to modify data in a table?
a) INSERT
b) DELETE
c) UPDATE
d) REPLACE
Answer: c) UPDATE
- Which Oracle database component provides workload isolation and management for application services?
a) Oracle Database Vault
b) Oracle Label Security
c) Oracle Resource Manager
d) Oracle Streams
Answer: c) Oracle Resource Manager
- Which SQL function is used to count the number of rows in a table?
a) ROWCOUNT
b) ROWSUM
c) ROWAVERAGE
d) COUNT
Answer: d) COUNT
- Which Oracle tool provides database backup and recovery automation?
a) Oracle Data Guard
b) Oracle Flashback
c) Oracle Recovery Manager (RMAN)
d) Oracle Advanced Security
Answer: c) Oracle Recovery Manager (RMAN)
- Which SQL keyword is used to create a new table?
a) ADD
b) CREATE
c) ALTER
d) MODIFY
Answer: b) CREATE
- Which Oracle database component provides high availability and automatic failover?
a) Oracle Streams
b) Oracle Advanced Security
c) Oracle Real Application Clusters (RAC)
d) Oracle Data Guard
Answer: c) Oracle Real Application Clusters (RAC)
- Which SQL function is used to convert a value to a character string?
a) STR
b) CONVERT
c) CAST
d) MESSAGE
Answer: c) CAST
- Which Oracle tool provides data modeling and design capabilities?
a) Oracle SQL Developer Data Modeler
b) Oracle Application Express (APEX)
c) Oracle Forms
d) Oracle BI Publisher
Answer: a) Oracle SQL Developer Data Modeler
- Which SQL keyword is used to delete data from a table?
a) DELETE
b) REMOVE
c) ERASE
d) ELIMINATE
Answer: a) DELETE
- Which Oracle database component provides secure storage and encryption of database data?
a) Oracle Advanced Security
b) Oracle Label Security
c) Oracle Data Guard
d) Oracle Transparent Data Encryption
Answer: d) Oracle Transparent Data Encryption
- Which SQL function is used to round a numeric value to a specified number of decimal places?
a) ROUND
b) FLOOR
c) CEIL
d) TRUNC
Answer: a) ROUND
- Which Oracle tool provides database performance monitoring and analysis?
a) Oracle Enterprise Manager
b) Oracle Diagnostics Pack
c) Oracle Real Application Testing
d) Oracle Application Express (APEX)
Answer: b) Oracle Diagnostics Pack
- Which SQL keyword is used to update data in a table?
a) MODIFY
b) ALTER
c) REPLACE
d) UPDATE
Answer: d) UPDATE
- Which Oracle database component provides data replication and synchronization across multiple databases?
a) Oracle Streams
b) Oracle Data Guard
c) Oracle Database Vault
d) Oracle GoldenGate
Answer: d) Oracle GoldenGate
- Which SQL function is used to calculate the difference between two dates?
a) DATEDIFF
b) DIFFDATE
c) DATEADD
d) SYSDATE
Answer: a) DATEDIFF
- Which Oracle tool provides centralized database management for multiple databases?
a) Oracle Enterprise Manager
b) Oracle Grid Infrastructure
c) Oracle Advanced Security
d) Oracle Real Application Clusters (RAC)
Answer: a) Oracle Enterprise Manager
- Which SQL keyword is used to add a new column to a table?
a) ADD COLUMN
b) ALTER COLUMN
c) NEW COLUMN
d) COLUMN ADD
Answer: a) ADD COLUMN
- Which Oracle database component provides data masking and subsetting capabilities for test databases?
a) Oracle Virtual Private Database (VPD)
b) Oracle Diagnostic Pack
c) Oracle Database Vault
d) Oracle Enterprise Manager
Answer: a) Oracle Virtual Private Database (VPD)
- Which SQL function is used to find the length of a string?
a) LENGTH
b) SIZE
c) COUNT
d) SUM
Answer: a) LENGTH
Latest posts by Ashwani Kumar (see all)
- Top 10 DevOps Trainers in the world - October 7, 2023
- What is Cookies and Why it is Used? - May 24, 2023
- TOP trends of transitions in TikTok - May 10, 2023