INTERNATIONAL HIGHER DIPLOMA IN COMPUTER STUDIES

advertisement
International Diploma in Computer Studies
Oracle 8i
Registration No.
̶
̶
Answer ALL questions.
Time: ONE hour and 10 minutes reading time
Reference materials are NOT allowed.
1.
Which of the following is NOT part of the physical structure of an Oracle Database?
A) Data Files
B) Log Files
C) Control Files
D) Code Files
2.
It contains an initialization parameter that controls the behavior and characteristics of the database and its
instances.
A) init.ora
B) ifile
C) crbdsid.ora
D) initsid.ora
3.
_______ is graphical system management tool that allows a user to perform multiple tasks in a complicated
database environment.
A) Sql *Plus
B) PL/SQL
C) OEM
D) Pre-compilers
4.
What type of data dictionary view which contains all the tables available for the user?
A) USER_SEGMENTS
B) USER_ALL_TABLES
C) USER_DB_LINKS
D) USER_CLUSTERS
5.
What statement is used to retrieve data from the database?
A) Select
B) Alter
C) Update
D) Insert
6.
Tablespaces can be used to organize database contents.
A) True
B) False
7.
What parameter is used by Oracle to determine the instance to which the user will connect?
A) ORACLE_HOME
B) ORACLE_SID
C) PATH
D) ORACLE_NLS
8.
It specifies one or more files to be used as a redo log files.
A) CONTROLFILE REUSE
B) DATAFILE
C) LOGFILE
D) ARCHIVELOG
9.
Which of the following is NOT one of the operations when executing CREATE DATABASE command?
A) Create the data files as specified
B) Create and initializes the specified control files
C) Creates the data dictionary
D) None of the Above
10. In Oracle, what is the default password for the “internal” account?
A) INTERNALPWD
B) ADMINPWD
C) INTPWD
D) IPWD
11. What OEM component that manage tablespaces, data files and rollback segments?
A) Instance Manager
B) Storage Manager
C) Tablespace Manager
D) Data Manager
12. It is a common service of OEM component that set tables in the schema which can be placed in any Oracle
database in the system.
A) Repository
B) Job Scheduling system
C) Communication Daemon
D) Event Management System
13. _______ contains optional parameters that can be used for tracing Net8 connections.
A) INITSID.ORA
B) TNASNAMES.ORA C) LISTENER.ORA
D) SQLNET.ORA
IDCS/Oracle/0111
Page 1 of 4
14. In Oracle, what term is given to the division of the database into logical units?
A) Segments
B) Log Files
C) Tablespaces
D) Data Files
15. How many data files are there in a large tablespace?
A) 2 up to 1, 022
B) 1 up to 1, 022
D) 1, 022 up to 10, 022
C) 0 up to 1, 022
16. Which alter table space option that readies the files in the tablespace for hot backup?
A) END BACKUP
B) BEGIN BACKUP C) READ ONLY
D) TEMPORARY
17. ______is a storage parameter that defines a multiplier to compute the size of the next extent to be created.
A) INITIAL
B) NEXT
C) PCTINCREASE
D) MINEXTENTS
18. The primary reason for adding indexes to tables is to speed up data retrieval.
A) True
B) False
19. What command is used to assign system privileges to users?
A) PASSWORD SEC
B) CREATE PWD
C) PRIVILEGES
D) GRANT
20. _______command is used to remove object privileges.
A) REMOVED
B) REVOKE
C) DELETE
D) RELEASE
21. Which of the following is used to show all the grants of columns in the database?
A) COLUMN PRIVILEGES
B) USER_COL_PRIVS
C) DBA_COL_PRIVS
D) USER_COL_PRIVS_MADE
22. It refers to the backup of a database’s data file taken while the database is still open.
A) WARM
B) COLD
C) HOT
D) FROSTY
23. What is the interface between RDBMS and end-users?
A) SQL
B) GUI
C) OEM
D) DEVELOPER/2000
24. In Oracle, which of the following is the correct way of defining a number data type?
A) NUMBER ()
B) NUMBER VAR
C) NUM (p, s)
D) NUMBER (p, s)
25. Which of the following is NOT part of the information that data dictionary provides?
A) General Data Structures
B) SQL statements
C) Integrity Constraints
D) Database Users
26. The Tablespace Manager cannot be used to monitor and manage database storage.
A) True
B) False
27. What is the basic storage unit of Oracle database?
A) Oracle block
B) Oracle space
C) Oracle datastore
D) Oracle segment
28. How many transactions slots that Oracle allows to be created in a single block?
A) 205
B) 255
C) 305
D) 355
29. Which of the following is NOT part of the Oracle 8 tools?
A) OEM
B) SQL *Plus
C) Net10
D) Precompilers
30. Which of the following is the second normalization rule?
A) Every non-key column must depend on the primary key.
B) No row or column should contain repeating values.
C) No non-key column can depend on another non-key column.
D) None of the above
31. Which of the following describes the functions performed by Database Management Systems?
A) Store data
B) Manipulate data
C) Maintain data structures
D) All of them
32. Which of the following DBMSs enables to handle objects such as videos, images, pictures?
A) Hierarchical DBMS
B) Network DBMS
C) Relational DBMS
D) Object-oriented DBMS
IDCS/Oracle/0111
Page 2 of 4
33. Which of the following statements is illegal in PL/SQL?
A) Birthdate DATE
B) Id VARCHAR2(5) NOT NULL
C) CONSTANT REAL :=8000.00
D) None of the above
34. The last SQL command that you typed will be stored temporarily in the buffer. To execute a previous
command, put ______ in the prompt.
A) /
B) \
C) |
D) <
35. Why is it better to use an INTEGRITY CONSTRAINT to validate data in a table than to use a STORED
PROCEDURE?
A) Because an integrity constraint is automatically checked while data is inserted into or updated in
a table while a stored procedure has to be specifically invoked.
B) Because the stored procedure occupies more space in the database than a integrity constraint definition
C) Because a sorted procedure creates more network traffic than an integrity constraint definition
D) Because a stored procedure is difficult to create as compared to integrity constraint
36. Which of the following is TRUE for the SYSTEM VARIABLE $$date$$?
A) Can be assigned to a global variable
B) Can be assigned to any field only during design time
C) Can be assigned to a specific variable or field during run time
D) None of the Above
37. Which of the following segments hold the intermediate results of sorts and related processing that are too
large to be completed in the available memory?
A) Data segments
B) Intermediate segments
C) Temporary segments
D) Index segments
38. Which of the following data dictionary views describes all object audit options?
A) DBA_OBJECT_AUDIT
B) USER_AUDIT_OBJECT
C) DBA_AUDIT_OBJECT
D) AUDIT_ACTIONS
39. Which of the following 3GL languages are supported by the oracle pre-compilers?
A) Pro*Cobol
B) Pro*C++
C) Pro*Ada
D) All of them
40. Which background process is responsible for writing data that has changed to the database?
A) SMON
B) PMON
C) LGWR
D) ARCH
41. Which data dictionary view would you use to get a list of all database users and their default settings?
A) ALL_USERS
B) USERS_USERS
C) DBA_USERS
D) V$SESSION
42. What does CLI stands for?
A) Common Line Interface
C) Command Line Interface
B) Common Language Infrastructure
D) None of Them
43. Which of the following is a numeric function?
A) TO_CHAR
B) TO_DATE
C) DECODE
D) TRUNC
44. Data Links are used to establish ______ relationship between queries and groups via column-matching.
A) Parent-child
B) Master-detail
C) One-to-many
D) None of the above
45. Which of the following statements is NOT correct?
A) Clusters allow you control of how data is physically stored on the disk and accessed.
B) LOCK TABLE locks a table in one of three specified modes: SHARE, SHARE UPDATE,
EXCLUSIVE.
C) The three system privileges are CONNECT, OPERATE and DBA.
D) None of the above
46. Which of the following options allows the unchanged password to expire after a number of days?
A) PASSWORD_LOCK_TIME
B) PASSWORD_LIFE_TIME
C) PASSWORD_GRACE_TIME
D) PASSWORD_LOGIN_ACCOUNTS
IDCS/Oracle/0111
Page 3 of 4
47. What is the backup type for the ARCHIVE LOG and NOARCHIVE LOG mode?
A) Full backup
B) cold backup
C) hot backup
D) None of above
48. Which of the following methods CANNOT be used to reduce the Mean Time to Recover (MTTR)?
A) Reduce the size of the components that need to be recovered.
B) Test your backups to avoid any surprises.
C) Normalize the relations in the database.
D) Use Oracle’s table and index partitioning features.
49. Which of the following ALTER TABLESPACE options prevents further writes in the tablespace?
A) READ ONLY
B) READ WRITE
C) NO WRITE
D) WRITE ONLY
50. Which one of the following indexes is suited to situations where columns can have very small distinct
values?
A) Bitmap Index
B) Function Index
C) Reverse-key Index
D) B-Tree Index
IDCS/Oracle/0111
Page 4 of 4
Download