Вы находитесь на странице: 1из 5

DBA test for CTS

Total marks=75 [25+(5*10)]


Time=2HR
1. Each tablespace in an Oracle database consists of one or more files called
A.files B.name space c. datafiles D.PFILE
2. LGWR process writes information into
A. Datafiles B. Control files C. Online redo log files D.all of these
3. Database overall structure maintained in a file called
A. Datafiles B. Control files C. Online redo log files D.all of these
4. All datafiles related to a tablespace are removed when tablespace is dropped.
A. True B. False
5. Multiple tablespace can share a single datafile.
A. True B. False
6. Size of tablespace can be increased by
A. Increasing size of one of the datafile
B. Adding one or more datafile
C. Can not be increased
D. None of above
7. What is a datablock
A. Set of extents
B. Set of segments
C. Smallest storage unit of database
D. None of above
8. Which of the following does not affect the size of the SGA
A. Database buffer
B. Log buffer
C. Stored procedure
D. Shared pool
9. A user receives the following error while executing a query:
ORA-01555: snapshot too old
Identify two solutions to avoid such errors in future. (Choose two)
A. Increase the size of redo log files
B. Increases the size of the undo tablespace
C. Increases size of database buffer cache
D. Increases size of default temporary tablespace
E. Enable retention guarantee for the undo tablespace.
10. You want to be warned automatically when more than 100 sessions are opened with your
database instance.

Identify the action that would help you achieve this.
A. Set the TRACE_ENABLED parameter to TRUE
B. Set the threshold for the Current Logons Count metric
C. Set the LOG_CHECKPOINT_TO_ALERT parameter to TRUE
D. Set the SESSIONS_PER_USER limit in the profiles used by users

11. You created a new user on the database by executing the following command:

SQL> CREATE USER user01 IDENTIFIED BY user01
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp;

Then you granted the following privileges to user01 by executing the following command:

SQL> GRANT CREATE SESSION, CREATE TABLE TO user01;

Which two statements are true in this scenario? (Choose two)
A. The user can not create tables
B. The user can create tables
C. The user cannot query any tables
D. The user can query tables in other schemas if the table owner has granted the SELECT
privilege
12. Which two statements are true regarding undo management? (Choose two)
A. The database can have more than one undo tablespaces
B. The undo data must be purged manually when the transaction is over
C. The UNDO_TABLESPACE parameter is valid only if the UNDO_MANAGEMENT
parameter is set to AUTO
D. Undo management is automatic by default even if the UNDO_MANAGEMENT
initialization parameter is set to NULL
13. You configured the database in the ARCHIVELOG mode. The database was previously running
in the NOARCHIVELOG mode.

Which two statements are true in this scenario? (Choose two)
A. You must perform a log switch after setting the ARCHIVELOG configuration.
B. You can perform only partial backups
C. You can back up the database while it is open and being accessed by users
D. You cannot take any datafile offline in this mode.
E. You can recover the database completely from both instance and media failure.
14. What are the varoius components of physical database structure of Oracle database?(select all
that applied)
A. Datafiles,
B. Redo log files
C. Control files
D. SGA
E. Database buffer cache





15. When a user process fails, what background process cleans up after it?

A. PCLEANE
B. PFILE
C. PMON
D. Both A and C

16. what are the stages of startup process

A. shutdown,nomount,mount,open
B. nomount,open,mount,start
C. mount, nomount,open,start
D. none of these

17. Which three statements are true about the stages of database startup? (Choose three.)

A. Data files and redo log files can be renamed at the MOUNT stage.
B. Control files are read at the OPEN stage for the location of data files.
C. Control files are required to bring the database to the NOMOUNT stage.
D. Data files and redo log files are made available to users at the OPEN stage.
E. Data files and online redo log files are checked for consistency while opening the database.

18. You received complaints about the degradation of SQL query performance. You identified top
SQL queries that consume time. What would be your next step to find out recommendations
about statistics collection and restructuring of the SQL statement to improve query performance?
A. run Segment Advisor
B. run SQL Tuning Advisor on top SQL statements
C. run the Automatic Workload Repository (AWR) report
D. run the Automatic Database Diagnostic Monitor (ADDM) on top SQL statements

19. User Scott has updated the salary of one of the employees in the EMPLOYEES table and has not
committed the transaction. What are the two types of locks that this scenario would lead to?
(Choose two.)
A. null lock on the row being updated
B. null lock on the table containing the row
C. ROW SHARE lock for the row being updated
D. ROW EXCLUSIVE lock for the row being updated
E. shared row-exclusive lock for the row being updated
F. a shareable table lock for the table containing the row
G. exclusive table-level lock for the table containing the row

20. Which is the correct description of the significance of the ORACLE_HOME environmental
variable?
A. It specifies the directory containing the Oracle software.
B. It specifies the directory containing the Oracle-Managed Files.
C. It specifies the directory for database files, if not specified explicitly.
D. It specifies the base directory of Optimal Flexible Architecture (OFA).

21. A user complains that he gets the following error message repeatedly after executing some SQL
statements. The error message forces the user to log off from and log on to the database to continue
his work.ORA-02392: exceeded session limit on CPU usage, you are being logged off
Which action would you take to increase the session limit on CPU usage?

A. Modify the profile assigned to the user.
B. Modify the roles assigned to the users.
C. Modify the object privileges assigned to the user.
D. Modify the system privileges assigned to the users.
E. Modify the value for the RESOURCE_LIMIT parameter in the parameter file.

22. Which two statements about Flashback Query are true? (Choose two.)
A. It is generated by using the redo log files.
B. It helps in row-level recovery from user errors.
C. It can be performed to recover ALTER TABLE statements
D. It fails when undo data pertaining to the transaction is overwritten.

23. You suspect unauthorized data manipulation language (DML) operations on a particular table.
You want to track users who are performing the transactions and the values used in the
transactions. How would you achieve this?
A. by using anonymous PL/SQL blocks
B. by using external tables
D. by auditing
24. You have a text file that maintains information on thousands of items. The end-user application
requires the transfer of that information into a table in the database. What would you use to achieve
this task? (Choose two.)
A. Oracle Text
B. SQL*Loader
C. External table
C. none of these
25. AUDIT DROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL;
What is the effect of this command?
A. One audit record is created for the whole session if user SCOTT successfully drops one or more
tables in his session.
B. One audit record is created for every session when any user successfully drops a table owned by
SCOTT.
C. One audit record is created for each successful DROP TABLE command executed by any user to
drop tables owned by SCOTT.
D. One audit record is generated for the session when SCOTT grants the DROP ANY TABLE
privilege to other users in his session.
E. One audit record is created for each successful DROP TABLE command executed in the session
of SCOTT.

26.explain the components of oracle instance.
27. name the background processes used in oracle instance.
28. what is the role of archiver?
29.What is the default port number for Enterprise Manager?
30. what happen when you type startup force command?
31.What is the default port number of listener?
32.write a query to display datafile associated with USERS tablespace?
33.whatdo you mean by control file must be multiplexed?
34.what is log switch?
35.what do you mean by deadlock?

Вам также может понравиться