CompTIA DataSys + DS0-001 (V1) Exam Practice Test 2

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11201 | Total Attempts: 9,875,275
| Questions: 25 | Updated: Sep 28, 2026
Please wait...
Question 1 / 26
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. A database team plans a schema change, requiring formal approval before implementation, coordinating a release schedule, and communicating the change to affected stakeholders in advance. Which two elements are part of sound change management practice?

Explanation

Requiring formal change approval before implementing a significant change provides a checkpoint to catch potential problems or conflicts before they affect production, and it is an explicitly called-out element of database change management alongside release schedules and capacity planning. Communicating planned changes to affected stakeholders in advance helps avoid surprises and gives dependent teams or applications a chance to prepare for or object to a change that might affect them. Skipping approval or communication to move faster undermines the coordination that change management is specifically designed to provide, increasing the risk of unexpected conflicts or outages.

Submit
Please wait...
About This Quiz
CompTIA DataSys + Ds0-001 (V1) Exam Practice Test 2 - Quiz

This assessment focuses on the CompTIA DataSys + DS0-001 (V1) exam, evaluating essential skills in data management, storage solutions, and system architecture. It is relevant for learners aiming to validate their knowledge and prepare effectively for certification. By taking this practice test, you can identify your strengths and areas fo... see moreimprovement in data systems. see less

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. A backup administrator not only schedules regular backups but also periodically restores them to a test environment to confirm they actually work, and stores copies both on-site for fast recovery and off-site for protection against a site-wide disaster. Which two practices are described here?

Explanation

Testing backups by periodically restoring them to a test environment confirms they are actually usable and complete, rather than simply assuming a backup job that reported success actually produced a valid, restorable backup. Maintaining both on-site backups, for fast recovery from routine issues, and off-site backups, for protection against a site-wide disaster like a fire or flood that could destroy on-site copies along with the primary database, addresses two different recovery scenarios that a single storage location alone cannot fully cover. Skipping backup testing or relying on only one storage location both introduce risks that a disaster recovery plan is specifically designed to avoid.

Submit

3. After successfully failing over to a disaster recovery site during a planned test, a team then works to transition operations back to the original primary site once it has been restored. What is this return-to-normal process called?

Explanation

Failback describes the process of transitioning operations back to the original, now-restored primary site or system after operations were previously shifted to a disaster recovery site or standby during an incident or test. This is an explicitly distinct phase from the initial failover itself, since safely and correctly returning to normal operations requires its own careful validation to ensure the primary site is genuinely ready to resume its normal role without reintroducing the original problem. Regularly testing not just failover but also failback as part of a complete disaster recovery test ensures the organization can fully complete the recovery cycle, not just survive the initial disaster.

Submit

4. A database architecture maintains multiple active nodes serving traffic simultaneously, automatically redirecting traffic away from any node that fails, so users experience no noticeable interruption during a single node failure. What disaster recovery technique does this describe?

Explanation

High availability architectures maintain redundant, typically active nodes serving traffic simultaneously, automatically redirecting traffic away from a failed node so that users experience minimal or no noticeable interruption during a single point of failure. This differs from simpler log shipping alone, which maintains a standby copy but generally requires a more manual or slower failover process rather than seamless, automatic redirection. Achieving true high availability typically requires careful architecture design, including redundant infrastructure, automatic health checking, and traffic redirection mechanisms working together.

Submit

5. A type of malware encrypts an organization's database files and demands payment in exchange for the decryption key needed to restore access. This specific category of malware is called ____.

Explanation

Ransomware encrypts a victim's files, including database files, and demands payment in exchange for the decryption key needed to restore access, representing a particularly disruptive category of malware attack that can render critical systems completely unusable until resolved. Maintaining tested, isolated backups that ransomware cannot also reach or encrypt is one of the most effective defenses, since it allows restoration without needing to pay the ransom or trust that a decryption key will actually be provided. Regularly testing backup restoration procedures, not just taking backups, is essential to confirm this defense will actually work when needed during a real ransomware incident.

Submit

6. A database server's firewall is configured to allow inbound connections only on the specific port the database engine listens on, from a defined set of trusted application server addresses, blocking all other inbound traffic. What security practice does this represent?

Explanation

Restricting inbound firewall access to only the specific port a database engine actually uses, and only from a defined set of trusted source addresses, significantly reduces the attack surface by blocking connection attempts from unauthorized ports or unexpected sources entirely. This is a foundational logical infrastructure security practice, complementing physical security controls like badge access, since even a well-guarded physical server room provides no protection against a network-based attack if the database's ports are left broadly open. Combining this kind of port-level restriction with a properly configured perimeter network placement provides layered protection against unauthorized network access attempts.

Submit

7. A data center requires staff to badge in through a controlled entry point and additionally verify their identity through a fingerprint scanner before reaching the server room. What category of security control does this combination represent?

Explanation

Physical access control restricts who can physically enter a sensitive location, such as a server room, and combining badge access with biometric verification like a fingerprint scanner adds a stronger, harder-to-forge layer of physical identity verification beyond a badge alone, which could potentially be lost, stolen, or shared. This differs from logical access control, which instead restricts access to systems and data through credentials and permissions rather than physical entry to a location. Both physical and logical access controls are typically needed together for comprehensive database infrastructure security, since strong logical controls provide little protection if an attacker can simply walk into the server room and access hardware directly.

Submit

8. A backup automation script authenticates to the database using a dedicated non-human account created specifically for that purpose, rather than an individual administrator's personal login. Which two considerations about service accounts are correct?

Explanation

A service account, like any account, should follow the principle of least privilege, being granted only the specific permissions its automated task genuinely requires rather than broad or administrative access it does not need. Because service account credentials are often embedded in scripts or configuration files, they require careful protection and periodic rotation, similar to how any other sensitive credential should be managed, to reduce the risk of a leaked credential granting broad, long-lived access. Using a dedicated service account rather than an individual's personal login also improves auditability, since actions taken by the service account can be more easily attributed to a specific automated process rather than being confused with a human administrator's manual actions.

Submit

9. An organization defines rules specifying how long different categories of data must be kept before they are either archived to lower-cost storage or permanently purged. What governance concept does this describe?

Explanation

A data retention policy defines how long different categories of data must be retained before they are archived to lower-cost storage or permanently purged, which balances legal, regulatory, and business needs to keep certain data available against the cost and risk of retaining data longer than necessary. Retention requirements often vary significantly by data category, since regulated data like financial or health records may carry specific mandated minimum retention periods. Enforcing a clear retention policy also supports compliance efforts, since it demonstrates a deliberate, documented approach to data lifecycle management rather than ad hoc or inconsistent practices.

Submit

10. A company decommissions old database servers and needs to ensure that sensitive data on their drives cannot be recovered by any means before the hardware is disposed of or repurposed. What category of practice addresses this requirement?

Explanation

Data destruction techniques ensure that sensitive data cannot be recovered from storage media, whether through secure wiping, degaussing, or physical destruction, which is essential when decommissioning hardware that once held sensitive information. This differs from data masking, which instead replaces sensitive values with realistic fake substitutes for ongoing use in a lower environment, rather than permanently and irreversibly removing data before hardware disposal. Choosing an appropriate destruction method often depends on the sensitivity of the data involved and any applicable regulatory requirements for secure disposal.

Submit

11. A poorly normalized database stores a customer's address in every single order record rather than in one central customer table referenced by orders, resulting in the same address being duplicated across thousands of rows. What data management issue does this describe?

Explanation

Data redundancy occurs when the same information is unnecessarily duplicated across many records, such as storing a customer's address in every order rather than referencing it from a single centralized customer record, which wastes storage and creates a risk of inconsistency if the address is updated in some records but not others. Proper normalization techniques address this by storing each piece of information in one authoritative place and referencing it elsewhere through relationships. While some redundancy is sometimes deliberately introduced for performance reasons, such as in certain reporting structures, uncontrolled redundancy like this example is generally considered a data management issue to be corrected.

Submit

12. A database team writes a formal, step-by-step document describing exactly how to perform a recurring task, such as failing over to a standby server, ensuring the process is performed consistently regardless of who executes it. This kind of document is called ____ documentation.

Explanation

Standard operating procedure documentation provides formal, step-by-step instructions for performing a recurring task consistently, regardless of which team member executes it, which reduces the risk of a critical procedure like a failover being performed incorrectly or inconsistently under pressure. SOP documentation often also supports organizational or third-party compliance requirements, since auditors frequently expect to see documented, repeatable procedures for critical operational tasks. Maintaining SOP documentation alongside other design and maintenance documentation, such as data dictionaries and ERDs, gives a more complete picture of both the database's structure and how it is actually operated.

Submit

13. A database administrator notices that a table's existing indexes have become fragmented and less effective after months of frequent inserts and deletes, and rebuilds them to restore query performance. What maintenance activity does this represent?

Explanation

Index optimization involves maintaining and periodically rebuilding or reorganizing indexes that have become fragmented or less effective due to ongoing inserts, updates, and deletes, which restores the query performance benefits the indexes were originally created to provide. Without periodic index maintenance, query performance can gradually degrade even if the query logic itself has not changed, purely due to the physical state of the underlying index structures. This is a routine, recurring maintenance activity distinct from one-time change management or security-focused tasks like data masking.

Submit

14. A caching layer needs extremely fast lookups where each item is retrieved using a single unique identifier, with no need for complex queries across fields. Which NoSQL type is best suited to this access pattern?

Explanation

A key-value store is optimized for extremely fast retrieval of a value using a single unique key, which fits a caching layer's access pattern well, since caching typically involves simple lookups rather than complex multi-field queries. A graph database instead excels at traversing relationships between richly connected entities, which is a different and more complex access pattern than simple key-based lookups. Relational databases support complex joins but generally involve more overhead than a purpose-built key-value store for this specific simple lookup use case.

Submit

15. A database administrator records typical CPU, memory, and query response time values during normal operation, then compares future measurements against this reference to identify meaningful deviations. What practice does this represent?

Explanation

Establishing a baseline configuration records what normal system behavior looks like under typical conditions, which then serves as a reference point for identifying meaningful deviations or trends over time, such as gradually increasing CPU usage that might indicate a developing capacity problem. Without an established baseline, it becomes much harder to distinguish a genuinely concerning deviation from ordinary day-to-day variation in system metrics. This practice supports proactive monitoring and capacity planning, catching developing problems before they escalate into a user-visible incident.

Submit

16. A database administrator configures alerts to trigger whenever a standby replica falls more than five minutes behind the primary database in applying incoming changes. What monitoring concern does this address?

Explanation

Monitoring replication lag alerts administrators when a standby replica falls too far behind the primary database in applying changes, which is important because excessive lag increases both the amount of data that could be lost during a failover and the staleness of any read queries directed to that replica. Left undetected, growing replication lag could silently undermine a disaster recovery plan's actual recovery point objective without anyone noticing until a failure actually occurs. Deadlock monitoring instead addresses transactions blocking each other, which is a related but distinct database health concern from replication timing.

Submit

17. A test suite deliberately submits invalid input, such as an out-of-range value or a malformed date, to confirm the database correctly rejects it with an appropriate error rather than silently accepting bad data. What kind of testing is this?

Explanation

Negative testing deliberately submits invalid, unexpected, or malformed input to confirm that a system correctly identifies and rejects it, rather than silently accepting bad data that could later cause data quality problems or application errors. This complements positive testing, which instead confirms the system behaves correctly when given valid, expected input. Thorough testing before deployment should include both positive and negative test cases to build confidence that the database enforces its constraints correctly under both normal and abnormal conditions.

Submit

18. A team provisions a new database instance, applies initial configuration settings, and imports a starter dataset before running any application traffic against it. Which two activities are part of the installation and configuration phase described in the deployment objectives?

Explanation

Provisioning a new database instance and importing an initial dataset are both explicitly part of the installation and configuration phase of database deployment, alongside related activities like confirming prerequisites, upgrading, and modifying configuration settings. Running production application traffic against the instance would instead represent the system actually going live, which follows installation, configuration, and testing rather than being part of that initial setup phase itself. Properly completing installation and configuration before allowing production traffic helps avoid exposing an improperly configured database to real users and data.

Submit

19. Before building a new database, a team compares its current data infrastructure capabilities against what the new project will require, identifying missing storage capacity and skills the team does not yet have. What planning activity does this represent?

Explanation

A gap analysis compares an organization's current capabilities, such as existing infrastructure, tools, or skills, against what a new project will actually require, explicitly identifying the gaps that must be addressed before or during implementation. This is a foundational planning activity that informs decisions about what new assets, training, or infrastructure investments are needed before the project can succeed. Query optimization and data masking instead address later operational and security concerns, which are unrelated to this upfront planning comparison.

Submit

20. An entity relationship diagram shows that each customer can place many orders, but each order belongs to exactly one customer. What database design concept does this one-to-many relationship describe?

Explanation

Data cardinality describes the numeric nature of a relationship between entities, such as one-to-many, many-to-many, or one-to-one, which in this case reflects that one customer can be associated with many orders, while each individual order belongs to only one customer. Correctly capturing cardinality in the design phase ensures the schema, including foreign keys and any necessary junction tables for many-to-many relationships, accurately reflects the real-world relationships the database needs to represent. Getting cardinality wrong during design can lead to data model changes that are costly to correct after the database is already populated and in production use.

Submit

21. After noticing a performance regression, a database administrator inspects the SQL query text an ORM framework actually generated in order to confirm its validity and understand its impact on the database server. This diagnostic first step of examining the generated query is commonly called reviewing the ____ code.

Explanation

Reviewing the SQL code an ORM framework actually generates is a critical diagnostic step when troubleshooting an unexpected performance problem, since ORMs can sometimes produce inefficient queries, such as those retrieving far more data than necessary or using suboptimal join strategies, without the developer realizing it from the object-oriented code alone. Confirming the validity of this generated code and assessing its actual impact on the database server are explicitly part of the process for gauging how programming choices affect database operations. Where the generated SQL proves problematic, a database administrator may need to recommend an alternate approach, such as a more targeted native query for that specific operation.

Submit

22. A database administrator writes a script using native operating system commands to automate a recurring backup task on a Linux server, without relying on a database-specific scripting language. What category of scripting does this represent?

Explanation

Command-line scripting uses operating system-level commands and scripting languages, such as Bash on Linux or PowerShell on Windows, to automate tasks like backups, file management, or scheduling, operating at the operating system level rather than exclusively within the database engine itself. This is a distinct category from server-side stored procedures, which run within the database engine using its own procedural SQL extensions. Choosing command-line scripting for an operating-system-level task like file backup management is often more natural than trying to accomplish the same task purely through database-internal stored procedures.

Submit

23. A database automatically logs an entry to an audit table every time a row in the employees table is updated, without any application code explicitly calling a logging function. What database object is responsible for this automatic behavior?

Explanation

A trigger automatically fires in response to a specified database event, such as an update to a particular table, executing defined logic like writing an audit log entry without requiring any application code to explicitly invoke it. This differs from a stored procedure or function, both of which must be explicitly called by name to execute, rather than firing automatically in response to an event. Triggers are commonly used for exactly this kind of automatic auditing, as well as enforcing complex business rules that go beyond standard constraints.

Submit

24. A database administrator writes a query that operates on an entire result set at once rather than row by row, and separately wraps several related statements in a transaction that can be rolled back if any statement fails. Which two SQL concepts, respectively, describe these two practices? (Select two.)

Explanation

Set-based logic operates on an entire result set as a single unit, which is generally more efficient in SQL than iterating row by row, since relational database engines are optimized to process sets of rows together. Transaction control language commands, such as COMMIT and ROLLBACK, manage a group of related statements as a single transaction, allowing all of them to be undone together if any one of them fails, which preserves data consistency. Confusing these two concepts would miss the point of each, since set-based logic concerns how a query processes data, while TCL concerns how a group of statements is committed or rolled back as a unit.

Submit

25. A social networking application needs to efficiently answer queries like 'find all friends of friends within three degrees of separation,' which involves traversing many interconnected relationships. Which database type is purpose-built for this kind of query?

Explanation

A graph database is purpose-built for efficiently traversing relationships between richly connected entities, which is exactly the access pattern needed to answer multi-degree relationship queries like finding friends of friends within a social network. Relational databases can technically answer these queries through repeated joins, but performance often degrades significantly as the number of traversal hops increases, which is precisely the weakness graph databases are designed to address. Neo4j is a widely used example of a graph database built specifically for this kind of connected-data traversal.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (25)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
A database team plans a schema change, requiring formal approval...
A backup administrator not only schedules regular backups but also...
After successfully failing over to a disaster recovery site during a...
A database architecture maintains multiple active nodes serving...
A type of malware encrypts an organization's database files and...
A database server's firewall is configured to allow inbound...
A data center requires staff to badge in through a controlled entry...
A backup automation script authenticates to the database using a...
An organization defines rules specifying how long different categories...
A company decommissions old database servers and needs to ensure that...
A poorly normalized database stores a customer's address in every...
A database team writes a formal, step-by-step document describing...
A database administrator notices that a table's existing indexes have...
A caching layer needs extremely fast lookups where each item is...
A database administrator records typical CPU, memory, and query...
A database administrator configures alerts to trigger whenever a...
A test suite deliberately submits invalid input, such as an...
A team provisions a new database instance, applies initial...
Before building a new database, a team compares its current data...
An entity relationship diagram shows that each customer can place many...
After noticing a performance regression, a database administrator...
A database administrator writes a script using native operating system...
A database automatically logs an entry to an audit table every time a...
A database administrator writes a query that operates on an entire...
A social networking application needs to efficiently answer queries...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!