Documente Academic
Documente Profesional
Documente Cultură
ADVANCE
DATA ALL IN
SOURCE BY
JAYSON C.
LUCENA
JAYSON C.LUCENA
CREATOR
Q1:80
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files
Select one:
a. Redo Log Buffer
b. Large Pool
c. Java Pool
d. Data Buffer Cache
Question 2
Answer saved
Marked out of 1.00
Flag question
Question text
It is also known as specific connection of a user to an instance through a user process
Select one:
a. Database Instance
b. Session
c. Connection
d. isqlPlus*
Question 3
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that automatically connects to other databases involved in
in- doubt distributed transactions
Select one:
a. Checkpoint Process (CKPT)
b. Archiver Processes (ARCn)
c. Recoverer Process
d. Log Writer Process (LGWR)
Question 4
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that cleans up the database buffer cache
Select one:
a. Checkpoint Process (CKPT)
b. Process Monitor Process (PMON)
c. Log Writer Process (LGWR)
d. Database Writer Process (DBWn)
Question 5
Answer saved
Marked out of 1.00
Flag question
Question text
Also known as Oracle Database backup and restore operations
Select one:
a. Java Pool
b. Data Buffer Cache
c. Redo Log Buffer
d. Large Pool
Question 6
Answer saved
Marked out of 1.00
Flag question
Question text
It is a collection of data treated as a unit with the main purpose of storing and retrieving
related information in the database.
Select one:
a. Database Server
b. Oracle Storage
c. Oracle Database
d. Databank
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that records checkpoint information in Control file on each
data file header
Select one:
a. Process Monitor Process (PMON)
b. Checkpoint Process (CKPT)
c. Log Writer Process (LGWR)
d. Database Writer Process (DBWn)
Question 8
Answer saved
Marked out of 1.00
Flag question
Question text
It is a communication between a user process and an instance
Select one:
a. isqlPlus*
b. Session
c. Database Instance
d. Connection
Question 9
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that can collect transaction, redo data and transmit that
data to standby destinations
Select one:
a. Log Writer Process (LGWR)
b. Recoverer Process
c. Archiver Processes (ARCn)
d. Checkpoint Process (CKPT)
Question 10
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that writes the redo log buffer to a redo log file on disk
Select one:
a. Checkpoint Process (CKPT)
b. Log Writer Process (LGWR)
c. Process Monitor Process (PMON)
d. Database Writer Process (DBWn)
Q2:80
Question 1
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a SYSTEM?
Select one:
a. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR
WITH GRANT OPTION;
b. GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR
WITH GRANT OPTION;
c. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;
d. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR
WITH GRANT OPTION;
Question 2
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of privilege that is used to manipulating the content of the database objects.
Select one:
a. Schema
b. System
c. Object
d. Table / View
Question 3
Answer saved
Marked out of 1.00
Flag question
Question text
This is used to remove a privilege granted to a user.
Select one:
a. REMOVE
b. DELETE
c. CANCEL
d. REVOKE
Question 4
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a user scott?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR;
b. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR;
c. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
d. GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR;
Question 5
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following System Privileges is not part of SYSTEM privilege?
Select one:
a. CREATE TABLE
b. CREATE SESSION
c. CREAT VIEW
d. CREATE INDEX
Question 6
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type a Oracle environment where Oracle Products run.
Select one:
a. ORACLE_HOME
b. ORACLE_SID
c. ORACLE_WAREHOUSE
d. ORACLE_BASE
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text
This is also known collection of objects such as tables, views, and sequences.
Select one:
a. System
b. Schema
c. Table / View
d. Object
Question 8
Answer saved
Marked out of 1.00
Flag question
Question text
It is a named group of related privileges that can be granted to the user. This method
makes it easier to revoke and maintain privileges.
Select one:
a. Character
b. Role
c. Operator
d. User
Question 9
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following follows the correct order of designing, implementing and mainting
and Oracle Database.
Select one:
a. Backing up the database
Recovering from database failure
Evaluating the database server hardware
Installing the Oracle software
Creating, migrating, and opening the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Monitoring database performance
Planning the database and security strategy
b. Evaluating the database server hardware
Installing the Oracle software
Planning the database and security strategy
Creating, migrating, and opening the database
Backing up the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Recovering from database failure
Monitoring database performance
c. Recovering from database failure
Evaluating the database server hardware
Installing the Oracle software
Creating, migrating, and opening the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Monitoring database performance
Planning the database and security strategy
Backing up the database
Question 10
Answer saved
Marked out of 1.00
Flag question
Question text
In planning to install Oracle which of the following is not important to consider.
Select one:
a. Are there prerequisite steps that must be performed by someone other than the DBA?
b. Does the hardware involved meet the minimum required specifications?
c. Type of Oracle software .
d. Any Oracle version will do even when multiple products are involved.
Q3
Question 1
Answer saved
Marked out of 1.00
Flag question
Question text
It is the key in solving the problems of information management.
Select one:
a. Oracle Storage
b. Oracle Database
c. Database
d. Database Server
Question 2
Answer saved
Marked out of 1.00
Flag question
Question text
It is part of the System Global Area which is used to provide memory for Oracle Streams
processes
Select one:
a. Java Pool
b. Redo Log Buffer
c. Large Pool
d. Data Buffer Cache
Question 3
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a SYSTEM?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;
b. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR
WITH GRANT OPTION;
c. GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR
WITH GRANT OPTION;
d. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR
WITH GRANT OPTION;
Question 4
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of changing a password to user ANNA from
ANNA01 to AN01?
Select one:
a. ALTER USER ANNA
IDENTIFIED BY AN01;
b. ALTER USER ANNA
IDENTIFIED B01 TO AN01;
c. ALTER OLD USER ANNA
IDENTIFIED BY AN01;
d. ALTER USER ANNA
IDENTIFIED BY NEW PASSWORD B@1;
Question 5
Answer saved
Marked out of 1.00
Flag question
Question text
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files.
Select one:
a. Large Pool
b. Redo Log Buffer
c. Data Buffer Cache
d. Java Pool
Question 6
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of selecting all columns from employees
table using the user BEN?
Select one:
a. SELECT * FROM STUDENT BY USER BEN;
b. SELECT * FROM SYSTEM.STUDENT BY USER BEN;
c. SELECT * FROM SYSTEM.STUDENT;
d. SELECT * FROM STUDENT
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that can collect transaction, redo data and transmit that
data to standby destinations
Select one:
a. Recoverer Process
b. Archiver Processes (ARCn)
c. Checkpoint Process (CKPT)
d. Log Writer Process (LGWR)
Question 8
Answer saved
Marked out of 1.00
Flag question
Question text
It is a communication pathway between a user process and an Oracle Database instance.
Select one:
a. Connection
b. User process
c. Communication
d. session
Question 9
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of privilege that gain access to the database
Select one:
a. Schema
b. Table / View
c. Object
d. System
Question 10
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is not included in the optional requirement for operating system of
oracle database?
Select one:
a. Dba
b. Asmoper
c. Asmdba
d. asmadmin
Question 11
Answer saved
Marked out of 1.00
Flag question
Question text
This is use to connect to the Oracle instance and is started when a user establishes a
session
Select one:
a. User process
b. Server process
c. Connection
d. Communication
Question 12
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that writes the redo log buffer to a redo log file on disk
Select one:
a. Log Writer Process (LGWR)
b. Database Writer Process (DBWn)
c. Process Monitor Process (PMON)
d. Checkpoint Process (CKPT)
Question 13
Answer saved
Marked out of 1.00
Flag question
Question text
Holds information about changes made to the database
Select one:
a. Java Pool
b. Redo Log Buffer
c. Data Buffer Cache
d. Large Pool
Question 14
Answer saved
Marked out of 1.00
Flag question
Question text
Also known as Oracle Database backup and restore operations
Select one:
a. Data Buffer Cache
b. Redo Log Buffer
c. Large Pool
d. Java Pool
Question 15
Answer saved
Marked out of 1.00
Flag question
Question text
It is a communication between a user process and an instance
Select one:
a. Database Instance
b. Session
c. Connection
d. isqlPlus*
Question 16
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is not included in the oracle environment?
Select one:
a. Oracle_instance
b. oracle_base
c. oracle_sid
d. NSL_LANG
Question 17
Answer saved
Marked out of 1.00
Flag question
Question text
It holds information about changes made to the database
Select one:
a. Redo Log Buffer
b. Data Buffer Cache
c. Large Pool
d. Java Pool
Question 18
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a user scott?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR;
b. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR;
c. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
d. GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR;
Question 19
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following System Privileges is not part of SYSTEM privilege?
Select one:
a. CREATE SESSION
b. CREATE TABLE
c. CREAT VIEW
d. CREATE INDEX
Question 20
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example revoking a priviledge to INSERT, UPDATE
and DELETE to USER ANNA?
Select one:
a. REVOKE INSERT, UPDATE, DELETE
ON EMPLOYEES
TO ANNA;
b. REVOKE INSERT, UPDATE, DELETE
FROM EMPLOYEES
ON USER ANNA;
c. REVOKE INSERT, UPDATE, DELETE
TO EMPLOYEES
ON USER ANNA;
d. REVOKE INSERT, UPDATE, DELETE
FROM EMPLOYEES
TO USER ANNA;
Question 21
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of privilege that is used to manipulating the content of the database objects.
Select one:
a. Object
b. System
c. Schema
d. Table / View
Question 22
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is not part or Oracle Installation System Requirement.
Select one:
a. File Manager
b. Operating System
c. Disk Space
d. Memory
Question 23
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type process structure that cleans up the database buffer cache
Select one:
a. Log Writer Process (LGWR)
b. Database Writer Process (DBWn)
c. Checkpoint Process (CKPT)
d. Process Monitor Process (PMON)
Question 24
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that writes modified (dirty) buffers in the database buffer
cache asynchronously while performing other processing to advance the checkpoint
Select one:
a. Checkpoint Process (CKPT)
b. Process Monitor Process (PMON)
c. Database Writer Process (DBWn)
d. Log Writer Process (LGWR)
Question 25
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type process structure that records checkpoint information in Control file on each
data file header.
Select one:
a. Process Monitor Process (PMON)
b. Checkpoint Process (CKPT)
c. Database Writer Process (DBWn)
d. Log Writer Process (LGWR)
Question 26
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of creating a user ANNA with password
ANN01?
Select one:
a. CREATE USER ANNA
IDENTIFIED BY PASSWORD ANN01;
b. CREATE USER ANNA
PASSWORD ANN01;
c. CREATE USER ANNA
IDENTIFIED BY ANN01;
d. CREATE ANNA
IDENTIFIED BY ANN01;
Question 27
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of granting create session and create table
to user ANNA?
Select one:
a. GRANT SESSION,TABLE
TO ANNA;
b. GRANT CREATE SESSION, CREATE TABLE
TO ANNA;
c. GRANT CREATE SESSION, TABLE
TO ANNA;
d. GRANT CREATE SESSION, CREATE TABLE
TO USER ANNA;
Question 28
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of granting INSERT, UPDATE and DELETE
to user ANNA with an option to pass the privilege to other user?
Select one:
a. GRANT INSERT, UPDATE, DELETE
FROM EMPLOYEES
TO ANNA
WITH GRANT OPTION;
b. GRANT INSERT, UPDATE, DELETE
ON EMPLOYEES
TO ANNA
WITH PRIVILEGE GRANT OPTION;
c. GRANT INSERT, UPDATE, DELETE
TO EMPLOYEES
ON ANNA
WITH GRANT OPTION;
d. GRANT INSERT, UPDATE, DELETE
ON EMPLOYEES
TO ANNA
WITH GRANT OPTION;
Question 29
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that automatically connects to other databases involved in
in- doubt distributed transactions
Select one:
a. Recoverer Process
b. Log Writer Process (LGWR)
c. Checkpoint Process (CKPT)
d. Archiver Processes (ARCn)
Question 30
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that cleans up the database buffer cache
Select one:
a. Process Monitor Process (PMON)
b. Database Writer Process (DBWn)
c. Log Writer Process (LGWR)
d. Checkpoint Process (CKPT)
Q3 90
Question 1
Answer saved
Marked out of 1.00
Flag question
Question text
A type of constraint that is used to insert a default value into a column.
Select one:
a. Not Null
b. Default
c. Check
d. Unqiue
Question 2
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of create a default constraint.
Select one:
a. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE 'BSIT'));
b. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) CONSTRAINT CODE_df DEFAULT(CODE 'BSIT');
c. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE BSIT));
d. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) DEFAULT ‘Invalid’));
Question 3
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following statement is not true about Foreign Key constraint.
Select one:
a. The foreign key constraint also prevents invalid data from being inserted into the foreign
key column, because it has to be one of the values contained in the table it points to.
b. The foreign key constraint is used to prevent actions that would destroy links between
tables.
c. Ensures that the relationship between tables remain preserved as data is inserted,
deleted and modified
d. A foreign key in one table points to a foreign key in another table.
Question 4
Answer saved
Marked out of 1.00
Flag question
Question text
This is used to deactivate an integrity constraint.
Select one:
a. ENABLE CONSTRAINT
b. ON DELETE CASCADE
c. DROP CASCADE
d. DISABLE CONSTRAINT
Question 5
Answer saved
Marked out of 1.00
Flag question
Question text
A type of constraint uniquely identifies each record in a database table.
Select one:
a. Primary key
b. Unique
c. Foreign key
d. Check
Question 6
Answer saved
Marked out of 1.00
Flag question
Question text
A type of constraint that ensures the relationship between tables remain preserved as
data is inserted, deleted and modified.
Select one:
a. Unique and Primary Key
b. Primary key
c. Unique
d. Foreign key
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of adding a CHECK constraint where CODE
should start with the character ‘BS’.
Select one:
a. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS’));
b. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE = ‘BS’));
c. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE VARCHAR(20),
CONSTRAINT CODE_ck CHECK (CODE LIKE ‘BS%’));
d. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS%’));
Question 8
Answer saved
Marked out of 1.00
Flag question
Question text
Which two of the following forms key itergrity constraint.
Select one:
a. Primary Key and Unique
b. Check and Not Null
c. Foreign Key and Unique
d. Foreign key and Primary Key
Question 9
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of disabling an integrity constraint?
Select one:
a. ALTER TABLE STUDENTS
DISABLE CONSTRAINT usn_pk;
b. ALTER TABLE STUDENTS
MODIFY CONSTRAINT DISABLE usn_pk;
c. ALTER TABLE STUDENTS
DISABLE usn_pk;
d. ALTER TABLE STUDENTS
DROP CONSTRAINT usn_pk;
Question 10
Answer saved
Marked out of 1.00
Flag question
Question text
This is used to delete a primary key constraint in a parent table and will automatically drop
the foreign key constraint in the child table.
Select one:
a. ENABLE CONSTRAINT
b. DROP CASCADE
c. DISABLE CONSTRAINT
d. ON DELETE CASCADE
MIDTERM
Question 1
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of create a default constraint.
Select one:
a. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) CONSTRAINT CODE_df DEFAULT(CODE 'BSIT');
b. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) DEFAULT ‘Invalid’));
c. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE 'BSIT'));
d. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE BSIT));
Question 2
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct representation of one-to-many relation?
Select one:
a.
b.
c.
d.
Question 3
Not yet answered
Marked out of 1.00
Flag question
Question text
A process where an application waits indefinitely to obtain any needed locks.
Select one:
a. Lock
b. Lockwait
c. Podlock
d. Deadlock
Question 4
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of adding primary key constraint?
Select one:
a. ALTER TABLE AUTHORS
ADD CONSTRAINT AUTHOR_ID PRIMARY KEY;
b. ALTER TABLE AUTHORS
ADD BK_ID PRIMARY KEY(NUMBER);
c. ALTER TABLE AUTHORS
ADD CONSTRAINT AUTHOR_ID PRIMARY KEY NUMBER;
d. ALTER TABLE AUTHORS
ADD CONSTRAINT AUTHOR_ID PRIMARY KEY(NUMBER);
Question 5
Not yet answered
Marked out of 1.00
Flag question
Question text
A state of the data where a transaction must be fully complete, saved (committed) or
completely undone (rolled back).
Select one:
a. Atomicity
b. Isolation
c. Consistency
d. Durability
Question 6
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following transaction rules is not included in the group?
Select one:
a. Redundancy
b. Atomicity
c. Isolation
d. Durability
Question 7
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of enabling constraint?
Select one:
a. ALTER BOOKS
ENABLE CONSTRAINT STUD_ID;
b. ALTER TABLE BOOKS
ENABLE CONSTRAINT STUD_ID;
c. ALTER TABLE BOOKS
ENABLE STUD_ID;
d. ALTER TABLE BOOKS
ENABLE COLUMN CONSTRAINT STUD_ID;
Question 8
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint that is used to insert a default value into a column.
Select one:
a. Unqiue
b. Not Null
c. Default
d. Check
Question 9
Not yet answered
Marked out of 1.00
Flag question
Question text
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’, SALARY =10000
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_IT;
ROLLBACK;
Select one:
a. The manager_id that is equal to null has been updated to IT.
b. Savepoints are saved.
c. No changes made on employees table.
d. The manager_id that is equal to null is now change to IT and the job_id of employees
under department_id 50,90 or salary greater than 500 have been updated to secretary.
Question 10
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of lock that is acquired when an application updates, inserts, or deletes a row.
Select one:
a. Private Lock (P Lock)
b. Sharelock (S locks)
c. Exclusive Lock (X Lock)
d. Special Lock (Sp lock)
Question 11
Not yet answered
Marked out of 1.00
Flag question
Question text
This is also known as unit of work.
Select one:
a. Data Control Language
b. Database Transaction
c. Transaction
d. Database Processes
Question 12
Not yet answered
Marked out of 1.00
Flag question
Question text
An automatic rollback is issued by the oracle under the following circumstances.
Select one or more:
a. CREATE TABLE is issued
b. Closes the sqlplus normally by typing exit
c. Closes the sqlplus normally by closing he isqlplus using x button
d. The user encounter system failure
Question 13
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint that ensures the relationship between tables remain preserved as
data is inserted, deleted and modified.
Select one:
a. Unique
b. Foreign key
c. Unique and Primary Key
d. Primary key
Question 14
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of derived attribute?
Select one:
a.
b.
c. None
d.
Question 15
Not yet answered
Marked out of 1.00
Flag question
Question text
This gives the user more flexibility and control when changing data and they ensure data
consistency in the event of user process or system failure.
Select one:
a. Data control language
b. Transaction
c. Data manipulation language
d. DBMS
Question 16
Not yet answered
Marked out of 1.00
Flag question
Question text
A transaction start when the first ____________ is issued.
Select one:
a. DCL
b. SELECT
c. DDL
d. DML
Question 17
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct representation of one-to-one relation?
Select one:
a.
b.
c.
d.
Question 18
Not yet answered
Marked out of 1.00
Flag question
Question text
A state where a transaction data changes must be available, even in the event of
database failure.
Select one:
a. Atomicity
b. Consistency
c. durability
d. Isolation
Question 19
Not yet answered
Marked out of 1.00
Flag question
Question text
Which one (1) DCL (Data Control Langauge) is considered as part of Database
Transaction
Select one:
a. SAVEPOINT
b. ROLLBACK
c. ROLLBACK TO SAVEPOINT
d. COMMIT
Question 20
Not yet answered
Marked out of 1.00
Flag question
Question text
A transaction ends when either of the following occurs EXCEPT:
Select one:
a. The user closes the isqlplus
b. The user type in Commit
c. CREATE TABLE is issued
d. CREATE VIEW is issued
e. The user encounter system failure
f. The user type in Rollback
Question 21
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of transaction that rolls back the current transaction to the specified savepoint,
thereby discarding any changes or savepoint created after the savepoint to which you are
rolling back.
Select one:
a. COMMIT
b. ROLLBACK
c. SAVEPOINT
d. ROLLBACK TO SAVEPOINT
Question 22
Not yet answered
Marked out of 1.00
Flag question
Question text
It is a state of operational database with data at any given time.
Select one:
a. Physical Data Instance
b. Logical Data Instance
c. Data Instance
d. Database Instance
Question 23
Not yet answered
Marked out of 1.00
Flag question
Question text
Which two of the following forms key itergrity constraint.
Select one:
a. Foreign key and Primary Key
b. Foreign Key and Unique
c. Check and Not Null
d. Primary Key and Unique
Question 24
Not yet answered
Marked out of 1.00
Flag question
Question text
A type constraint that uniquely identifies each record in a database table and can be
applied on one or more column.
Select one:
a. Unique
b. Foreign key
c. Check
d. Primary key
Question 25
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of adding a CHECK constraint where CODE
should start with the character ‘BS’.
Select one:
a. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS’));
b. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE = ‘BS’));
c. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE VARCHAR(20),
CONSTRAINT CODE_ck CHECK (CODE LIKE ‘BS%’));
d. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS%’));
Question 26
Not yet answered
Marked out of 1.00
Flag question
Question text
It is used to ensures that data values inside a database follow defines rules for values,
range and format
Select one:
a. Referential Itegrity
b. Domain Intergrity
c. Entity Itegrity
d. Not Null
Question 27
Not yet answered
Marked out of 1.00
Flag question
Question text
Which one (1) Data Definition Language is considered as part of Database Transaction.
Select one:
a. CREATE VIEW
b. CREATE TABLE
c. CREATE TABLE/ALTER STATEMENT
Question 28
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of saving changes made on the table?
Select one:
a. Commit;
b. Type exit
c. Save;
d. CTRL + S
Question 29
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of lock that is acquired when an application wants to read and prevent others from
updating the same row.
Select one:
a. Special Lock (Sp lock)
b. Private Lock (P Lock)
c. Sharelock (S locks)
d. Exclusive Lock (X Lock)
Question 30
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of multivalued attributes?
Select one:
a.
b. None
c.
d.
Question 31
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct representation of many-to-many relation?
Select one:
a.
b.
c.
d.
Question 32
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint uniquely identifies each record in a database table.
Select one:
a. Foreign key
b. Unique
c. Check
d. Primary key
Question 33
Not yet answered
Marked out of 1.00
Flag question
Question text
This is acquired automatically as needed to support a transaction based on isolation
levels.
Select one:
a. Deadlock
b. Lock
c. Podlock
d. Lockwait
Question 34
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of referencing the BOOKS table to
AUTHORS?
Select one:
a. CREATE TABLE BOOKS(
BOOK_ID NUMBER PRIMARY KEY NOT NULL,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID (BOOK_ID)
REFERENCES AUTHORS (BOOK_ID));
b. CREATE TABLE BOOKS(
BOOK_ID NUMBER PRIMARY KEY NOT NULL,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID FOREIGN KEY(BOOK_ID)
REFERENCE AUTHORS (BOOK_ID));
c. CREATE BOOKS(
BOOK_ID NUMBER PRIMARY KEY NOT NULL,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID FOREIGN KEY(BOOK_ID)
REFERENCES TABLE AUTHORS (BOOK_ID));
d. CREATE TABLE BOOKS(
BOOK_ID NUMBER PRIMARY KEY NOT NULL,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID FOREIGN KEY(BOOK_ID)
REFERENCES AUTHORS (BOOK_ID));
Question 35
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of disabling an integrity constraint?
Select one:
a. ALTER TABLE STUDENTS
MODIFY CONSTRAINT DISABLE usn_pk;
b. ALTER TABLE STUDENTS
DISABLE CONSTRAINT usn_pk;
c. ALTER TABLE STUDENTS
DROP CONSTRAINT usn_pk;
d. ALTER TABLE STUDENTS
DISABLE usn_pk;
Question 36
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint that is used to limit the value range that can be placed in a column.
Select one:
a. Check
b. Not Null
c. Unqiue
d. Default
Question 37
Not yet answered
Marked out of 1.00
Flag question
Question text
A state of the data where a transaction data must not be available to other transactions
until the original transaction is committed or rolled back.
Select one:
a. Consistency
b. Atomicity
c. Isolation
d. Durability
Question 38
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint uniquely identifies each record in a database table.
Select one:
a. Unique
b. Foreign key
c. Check
d. Primary key
Question 39
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of transaction that is ends the current transactions by making all pending data
changes permanent.
Select one:
a. SAVEPOINT
b. ROLLBACK
c. COMMIT
d. ROLLBACK TO SAVEPOINT
Question 40
Not yet answered
Marked out of 1.00
Flag question
Question text
This is used to delete child row when a parent key is deleted.
Select one:
a. DISABLE CONSTRAINT
b. DROP CASCADE
c. ENABLE CONSTRAINT
d. ON DELETE CASCADE
Question 41
Not yet answered
Marked out of 1.00
Flag question
Question text
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_IT;
COMMIT;
ROLLBACK;
Select one:
a. The job_id of employees under department_id 50,90 have been updated to secretary.
b. Savepoints are saved.
c. The manager_id that is equal to null has been updated to IT.
d. Changes are made permanently.
Question 42
Not yet answered
Marked out of 1.00
Flag question
Question text
A type constraint that uniquely identifies each record in a database table and can be
applied on one or more column.
Select one:
a. Check
b. Unique
c. Foreign key
d. Primary key
Question 43
Not yet answered
Marked out of 1.00
Flag question
Question text
An automatic commit is issued by the Oracle Server under the following circumstances.
Select one or more:
a. Closes the sqlplus normally by closing he isqlplus using x button
b. Closes the sqlplus normally by typing exit
c. The user encounter system failure
d. CREATE TABLE is issued
Question 44
Not yet answered
Marked out of 1.00
Flag question
Question text
A state of the data where a transaction must be fully compliant with the state of the
database as it was prior to the transaction.
Select one:
a. Consistency
b. Isolation
c. Durability
d. Atomicity
Question 45
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of an attributes?
Select one:
a. USN_ID
b. Department
c. Student
d. Teacher
Question 46
Not yet answered
Marked out of 1.00
Flag question
Question text
It is used to ensures that data values inside a database follow defines rules for values,
range and format
Select one:
a. Entity Itegrity
b. Not Null
c. Domain Intergrity
d. Referential Itegrity
Question 47
Not yet answered
Marked out of 1.00
Flag question
Question text
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’, SALARY =10000
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_SECRETARY;
ROLLBACK TO UPDATE_IT;
Select one:
a. No changes made on employees table.
b. The manager_id that is equal to null has been updated to IT.
c. Savepoints are discarded.
d. The manager_id that is equal to null is now change to IT and the job_id of employees
under department_id 50,90 or salary greater than 5000 have been updated to secretary
Question 48
Not yet answered
Marked out of 1.00
Flag question
Question text
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’, SALARY =10000
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_IT;
ROLLBACK TO UPDATE_IT;
Select one:
a. Savepoints are discarded.
b. No changes made on employees table.
c. The manager_id that is equal to null is now change to IT and the job_id of employees
under department_id 50,90 or salary greater that 500 have been updated to secretary.
d. The manager_id that is equal to null has been updated to IT.
Question 49
Not yet answered
Marked out of 1.00
Flag question
Question text
This is used to enable a currentlt disable constraint in the table definition.
Select one:
a. ENABLE CONSTRAINT
b. DROP CASCADE
c. DISABLE CONSTRAINT
d. ON DELETE CASCADE
Question 50
Not yet answered
Marked out of 1.00
Flag question
Question text
This is the fundamental entity which introduces abstraction in a Database Management
System (DBMS).
Select one:
a. Entity Relationship Diagram
b. Entity Relationship Model
c. This is the fundamental entity which introduces abstraction in a Database Management
System (DBMS).
d. Data Model
Q1:80
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files
Select one:
a. Redo Log Buffer
b. Large Pool
c. Java Pool
d. Data Buffer Cache
Question 2
Answer saved
Marked out of 1.00
Flag question
Question text
It is also known as specific connection of a user to an instance through a user process
Select one:
a. Database Instance
b. Session
c. Connection
d. isqlPlus*
Question 3
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that automatically connects to other databases involved in
in- doubt distributed transactions
Select one:
a. Checkpoint Process (CKPT)
b. Archiver Processes (ARCn)
c. Recoverer Process
d. Log Writer Process (LGWR)
Question 4
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that cleans up the database buffer cache
Select one:
a. Checkpoint Process (CKPT)
b. Process Monitor Process (PMON)
c. Log Writer Process (LGWR)
d. Database Writer Process (DBWn)
Question 5
Answer saved
Marked out of 1.00
Flag question
Question text
Also known as Oracle Database backup and restore operations
Select one:
a. Java Pool
b. Data Buffer Cache
c. Redo Log Buffer
d. Large Pool
Question 6
Answer saved
Marked out of 1.00
Flag question
Question text
It is a collection of data treated as a unit with the main purpose of storing and retrieving
related information in the database.
Select one:
a. Database Server
b. Oracle Storage
c. Oracle Database
d. Databank
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that records checkpoint information in Control file on each
data file header
Select one:
a. Process Monitor Process (PMON)
b. Checkpoint Process (CKPT)
c. Log Writer Process (LGWR)
d. Database Writer Process (DBWn)
Question 8
Answer saved
Marked out of 1.00
Flag question
Question text
It is a communication between a user process and an instance
Select one:
a. isqlPlus*
b. Session
c. Database Instance
d. Connection
Question 9
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that can collect transaction, redo data and transmit that
data to standby destinations
Select one:
a. Log Writer Process (LGWR)
b. Recoverer Process
c. Archiver Processes (ARCn)
d. Checkpoint Process (CKPT)
Question 10
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that writes the redo log buffer to a redo log file on disk
Select one:
a. Checkpoint Process (CKPT)
b. Log Writer Process (LGWR)
c. Process Monitor Process (PMON)
d. Database Writer Process (DBWn)
Q2:80
Question 1
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a SYSTEM?
Select one:
a. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR
WITH GRANT OPTION;
b. GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR
WITH GRANT OPTION;
c. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;
d. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR
WITH GRANT OPTION;
Question 2
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of privilege that is used to manipulating the content of the database objects.
Select one:
a. Schema
b. System
c. Object
d. Table / View
Question 3
Answer saved
Marked out of 1.00
Flag question
Question text
This is used to remove a privilege granted to a user.
Select one:
a. REMOVE
b. DELETE
c. CANCEL
d. REVOKE
Question 4
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a user scott?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR;
b. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR;
c. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
d. GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR;
Question 5
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following System Privileges is not part of SYSTEM privilege?
Select one:
a. CREATE TABLE
b. CREATE SESSION
c. CREAT VIEW
d. CREATE INDEX
Question 6
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type a Oracle environment where Oracle Products run.
Select one:
a. ORACLE_HOME
b. ORACLE_SID
c. ORACLE_WAREHOUSE
d. ORACLE_BASE
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text
This is also known collection of objects such as tables, views, and sequences.
Select one:
a. System
b. Schema
c. Table / View
d. Object
Question 8
Answer saved
Marked out of 1.00
Flag question
Question text
It is a named group of related privileges that can be granted to the user. This method
makes it easier to revoke and maintain privileges.
Select one:
a. Character
b. Role
c. Operator
d. User
Question 9
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following follows the correct order of designing, implementing and mainting
and Oracle Database.
Select one:
a. Backing up the database
Recovering from database failure
Evaluating the database server hardware
Installing the Oracle software
Creating, migrating, and opening the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Monitoring database performance
Planning the database and security strategy
b. Evaluating the database server hardware
Installing the Oracle software
Planning the database and security strategy
Creating, migrating, and opening the database
Backing up the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Recovering from database failure
Monitoring database performance
c. Recovering from database failure
Evaluating the database server hardware
Installing the Oracle software
Creating, migrating, and opening the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Monitoring database performance
Planning the database and security strategy
Backing up the database
Question 10
Answer saved
Marked out of 1.00
Flag question
Question text
In planning to install Oracle which of the following is not important to consider.
Select one:
a. Are there prerequisite steps that must be performed by someone other than the DBA?
b. Does the hardware involved meet the minimum required specifications?
c. Type of Oracle software .
d. Any Oracle version will do even when multiple products are involved.
Q3
Question 1
Answer saved
Marked out of 1.00
Flag question
Question text
It is the key in solving the problems of information management.
Select one:
a. Oracle Storage
b. Oracle Database
c. Database
d. Database Server
Question 2
Answer saved
Marked out of 1.00
Flag question
Question text
It is part of the System Global Area which is used to provide memory for Oracle Streams
processes
Select one:
a. Java Pool
b. Redo Log Buffer
c. Large Pool
d. Data Buffer Cache
Question 3
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a SYSTEM?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;
b. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR
WITH GRANT OPTION;
c. GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR
WITH GRANT OPTION;
d. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR
WITH GRANT OPTION;
Question 4
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of changing a password to user ANNA from
ANNA01 to AN01?
Select one:
a. ALTER USER ANNA
IDENTIFIED BY AN01;
b. ALTER USER ANNA
IDENTIFIED B01 TO AN01;
c. ALTER OLD USER ANNA
IDENTIFIED BY AN01;
d. ALTER USER ANNA
IDENTIFIED BY NEW PASSWORD B@1;
Question 5
Answer saved
Marked out of 1.00
Flag question
Question text
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files.
Select one:
a. Large Pool
b. Redo Log Buffer
c. Data Buffer Cache
d. Java Pool
Question 6
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of selecting all columns from employees
table using the user BEN?
Select one:
a. SELECT * FROM STUDENT BY USER BEN;
b. SELECT * FROM SYSTEM.STUDENT BY USER BEN;
c. SELECT * FROM SYSTEM.STUDENT;
d. SELECT * FROM STUDENT
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that can collect transaction, redo data and transmit that
data to standby destinations
Select one:
a. Recoverer Process
b. Archiver Processes (ARCn)
c. Checkpoint Process (CKPT)
d. Log Writer Process (LGWR)
Question 8
Answer saved
Marked out of 1.00
Flag question
Question text
It is a communication pathway between a user process and an Oracle Database instance.
Select one:
a. Connection
b. User process
c. Communication
d. session
Question 9
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of privilege that gain access to the database
Select one:
a. Schema
b. Table / View
c. Object
d. System
Question 10
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is not included in the optional requirement for operating system of
oracle database?
Select one:
a. Dba
b. Asmoper
c. Asmdba
d. asmadmin
Question 11
Answer saved
Marked out of 1.00
Flag question
Question text
This is use to connect to the Oracle instance and is started when a user establishes a
session
Select one:
a. User process
b. Server process
c. Connection
d. Communication
Question 12
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that writes the redo log buffer to a redo log file on disk
Select one:
a. Log Writer Process (LGWR)
b. Database Writer Process (DBWn)
c. Process Monitor Process (PMON)
d. Checkpoint Process (CKPT)
Question 13
Answer saved
Marked out of 1.00
Flag question
Question text
Holds information about changes made to the database
Select one:
a. Java Pool
b. Redo Log Buffer
c. Data Buffer Cache
d. Large Pool
Question 14
Answer saved
Marked out of 1.00
Flag question
Question text
Also known as Oracle Database backup and restore operations
Select one:
a. Data Buffer Cache
b. Redo Log Buffer
c. Large Pool
d. Java Pool
Question 15
Answer saved
Marked out of 1.00
Flag question
Question text
It is a communication between a user process and an instance
Select one:
a. Database Instance
b. Session
c. Connection
d. isqlPlus*
Question 16
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is not included in the oracle environment?
Select one:
a. Oracle_instance
b. oracle_base
c. oracle_sid
d. NSL_LANG
Question 17
Answer saved
Marked out of 1.00
Flag question
Question text
It holds information about changes made to the database
Select one:
a. Redo Log Buffer
b. Data Buffer Cache
c. Large Pool
d. Java Pool
Question 18
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a user scott?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR;
b. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR;
c. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
d. GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR;
Question 19
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following System Privileges is not part of SYSTEM privilege?
Select one:
a. CREATE SESSION
b. CREATE TABLE
c. CREAT VIEW
d. CREATE INDEX
Question 20
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example revoking a priviledge to INSERT, UPDATE
and DELETE to USER ANNA?
Select one:
a. REVOKE INSERT, UPDATE, DELETE
ON EMPLOYEES
TO ANNA;
b. REVOKE INSERT, UPDATE, DELETE
FROM EMPLOYEES
ON USER ANNA;
c. REVOKE INSERT, UPDATE, DELETE
TO EMPLOYEES
ON USER ANNA;
d. REVOKE INSERT, UPDATE, DELETE
FROM EMPLOYEES
TO USER ANNA;
Question 21
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of privilege that is used to manipulating the content of the database objects.
Select one:
a. Object
b. System
c. Schema
d. Table / View
Question 22
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is not part or Oracle Installation System Requirement.
Select one:
a. File Manager
b. Operating System
c. Disk Space
d. Memory
Question 23
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type process structure that cleans up the database buffer cache
Select one:
a. Log Writer Process (LGWR)
b. Database Writer Process (DBWn)
c. Checkpoint Process (CKPT)
d. Process Monitor Process (PMON)
Question 24
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that writes modified (dirty) buffers in the database buffer
cache asynchronously while performing other processing to advance the checkpoint
Select one:
a. Checkpoint Process (CKPT)
b. Process Monitor Process (PMON)
c. Database Writer Process (DBWn)
d. Log Writer Process (LGWR)
Question 25
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type process structure that records checkpoint information in Control file on each
data file header.
Select one:
a. Process Monitor Process (PMON)
b. Checkpoint Process (CKPT)
c. Database Writer Process (DBWn)
d. Log Writer Process (LGWR)
Question 26
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of creating a user ANNA with password
ANN01?
Select one:
a. CREATE USER ANNA
IDENTIFIED BY PASSWORD ANN01;
b. CREATE USER ANNA
PASSWORD ANN01;
c. CREATE USER ANNA
IDENTIFIED BY ANN01;
d. CREATE ANNA
IDENTIFIED BY ANN01;
Question 27
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of granting create session and create table
to user ANNA?
Select one:
a. GRANT SESSION,TABLE
TO ANNA;
b. GRANT CREATE SESSION, CREATE TABLE
TO ANNA;
c. GRANT CREATE SESSION, TABLE
TO ANNA;
d. GRANT CREATE SESSION, CREATE TABLE
TO USER ANNA;
Question 28
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of granting INSERT, UPDATE and DELETE
to user ANNA with an option to pass the privilege to other user?
Select one:
a. GRANT INSERT, UPDATE, DELETE
FROM EMPLOYEES
TO ANNA
WITH GRANT OPTION;
b. GRANT INSERT, UPDATE, DELETE
ON EMPLOYEES
TO ANNA
WITH PRIVILEGE GRANT OPTION;
c. GRANT INSERT, UPDATE, DELETE
TO EMPLOYEES
ON ANNA
WITH GRANT OPTION;
d. GRANT INSERT, UPDATE, DELETE
ON EMPLOYEES
TO ANNA
WITH GRANT OPTION;
Question 29
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that automatically connects to other databases involved in
in- doubt distributed transactions
Select one:
a. Recoverer Process
b. Log Writer Process (LGWR)
c. Checkpoint Process (CKPT)
d. Archiver Processes (ARCn)
Question 30
Answer saved
Marked out of 1.00
Flag question
Question text
It is a type of process structure that cleans up the database buffer cache
Select one:
a. Process Monitor Process (PMON)
b. Database Writer Process (DBWn)
c. Log Writer Process (LGWR)
d. Checkpoint Process (CKPT)
Q3 90
Question 1
Answer saved
Marked out of 1.00
Flag question
Question text
A type of constraint that is used to insert a default value into a column.
Select one:
a. Not Null
b. Default
c. Check
d. Unqiue
Question 2
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of create a default constraint.
Select one:
a. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE 'BSIT'));
b. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) CONSTRAINT CODE_df DEFAULT(CODE 'BSIT');
c. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE BSIT));
d. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) DEFAULT ‘Invalid’));
Question 3
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following statement is not true about Foreign Key constraint.
Select one:
a. The foreign key constraint also prevents invalid data from being inserted into the foreign
key column, because it has to be one of the values contained in the table it points to.
b. The foreign key constraint is used to prevent actions that would destroy links between
tables.
c. Ensures that the relationship between tables remain preserved as data is inserted,
deleted and modified
d. A foreign key in one table points to a foreign key in another table.
Question 4
Answer saved
Marked out of 1.00
Flag question
Question text
This is used to deactivate an integrity constraint.
Select one:
a. ENABLE CONSTRAINT
b. ON DELETE CASCADE
c. DROP CASCADE
d. DISABLE CONSTRAINT
Question 5
Answer saved
Marked out of 1.00
Flag question
Question text
A type of constraint uniquely identifies each record in a database table.
Select one:
a. Primary key
b. Unique
c. Foreign key
d. Check
Question 6
Answer saved
Marked out of 1.00
Flag question
Question text
A type of constraint that ensures the relationship between tables remain preserved as
data is inserted, deleted and modified.
Select one:
a. Unique and Primary Key
b. Primary key
c. Unique
d. Foreign key
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of adding a CHECK constraint where CODE
should start with the character ‘BS’.
Select one:
a. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS’));
b. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE = ‘BS’));
c. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE VARCHAR(20),
CONSTRAINT CODE_ck CHECK (CODE LIKE ‘BS%’));
d. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS%’));
Question 8
Answer saved
Marked out of 1.00
Flag question
Question text
Which two of the following forms key itergrity constraint.
Select one:
a. Primary Key and Unique
b. Check and Not Null
c. Foreign Key and Unique
d. Foreign key and Primary Key
Question 9
Answer saved
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of disabling an integrity constraint?
Select one:
a. ALTER TABLE STUDENTS
DISABLE CONSTRAINT usn_pk;
b. ALTER TABLE STUDENTS
MODIFY CONSTRAINT DISABLE usn_pk;
c. ALTER TABLE STUDENTS
DISABLE usn_pk;
d. ALTER TABLE STUDENTS
DROP CONSTRAINT usn_pk;
Question 10
Answer saved
Marked out of 1.00
Flag question
Question text
This is used to delete a primary key constraint in a parent table and will automatically drop
the foreign key constraint in the child table.
Select one:
a. ENABLE CONSTRAINT
b. DROP CASCADE
c. DISABLE CONSTRAINT
d. ON DELETE CASCADE
MIDTERM
Question 1
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of create a default constraint.
Select one:
a. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) CONSTRAINT CODE_df DEFAULT(CODE 'BSIT');
b. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20) DEFAULT ‘Invalid’));
c. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE 'BSIT'));
d. CREATE TABLE COURSE
(CODE CHAR(4) PRIMARY KEY,
TITLE VARCHAR(20),
CONSTRAINT CODE_df DEFAULT(CODE BSIT));
Question 2
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct representation of one-to-many relation?
Select one:
a.
b.
c.
d.
Question 3
Not yet answered
Marked out of 1.00
Flag question
Question text
A process where an application waits indefinitely to obtain any needed locks.
Select one:
a. Lock
b. Lockwait
c. Podlock
d. Deadlock
Question 4
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of adding primary key constraint?
Select one:
a. ALTER TABLE AUTHORS
ADD CONSTRAINT AUTHOR_ID PRIMARY KEY;
b. ALTER TABLE AUTHORS
ADD BK_ID PRIMARY KEY(NUMBER);
c. ALTER TABLE AUTHORS
ADD CONSTRAINT AUTHOR_ID PRIMARY KEY NUMBER;
d. ALTER TABLE AUTHORS
ADD CONSTRAINT AUTHOR_ID PRIMARY KEY(NUMBER);
Question 5
Not yet answered
Marked out of 1.00
Flag question
Question text
A state of the data where a transaction must be fully complete, saved (committed) or
completely undone (rolled back).
Select one:
a. Atomicity
b. Isolation
c. Consistency
d. Durability
Question 6
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following transaction rules is not included in the group?
Select one:
a. Redundancy
b. Atomicity
c. Isolation
d. Durability
Question 7
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of enabling constraint?
Select one:
a. ALTER BOOKS
ENABLE CONSTRAINT STUD_ID;
b. ALTER TABLE BOOKS
ENABLE CONSTRAINT STUD_ID;
c. ALTER TABLE BOOKS
ENABLE STUD_ID;
d. ALTER TABLE BOOKS
ENABLE COLUMN CONSTRAINT STUD_ID;
Question 8
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint that is used to insert a default value into a column.
Select one:
a. Unqiue
b. Not Null
c. Default
d. Check
Question 9
Not yet answered
Marked out of 1.00
Flag question
Question text
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’, SALARY =10000
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_IT;
ROLLBACK;
Select one:
a. The manager_id that is equal to null has been updated to IT.
b. Savepoints are saved.
c. No changes made on employees table.
d. The manager_id that is equal to null is now change to IT and the job_id of employees
under department_id 50,90 or salary greater than 500 have been updated to secretary.
Question 10
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of lock that is acquired when an application updates, inserts, or deletes a row.
Select one:
a. Private Lock (P Lock)
b. Sharelock (S locks)
c. Exclusive Lock (X Lock)
d. Special Lock (Sp lock)
Question 11
Not yet answered
Marked out of 1.00
Flag question
Question text
This is also known as unit of work.
Select one:
a. Data Control Language
b. Database Transaction
c. Transaction
d. Database Processes
Question 12
Not yet answered
Marked out of 1.00
Flag question
Question text
An automatic rollback is issued by the oracle under the following circumstances.
Select one or more:
a. CREATE TABLE is issued
b. Closes the sqlplus normally by typing exit
c. Closes the sqlplus normally by closing he isqlplus using x button
d. The user encounter system failure
Question 13
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint that ensures the relationship between tables remain preserved as
data is inserted, deleted and modified.
Select one:
a. Unique
b. Foreign key
c. Unique and Primary Key
d. Primary key
Question 14
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of derived attribute?
Select one:
a.
b.
c. None
d.
Question 15
Not yet answered
Marked out of 1.00
Flag question
Question text
This gives the user more flexibility and control when changing data and they ensure data
consistency in the event of user process or system failure.
Select one:
a. Data control language
b. Transaction
c. Data manipulation language
d. DBMS
Question 16
Not yet answered
Marked out of 1.00
Flag question
Question text
A transaction start when the first ____________ is issued.
Select one:
a. DCL
b. SELECT
c. DDL
d. DML
Question 17
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct representation of one-to-one relation?
Select one:
a.
b.
c.
d.
Question 18
Not yet answered
Marked out of 1.00
Flag question
Question text
A state where a transaction data changes must be available, even in the event of
database failure.
Select one:
a. Atomicity
b. Consistency
c. durability
d. Isolation
Question 19
Not yet answered
Marked out of 1.00
Flag question
Question text
Which one (1) DCL (Data Control Langauge) is considered as part of Database
Transaction
Select one:
a. SAVEPOINT
b. ROLLBACK
c. ROLLBACK TO SAVEPOINT
d. COMMIT
Question 20
Not yet answered
Marked out of 1.00
Flag question
Question text
A transaction ends when either of the following occurs EXCEPT:
Select one:
a. The user closes the isqlplus
b. The user type in Commit
c. CREATE TABLE is issued
d. CREATE VIEW is issued
e. The user encounter system failure
f. The user type in Rollback
Question 21
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of transaction that rolls back the current transaction to the specified savepoint,
thereby discarding any changes or savepoint created after the savepoint to which you are
rolling back.
Select one:
a. COMMIT
b. ROLLBACK
c. SAVEPOINT
d. ROLLBACK TO SAVEPOINT
Question 22
Not yet answered
Marked out of 1.00
Flag question
Question text
It is a state of operational database with data at any given time.
Select one:
a. Physical Data Instance
b. Logical Data Instance
c. Data Instance
d. Database Instance
Question 23
Not yet answered
Marked out of 1.00
Flag question
Question text
Which two of the following forms key itergrity constraint.
Select one:
a. Foreign key and Primary Key
b. Foreign Key and Unique
c. Check and Not Null
d. Primary Key and Unique
Question 24
Not yet answered
Marked out of 1.00
Flag question
Question text
A type constraint that uniquely identifies each record in a database table and can be
applied on one or more column.
Select one:
a. Unique
b. Foreign key
c. Check
d. Primary key
Question 25
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of adding a CHECK constraint where CODE
should start with the character ‘BS’.
Select one:
a. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS’));
b. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE = ‘BS’));
c. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE VARCHAR(20),
CONSTRAINT CODE_ck CHECK (CODE LIKE ‘BS%’));
d. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS%’));
Question 26
Not yet answered
Marked out of 1.00
Flag question
Question text
It is used to ensures that data values inside a database follow defines rules for values,
range and format
Select one:
a. Referential Itegrity
b. Domain Intergrity
c. Entity Itegrity
d. Not Null
Question 27
Not yet answered
Marked out of 1.00
Flag question
Question text
Which one (1) Data Definition Language is considered as part of Database Transaction.
Select one:
a. CREATE VIEW
b. CREATE TABLE
c. CREATE TABLE/ALTER STATEMENT
Question 28
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of saving changes made on the table?
Select one:
a. Commit;
b. Type exit
c. Save;
d. CTRL + S
Question 29
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of lock that is acquired when an application wants to read and prevent others from
updating the same row.
Select one:
a. Special Lock (Sp lock)
b. Private Lock (P Lock)
c. Sharelock (S locks)
d. Exclusive Lock (X Lock)
Question 30
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of multivalued attributes?
Select one:
a.
b. None
c.
d.
Question 31
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct representation of many-to-many relation?
Select one:
a.
b.
c.
d.
Question 32
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint uniquely identifies each record in a database table.
Select one:
a. Foreign key
b. Unique
c. Check
d. Primary key
Question 33
Not yet answered
Marked out of 1.00
Flag question
Question text
This is acquired automatically as needed to support a transaction based on isolation
levels.
Select one:
a. Deadlock
b. Lock
c. Podlock
d. Lockwait
Question 34
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of referencing the BOOKS table to
AUTHORS?
Select one:
a. CREATE TABLE BOOKS(
BOOK_ID NUMBER PRIMARY KEY NOT NULL,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID (BOOK_ID)
REFERENCES AUTHORS (BOOK_ID));
b. CREATE TABLE BOOKS(
BOOK_ID NUMBER PRIMARY KEY NOT NULL,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID FOREIGN KEY(BOOK_ID)
REFERENCE AUTHORS (BOOK_ID));
c. CREATE BOOKS(
BOOK_ID NUMBER PRIMARY KEY NOT NULL,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID FOREIGN KEY(BOOK_ID)
REFERENCES TABLE AUTHORS (BOOK_ID));
d. CREATE TABLE BOOKS(
BOOK_ID NUMBER PRIMARY KEY NOT NULL,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID FOREIGN KEY(BOOK_ID)
REFERENCES AUTHORS (BOOK_ID));
Question 35
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of disabling an integrity constraint?
Select one:
a. ALTER TABLE STUDENTS
MODIFY CONSTRAINT DISABLE usn_pk;
b. ALTER TABLE STUDENTS
DISABLE CONSTRAINT usn_pk;
c. ALTER TABLE STUDENTS
DROP CONSTRAINT usn_pk;
d. ALTER TABLE STUDENTS
DISABLE usn_pk;
Question 36
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint that is used to limit the value range that can be placed in a column.
Select one:
a. Check
b. Not Null
c. Unqiue
d. Default
Question 37
Not yet answered
Marked out of 1.00
Flag question
Question text
A state of the data where a transaction data must not be available to other transactions
until the original transaction is committed or rolled back.
Select one:
a. Consistency
b. Atomicity
c. Isolation
d. Durability
Question 38
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of constraint uniquely identifies each record in a database table.
Select one:
a. Unique
b. Foreign key
c. Check
d. Primary key
Question 39
Not yet answered
Marked out of 1.00
Flag question
Question text
A type of transaction that is ends the current transactions by making all pending data
changes permanent.
Select one:
a. SAVEPOINT
b. ROLLBACK
c. COMMIT
d. ROLLBACK TO SAVEPOINT
Question 40
Not yet answered
Marked out of 1.00
Flag question
Question text
This is used to delete child row when a parent key is deleted.
Select one:
a. DISABLE CONSTRAINT
b. DROP CASCADE
c. ENABLE CONSTRAINT
d. ON DELETE CASCADE
Question 41
Not yet answered
Marked out of 1.00
Flag question
Question text
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_IT;
COMMIT;
ROLLBACK;
Select one:
a. The job_id of employees under department_id 50,90 have been updated to secretary.
b. Savepoints are saved.
c. The manager_id that is equal to null has been updated to IT.
d. Changes are made permanently.
Question 42
Not yet answered
Marked out of 1.00
Flag question
Question text
A type constraint that uniquely identifies each record in a database table and can be
applied on one or more column.
Select one:
a. Check
b. Unique
c. Foreign key
d. Primary key
Question 43
Not yet answered
Marked out of 1.00
Flag question
Question text
An automatic commit is issued by the Oracle Server under the following circumstances.
Select one or more:
a. Closes the sqlplus normally by closing he isqlplus using x button
b. Closes the sqlplus normally by typing exit
c. The user encounter system failure
d. CREATE TABLE is issued
Question 44
Not yet answered
Marked out of 1.00
Flag question
Question text
A state of the data where a transaction must be fully compliant with the state of the
database as it was prior to the transaction.
Select one:
a. Consistency
b. Isolation
c. Durability
d. Atomicity
Question 45
Not yet answered
Marked out of 1.00
Flag question
Question text
Which of the following is the correct example of an attributes?
Select one:
a. USN_ID
b. Department
c. Student
d. Teacher
Question 46
Not yet answered
Marked out of 1.00
Flag question
Question text
It is used to ensures that data values inside a database follow defines rules for values,
range and format
Select one:
a. Entity Itegrity
b. Not Null
c. Domain Intergrity
d. Referential Itegrity
Question 47
Not yet answered
Marked out of 1.00
Flag question
Question text
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’, SALARY =10000
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_SECRETARY;
ROLLBACK TO UPDATE_IT;
Select one:
a. No changes made on employees table.
b. The manager_id that is equal to null has been updated to IT.
c. Savepoints are discarded.
d. The manager_id that is equal to null is now change to IT and the job_id of employees
under department_id 50,90 or salary greater than 5000 have been updated to secretary
Question 48
Not yet answered
Marked out of 1.00
Flag question
Question text
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’, SALARY =10000
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_IT;
ROLLBACK TO UPDATE_IT;
Select one:
a. Savepoints are discarded.
b. No changes made on employees table.
c. The manager_id that is equal to null is now change to IT and the job_id of employees
under department_id 50,90 or salary greater that 500 have been updated to secretary.
d. The manager_id that is equal to null has been updated to IT.
Question 49
Not yet answered
Marked out of 1.00
Flag question
Question text
This is used to enable a currentlt disable constraint in the table definition.
Select one:
a. ENABLE CONSTRAINT
b. DROP CASCADE
c. DISABLE CONSTRAINT
d. ON DELETE CASCADE
Question 50
Not yet answered
Marked out of 1.00
Flag question
Question text
This is the fundamental entity which introduces abstraction in a Database Management
System (DBMS).
Select one:
a. Entity Relationship Diagram
b. Entity Relationship Model
c. This is the fundamental entity which introduces abstraction in a Database Management
System (DBMS).
d. Data Model
It is a type of process structure that writes modified (dirty) buffers in the database buffer
cache asynchronously while performing other processing to advance the checkpoint
Select one:
a. Database Writer Process (DBWn)
It is a type of process structure that writes modified (dirty) buffers in the database buffer
cache asynchronously while performing other processing to advance the checkpoint
Select one:
a. Database Writer Process (DBWn)
It is a type of process structure that writes the redo log buffer to a redo log file on disk
Select one:
a. Log Writer Process (LGWR)
It is a type of process structure that can collect transaction, redo data and transmit that
data to standby destinations
Select one:
a. Recoverer Process
It is a type of privilege that is used to manipulating the content of the database objects.
Select one:
a. Object
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files
Select one:
a. Large Pool
b. Data Buffer Cache
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files
Select one:
a. Large Pool
b. Java Pool
c. Data Buffer Cache
Which of the following are mandatory tablespaces that are created at the time of database
creation
Select one:
a. Sysman and System
b. System and SysDba
c. System and Syshaux
It is a type of process structure that writes the redo log buffer to a redo log file on disk
Select one:
a. Database Writer Process (DBWn)
b. Log Writer Process (LGWR)
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files
Select one:
a. Redo Log Buffer
b. Java Pool
c. Data Buffer Cache
Which of the following are mandatory tablespaces that are created at the time of database
creation
Select one:
a. System and Syshaux
It is a type of process structure that records checkpoint information in Control file on each
data file header
Select one:
a. Log Writer Process (LGWR)
b. Process Monitor Process (PMON)
c. Checkpoint Process (CKPT)
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a SYSTEM?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a user scott?
Select one:
a. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
It is a named group of related privileges that can be granted to the user. This method
makes it easier to revoke and maintain privileges.
Select one:
a. Role
Which of the following follows the correct order of designing, implementing and mainting
and Oracle Database.
Select one:
a. Recovering from database failure
Evaluating the database server hardware
Installing the Oracle software
Creating, migrating, and opening the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Monitoring database performance
Planning the database and security strategy
Backing up the database
b. Evaluating the database server hardware
Installing the Oracle software
Planning the database and security strategy
Creating, migrating, and opening the database
Backing up the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Recovering from database failure
Monitoring database performance
Which of the following follows the correct order of designing, implementing and mainting
and Oracle Database.
Select one:
a. Recovering from database failure
Evaluating the database server hardware
Installing the Oracle software
Creating, migrating, and opening the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Monitoring database performance
Planning the database and security strategy
Backing up the database
b. Evaluating the database server hardware
Installing the Oracle software
Planning the database and security strategy
Creating, migrating, and opening the database
Backing up the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Recovering from database failure
Monitoring database performance
Which of the following system privileges is not part of the task by the database admin.?
Select one:
a. Managing user environment
This is also known collection of objects such as tables, views, and sequences.
Select one:
a. System
b. Schema
Which of the following is the correct syntax for creating a new user?
Select one:
a. CREATE ROLE hr
IDENTIFIED BY USER hr;
b. CREATE USER hr
IDENTIFIED BY hr;
Which of the following is the correct example of passing a privilege (INSERT and UPDATE) to user HR
coming from a user scott?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR;
b. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
Which of the following is the correct example of passing a privilege (INSERT and UPDATE) to user HR
coming from a user scott?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR;
b. GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR;
c. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
Which of the following is the correct Disk space requirement when installing Oracle?
Select one:
a. 1GB
b. 3.8 GB
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a SYSTEM?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;
It is a type of privilege that is used to manipulating the content of the database objects.
Select one:
a. Object
It is a type of process structure that can collect transaction, redo data and transmit that
data to standby destinations
Select one:
a. Recoverer Process
This is also known collection of objects such as tables, views, and sequences.
Select one:
a. Schema
It is part of the System Global Area which is used to provide memory for Oracle Streams
processes
Select one:
a. Data Buffer Cache
b. Java Pool
It is a named group of related privileges that can be granted to the user. This method
makes it easier to revoke and maintain privileges.
Select one:
a. User
b. Character
c. Operator
d. Role
Also known as the application or tool that connects to the Oracle Database Processes
Select one:
a. Communication
b. User process
c. session
Which of the following system privileges is not part of the task by the database admin.?
Select one:
a. Managing user environment
Which of the following is the correct example of selecting all columns from employees
table using the user BEN?
Select one:
a. SELECT * FROM STUDENT
b. SELECT * FROM SYSTEM.STUDENT;
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a SYSTEM?
Select one:
a. GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR
WITH GRANT OPTION;
b. GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;
Which of the following is not included in the memory requirements of oracle database.
Select one:
a. Manager Database Control
b. 3GB for the ASM instance
Which of the following is the correct example revoking a priviledge to INSERT, UPDATE
and DELETE to USER ANNA?
Select one:
a. REVOKE INSERT, UPDATE, DELETE
FROM EMPLOYEES
TO USER ANNA;
b. REVOKE INSERT, UPDATE, DELETE
ON EMPLOYEES
TO ANNA;
It is a type of privilege that is used to manipulating the content of the database objects.
Select one:
a. System
b. Table / View
c. Schema
d. Object
Which of the following system privileges is not part of the task by the database admin.?
Select one:
a. Managing user environment
Which of the following is not included in the memory requirements of oracle database.
Select one:
a. 3GB for the ASM instance
Which of the following is the correct example of passing a privilege (INSERT and
UPDATE) to user HR coming from a user scott?
Select one:
a. GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;
It is a type of process structure that writes modified (dirty) buffers in the database buffer
cache asynchronously while performing other processing to advance the checkpoint
Select one:
a. Database Writer Process (DBWn)
Which of the following is not included in the disk requirements of oracle database?
Select one:
a. 1 GB of disk space in the /tmp directory
b. 4.5 GB for the Grid Infrastructure software
c. 3.8 GB for the Oracle Database software
d. 3 GB for the preconfigured database (required)
Which of the following is the correct example revoking a priviledge to INSERT, UPDATE
and DELETE to USER ANNA?
Select one:
a. REVOKE INSERT, UPDATE, DELETE
FROM EMPLOYEES
ON USER ANNA;
b. REVOKE INSERT, UPDATE, DELETE
FROM EMPLOYEES
TO USER ANNA;
c. REVOKE INSERT, UPDATE, DELETE
ON EMPLOYEES
TO ANNA;
It is a collection of data treated as a unit with the main purpose of storing and retrieving
related information in the database.
Select one:
a. Oracle Database
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files.
Select one:
a. Java Pool
b. Redo Log Buffer
c. Data Buffer Cache
It is a type of process structure that writes the redo log buffer to a redo log file on disk
Select one:
a. Process Monitor Process (PMON)
b. Database Writer Process (DBWn)
c. Checkpoint Process (CKPT)
d. Log Writer Process (LGWR)
Which of the following is the correct Disk space requirement when installing Oracle?
Select one:
a. 1GB
b. 3.8 GB
It is a collection of data treated as a unit with the main purpose of storing and retrieving
related information in the database.
Select one:
a. Oracle Storage
b. Oracle Database
It is a named group of related privileges that can be granted to the user. This method
makes it easier to revoke and maintain privileges.
Select one:
a. Character
b. Operator
c. Role
Which of the following is not included in the optional requirement for operating system of
oracle database?
Select one:
a. asmadmin
b. Asmdba
c. Asmoper
d. Dba
Which of the following is the correct example of changing a password to user ANNA from
ANNA01 to AN01?
Select one:
a. ALTER USER ANNA
IDENTIFIED BY AN01;
This is also known collection of objects such as tables, views, and sequences.
Select one:
a. Object
b. System
c. Schema
Which of the following is not included in the required operating system users and groups?
Select one:
a. Groups
b. Oinstall
c. sysdba
Which of the following system privileges is not part of the task by the database admin.?
Select one:
a. Managing user environment
It is a type process structure that records checkpoint information in Control file on each
data file header.
Select one:
a. Process Monitor Process (PMON)
b. Log Writer Process (LGWR)
c. Checkpoint Process (CKPT)
This is use to connect to the Oracle instance and is started when a user establishes a
session
Select one:
a. Connection
b. Server process
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files
Select one:
a. Redo Log Buffer
b. Java Pool
c. Large Pool
d. Data Buffer Cache
Which of the following follows the correct order of designing, implementing and mainting
and Oracle Database.
Select one:
a. Recovering from database failure
Evaluating the database server hardware
Installing the Oracle software
Creating, migrating, and opening the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Monitoring database performance
Planning the database and security strategy
Backing up the database
b. Evaluating the database server hardware
Installing the Oracle software
Planning the database and security strategy
Creating, migrating, and opening the database
Backing up the database
Enrolling system users and planning for their Oracle Network access.
Implementing the database design
Recovering from database failure
Monitoring database performance
Which of the following is not included in the memory requirements of oracle database.
Select one:
a. 1.5 GB for the ASM instance and Oracle Restart
b. Manager Database Control
c. 3GB for the ASM instance
Which of the following is the correct Disk space requirement when installing Oracle?
Select one:
a. 3 GB
b. 1GB
c. 3.4 GB
d. 3.8 GB
Which of the following is the correct example of granting SELECT and INSERT on table
EMPLOYEES to roleSTUDENT?
Select one:
a. GRANT SELECT, INSERT
TO EMPLOYEES
ON STUDENT;
b. GRANT SELECT, INSERT
ON EMPLOYEES
TO USER STUDENT;
c. GRANT SELECT, INSERT
ON EMPLOYEES
TO ROLE STUDENT;
d. GRANT SELECT, INSERT
ON EMPLOYEES
TO STUDENT;
Which of the following is the correct example of granting create session and create table
to user ANNA?
Select one:
a. GRANT CREATE SESSION, CREATE TABLE
TO USER ANNA;
b. GRANT SESSION,TABLE
TO ANNA;
c. GRANT CREATE SESSION, TABLE
TO ANNA;
d. GRANT CREATE SESSION, CREATE TABLE
TO ANNA;
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files.
Select one:
a. Java Pool
b. Large Pool
c. Redo Log Buffer
d. Data Buffer Cache
A type of transaction that is ends the current transactions by making all pending data
changes permanent.
Select one:
a. COMMIT
A type of lock that is acquired when an application wants to read and prevent others from
updating the same row.
Select one:
a. Exclusive Lock (X Lock)
b. Special Lock (Sp lock)
c. Sharelock (S locks)
Which one (1) DCL (Data Control Langauge) is considered as part of Database
Transaction
Select one:
a. SAVEPOINT
b. ROLLBACK
c. ROLLBACK TO SAVEPOINT
d. COMMIT
An automatic commit is issued by the Oracle Server under the following circumstances.
Select one or more:
a. The user encounter system failure
b. Closes the sqlplus normally by closing he isqlplus using x button
c. CREATE TABLE is issued
d. Closes the sqlplus normally by typing exit
Which one (1) Data Definition Language is considered as part of Database Transaction.
Select one:
a. CREATE VIEW
b. CREATE TABLE/ALTER STATEMENT
c. CREATE TABLE
A type of transaction that rolls back the current transaction to the specified savepoint,
thereby discarding any changes or savepoint created after the savepoint to which you are
rolling back.
Select one:
a. ROLLBACK TO SAVEPOINT
Which one (1) DCL (Data Control Langauge) is considered as part of Database
Transaction
Select one:
a. COMMIT
A type of lock that is acquired when an application updates, inserts, or deletes a row.
Select one:
a. Sharelock (S locks)
b. Exclusive Lock (X Lock)
This is used to delete a primary key constraint in a parent table and will automatically drop
the foreign key constraint in the child table.
Select one:
a. DROP CASCADE
Which of the following is the correct example of adding a CHECK constraint where CODE
should start with the character ‘BS’.
Select one:
a. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE VARCHAR(20),
CONSTRAINT CODE_ck CHECK (CODE LIKE ‘BS%’));
It is used to ensures that data values inside a database follow defines rules for values,
range and format
Select one:
a. Domain Intergrity
This is used to delete a primary key constraint in a parent table and will automatically drop
the foreign key constraint in the child table.
Select one:
a. DROP CASCADE
Which of the following is the correct example of adding a CHECK constraint where CODE
should start with the character ‘BS’.
Select one:
a. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS’));
b. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE = ‘BS’));
c. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS%’));
d. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE VARCHAR(20),
CONSTRAINT CODE_ck CHECK (CODE LIKE ‘BS%’));
It is a type of process structure that writes modified (dirty) buffers in the database buffer
cache asynchronously while performing other processing to advance the checkpoint
Select one:
a. Log Writer Process (LGWR)
b. Process Monitor Process (PMON)
c. Checkpoint Process (CKPT)
d. Database Writer Process (DBWn)
It is part of the System Global Area (SGA) that hold copies of data blocks that are read
from data files
Select one:
a. Data Buffer Cache
It is a type of process structure that records checkpoint information in Control file on each
data file header
Select one:
a. Process Monitor Process (PMON)
b. Log Writer Process (LGWR)
c. Database Writer Process (DBWn)
d. Checkpoint Process (CKPT)
It is part of the System Global Area which is used to provide memory for Oracle Streams
processes
Select one:
a. Large Pool
b. Data Buffer Cache
c. Redo Log Buffer
d. Java Pool
It is part of the System Global Area which is used to provide memory for Oracle Streams
processes
Select one:
a. Large Pool
b. Java Pool
Which of the following are mandatory tablespaces that are created at the time of database
creation
Select one:
a. System and Syshaux
It is a collection of data treated as a unit with the main purpose of storing and retrieving
related information in the database.
Select one:
a. Oracle Storage
b. Oracle Database
Which of the following are mandatory tablespaces that are created at the time of database
creation
Select one:
a. Sysman and Sysdba
b. System and Syshaux
It is a type of process structure that writes modified (dirty) buffers in the database buffer
cache asynchronously while performing other processing to advance the checkpoint
Select one:
a. Log Writer Process (LGWR)
b. Process Monitor Process (PMON)
c. Checkpoint Process (CKPT)
d. Database Writer Process (DBWn)
It is a collection of data treated as a unit with the main purpose of storing and retrieving
related information in the database.
Select one:
a. Database Server
b. Databank
c. Oracle Storage
d. Oracle Database
Which of the following is the correct example of adding a CHECK constraint where CODE
should start with the character ‘BS’.
Select one:
a. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE = ‘BS’));
b. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE VARCHAR(20),
CONSTRAINT CODE_ck CHECK (CODE LIKE ‘BS%’));
It is used to ensures that data values inside a database follow defines rules for values,
range and format
Select one:
a. Not Null
b. Domain Intergrity
A type of constraint uniquely identifies each record in a database table.
Select one:
a. Unique
b. Check
c. Foreign key
d. Primary key
A type of constraint that ensures the relationship between tables remain preserved as
data is inserted, deleted and modified.
Select one:
a. Foreign key
Which of the following is the correct example of adding a CHECK constraint where CODE
should start with the character ‘BS’.
Select one:
a. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS’));
b. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE = ‘BS’));
c. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS%’));
d. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE VARCHAR(20),
CONSTRAINT CODE_ck CHECK (CODE LIKE ‘BS%’));
A type of constraint that is used to limit the value range that can be placed in a column.
Select one:
a. Default
b. Not Null
c. Check
A type of constraint that is used to limit the value range that can be placed in a column.
Select one:
a. Check
A state of the data where a transaction must be fully complete, saved (committed) or
completely undone (rolled back).
Select one:
a. Atomicity
a.
b.
c.
Which of the following is the correct example of saving changes made on the table?
Select one:
a. Save;
b. Commit;
c. CTRL + S
d. Type exit
Which of the following is the correct example of referencing the BOOKS table to
AUTHORS?
Select one:
a. CREATE TABLE BOOKS(
BOOK_ID NUMBER PRIMARY KEY NOT NULL,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID FOREIGN KEY(BOOK_ID)
REFERENCES AUTHORS (BOOK_ID));
Which of the following is the correct example of multivalued attributes?
Select one:
a.
It is the skeleton structure that represents the logical view of the entire database.
Select one:
a. Database Schema
An automatic commit is issued by the Oracle Server under the following circumstances.
Select one or more:
a. Closes the sqlplus normally by closing he isqlplus using x button
b. The user encounter system failure
c. Closes the sqlplus normally by typing exit
d. CREATE TABLE is issued
Which one (1) DCL (Data Control Langauge) is considered as part of Database
Transaction
Select one:
a. COMMIT
b. ROLLBACK
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’, SALARY =10000
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_IT;
ROLLBACK TO UPDATE_IT;
Select one:
a. Savepoints are discarded.
b. The manager_id that is equal to null has been updated to IT.
c. The manager_id that is equal to null is now change to IT and the job_id of employees
under department_id 50,90 or salary greater that 500 have been updated to secretary.
A state of the data where a transaction must be fully compliant with the state of the
database as it was prior to the transaction.
Select one:
a. Consistency
A state of the data where a transaction data must not be available to other transactions
until the original transaction is committed or rolled back.
Select one:
a. Atomicity
b. Isolation
Select one:
a. Referential Itegrity
b. Entity Itegrity
c. Not Null
d. Domain Intergrity
It is used to ensures that data values inside a database follow defines rules for values,
range and format
Select one:
a. Domain Intergrity
This is used to delete a primary key constraint in a parent table and will automatically drop
the foreign key constraint in the child table.
Select one:
a. DROP CASCADE
a.
b.
A type constraint that uniquely identifies each record in a database table and can be
applied on one or more column.
Select one:
a. Check
b. Primary key
c. Foreign key
d. Unique
Which one (1) Data Definition Language is considered as part of Database Transaction.
Select one:
a. CREATE VIEW
b. CREATE TABLE
Which of the following is the correct example of adding primary key constraint?
Select one:
a. ALTER TABLE AUTHORS
ADD CONSTRAINT AUTHOR_ID PRIMARY KEY(NUMBER);
A type of transaction that is ends the current transactions by making all pending data
changes permanent.
Select one:
a. SAVEPOINT
b. ROLLBACK
c. COMMIT
A type of transaction that rolls back the current transaction to the specified savepoint,
thereby discarding any changes or savepoint created after the savepoint to which you are
rolling back.
Select one:
a. ROLLBACK TO SAVEPOINT
It is used to ensures that data values inside a database follow defines rules for values,
range and format
Select one:
a. Not Null
b. Entity Itegrity
c. Referential Itegrity
d. Domain Intergrity
It is used to ensures that data values inside a database follow defines rules for values,
range and format
Select one:
a. Not Null
b. Domain Intergrity
Which of the following statement is not true about Foreign Key constraint.
Select one:
a. The foreign key constraint is used to prevent actions that would destroy links between
tables.
b. The foreign key constraint also prevents invalid data from being inserted into the
foreign key column, because it has to be one of the values contained in the table it points
to.
c. Ensures that the relationship between tables remain preserved as data is inserted,
deleted and modified
d. A foreign key in one table points to a foreign key in another table.
A state of the data where a transaction must be fully complete, saved (committed) or
completely undone (rolled back).
Select one:
a. Atomicity
A state where a transaction data changes must be available, even in the event of
database failure.
Select one:
a. Atomicity
b. Consistency
c. Isolation
d. durability
A type of constraint that ensures the relationship between tables remain preserved as
data is inserted, deleted and modified.
Select one:
a. Unique and Primary Key
b. Foreign key
Which of the following is the correct example of adding a CHECK constraint where CODE
should start with the character ‘BS’.
Select one:
a. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE
VARCHAR(20),CONSTRAINT CODE_ck CHECK (CODE LIKE ‘%BS%’));
b. CREATE TABLE COURSE(CODE CHAR(4) PRIMARY KEY,TITLE VARCHAR(20),
CONSTRAINT CODE_ck CHECK (CODE LIKE ‘BS%’));
It is the skeleton structure that represents the logical view of the entire database.
Select one:
a. Entity Relationship Diagram
b. Entity Relationship Model
c. Database Schema
This is a kind of mechanism, which liberalizes itself from actual data stored on the disk.
Select one:
a. Physical Data Independence
b. Physical Database Schema
c. Logical Data Independence
Supposed that a user performs the query as shown below, what will happen to the data?
UPDATE EMPLOYEES SET JOB_ID = ‘IT’, SALARY =10000
WHERE MANAGER_ID IS NULL;
SAVEPOINT UPDATE_IT;
SAVEPOINT UPDATE_SECRETARY;
ROLLBACK TO UPDATE_IT;
Select one:
a. No changes made on employees table.
b. The manager_id that is equal to null is now change to IT and the job_id of employees
under department_id 50,90 or salary greater than 5000 have been updated to secretary
c. The manager_id that is equal to null has been updated to IT.
A type constraint that uniquely identifies each record in a database table and can be
applied on one or more column.
Select one:
a. Check
b. Unique
It is the skeleton structure that represents the logical view of the entire database.
Select one:
a. Data Model
b. Entity Relationship Diagram
c. Database Schema
A type of lock that is acquired when an application wants to read and prevent others from
updating the same row.
Select one:
a. Sharelock (S locks)
Which of the following is the correct example of adding a check constraint on column
BOOK_ID to accept value greater that 10?
Select one:
a. CREATE TABLE BOOKS(
BOOK_ID NUMBER,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID CHECK KEY (BOOK_ID > 10));
b. CREATE TABLE BOOKS(
BOOK_ID NUMBER,
TITLE VARCHAR(10),
YEAR NUMBER(4),
CONSTRAINT BK_ID CHECK (BOOK_ID > 10));
A type of constraint that ensures the relationship between tables remain preserved as
data is inserted, deleted and modified.
Select one:
a. Unique and Primary Key
b. Primary key
c. Unique
d. Foreign key
It is the skeleton structure that represents the logical view of the entire database.
Select one:
a. Database Schema
This is a schema that pertains to the actual storage of data and its form of storage like files,
indices.
Select one:
a. Historical Database Schema
b. Physical Database Schema
This is a schema that pertains to the actual storage of data and its form of storage like files,
indices.
Select one:
a. Scientific Database Schema
b. Physical Database Schema
A type of model that is based on the notion of real-world entities and relationships among
them.
Select one:
a. Entity Relationship Model
This is a schema that pertains to the actual storage of data and its form of storage like files,
indices.
Select one:
a. Physical Database Schema
SELECT employees.employee_id, employees.lastname,employees.department_id,
departments.department_id,departments.location_id
FROM employees, departments
WHERE employees.department_id (+)= departments.department_id;
Select one:
a. The given statement would cause Cartesian or Cross Join
b. The given statement is Outer Join
A single row of a table, which contains a single record for that relation.
Select one:
a. Tuple
A join condition used when a table has columns with match values.
Select one:
a. Cartesian Product
b. Natural Join
c. Cross Join
d. Self-Join
This is a type of schema that has the power to change the physical data without impacting
the schema or logical data.
Select one:
a. Physical Database Schema
b. Logical Data Independence
c. Physical Data Independence
It is join between two tables that return the result of an Inner Join as well as the results of
Left and Right joins.
Select one:
a. ON
b. Using
c. Outer Join
This is a kind of mechanism, which liberalizes itself from actual data stored on the disk.
Select one:
a. Logical Data Independence
This is a type of schema defines all the logical constraints that need to be applied on the
data stored. It defines tables, views, and integrity constraints.
Select one:
a. Logical Data Independence
b. Physical Database Schema
c. Logical Database Schema
This is a type of attribute that is made of more than one simple attribute.
Select one:
a. Derived Attribute
b. Composite Attribute
This is used to quality ambiguous column when joining two or more tables.
Select one:
a. Table Prefixes
It is a state of operational database with data at any given time.
Select one:
a. Database Instance
A join condition used when a table has columns with match values.
Select one:
a. Self-Join
It is join between two tables that return the result of an Inner Join as well as the results of
Left and Right joins.
Select one:
a. Using
b. Outer Join
This is used to quality ambiguous column when joining two or more tables.
Select one:
a. Column Alias
b. Table Alias
c. Column Prefixes
d. Table Prefixes
This is a type of attribute that is made of more than one simple attribute.
Select one:
a. Composite Attribute
A type of model that is based on the notion of real-world entities and relationships among
them.
Select one:
a. Database Schema
b. Data Model
c. Entity Relationship Diagram
d. Entity Relationship Model
This is a schema that pertains to the actual storage of data and its form of storage like files,
indices.
Select one:
a. Scientific Database Schema
b. Physical Database Schema
A join condition that is based on all the columns in two or more table that have the same
name.
Select one:
a. Cartesian Product
b. Cross Join
c. Natural Join
This is a schema that pertains to the actual storage of data and its form of storage like files,
indices.
Select one:
a. Logical Database Schema
b. Scientific Database Schema
c. Historical Database Schema
d. Physical Database Schema
This is a type of attribute that is made of more than one simple attribute.
Select one:
a. Composite Attribute
A single row of a table, which contains a single record for that relation.
Select one:
a. Cell
b. Values
c. Column
d. Tuple
This is a type of schema that has the power to change the physical data without impacting
the schema or logical data.
Select one:
a. Logical Data Independence
b. Logical Database Schema
c. Physical Data Independence
This is a type of attribute that is made of more than one simple attribute.
Select one:
a. Derived Attribute
b. Simple Attribute
c. Composite Attribute
d. Natural Attribute
This is a join clause used when the columns in two or more tables have the same but of
different data type.
Select one:
a. Inner Join
b. Outer Join
c. ON
d. Using
A join condition that is based on all the columns in two or more table that have the same
name.
Select one:
a. Cartesian Product
b. Self-Join
c. Natural Join
This is used to quality ambiguous column when joining two or more tables.
Select one:
a. Column Prefixes
b. Column Alias
c. Table Prefixes
This is a kind of mechanism, which liberalizes itself from actual data stored on the disk.
Select one:
a. Physical Database Schema
b. Physical Data Independence
c. Logical Data Independence
Supposed that table: Workers and Employees is consists of the following values.
What will be the output if the user uses this PL/SQL.
UPDATE WORKERS
SET DEPARTMENT = (SELECT DEPARTMENT FROM EMPLOYEES WHERE
DEPARTMENT =’HR’);
Which of the following is not true about complex view when using DELETE statement?
Select one:
a. All of the choices
Select one:
a. 0 rows are deleted in Employees table
b. Employee in Workers table with lastname equal to Cruz will be deleted.
c. 0 rows are deleted in Workers table
Select one:
a. 460 RDBLOOR SY
b. 2004 CHARADE RD
c. MAGDALENCENTER
d. 2014 JABBERWACKY
Which of the following is the correct example of modifying a view where salary
manager_id is null?
Select one:
a. CREATE OR REPLACE VIEW WORKERS (EMPLOYEE_ID, SURNAME,
FIRSTNAME, MANAGER_ID)
AS (EMPLOYEE_ID, LASTNAME, FIRSTNAME, MANAGER_ID)
FROM EMPLOYEES
WHERE MANAGER_ID IS NULL);
SELECT EMPLOYEES.EMPLOYEE_ID,
EMPLOYEES.LASTNAME,EMPLOYEES.DEPARTMENT_ID,DEPARTMENTS.DEPART
MENT_ID,DEPARTMENTS.LOCATION_ID
FROM EMPLOYEES JOIN DEPARTMENTS
USING (DEPARTMENT_ID);
Select one:
a. The given statement is an Equijoin
b. The given statement would case Cartesian or Cross Join
c. The given statement is Outer Join
d. The given statement is not a valid join condition or is incorrect
Which of the following is the correct example of creating a view where LASTNAME ends
with letter S rename LASTNAME to SURNAME?
Select one:
a. CREATE VIEW WORKERS (EMPLOYEE_ID, LASTNAME, FIRSTNAME)
AS (EMPLOYEE_ID, LASTNAME, FIRSTNAME
FROM EMPLOYEES
WHERE SALARY LASTNAME LIKE '%S');
b. CREATE VIEW WORKERS (EMPLOYEE_ID, SURNAME, FIRSTNAME)
AS (EMPLOYEE_ID, LASTNAME, FIRSTNAME
FROM EMPLOYEES
If WITH READ ONLY is added on the view (see sample code below) what is/are the
restriction?
CREATE OR REPLACE VIEW STUD_VIEW (USN_ID, LASTNAME, FIRSTNAME,
COURSE)
AS (SELECT USN_ID, LASTNAME, FIRSTNAME, COURSE
FROM STUDENTS
WHERE COURSE = ‘BSCS’)
WITH READ ONLY;
Select one:
a. It restricts the users to add a value where course is equal to BSCS only
b. It restricts the users to add a value where course is not equal to BSCS
c. NO DML operations allowed on this view.
SELECT EMPLOYEES.EMPLOYEE_ID,
EMPLOYEES.LASTNAME,EMPLOYEES.DEPARTMENT_ID,DEPARTMENTS.DEPART
MENT_ID,DEPARTMENTS.LOCATION_ID
FROM EMPLOYEES JOIN DEPARTMENTS
USING (DEPARTMENT_ID);
Select one:
a. The given statement is not a valid join condition or is incorrect
Which of the following is the correct example of creating a subquery that copy the values
from employees table to workers table?
Select one:
a. INSERT INTO WORKERS(ID, NAME, POSITION)
FROM EMPLOYEES;
b. INSERT INTO WORKERS(ID, NAME, POSITION)
SELECT (ID, NAME, JOB_TITLE
FROM EMPLOYEES);
c. INSERT INTO WORKERS(ID, NAME, POSITION)
SELECT (ID, NAME, POSITION
FROM EMPLOYEES);
SELECT EMPLOYEES.EMPLOYEE_ID,
EMPLOYEES.LASTNAME,EMPLOYEES.DEPARTMENT_ID,DEPARTMENTS.DEPART
MENT_ID,DEPARTMENTS.LOCATION_ID
FROM EMPLOYEES JOIN DEPARTMENTS
USING (DEPARTMENT_ID);
Select one:
a. The given statement is not a valid join condition or is incorrect
In the given complex view example what will be the possible output if this code is run?
CREATE OR REPLACE VIEW DEPT_EMP
AS (SELECT EMPLOYEE_ID, LASTNAME, DEPARTMENT_NAME
FROM EMPLOYEES JOIN DEPARTMENT)
Select one:
a. Cause an error because the JOIN condition is omitted.
Which of the following is not part of comparison condition used in multiple row subquery.
Select one:
a. ALL
b. ANY
c. IN
d. =
This of the following is not part of comparison condition used in single row subquery.
Select one:
a. <
b. >
c. IN
Which of the following is the correct example of creating a subquery that will copy all
values from employees table to workers where job_id is equal to ST_CLERK;
Select one:
a. INSERT INTO WORKERS
SELECT * FROM EMPLOYEES
WHERE JOB_ID = ‘ST_CLERK’;
b. INSERT INTO WORKERS
(SELECT * FROM EMPLOYEES
WHERE JOB_ID = ‘ST_CLERK’);
Supposed that table: Workers and Employees is consists of the following values.
Which of the following is the correct example of copying data from WORKERS table to
EMPLOYEES table where the status is equal to ‘Regular’?
Which of the following is not true rule to follow in writing PL/SQL that contains subquery?
Select one:
a. Enclose subqueries in double bracket symbol.
Supposed that table: Workers and Employees is consists of the following values.
Which of the following is the correct example of copying data from WORKERS table to
EMPLOYEES table where the status is equal to ‘Regular’?
This is used to quality ambiguous column when joining two or more tables.
Select one:
a. Table Alias
b. Column Alias
c. Column Prefixes
d. Table Prefixes
Which of the following is the correct query that will create a report that will display the
following: FIRTSNAME, SALARY with additional 1000 in employees salary, rename this
column as BONUS, then get the DEPARTMENT_NAME and DEPARTMENT_ID. Join the
table using ON condition.
Select one:
a. SELECT FIRSTNAME, SALARY + 1000 AS BONUS, DEPARTMENT_NAME,
D.DEPARTMENT_ID
FROM EMPLOYEES E JOIN DEPARTMENTS D
ON E.DEPARTMENT_ID = D.DEPARTMENT_ID;
This is used to quality ambiguous column when joining two or more tables.
Select one:
a. Table Prefixes
This of the following is not part of comparison condition used in single row subquery.
Select one:
a. >
b. IN
This is a type of schema that has the power to change the physical data without impacting
the schema or logical data.
Select one:
a. Logical Data Independence
b. Physical Data Independence
Which of the following is the correct example of creating a subquery that copy the values
from employees table to workers table?
Select one:
a. INSERT INTO WORKERS(ID, NAME, POSITION)
SELECT (ID, NAME, POSITION
FROM EMPLOYEES);
Supposed that table: Workers and Employees is consists of the following values.
Which of the following is the correct example of copying data from WORKERS table to
EMPLOYEES table where the status is equal to ‘Regular’?
Select one:
a. INSERT INTO EMPLOYEES(ID, LASTNAME, DEPARTMENT)
SELECT ID, LASTNAME, DEPARTMENT
FROM WORKERS
WHERE STATUS = ‘Regular’;
Supposed that table: Workers and Employees is consists of the following
values.
Select one:
a. The lastname of Cruz from Employees table will be set to Soriano
b. The values of Employee with ID number 105 will be deleted
c. All Workers lastname will be set to NULL
d. The lastname of Cruz from Employees table will be set to NULL
A type of model that is based on the notion of real-world entities and relationships among
them.
Select one:
a. Data Model
b. Database Schema
c. Entity Relationship Model
In the given complex view example what will be the possible output if this code is run?
CREATE OR REPLACE VIEW DEPT_EMP
AS (SELECT EMPLOYEE_ID, LASTNAME, DEPARTMENT_NAME
FROM EMPLOYEES JOIN DEPARTMENT)
Select one:
a. The OR REPLACE on the code should be omitted.
b. It will successfully create the view that join 1 table to another table.
c. Missing with CHECK OPTION
d. Cause an error because the JOIN condition is omitted.