Database Mid Exam

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 26

Started on Tuesday, 18 May 2021, 2:07 PM

State Finished
Completed on Tuesday, 18 May 2021, 2:28 PM
Time taken 20 mins 41 secs
Marks 40.50/50.00
Grade 81.00 out of 100.00
Question 1
Correct
Mark 1.00 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 2
Correct
Mark 1.00 out of 1.00

Flag question

Question text
An automatic commit is issued by the Oracle Server under the following circumstances. (Choose 2)

Select one or more:

a.
CREATE TABLE is issued

b.
Closes the sqlplus normally by closing he isqlplus using x button

c.
The user encounter system failure

d.
Closes the sqlplus normally by typing exit

Question 3
Correct
Mark 1.00 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.
Table / View

c.
System

d.
Schema

Question 4
Correct
Mark 1.00 out of 1.00

Flag question

Question text
It is the key in solving the problems of information management.

Select one:

a.
Database

b.
Oracle Storage

c.
Oracle Database

d.
Database Server

Question 5
Correct
Mark 1.00 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 6
Incorrect
Mark 0.00 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.
Type of Oracle software .

b.
Are there prerequisite steps that must be performed by someone other than the DBA?

c.
Does the hardware involved meet the minimum required specifications?

d.
Any Oracle version will do even when multiple products are involved.

Question 7
Incorrect
Mark 0.00 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.
Checkpoint Process (CKPT)

b.
Log Writer Process (LGWR)

c.
Archiver Processes (ARCn)

d.
Recoverer Process

Question 8
Correct
Mark 1.00 out of 1.00

Flag question

Question text
A transaction ends when either of the following occurs. (Choose 5)

Select one or more:

a.
CREATE TABLE is issued

b.
The user closes the isqlplus

c.
The user type in Rollback

d.
CREATE VIEW is issued

e.
The user encounter system failure

f.
The user type in Commit

Question 9
Correct
Mark 1.00 out of 1.00

Flag question

Question text
It is a type of privilege that gain access to the database

Select one:

a.
System

b.
Object

c.
Table / View

d.
Schema

Question 10
Partially correct
Mark 0.50 out of 1.00

Flag question

Question text
An automatic rollback is issued by the oracle under the following circumstances. (Choose 2)

Select one or more:

a.
The user encounter system failure

b.
CREATE TABLE is issued

c.
Closes the sqlplus normally by closing he isqlplus using x button

d.
Closes the sqlplus normally by typing exit

Question 11
Correct
Mark 1.00 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 12
Correct
Mark 1.00 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 INSERT, UPDATE
ON EMPLOYEES
TO HR
WITH GRANT OPTION;

c.
GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR
WITH GRANT OPTION;
d.
GRANT ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR
WITH GRANT OPTION;

Question 13
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is not included in the disk requirements of oracle database?

Select one:

a.
3 GB for the preconfigured database (required)

b.
1 GB of disk space in the /tmp directory

c.
4.5 GB for the Grid Infrastructure software

d.
3.8 GB for the Oracle Database software

Question 14
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is the correct example of granting SELECT and INSERT on table EMPLOYEES to roleSTUDENT?

Select one:

a.
GRANT SELECT, INSERT
ON EMPLOYEES
TO ROLE STUDENT;

b.
GRANT SELECT, INSERT
TO EMPLOYEES
ON STUDENT;

c.
GRANT SELECT, INSERT
ON EMPLOYEES
TO STUDENT;

d.
GRANT SELECT, INSERT
ON EMPLOYEES
TO USER STUDENT;

Question 15
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Also known as the application or tool that connects to the Oracle Database Processes

Select one:

a.
Communication

b.
Connection

c.
session

d.
User process

Question 16
Correct
Mark 1.00 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.
Role

b.
Operator

c.
Character

d.
User

Question 17
Correct
Mark 1.00 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 ROLE INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO USER HR;

b.
GRANT INSERT, UPDATE
ON EMPLOYEES
TO USER HR;

c.
GRANT INSERT, UPDATE
ON SYSTEM.EMPLOYEES
TO HR;

d.
GRANT INSERT, UPDATE
ON EMPLOYEES
TO HR;

Question 18
Correct
Mark 1.00 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.
Java Pool

b.
Data Buffer Cache

c.
Large Pool

d.
Redo Log Buffer

Question 19
Correct
Mark 1.00 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.
Connection

c.
isqlPlus*

d.
Session

Question 20
Correct
Mark 1.00 out of 1.00

Flag question

Question text
A transaction start when the first ____________ is issued.
Select one:

a.
DDL

b.
SELECT

c.
DML

d.
DCL

Question 21
Incorrect
Mark 0.00 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.
Database Writer Process (DBWn)

b.
Checkpoint Process (CKPT)

c.
Log Writer Process (LGWR)

d.
Process Monitor Process (PMON)

Question 22
Correct
Mark 1.00 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
TO EMPLOYEES
ON USER ANNA;

b.
REVOKE INSERT, UPDATE, DELETE
FROM EMPLOYEES
TO USER ANNA;

c.
REVOKE INSERT, UPDATE, DELETE
ON EMPLOYEES
TO ANNA;

d.
REVOKE INSERT, UPDATE, DELETE
FROM EMPLOYEES
ON USER ANNA;

Question 23
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is the correct Disk space requirement when installing Oracle?

Select one:

a.
3.8 GB

b.
1GB

c.
3 GB

d.
3.4 GB

Question 24
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is not included in the memory requirements of oracle database.

Select one:

a.
3GB for the ASM instance

b.
Manager Database Control

c.
1.5 GB for the ASM instance and Oracle Restart

d.
1 GB for the database instance with Oracle Enterprise

Question 25
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following system privileges is not part of the task by the database admin.?

Select one:

a.
Removing tables

b.
Creating new user

c.
Managing user environment

d.
Backing up tables

Question 26
Correct
Mark 1.00 out of 1.00

Flag question

Question text
It is a collection of data treated as a unit. The purpose of a database is to store and retrieve related information.

Select one:
a.
Oracle database management system

b.
Relational database management system

c.
Oracle database

d.
Database management System

Question 27
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
Which of the following system privileges is not part of the task by the database admin.?

Select one:

a.
Backing up tables

b.
Managing user environment

c.
Removing tables

d.
Creating new user

Question 28
Correct
Mark 1.00 out of 1.00

Flag question

Question text
It is a type a Oracle environment where Oracle Products run.

Select one:

a.
ORACLE_SID
b.
ORACLE_HOME

c.
ORACLE_BASE

d.
ORACLE_WAREHOUSE

Question 29
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Also known as Oracle Database backup and restore operations

Select one:

a.
Redo Log Buffer

b.
Large Pool

c.
Java Pool

d.
Data Buffer Cache

Question 30
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is the correct example of creating a role STUDENT?

Select one:

a.
CREATE NEW ROLE AS STUDENT;

b.
CREATE ROLE AS NEW ROLE STUDENT;
c.
CREATE ROLE STUDENT;

d.
CREATE NEW ROLE STUDENT;

Question 31
Incorrect
Mark 0.00 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
IDENTIFIED BY ANN01;

c.
CREATE ANNA
IDENTIFIED BY ANN01;

d.
CREATE USER ANNA
PASSWORD ANN01;

Question 32
Correct
Mark 1.00 out of 1.00

Flag question

Question text
It holds information about changes made to the database

Select one:

a.
Large Pool

b.
Redo Log Buffer
c.
Data Buffer Cache

d.
Java Pool

Question 33
Correct
Mark 1.00 out of 1.00

Flag question

Question text
It is a communication between a user process and an instance

Select one:

a.
Connection

b.
Session

c.
isqlPlus*

d.
Database Instance

Question 34
Correct
Mark 1.00 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.
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

c.
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

Question 35
Correct
Mark 1.00 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.
Checkpoint Process (CKPT)

b.
Database Writer Process (DBWn)

c.
Process Monitor Process (PMON)

d.
Log Writer Process (LGWR)

Question 36
Incorrect
Mark 0.00 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.
Communication

b.
Connection

c.
Server process

d.
User process

Question 37
Correct
Mark 1.00 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

b.
SELECT * FROM SYSTEM.STUDENT BY USER BEN;

c.
SELECT * FROM STUDENT BY USER BEN;

d.
SELECT * FROM SYSTEM.STUDENT;

Question 38
Correct
Mark 1.00 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 USER ANNA;

c.
GRANT CREATE SESSION, TABLE
TO ANNA;

d.
GRANT CREATE SESSION, CREATE TABLE
TO ANNA;

Question 39
Correct
Mark 1.00 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 40
Correct
Mark 1.00 out of 1.00
Flag question

Question text
Which of the following is not included in the oracle environment?

Select one:

a.
NSL_LANG

b.
oracle_base

c.
oracle_sid

d.
Oracle_instance

Question 41
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following is not part or Oracle Installation System Requirement.

Select one:

a.
Memory

b.
Operating System

c.
Disk Space

d.
File Manager

Question 42
Correct
Mark 1.00 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.
ROLLBACK TO SAVEPOINT

b.
SAVEPOINT

c.
COMMIT

d.
ROLLBACK

Question 43
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which of the following System Privileges is not part of SYSTEM privilege?

Select one:

a.
CREATE INDEX

b.
CREAT VIEW

c.
CREATE TABLE

d.
CREATE SESSION

Question 44
Incorrect
Mark 0.00 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.
Checkpoint Process (CKPT)

c.
Database Writer Process (DBWn)

d.
Process Monitor Process (PMON)

Question 45
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Which three (3) of thefollowing is the three Data Manipulation Langauge that is considered as part of database transaction.

Select one or more:

a.
ROLLBACK

b.
CREATE TABLE

c.
COMMIT

d.
INSERT

e.
DELETE

f.
UPDATE

g.
SELECT

Question 46
Not answered
Marked out of 1.00

Flag question

Question text
This is used to remove a privilege granted to a user.

Select one:

a.
CANCEL

b.
DELETE

c.
REVOKE

d.
REMOVE

Question 47
Correct
Mark 1.00 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.
Communication

b.
session

c.
Connection

d.
User process

Question 48
Incorrect
Mark 0.00 out of 1.00

Flag question

Question text
It is a type 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 49
Correct
Mark 1.00 out of 1.00

Flag question

Question text
It is the key to solving the problems of information management.

Select one:

a.
Database server

b.
Storage server

c.
SQL server

d.
Oracle server

Question 50
Correct
Mark 1.00 out of 1.00
Flag question

Question text
It is a type of privilege that gain access to the database

Select one:

a.
Object

b.
Schema

c.
System

d.
Table / View

You might also like