CompTIA DataSys+ (DS0-001) – Comprehensive
Practice Exam a well detailed one
written and graded A+ upgraded Comprehensive
150-Question Practice Examination Covering All
Five CompTIA DataSys+ Domains: Database
Fundamentals (24%), Database Deployment (16%),
Database Management and Maintenance (25%),
Data and Database Security (23%), and Business
Continuity (12%) — Designed for Advanced
Database Administrators and IT Professionals
Seeking Certification Mastery
DOMAIN 1: DATABASE FUNDAMENTALS (24%)
Questions 1–36
Question 1
Which of the following SQL commands is used to remove all rows from a table without logging
individual row deletions, thereby making it faster than a DELETE statement?
, 2
A. DROP TABLE
B. TRUNCATE TABLE
C. DELETE FROM table WHERE 1=1
D. REMOVE TABLE
-” detailed answer 100 % correct :-”B
Rationale: TRUNCATE TABLE removes all rows from a table by deallocating data pages and logs
only page deallocations, making it significantly faster than DELETE which logs each row deletion.
DROP TABLE removes the table structure entirely, not just the data.
Question 2
A database administrator needs to ensure that a series of SQL operations either all complete
successfully or none are applied. Which ACID property guarantees this behavior?
A. Atomicity
B. Consistency
C. Isolation
D. Durability
-” detailed answer 100 % correct :-”A
Rationale: Atomicity ensures that a transaction is treated as a single, indivisible unit — either all
operations within the transaction are committed or none are. Consistency ensures data
integrity, Isolation manages concurrent transactions, and Durability guarantees committed
changes persist.
Question 3
Which of the following is a characteristic of a NoSQL document database?
A. Data is stored in tables with fixed schemas
B. Data is stored as JSON or BSON documents
C. Data requires normalization to eliminate redundancy
D. All queries must use SQL syntax
-” detailed answer 100 % correct :-”B
, 3
Rationale: Document databases like MongoDB store data as documents, typically in JSON or
BSON format, with flexible, schema-less structures. Relational databases use fixed schemas and
tables, not document stores.
Question 4
Which TCL command permanently saves all transaction changes to the database?
A. SAVEPOINT
B. ROLLBACK
C. COMMIT
D. CHECKPOINT
-” detailed answer 100 % correct :-”C
Rationale: COMMIT is the Transaction Control Language (TCL) command that permanently saves
all changes made during the current transaction to the database. ROLLBACK undoes changes,
and SAVEPOINT creates a point within a transaction.
Question 5
An organization needs to store massive amounts of unstructured user-generated content with
high write throughput and horizontal scalability. Which database type is most appropriate?
A. Relational database
B. NoSQL database
C. Data warehouse
D. Flat file system
-” detailed answer 100 % correct :-”B
Rationale: NoSQL databases are designed for unstructured or semi-structured data, high write
throughput, and horizontal scalability. Relational databases are optimized for structured data
with strict schemas and ACID compliance.
Question 6
Which SQL clause is used to filter rows after the GROUP BY operation has been applied?
, 4
A. WHERE
B. HAVING
C. FILTER
D. ORDER BY
-” detailed answer 100 % correct :-”B
Rationale: HAVING filters groups created by GROUP BY, applying conditions to aggregated
results. WHERE filters individual rows before grouping, ORDER BY sorts results, and FILTER is not
a standard SQL clause for this purpose.
Question 7
In the CAP theorem, which property ensures that every read receives the most recent write or
an error?
A. Availability
B. Consistency
C. Partition tolerance
D. Durability
-” detailed answer 100 % correct :-”B
Rationale: The CAP theorem states that a distributed data system can only guarantee two of
three properties: Consistency (all nodes see the same data at the same time), Availability (every
request receives a response), and Partition tolerance (the system continues to operate despite
network partitions).
Question 8
A developer needs to create a new table in a database. Which SQL command should be used?
A. ALTER TABLE
B. INSERT INTO
C. CREATE TABLE
D. MODIFY TABLE
-” detailed answer 100 % correct :-”C