Oracle Database Fundamentals and SQL
Test your knowledge of Oracle Database fundamentals, SQL operations, Data Guard, and ASM storage management.
Questions
You are managing constraints on a table in Oracle. Which of the following choices correctly identifies the limitations on check constraints?
- Values must be obtained from a lookup table.
- Values must be part of a fixed set defined by create or alter table.
- Values must include reserved words, such as SYSDATE and USER.
- The column cannot contain a NULL value.
The transaction control that prevents more than one user from updating data in a table is which of the following?
- lock
- commit
- rollback
- savepoint
You are using SQL operations in Oracle. All of the following DATE functions return a DATE datatype except one. Which one is it?
- NEW_TIME
- LAST_DAY
- ADD_MONTHS
- MONTHS_BETWEEN
Which operator will be evaluated first in the following SELECT statement?
- +
- *
- /
- _
Which function can return a non-NULL value if passed a NULL argument?
- LENGTH
- CONCAT
- INSTR
- NULLIF
Which datatype stores data outside Oracle Database?
- UROWID
- BLOB
- NCLOB
- BFILE
Which of the following statements are true?
- Primary key constraints allow NULL values in the columns.
- Unique key constraints allow NULL values in the columns.
- Primary key constraints do not allow NULL values in the columns.
- A nonunique index cannot be used to enforce primary key constraints.
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
- 2
- 3
- There is no minimum.
What is ASM?
- an integrated file system only
- A mirroring technology only
- an integrated file system with a volume manager
- A Volume manager only
The daemon that is required to enable synchronization between ASM and its client database instances is
- CRS
- CSS
- ocsssd
- ocsd.bin
File types not supported by ASM is:
- trace files
- cross paltform transportable datafiles
- change tracking file
- temporary files
In ASM, Mirroring is done at ___________ level.
- tablespace
- data blocks
- file
- extents
ASM divides files into ______ extents.
- 1MB
- 10MB
- 100KB
- 10KB
What is Oracle data guard?
- used for data refresh from Production env. to development env.
- used as security layer to protect data from unathorized access.
- An Oracle technology used for data protection through mirroring.
- It ensures high availability, data protection, and disaster recovery for enterprise data.
A Data Guard configuration contains one production database which is _____________
- a RAC database only
- a stand alone database only
- The primary database can be either a standalone database or a RAC.
- a physical standby database .
The three dataguard services are:
- redo transport service,log applyservice,Role transition
- log applyservice,Role transition,Failover service
- redo transport service,Role transition,Failover service
- redo transport service,log applyservice,Failover service
The Command line interface for Data Guard is ________________
- DGMGRL
- DGCMD
- DGBKR
- DGGRL
The Protection modes available in Data guard are:
- Protection,availability,performance
- Protection,availability,scalability
- Maximum Protection,maximum availability,maximum performance
- Maximum Protection,maximum availability,maximum scalability
Which component in the SGA has the dictionary cache?
- Buffer cache
- Library cache
- Shared pool
- Program Global Area
What is the minimum number of control files are required to start a database?
- One
- Two
- Three
- None