Graded Quiz: Database Fundamentals :Database Essentials and Vulnerabilities (IBM Cybersecurity Analyst Professional Certificate) Answers 2025
1. Question 1
Purpose of a foreign key in a relational database?
-
✅ To create a link between two tables
-
❌ Ensure data integrity within a single table
-
❌ Represent a unique identifier
-
❌ Store the primary key of a table
Explanation:
A foreign key connects one table to another, enforcing relational integrity between them.
2. Question 2
Best data type for storing a book title?
-
❌ Integer
-
❌ Decimal
-
❌ Date
-
✅ Char
Explanation:
Book titles are text values → stored using CHAR/VARCHAR data types.
3. Question 3
Core objective of a relational database?
-
❌ Perform complex searches
-
❌ Eliminate data redundancy
-
❌ Store unstructured data
-
✅ Organize data into tables based on common attributes
Explanation:
Relational databases structure data into tables with relationships based on shared attributes.
4. Question 4
Purpose of an index?
-
❌ Enforce referential integrity
-
✅ Speed up query performance
-
❌ Eliminate redundancy
-
❌ Store binary data
Explanation:
Indexes improve search efficiency by allowing fast lookup of data.
5. Question 5
Primary characteristic of database permissions?
-
❌ Only allow creating databases
-
❌ Only system-level
-
✅ Enable user access to a specific database or table
-
❌ Only granted by administrator
Explanation:
Permissions control which users can access which database objects (tables, views, etc.).
6. Question 6
Non-relational databases are also known as:
-
✅ NoSQL databases
-
❌ Hierarchical databases
-
❌ Flat files
-
❌ SQL databases
Explanation:
Non-relational systems (key-value, document, graph, column stores) are categorized as NoSQL.
7. Question 7
Primary benefit of non-relational databases?
-
✅ Speed, flexibility, and scale for big data
-
❌ Predefined schema
-
❌ Optimized for tabular data
-
❌ Ensure redundancy
Explanation:
NoSQL databases handle massive, unstructured, or semi-structured data with high scalability.
8. Question 8
What are entities in ER model?
-
❌ Always drawn as ovals
-
❌ Used to design relational databases (true but not best answer)
-
✅ Objects that exist independently in the database
-
❌ Represent relationships
Explanation:
An entity is a real-world object (Person, Product, Order) with attributes.
9. Question 9
Standard language for querying relational databases?
-
❌ JavaScript
-
✅ SQL
-
❌ Python
-
❌ HTML
Explanation:
SQL is the universal language for relational database operations.
10. Question 10
Example of a non-relational database:
-
❌ MySQL
-
✅ MongoDB
-
❌ PostgreSQL
-
❌ SQLite
Explanation:
MongoDB is a document-based NoSQL database.
🧾 Summary Table
| Q No. | Correct Answer | Key Concept |
|---|---|---|
| 1 | Create link between tables | Foreign key |
| 2 | Char | Text storage |
| 3 | Organize data into tables | RDBMS purpose |
| 4 | Speed up queries | Index |
| 5 | Provide user access | Database permissions |
| 6 | NoSQL | Non-relational DB |
| 7 | Speed & scale | NoSQL benefits |
| 8 | Independent objects | Entities in ER model |
| 9 | SQL | Query language |
| 10 | MongoDB | Non-relational DB |