CompTIA DataSys+ · Domain 3 of 5

CompTIA DataSys+ Domain 3: Database Management and Maintenance

The heaviest DataSys+ domain and the daily work of a DBA: watching the database against a baseline, tuning and patching it under change control, documenting it, and shaping data with tables, views and indexes.

Exam weight
25%
Official objectives
4
Estimated questions estimate
~23
Suggested study time estimate
25–35 hrs

About 16 min read Reviewed October 2026

Overview

Database Management and Maintenance is what happens after go-live. Objective 3.1 covers monitoring and reporting: alerts on storage growth, usage, throughput and CPU, memory, disk and operating system resources; baselines and trends; job, replication and backup alerts; transaction and system logs; deadlocks; and connection and session counts. Objective 3.2 covers maintenance: query and index optimization, patch management, integrity and corruption checks, table locking, audit log reviews, performance tuning, load balancing, and change management from release schedules to database refreshes.

Objective 3.3 asks you to produce the right documentation (data dictionaries, entity relationship diagrams, maintenance documents, standard operating procedures, compliance documents) with the right tool. Objective 3.4 asks you to carry out data management tasks: modifying and defining data, appending columns, building views, materialized views, indexes, tables and relationships, and handling redundancy and data sharing. It draws on the SQL from Domain 1 and the design from Domain 2.

How it's tested

Domain 3 questions put you on shift as the DBA. A symptom, metric, log entry or request is described, and you pick what it means or what to do FIRST: compare with the baseline, read the execution plan, follow the change process, choose the document that answers a question, or pick the object that meets a data requirement.

  • Interpret the signal

    An alert, log entry or metric is given, such as rising transaction log size, repeated failed logins or a deadlock victim message, and you identify the cause or the right follow-up.

  • Tune in the right order

    A slow query or busy server is described and you choose evidence-based steps, such as checking the execution plan or index fragmentation, before hardware changes.

  • Pick the object or document

    A requirement such as precomputed results, a new attribute, or explaining a column's meaning maps to a materialized view, an ALTER TABLE, a data dictionary or an ERD.

Reasoning it through

CPU on a reporting server reads 85% at 9 a.m., and a manager asks for more cores. Options include adding cores, rebuilding all indexes, comparing the reading with the established baseline, and restarting the service. Without knowing whether 85% at that hour is normal, any change is a guess. Comparing against the baseline is the FIRST step, because it tells you whether there is an anomaly to investigate at all.

Objectives 4

Official objectives from the CompTIA outline, in outline order.

3.1 Explain the purpose of monitoring and reporting for database management and performance.System alerts, baselines and trends, job and replication alerts, logs, deadlocks, and connections and sessions.
What it means
Monitoring sets alerts on storage growth and limits, daily usage, throughput, and CPU, memory, disk space and operating system performance; tracks job completion and failure, replication and backups; reviews transaction and system log files; and watches deadlocks and concurrent, failed and attempted connections and sessions.
What to understand
A baseline records normal behavior over time so an alert threshold means something; trends show growth that capacity planning must absorb. A deadlock occurs when two sessions each hold a lock the other needs, so the engine kills one as the victim and rolls it back, which is different from ordinary blocking that clears when the first transaction finishes. A burst of failed connections can indicate a misconfigured application or a brute-force attempt.
How it shows up
A stem shows an alert or log pattern and asks what it indicates or what to check next, such as transaction log growth after a failed log backup job.
Common confusion
Treating any high reading as a problem without a baseline, or calling long blocking a deadlock when no session was chosen as a victim.
3.2 Explain common database maintenance processes.Query and index optimization, patching, integrity and corruption checks, locking, audit reviews, tuning, load balancing and change management.
What it means
Maintenance keeps the database fast, correct and supported: optimizing queries and indexes, applying updates and security patches, running integrity and corruption checks, managing table locking, reviewing audit logs periodically, tuning to transaction volumes, balancing load, and running every change through change management with release schedules, capacity planning, upgrades, vulnerability remediation, approval, communication and database refreshes.
What to understand
Query tuning starts with the execution plan, looking for table scans, missing indexes and poor join choices. Indexes speed reads but slow inserts and updates, and fragmented indexes are reorganized or rebuilt. Patches are tested in a lower environment and applied in an approved window. A database refresh copies production into a test or development environment, which brings a duty to mask sensitive data.
How it shows up
Scenarios describe slow queries, an urgent vendor patch, a corrupt page or a request to refresh test data, and ask for the correct maintenance step or its order.
Common confusion
Adding indexes to every column to fix slowness, or skipping change approval for an urgent patch instead of using the emergency change process.
3.3 Given a scenario, produce documentation and use relevant tools.Data dictionaries, ERDs, maintenance documentation, SOPs, compliance documents, and UML editors, word processors and spreadsheets.
What it means
The objective names data dictionaries, entity relationship diagrams (ERDs), maintenance documentation, standard operating procedures (SOPs), and organizational and third-party compliance documentation, produced with Unified Modeling Language (UML) editors, word processors and spreadsheets.
What to understand
Match the document to the question it answers: a data dictionary explains columns and allowed values, an ERD shows tables and relationships, maintenance documentation records what was done and when, and an SOP gives repeatable step-by-step instructions. Diagrams belong in a UML or diagramming editor, narrative procedures in a word processor, and tabular inventories or data dictionaries often in a spreadsheet.
How it shows up
A scenario describes a new team member, an auditor or a recurring task and asks which document or tool to produce.
Common confusion
Producing an ERD when the need is to explain what a column's codes mean, which is the data dictionary's job.
3.4 Given a scenario, implement data management tasks.Defining and modifying data, appending columns, views, materialized views, indexes, tables, relationships, redundancy and sharing.
What it means
This objective covers hands-on tasks: defining and modifying data, appending columns, creating new data sets, building views and materialized views, creating indexes, tables and relationships, and managing data redundancy and data sharing.
What to understand
A standard view stores only the query and always returns current data; a materialized view stores the result set, reads fast, and must be refreshed, so it can be stale. Appending a column uses ALTER TABLE and should set a sensible default or allow nulls for existing rows. Normalization reduces accidental redundancy, while planned redundancy such as replicas or summary tables is a deliberate trade for speed or availability.
How it shows up
A requirement is given, such as precomputed dashboard figures, a new attribute or controlled sharing with another team, and you choose the object or statement that fits.
Common confusion
Expecting a materialized view to show real-time data, or a standard view to improve performance on heavy aggregations.

High-yield concepts

The terms, rules and formulas this domain turns into questions most often.

  • Baseline

    A baseline is a record of normal performance and resource use, captured over representative periods, that later readings are compared against.

    Remember
    No baseline, no meaningful threshold; compare first, then act.
    Tested as
    Questions ask what to do first when a metric looks high.
    Trap
    Reacting to an absolute number, such as 80% CPU, that may be normal for that workload and hour.
  • Deadlock

    A deadlock is a cycle in which two or more sessions each hold a lock the other needs, so none can proceed until the engine chooses a victim and rolls it back.

    Remember
    Deadlocks resolve by killing a victim; blocking resolves when the holder finishes.
    Tested as
    Log and alert questions show a deadlock message and ask for the cause or remedy, such as consistent object access order and shorter transactions.
    Trap
    Calling every long wait a deadlock, or fixing it by raising timeouts.
  • Execution plan

    An execution plan shows how the optimizer will retrieve data: scans or seeks, join methods, row estimates and costs.

    Remember
    Read the plan before adding hardware or indexes.
    Tested as
    Tuning scenarios ask for the first diagnostic step on a slow query.
    Trap
    Rewriting queries or adding indexes by guesswork.
  • Index fragmentation and trade-offs

    Inserts and updates fragment indexes over time; reorganizing compacts pages, and rebuilding recreates the index; every index also adds write overhead.

    Remember
    Indexes help reads, cost writes; drop unused ones.
    Tested as
    Maintenance items ask how to handle fragmented or unused indexes, or why inserts slowed after indexing.
    Trap
    Indexing every column of a write-heavy table.
  • Transaction log growth

    The transaction log records every change; in SQL Server's full recovery model, for example, log space is reused only after log backups, so a failed log backup job lets it grow until the disk fills.

    Remember
    Sudden log growth often means log backups stopped, or a long-running open transaction.
    Tested as
    Storage-growth alerts linked to backup job failures.
    Trap
    Shrinking the log file repeatedly instead of fixing the backup job.
  • Integrity and corruption checks

    Integrity checks verify logical and physical consistency of pages, indexes and constraints, for example DBCC CHECKDB in SQL Server.

    Remember
    Run them on a schedule so corruption is found before backups age out.
    Tested as
    Scenarios on checksum errors or unexpected query failures.
    Trap
    Running them only after users report wrong results.
  • Change management

    Change management controls how changes reach production: request, impact and capacity review, approval, scheduled release window, communication, implementation and rollback plan.

    Remember
    Urgent fixes use an emergency change path, not no path.
    Tested as
    Sequencing items ask what must happen before applying a patch or upgrade.
    Trap
    Applying a critical patch immediately without approval or a tested rollback.
  • Patch management

    Patch management tracks vendor updates and security patches, tests them in a lower environment, and applies them during approved windows.

    Remember
    Test, approve, schedule, apply, verify.
    Tested as
    Vulnerability remediation questions.
    Trap
    Patching production first because the vulnerability is severe.
  • Database refresh

    A refresh copies production data into a test or development environment so testing reflects reality.

    Remember
    Mask or de-identify sensitive data during or before the refresh.
    Tested as
    Appears where change management meets data protection.
    Trap
    Copying live personal data into a less protected test environment.
  • View vs. materialized view

    A view runs its stored query each time it is read; a materialized view stores the query's results physically and is refreshed on a schedule or on demand.

    Remember
    Materialized equals fast and possibly stale; view equals current and as slow as its query.
    Tested as
    Requirement-matching items in 3.4.
    Trap
    Promising real-time numbers from a materialized view.
  • Load balancing

    Load balancing spreads connections or queries across several servers, commonly by sending reads to replicas while writes go to the primary.

    Remember
    Read-heavy workloads scale out with replicas; write-heavy ones need other strategies.
    Tested as
    Performance and capacity scenarios.
    Trap
    Sending writes to read replicas, which are typically read-only.
  • Data dictionary vs. ERD vs. SOP

    A data dictionary defines each column, an ERD diagrams tables and their relationships, and an SOP lists the steps for a repeatable task.

    Remember
    Meaning of fields: dictionary. Relationships: ERD. How to do a task: SOP.
    Tested as
    Documentation scenarios in 3.3.
    Trap
    Using an ERD to answer questions about valid codes or units in a column.

Side by side

Concepts candidates mix up, compared on the point that decides the answer.

View vs. materialized view vs. table

ConceptMeaningKey differenceCommon trap
View Saved query evaluated on each read Always current; no stored data Expecting it to speed up heavy aggregations
Materialized view Stored result set of a query Fast reads; needs refresh and can be stale Using it where real-time accuracy is required
Table Stored rows maintained by inserts and updates Holds source data directly Hand-maintaining summary tables that a materialized view could refresh

Deadlock vs. blocking

ConceptMeaningKey differenceCommon trap
Blocking One session waits for a lock another holds Clears when the holding transaction ends Calling it a deadlock and killing sessions at random
Deadlock Circular wait between sessions Engine picks a victim and rolls it back Raising timeouts, which does not break the cycle

Data dictionary vs. ERD vs. SOP vs. maintenance documentation

ConceptMeaningKey differenceCommon trap
Data dictionary Definitions, types and allowed values for each field Explains meaning of data Leaving it stale after schema changes
ERD Diagram of entities and relationships with cardinality Shows structure and links Using it to explain code values
SOP Step-by-step instructions for a recurring task Makes work repeatable by anyone Writing it as a narrative without clear steps
Maintenance documentation Record of maintenance performed, schedules and results Provides history for audits and troubleshooting Not recording changes made during an emergency

Exam traps

Each trap is an answer that looks right. Learn the clue that should change your mind.

  1. Hardware first

    What candidates pick
    Add CPU or memory when a query slows down.
    Why it looks right
    It is quick to approve and often helps a little.
    Why it's wrong
    If the plan shows a table scan or a missing index, extra hardware only masks the cause and the slowdown returns as data grows.

    Clue to watch for A single query or report is slow while the rest of the system is normal.

  2. Shrink the log

    What candidates pick
    Shrink the transaction log file to free disk space.
    Why it looks right
    It immediately clears the disk alert.
    Why it's wrong
    If log backups are failing or a transaction is left open, the log grows straight back; fix the backup job or close the transaction.

    Clue to watch for Log growth alert next to a failed backup job or a long-running open transaction.

  3. Index everything

    What candidates pick
    Create indexes on every column used in any query.
    Why it looks right
    Indexes make reads faster.
    Why it's wrong
    Every index slows inserts, updates and deletes and uses storage; add indexes that match frequent predicates and remove unused ones.

    Clue to watch for The table is write-heavy, or inserts slowed after recent index changes.

  4. Patch now, approve later

    What candidates pick
    Apply a critical security patch to production immediately.
    Why it looks right
    The vulnerability is severe and delay feels risky.
    Why it's wrong
    An untested patch can break production; the emergency change process still requires quick approval, testing where possible, communication and a rollback plan.

    Clue to watch for Any mention of change control, approval or production stability alongside urgency.

  5. Live data in test

    What candidates pick
    Refresh the test environment with an unaltered copy of production.
    Why it looks right
    Testers want realistic data.
    Why it's wrong
    Test environments usually have weaker controls, so personal and payment data must be masked as part of the refresh.

    Clue to watch for Words like refresh, development copy or test environment combined with customer or patient data.

  6. Raise the timeout for deadlocks

    What candidates pick
    Increase lock or query timeouts so transactions stop failing.
    Why it looks right
    Timeouts sound like the cause of the error.
    Why it's wrong
    A deadlock is a circular wait that the engine resolves by choosing a victim; fixes are consistent access order, shorter transactions and suitable indexes.

    Clue to watch for The error mentions a deadlock victim or a transaction chosen to be rolled back.

Answer framework

Use this sequence when a Domain 3 question presents an alert, a slow system, a change request or a data task.

  1. Identify the signal precisely: a resource metric, a log entry, a failed job, a replication or backup alert, a session pattern, or a user request for a data change.
  2. Compare the reading against the baseline, recent trend or expected state for that time of day before deciding anything is wrong.
  3. Gather evidence that points to cause, such as the execution plan, wait and lock information, job history or index fragmentation.
  4. Choose the least disruptive corrective action that addresses the cause, and route production changes through approval, scheduling, communication and a rollback plan.
  5. Document the outcome in maintenance records, update the data dictionary or ERD if the structure changed, and adjust alert thresholds or baselines so the next occurrence is caught earlier.

Practice question

A sales dashboard aggregates 200 million order rows and is opened by hundreds of users every minute, overloading the server. Business owners confirm that figures up to one hour old are acceptable. Which change BEST meets the requirement?

Choose one answer

Want more like this? The CompTIA DataSys+ practice test has questions for every domain.

Checklist

0 of 14

Tick each one you can do without notes. Your ticks stay in this browser.

Study strategy

Start with objective 3.1 and 3.2 together, because monitoring tells you when maintenance is needed. On a practice instance, capture a simple baseline of CPU, memory, disk, sessions and throughput, run a load script, and compare. Then create a deliberate deadlock between two sessions and read the error and the engine's deadlock information, so the difference from blocking is something you have seen.

Next, practice tuning: run a slow query, read its execution plan, add a targeted index, and compare the plan again. Check fragmentation on a busy table and note the write cost of extra indexes. Sketch a change request for a patch with approval, window, communication and rollback.

Candidates tend to underestimate 3.3 because documentation seems obvious. Write a short data dictionary, draw an ERD in a UML or diagramming tool, and draft one SOP for a backup restore so the purpose of each document is clear.

For 3.4, build a view and a materialized view over the same aggregation and time them, then append a column with a default. Afterward, practice scenario questions that ask what to do FIRST, and move to Domain 4, where audit reviews and connection monitoring become security work.

FAQ

How much of DataSys+ DS0-001 is Database Management and Maintenance?

CompTIA weights it at 25%, the largest share of any domain on the exam. CompTIA does not publish per-domain question counts, so any number for this domain is an estimate.

Why is this the hardest domain for many candidates?

It is broad and practical, covering monitoring, tuning, patching, change control, documentation and data tasks. Questions reward an order of operations, such as baseline before action and plan before hardware, which comes from hands-on experience.

Which monitoring metrics should I know?

The objectives name storage growth and limits, daily usage, throughput, CPU, memory, disk space and operating system performance, plus job, replication and backup alerts, log files, deadlocks, and concurrent, failed and attempted connections.

What is the difference between a view and a materialized view?

A view stores only the query and returns current data each time it runs. A materialized view stores the results, reads quickly, and must be refreshed, so it can lag behind the source.

Do I need to know a specific tool for documentation?

The objectives name tool categories, UML editors, word processors and spreadsheets, rather than products. Focus on which document answers which question and which tool category suits it.

How long should I study this domain?

Our 25 to 35 hour figure is an editorial planning estimate, not a CompTIA number. Spend most of it in a lab: capturing baselines, reading execution plans, provoking a deadlock and building views, because the questions assume you have done these tasks.

How does Domain 3 connect to the other domains?

It applies SQL objects from Domain 1, maintains the design documents from Domain 2, feeds security monitoring in Domain 4, and watches the backup and replication jobs that Domain 5 depends on.

Other Data & Analytics certifications

Where the same subject shows up in other exams. Cards marked "Same subject" open the matching domain.

Test your Domain 3 knowledge

You have just worked through baselines, alerts, deadlocks, tuning, change control, documentation and views. See whether you choose the right first step when a scenario hands you a symptom instead of a cause.

Keep going