Question 1
EasyWhat is a DBMS?
- A.
An operating system
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
What is a DBMS?
An operating system
Software that stores, manages and retrieves data in databases
A programming language
A type of computer hardware
Answer: B
A database management system (such as MySQL, PostgreSQL or Oracle) handles storage, querying, security and concurrency for databases.
Which is an advantage of a DBMS over plain files?
It works only for small data
No need for any storage
Less data redundancy and better consistency
It needs no software
Answer: C
A DBMS centralises data, enforces constraints and controls concurrent access, avoiding the duplication and inconsistency of separate files.
What does DDL stand for?
Data Definition Language
Dynamic Data Link
Database Driver Library
Data Deletion Language
Answer: A
DDL commands such as CREATE, ALTER and DROP define the structure of database objects.
Which of these is a DML command?
INSERT
GRANT
DROP
CREATE
Answer: A
Data Manipulation Language commands change data: INSERT, UPDATE, DELETE (and SELECT). CREATE and DROP are DDL; GRANT is DCL.
What is metadata in a database?
Data about the data, such as table structures and column types
Encrypted data
Very large data
Deleted data
Answer: A
Metadata is stored in the data dictionary (system catalog) and describes the database itself.
Who is mainly responsible for managing a database's security, backups and performance?
The end user
The compiler
The network router
The database administrator (DBA)
Answer: D
The DBA grants access, plans backups and recovery, and tunes the database.
Which of these is a relational DBMS?
PostgreSQL
Neo4j
MongoDB
Redis
Answer: A
PostgreSQL stores data in tables with SQL. MongoDB (document), Redis (key-value) and Neo4j (graph) are NoSQL databases.
What is a database?
A single spreadsheet cell
An organised collection of related data
A programming language
A type of computer virus
Answer: B
A database stores related data in an organised way so it can be found, updated and shared easily.
In data management, what is data redundancy?
Data stored in the cloud
The same data being stored in more than one place
Data that has been deleted
Data that is encrypted
Answer: B
Redundancy wastes space and can lead to copies that disagree with each other.
What is data inconsistency?
Different copies of the same data holding different values
Data being stored in tables
Data being sorted
Data being backed up
Answer: A
Inconsistency usually follows from redundancy when only some copies are updated.