Cyber Security  ·  Level 6
Secure Databases
Chapter 1: Identify database management system
📚 5 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • Review your organization's needs for data storage, access, and security to understand exactly what kind of database is required.
  • Identify and explain different types of database management systems, including relational, object-oriented, NoSQL, distributed, and hierarchical.
  • Compare key features of various DBMSs, such as scalability, concurrency control, backup, recovery, and security measures.
  • Evaluate popular DBMS options like MySQL, Oracle, SQL Server, PostgreSQL, and MongoDB based on your organization's specific requirements.
  • Select the best database management system that fits the functional, technical, and security needs of your workplace.

Mastering these skills will help you confidently choose the right database system to keep data safe and accessible, which is essential for any successful IT environment.

1.1 Meaning of Terms

The terminology surrounding databases and database management systems is fundamental to mastering secure database handling. In Kenyan cyber security contexts, clear understanding of these terms facilitates effective communication among IT teams and strengthens security posture by ensuring precise configurations and controls.

1.1.1 Database

A database is an organized collection of data, generally stored and accessed electronically from a computer system. It enables structured storage, retrieval, and management of information in formats that support querying and reporting. For example, a county government office may maintain a database of citizen records to manage services efficiently while protecting personal data from unauthorized access.

Characteristics of a Database

  • Structured Data Storage: Data is organized in tables or other structured formats to optimize search and retrieval.
  • Data Persistence: Information remains stored even when the system is powered off, ensuring durability.
  • Data Relationships: Databases often store data with defined relationships, allowing complex queries across related data.
  • Multi-user Access: Multiple users can interact with the database concurrently while maintaining data integrity.
  • Security Controls: Access permissions and encryption mechanisms protect data from unauthorized use.

1.1.2 Database Management System (DBMS)

A database management system is software that enables users to define, create, maintain, and control access to the database. It acts as an interface between the database and end-users or applications, ensuring data consistency, integrity, and security. In Kenyan banks like Equity Bank, DBMSs are critical for handling millions of transactions securely every day.

Core Functions of a DBMS

  • Data Definition: Allows creation and modification of database schemas.
  • Data Manipulation: Supports querying, insertion, update, and deletion of data.
  • Transaction Management: Ensures atomicity, consistency, isolation, and durability (ACID properties) of transactions.
  • Security Enforcement: Implements authentication, authorization, and auditing.
  • Backup and Recovery: Provides mechanisms to restore data after failures.

1.1.3 Schema and Instance

The schema is the overall logical design or blueprint of the database structure, defining tables, fields, relationships, and constraints. It remains relatively stable over time. The instance refers to the actual data stored in the database at a particular moment, which can change frequently. For example, a hospital's patient database schema defines the structure of patient records, while the instance is the current set of patient data.

Distinctions Between Schema and Instance

  • Schema Stability: Schemas change infrequently as they represent the design.
  • Instance Volatility: Instances change with data operations like inserts or deletes.
  • Design vs Data: Schema describes the format; instance is the actual content.
  • Database Integrity: Schema enforces rules to maintain data integrity in instances.
  • Security Application: Access controls often apply at schema and instance levels.

1.1.4 Data Integrity

Data integrity refers to the accuracy, consistency, and reliability of data throughout its lifecycle. It ensures that data has not been altered improperly, intentionally or accidentally. Cyber security professionals in Kenyan institutions such as the Kenya Revenue Authority (KRA) must maintain data integrity to guarantee trustworthy tax records and prevent fraud.

Types of Data Integrity

  • Entity Integrity: Ensures each table row is uniquely identifiable, typically via primary keys.
  • Referential Integrity: Maintains valid relationships between tables by enforcing foreign key constraints.
  • Domain Integrity: Restricts data types and permissible values for fields.
  • User-Defined Integrity: Implements business rules specific to organizational policies.
  • Physical Integrity: Protects data from hardware failures or corruption.
The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒1.2 Types of Database Systems

Different types of database systems cater to varying data storage needs and processing requirements. Cyber security professionals must understand these types to select systems that align with organizational goals and security standards in Kenya's diverse secto…

🔒1.3 Classification of databases

In the Kenyan cyber security landscape, understanding the classification of databases is crucial for implementing appropriate security controls. Different types of databases serve varied organizational needs across sectors such as banking, healthcare, and gove…

🔒1.4 Database organization approaches

In cyber security, the approach used to organize databases affects data integrity, access control, and vulnerability management. Kenyan organizations must understand these approaches to implement security architectures that align with their operational needs a…

🔒1.5 Database design cycle

The database design cycle is a systematic process that guides cybersecurity professionals in Kenya through the creation of secure, reliable, and efficient databases. In a cyber security context, this cycle ensures that databases not only meet functional requir…

Chapter Summary

This chapter introduced fundamental concepts related to database management systems by first clarifying key terms essential to understanding how databases function. It then explored various types of database systems, highlighting their diverse applications and structures. The classification of databases was examined to distinguish between different data models and organizational frameworks. Several database organization approaches were discussed in detail, including hierarchical, network, relational, object-oriented, and NoSQL models, each with unique characteristics suited to specific data handling needs. The hierarchical and network approaches were described as early methods focused on parent-child and graph structures respectively, while the relational approach emphasized table-based data management. The object-oriented approach integrated complex data types and relationships, whereas NoSQL offered flexible schema designs for handling large-scale unstructured data. Finally, the chapter outlined the database design cycle, emphasizing the systematic process involved in creating effective and secure databases that meet organizational requirements.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. Define the term Database Management System (DBMS) and explain its primary function in cyber security. (4 marks)
  2. Identify and briefly describe three types of database systems commonly used in Kenyan organizations. (6 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Define the term Relational Database Management System (RDBMS) and explain its relevance to securing financial data at a Kenyan SACCO. (4 marks)
  2. Differentiate between Hierarchical and Network database approaches with examples of scenarios where each would be suitable in a county government data system. (4 marks)
🔒18 more in this section.

Chapter Practical Activities

Practical 1: Define and Explain Key Database Management System Terms

Cyber Security · Level 6
Secure Databases
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Write clear definitions and examples for 10 key database management system terms as provided in the printed list.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
PenPrinted list of database terms
Answer booklet (A4 lined paper)
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1Printed list of database terms1 Set per Candidate
2Answer booklet (A4 lined paper)1 Pc per Candidate
3Pen1 Pc per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Define database management system terms
Candidate uses the printed list to identify required terms
(Award 2 marks for correctly identifying all 10 terms or 1 mark for partial identification)
2
Candidate writes clear, relevant definitions for each term
(Award 1 mark per correct and relevant definition; zero if unclear or incorrect)
10
Candidate provides a valid example for each defined term
(Award 1 mark per relevant example illustrating the term; zero if missing or irrelevant)
10
Candidate presents answers legibly and logically
(Award up to 3 marks for neatness, organization, and clarity of writing)
3
Sub-Total25
PRODUCT CHECKLIST
All 10 terms are defined with corresponding examples matching the printed list
(Award 1 mark per term correctly defined and exemplified; zero if missing or incorrect)
10
Sub-Total10
GRAND TOTAL35
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)

Practical 2: Identify and Classify Database System Types

Cyber Security · Level 6
Secure Databases
PRACTICAL ASSESSMENT
TIME: 4 HOURS
⬇ PDFCandidate Instructions (Candidate Tool)

Type: Individual

INSTRUCTIONS TO CANDIDATE:
1.  You are required to perform the following task:
i.  Identify and classify 6 given database system examples into their correct types and classifications with brief explanations on a provided answer sheet.
2.  You have been provided with the following resources for the practical task:
Tools & EquipmentMaterials
List of 6 database system examples
Reference notes on database classification criteria
Answer sheet
⬇ PDFResources Required (Cutting List)
S/NItemQuantity
1List of 6 database system examples (e.g., MySQL, MongoDB, Oracle, Redis, Microsoft Access, Cassandra)1 set per Candidate
2Reference notes on database classification criteria1 copy per Candidate
3Answer sheet for classification and explanation1 per Candidate
⬇ PDFAssessor Guide
Items to be EvaluatedMarks AvailableMarks ObtainedComments
TASK 1: Identification and Classification
Candidate correctly identifies each database system example by name
(Award 1 mark for each correct identification or zero)
6
Candidate correctly classifies each database system as relational, NoSQL, distributed, or in-memory
(Award 1 mark for each correct classification or zero)
6
Candidate provides a brief, accurate explanation for each classification
(Award 1 mark for each clear and relevant explanation or zero)
6
Sub-Total18
PRODUCT CHECKLIST
Completed answer sheet with all database examples correctly identified, classified, and explained
(Award 2 marks for each fully correct and legible entry or zero)
12
Sub-Total12
GRAND TOTAL30
ASSESSMENT OUTCOME:   ☐ Competent    ☐ Not Yet Competent (competent if at least 50%)
🔒

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒Explain and Illustrate Database Organization ApproachesPractical 3
🔒Implement Hierarchical Database Model with Data RetrievalPractical 4
🔒Implement a Network Database Model with Many-to-Many RelationshipsPractical 5
🔒Design and Query a Student Enrollment Relational DatabasePractical 6
🔒Create an Object-Oriented Database Model for a Library SystemPractical 7
🔒Set up and perform CRUD operations on a NoSQL document databasePractical 8
🔒Database Design Cycle Implementation for Student RecordsPractical 9
🔒Compare and contrast database approaches with feature analysisPractical 10
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 19 questions Start quiz ▾
0%
0 / 2
🔒

17 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • Review your organization's needs for data storage, access, and security to understand exactly what kind of database is required.
  • Identify and explain different types of database management systems, including relational, object-oriented, NoSQL, distributed, and hierarchical.
  • Compare key features of various DBMSs, such as scalability, concurrency control, backup, recovery, and security measures.
  • Evaluate popular DBMS options like MySQL, Oracle, SQL Server, PostgreSQL, and MongoDB based on your organization's specific requirements.
  • Select the best database management system that fits the functional, technical, and security needs of your workplace.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.