Professional Documents
Culture Documents
The most important part of the database administrator’s (DBA) skill set is the ability
to solve various database problems in a time pressured environment. During this
practical exam you will be presented with a few very common problems that might
occur in the database. You will need to investigate and describe the potential cause of
each problem and provide a solution including SQL commands and your explanation.
1.
Learning outcomes:
Critically evaluate the concepts and tools of the database management system.
Demonstrate systematic knowledge of the database architecture.
Design database backup and recovery strategy.
Develop critical awareness of issues relating to database management and practical
skills to solve common database administration problems.
(a) Creating and managing user accounts are the most common
responsibilities of the DBA. Using SQL commands create a user
account with the following requirements. Provide an explanation for
every step.
[15 marks]
(b) One of your database users mgr101 can login to the database
successfully, but when they try to execute SQL command SELECT *
FROM products; they get an error ORA-00942: table or
view does not exist.
6. Undo data will always be kept until the transaction that generates it
completes with a COMMIT or a ROLLBACK.
[14 marks]
2.
Learning outcomes:
Critically evaluate the concepts and tools of the database management system.
Demonstrate systematic knowledge of the database architecture.
Design database backup and recovery strategy.
Develop critical awareness of issues relating to database management and practical
skills to solve common database administration problems.
(a)
(i) Describe the concept of a database view.
[6 marks]
[3 marks]
(iii) You need to create a table REGIONS that will belong to the
user OE and will be stored in the tablespace STOCK. That table should
have two columns: ID – to store numeric data and NAME – to store a
variable-size character data. Provide SQL statement to implement
these requirements and explain it.
[4 marks]
(c) One of your users is complaining that he cannot login to the database
using his username (abc77) and password (abc_pass) because he
receives an error ORA-28000: the account is locked.