Oracle Database Fundamentals and SQL

Test your knowledge of Oracle Database fundamentals, SQL operations, Data Guard, and ASM storage management.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

You are managing constraints on a table in Oracle. Which of the following choices correctly identifies the limitations on check constraints?

  1. Values must be obtained from a lookup table.
  2. Values must be part of a fixed set defined by create or alter table.
  3. Values must include reserved words, such as SYSDATE and USER.
  4. The column cannot contain a NULL value.
Question 2 Multiple Choice (Single Answer)

The transaction control that prevents more than one user from updating data in a table is which of the following?

  1. lock
  2. commit
  3. rollback
  4. savepoint
Question 3 Multiple Choice (Single Answer)

You are using SQL operations in Oracle. All of the following DATE functions return a DATE datatype except one. Which one is it?

  1. NEW_TIME
  2. LAST_DAY
  3. ADD_MONTHS
  4. MONTHS_BETWEEN
Question 4 Multiple Choice (Single Answer)

Which operator will be evaluated first in the following SELECT statement?

  1. +
  2. *
  3. /
  4. _
Question 5 Multiple Choice (Single Answer)

Which function can return a non-NULL value if passed a NULL argument?

  1. LENGTH
  2. CONCAT
  3. INSTR
  4. NULLIF
Question 6 Multiple Choice (Single Answer)

Which datatype stores data outside Oracle Database?

  1. UROWID
  2. BLOB
  3. NCLOB
  4. BFILE
Question 7 Multiple Choice (Multiple Answers)

Which of the following statements are true?

  1. Primary key constraints allow NULL values in the columns.
  2. Unique key constraints allow NULL values in the columns.
  3. Primary key constraints do not allow NULL values in the columns.
  4. A nonunique index cannot be used to enforce primary key constraints.
Question 8 Multiple Choice (Single Answer)

At a minimum, how many join conditions should be there to avoid a Cartesian join if there are three tables in the FROM clause?

  1. 1
  2. 2
  3. 3
  4. There is no minimum.
Question 9 Multiple Choice (Single Answer)

What is ASM?

  1. an integrated file system only
  2. A mirroring technology only
  3. an integrated file system with a volume manager
  4. A Volume manager only
Question 10 Multiple Choice (Single Answer)

The daemon that is required to enable synchronization between ASM and its client database instances is

  1. CRS
  2. CSS
  3. ocsssd
  4. ocsd.bin
Question 11 Multiple Choice (Single Answer)

File types not supported by ASM is:

  1. trace files
  2. cross paltform transportable datafiles
  3. change tracking file
  4. temporary files
Question 12 Multiple Choice (Single Answer)

In ASM, Mirroring is done at ___________ level.

  1. tablespace
  2. data blocks
  3. file
  4. extents
Question 13 Multiple Choice (Single Answer)

ASM divides files into ______ extents.

  1. 1MB
  2. 10MB
  3. 100KB
  4. 10KB
Question 14 Multiple Choice (Single Answer)

What is Oracle data guard?

  1. used for data refresh from Production env. to development env.
  2. used as security layer to protect data from unathorized access.
  3. An Oracle technology used for data protection through mirroring.
  4. It ensures high availability, data protection, and disaster recovery for enterprise data.
Question 15 Multiple Choice (Single Answer)

A Data Guard configuration contains one production database which is _____________

  1. a RAC database only
  2. a stand alone database only
  3. The primary database can be either a standalone database or a RAC.
  4. a physical standby database .
Question 16 Multiple Choice (Single Answer)

The three dataguard services are:

  1. redo transport service,log applyservice,Role transition
  2. log applyservice,Role transition,Failover service
  3. redo transport service,Role transition,Failover service
  4. redo transport service,log applyservice,Failover service
Question 17 Multiple Choice (Single Answer)

The Command line interface for Data Guard is ________________

  1. DGMGRL
  2. DGCMD
  3. DGBKR
  4. DGGRL
Question 18 Multiple Choice (Single Answer)

The Protection modes available in Data guard are:

  1. Protection,availability,performance
  2. Protection,availability,scalability
  3. Maximum Protection,maximum availability,maximum performance
  4. Maximum Protection,maximum availability,maximum scalability
Question 19 Multiple Choice (Single Answer)

Which component in the SGA has the dictionary cache?

  1. Buffer cache
  2. Library cache
  3. Shared pool
  4. Program Global Area
Question 20 Multiple Choice (Single Answer)

What is the minimum number of control files are required to start a database?

  1. One
  2. Two
  3. Three
  4. None