0% found this document useful (0 votes)
39 views18 pages

Database Development and Security Module

Uploaded by

Mizoo da Silva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views18 pages

Database Development and Security Module

Uploaded by

Mizoo da Silva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

x

SWDDD402
BDCPC301 - Develop Database

Competence
RQF Level: 4 Learning Hours
70
Credits: 7

Sector: ICT and Multimedia

Trade: Networking and Internet Technologies

Module Type: General

Curriculum: ICTNIT4002 TVET Certificate IV in Software Development

Copyright: © Rwanda TVET Board, 2023


Issue Date: September 2023
Purpose statement This module describes the knowledge, skills and attitudes to be acquired by
the learner to Analyse database, design database, implement database and
secure database. At the end of this module the learner will be able to analyse
database, design database, implement database and secure database.
Learning assumed
to be in place
Delivery modality Training delivery 100% Assessment Total 100%

Theoretical content 30% 30%


Practical work:
Group project and 20% Formative
50%
presentation 70% assessment 70%
Individual project 50%
/Work
Summative Assessment 50%

Elements of Competence and Performance Criteria

Elements of Performance criteria


competency
1.1 Database fundamentals are properly described based on database
standards

1. Analyse Database 1.2 Data dictionary is clearly described based on database model
1.3 Database Task requirements are properly identified based on user
requirements
2.1 Conceptual Database schema is properly designed based on system
2. Design Database
requirements

1|Page Employable Skills for Sustainable Job Creation


2.2 Logical Database schema is properly designed based on system
requirements

2.3 Database optimization is effectively enforced based on database


schema

2.4 Physical Database Schema is appropriately created based on the


Physical Data Model.

3.1 Data definition language commands are effectively applied based on


database schema

3.2 Data manipulation language commands are effectively applied based


on database schema

3.3 Data control language commands are effectively applied based on


database schema
[Link] Database
3.4 Data Query Language commands are effectively applied based on
database schema

3.5 Transaction Control Language commands are effectively applied


based on database schema

4.1 Access control is properly enforced based on database security


measures

4.2 Auditing and logging are clearly managed based on the security
policies
4. Secure Database
4.3 Data encryption is correctly implemented based on data security
measures

4.4 Backup and Recovery of data are regularly configured based on DBMS

2|Page
Employable Skills for Sustainable Job Creation
Course content

Learning outcomes At the end of the module the learner will be able to:
1. Analyse Database
2. Design Database
3. Implement Database
4. Secure Database

Learning outcome 1: Analyse Database Learning hours: 15


Indicative content

• Description of database fundamental


ü Definition of key terms

Database

Data

Information

Entities

Attributes/Field

Cardinalities

Property

Records

Table

Database schema

Database management System (DBMS)

3|Page
Employable Skills for Sustainable Job Creation
Structured Query language (SQL)
ü Application of database
ü Identification of database models

Relational database

Hierarchical database

Network database

Object oriented model


ü Identification of database Relationship

Define relationships

One to one

One to many

Many to many
ü Determination of data types

Character

Number

Date
• Description of data dictionary
ü Definition of data dictionary
ü Elements of data dictionary
• Identification of database requirements
ü Types of database requirements

Functional requirement

Non-functional requirement
ü Methods to collect data

Interview

4|Page
Employable Skills for Sustainable Job Creation
Documentation

Questionnaire

Observation

Resources required for the learning outcome

Equipment § Computer

Materials § Internet

Tools §

Facilitation § Brainstorming
techniques § Demonstration
§ Group discussion practical work
Formative assessment § Written assessment
methods /(CAT) § Oral presentation
§ Performance assessment

Learning outcome 2: Design Database Learning hours: 20


Indicative content
• Description of database schema
ü Introduction of database schema
ü Types of database schema
ü Data abstraction levels
ü Types of data independence
• Design of conceptual database schema
ü Description of conceptual database schema

5|Page
Employable Skills for Sustainable Job Creation
ü Entity relationship diagram (ERD)

Description of ERD

Components of ERD

Create an ERD

Draw an ERD (MS-Visio, Draw-Max)


• Design of logic database schema
ü Description of logic database schema
ü Table constraints

NOT NULL Constraint.

UNIQUE Constraint.

DEFAULT Constraint.

CHECK Constraint.

PRIMARY KEY Constraint.

FOREIGN KEY Constraint.


ü Convert conceptual database schema to logic database schema
• Optimization of database
ü Data normalization

First normal form (1NF)

Second normal form (2NF)

Third normal form (3NF)


ü Indexing
• Design of Physical database schema
ü Description of DBMS
ü Preparation of DBMS Environment (MySQL)
ü Convert logic database schema to physical database schema

6|Page
Employable Skills for Sustainable Job Creation
Resources required for the learning outcome
Equipment § Computer
Materials § Internet

Tools § E-Draw max


§ Microsoft Visio
§ MySQL
Facilitation § Brainstorming
techniques § Demonstration
§ Group discussion practical work
Formative assessment § Written assessment
methods /(CAT) § Oral presentation
§ Performance assessment
§ Project based assessment

Learning outcome 3: Implement Database Learning hours: 20


Indicative content
• Description to SQL
ü Introduction of SQL
ü SQL sub-languages
ü SQL Operators

SQL Arithmetic Operators

SQL Bitwise Operators

SQL Compound Operators

SQL Logical Operators


• Application of DDL commands

7|Page
Employable Skills for Sustainable Job Creation
ü CREATE

Database

Table

Table Constraints
ü Using keyword Alter
ü DROP

Database

Table
ü TRUNCATE Table
ü MODIFY

Database

Table
• Application of DML commands
ü INSERT
ü UPDATE
ü DELETE
ü CALL
ü EXPLAIN CALL
ü LOCK
• Application of data Query language (DQL) Commands
ü SELECT
ü SQL aggregate function
ü SQL clause
• Application of Data control Language (DCL) commands
ü GRANT
ü REVOKE

8|Page
Employable Skills for Sustainable Job Creation
• Application of Transaction Control language (TCL) commands
ü COMMIT
ü SAVEPOINT
ü ROLLBACK
ü SET Transaction
ü SET Constraints

Resources required for the learning outcome


Equipment § Computer

Materials § Internet

Tools § MySQL
§ Apache
§ XAMPP
§ WAMP
§ LAMP
§ Browsers

Facilitation § Brainstorming
techniques § Demonstration
§ Group discussion practical work
Formative assessment § Written assessment
methods /(CAT) § Oral presentation
§ Performance assessment
§ Project based assessment

9|Page
Employable Skills for Sustainable Job Creation
Learning outcome 4: Implement Database security Learning hours: 15
Indicative content
• Enforcement of data access control
ü Description of database security

Introduction of database security

Types of database security


ü Data access control
ü Access control policies

Identify the data classifications

Define roles and permission


ü Authentication

Identify user accounts

Create privileges

Configure the authentication system

Test the authentication system

Monitor and maintain


ü Authorization

Create roles

Assign permissions/privilege to roles

Assign roles to users

Test the authorisation system

Monitor and maintain


• Management of Auditing and logging
ü Logging

10 | P a g e
Employable Skills for Sustainable Job Creation
Identify the logging requirements

Configure logging settings

Monitor log data

Analyse log data

Archive log data

Corrective action
ü Auditing

Identify the data that needs to be audited

Execution of SQL command

Configure audit settings

Review audit

Analyse audit data

Corrective action
• Implementation of Data encryption
ü Description of data encryption
ü Application of encryption technics

Symmetric Encryption

Asymmetric Encryption

Hashing
• Configuration of database backup and restore
ü Introduction of data backup and restore
ü Backup Method

Full backup

Differential backup

11 | P a g e
Employable Skills for Sustainable Job Creation
Incremental backup
ü Backup schedule
ü Create Backup
ü Perform recovery method

Full database recovery

Rollback recovery

Point-in-time recovery
ü Test your backup and recovery plan
Resources required for the learning outcome
Equipment § Computer

Materials § Internet

Tools § MySQL
§ Apache
§ XAMPP
§ WAMP
§ LAMP
§ Browsers
Facilitation § Brainstorming
techniques § Demonstration
§ Group discussion practical work
Formative assessment § Written assessment
methods /(CAT) § Oral presentation
§ Performance assessment
§ Project based assessment

12 | P a g e
Employable Skills for Sustainable Job Creation
Integrated/Summative assessment

Integrated situation
D-STORE Ltd is a company that generates revenue from selling furniture products, It’s located in
Nyabihu district, western province.

D-STORE Ltd uses file system (books) to record information about the sales and inventory.
Company has a problem of non-efficient security, accessibility and management of information about
the stock-in, stock-out and customers. D-STORE Ltd company wants to switch to a digital system that
can be accessed easily by authorized employees.

They hired a database developer who develops for them the database that can be used to manage
sales, inventory, customer data, and to generate an invoice for all any placed order.
Tasks to be performed:
1. Analyze the database requirements and identify the different data sources that need to be
integrated.
2. Based on the requirements, design a database that includes conceptual database schema and
logic database schema. also prepare a MySQL DBMS environment
3. In this stage, create the physical database schema by applying SQL commands in DBMS and
Developer must developer a query to insert customer order with the following information:
Customer information and product information. And make another query to retrieve data to
be on invoicing such us: Customer information and product information, after that a
developer also must generate a product status report.
4. Perform database access control: apply database user authentication, database authorization
user and audit logs
5. Configuration of database backup
Instruction

13 | P a g e
Employable Skills for Sustainable Job Creation
1. Database is needed in 6 hours
2. Build the database with respect of table constraints
3. No Data redundancy allowed in database
4. All query performed must documented
5. D-STORE Ltd has the following employees’ positions:
o Managing director: They manage all company activities
o Stock manager: Manage and control all product in and out of the stock
o Stocker worker: Record sold products
Tools § MySQL, Apache, XAMPP, WAMP, LAMP, Browsers, E-Draw
max

Equipment § Computer

Materials/ Consumables § Internet

Assessable Assessment criteria (Based Observation Marks


Indicator
outcomes on performance criteria) Yes No allocation

Analyse Gathering requirements Database 5


database: requirement
documentation is
(10%) papered
Database Conceptual and logic Entities are drown 3
design: database schema design Attributes are drown 2
Primary key are 1
(30%) shown
Foreign key are 1
shown

14 | P a g e
Employable Skills for Sustainable Job Creation
Relationship are 2
identified
logic database 2
schema is sketched
Prepare DBMS XAMPP is installed 2
Environment Apache is started 1
MySQL is started 1
Implement Apply SQL Commands Database is created 2
database: Tables are created 2
Relationship is 2
(40%) created
Data are inserted 2
Product Order is 4
performed
Invoice data are 4
Fetched
Payment status are 2
updated
Product quantities 2
are updated
Database users are 2
Secure created
Apply database access
database: Roles are created 1
control
(20%) Privileges are 2
assigned to roles

15 | P a g e
Employable Skills for Sustainable Job Creation
Roles are assigned to 2
users
Logs are defined 1
Configure backup and Backup is created 2
restore
Total marks 50
Percentage Weightage 100%
Minimum Passing line % (Aggregate): 70%

Reference:

Afyouni, H. A. (2008 January 01). Database security and Auditing: Cengage Learning.

Afyouni, H. A. (2008 January 01). Database security and Auditing. Cengage Learning.

Carlos Coronel, S. M. (2018-01-01). Database System. Cengage Learning.

eghfjgh. (n.d.). esdfgh. rtygjh.

[Link]. (n.d.). What is a database schema? Retrieved from [Link]


[Link]

[Link] (n.d.). TCL Commands. Retrieved from


[Link] [Link]

IBM. (n.d.). Authentication versus access control. Retrieved from [Link]


[Link]
access-control

Intellipaat. (n.d.). SQL Commands. Retrieved from [Link]


[Link]

16 | P a g e
Employable Skills for Sustainable Job Creation
JavatPoint. (n.d.). Database Schema. Retrieved from [Link]
[Link]

[Link]. (n.d.). Description of the database normalization basics. Retrieved from


[Link] [Link]
us/office/troubleshoot/access/database-normalization-description

Radmacher, M. A. (2017). Developing SQL Databases. Mary Anne Radmacher.

Reagan, R. (2012). SQL Server® 2012 T-SQL Fundamentals. Ronald Reagan.

[Link]. (n.d.). RelationalDBDesign. Retrieved from


[Link]: [Link]
design/module4/intro-requirements-
[Link]#:~:text=Requirements%20Analysis%20is%20the%20stage,data%20needs
%20to%20be%20accessed.

17 | P a g e
Employable Skills for Sustainable Job Creation

You might also like