Sie sind auf Seite 1von 4

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU – 2019-20

Five years Integrated M.Sc. (IT) (Semester-5)


QUESTION BANK
060010515 DSE11 Database Administration
UNIT 4: IMPLEMENTING SECURITY AND AUDITING

SHORT QUESTIONS 1 MARK

1. Which statement is used to create a new database account?


2. Which statement is used to change to an existing user account?
3. Which statement is used to assign new attributes to an existing user account?
4. A schema is a user who owns objects. [True/False]
5. All schemas are users, but not all users are schemas. [True/False]
6. What is naming convention for database user?
7. What does it mean by database user authentication?
8. List the database authentication methods available in Oracle database.
9. How do you create a database account named “AJAY’ and password “pass_ajay” with default tablespace
“ajay_tbs”?
10. How do you assign a default tablespace “ajay_tbs” to an already created database account named
“AJAY”.
11. For what purpose temporary tablespace is used?
12. When temporary segments are created?
13. Which type of data is generally stored in temporary segment?
14. Default tablespace is created during large sorting operations, such as ORDER BY, GROUP BY, SELECT
DISTINCT, MERGE JOIN, or CREATE INDEX.
15. Which tablespace is assigned by database when you do not explicitly assign a temporary tablespace
while the user is created?
16. How default tablespace and temporary tablespace differ?
17. How do you create a database account named “AJAY’ and password “pass_ajay” with temporary
tablespace “ajay_temp”?
18. How do you assign a temporary tablespace “ajay_temp” to an already created database account named
“AJAY”?
19. How do you change the database default temporary tablespace to “default_temp_tbs”?
20. How do you assign a space usage quota (100 MB) on the “user_tbs” tablespace at the time of creating
database user “Ajay”?

Omprakash Chandrakar 1|Page


BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU – 2019-20
21. How do you assign a space usage quota (100 MB) on the “user_tbs” tablespace for already created
database user “Ajay”?
22. What is deferred segment creation?
23. Does it require to have a space quota when a new table is created?
24. Does it require to have a space quota when a record is inserted into a newly created table?
25. Which statement is used to remove a user from the database?
26. What is the significance of CASCADE keyword in the drop user statement?
27. How remove user is different from remove user with cascade option?
28. Which database account is the administrative account of data dictionary?
29. Which database account is the owner of data dictionary?
30. Does the owner of the table needs the INDEX privilege to create an index.

31. User A is owner of a table T. User B created an index on table T? Does user A automatically access the
index created by user B?
32. How do you make an already existing user account to expire its password and lock?

33. List the object privileges for stored PL/SQL programs provided in Oracle 12c.

34. WITH GRANT OPTION can be used when the grantee is a role.

35. WITH GRANT OPTION can be used when the grantee is a user.

36. Which is the most powerful system privilege?

37. Which user has privilege to perform RMAN backup and recovery operations from RMAN or through
SQL?
38. Which privilege allows the grantee to perform Data Guard operations with Data Guard Broker or the
DGMGRL command-line interface?
39. What does SYSKM privilege allow to grantee?

40. List any three default database roles.

Omprakash Chandrakar 2|Page


BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU – 2019-20

SHORT QUESTIONS 2 MARKS

1. Write statement to create a user named “TAJ” and password “MAHAL” with any 4 common optional
clauses.
2. Consider the following scenario: A user Ajay is created with database defaults (default permanent
tablespace, temporary tablespace, and profile) and granted privileges successfully in one statement as
follows:
GRANT CREATE SESSION, CREATE TABLE to Ajay IDENTIFIED BY Ajay_Pass;

Which of following statement(s) is true


A. Ajay is able to create the table B. Ajay does not able to insert a row
C. Ajay does not able to create the table D. Ajay is able to insert a row
3. List any 4 common and administrative privileges on table.

4. User A is owner of a table T. User B wants to create an index on table T? Is it possible? Justify your
answer.
5. Briefly explain two object privileges for stored PL/SQL programs.

6. What are the privileges of SYSDBA and SYSOPER?

7. Explain any two default database roles in brief.

LONG QUESTIONS 5 MARKS

1 Describe database user authentication methods giving an example.

2 What is privileges? Briefly describe with its type.

3 Write a short note on granting and revoking an object privileges.

4 Explain and illustrate how granting an object privilege using the WITH GRANT OPTION keywords and
later revoking that privilege.
5 Describe all the system administrative privileges provided by Oracle 12c.

6 Write a short note on role.


7 What is the objective of profile? Write down the statement to create a profile “USER_PROFILE” with
any of its five options. Also explain each options in brief.

Omprakash Chandrakar 3|Page


BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU – 2019-20
8 Consider database namely ‘INST_DATABASE’ with table namely student. Write a SQL statement to
perform given below task:
1. Create a new user namely ‘faculty’
2. Consider that Roshan is existing user of INST_DATABASE database, now give permission him to
view student detail.
3. Give permission to faculty to modify database.
4. Delete user namely Suresh.
5. Give insert and update permission to Rajesh.

9 Write a SQL statement to perform below given operations:


1. Create a new role in database with ‘DBA_01’.
2. Grant oem monitor privileges to ‘DBA_01’.
3. Give index any table privileges to user ‘DBA_01’.
4. Write a statement to identifying role.
5. Write a statement to disabling role.

Omprakash Chandrakar 4|Page

Das könnte Ihnen auch gefallen