CompTIA DataSys+ DS0-001 Practice Test Questions and Exam Dumps Part16 Q301-320

View Full CompTIA DataSys+ DS0-001 Exam Dumps and Practice Test Dumps

 

Question 301.

A database administrator needs to reduce the risk of data loss when an application accidentally deletes a large number of rows and the deletion is immediately replicated to all standby systems. Which control is MOST important?

  1. Maintain independent, tested backups that are not dependent solely on replication
  2. Increase the number of read replicas
  3. Add more indexes to the affected table
  4. Increase the maximum connection count

Correct Answer: 1. Maintain independent, tested backups that are not dependent solely on replication

Explanation:

Replication improves availability and can provide additional copies of a database, but it does not replace backup and recovery. If an application accidentally deletes data, the same deletion may be replicated quickly to standby systems, leaving every replica in the same incorrect state. Independent backups, snapshots, point-in-time recovery mechanisms, or immutable recovery copies provide a way to return to a known earlier state. These recovery resources should be tested periodically because a backup that cannot be restored provides little practical protection. Read replicas can improve scalability but may propagate the same logical error. Indexes and connection settings do not protect against accidental deletion. A mature recovery strategy therefore combines replication for availability with backups for historical recovery, corruption events, accidental changes, ransomware, and other situations where a synchronized copy alone cannot provide the needed recovery point.

Question 302.

A database administrator needs to restore a database to the state it was in immediately before an accidental DELETE statement at 10:42 AM. Which capability is MOST appropriate?

  1. Full backup only from the previous week
  2. Point-in-time recovery using appropriate backups and transaction logs
  3. Data masking
  4. Index rebuilding

Correct Answer: 2. Point-in-time recovery using appropriate backups and transaction logs

Explanation:

Point-in-time recovery allows administrators to restore a database to a specific moment before an unwanted change occurred. Depending on the database platform, this usually requires a valid base backup plus transaction-log, redo-log, archive-log, or equivalent change records covering the required time period. The administrator can restore the base copy and then replay changes until just before the accidental DELETE. This approach minimizes unnecessary data loss compared with restoring only an older full backup. A week-old backup could lose many days of valid transactions. Data masking protects sensitive information but does not recover deleted records, and index rebuilding addresses performance or index structure rather than historical data state. Point-in-time recovery should be tested regularly, and organizations should retain the required log chain long enough to meet their recovery point objectives and operational recovery requirements.

Question 303.

A company performs a full database backup every Sunday and differential backups every night. A failure occurs on Thursday morning. Which backups are generally required to restore to the latest Wednesday-night differential state?

  1. Only Wednesday’s differential backup
  2. Every differential backup from Monday through Wednesday
  3. Sunday’s full backup and Wednesday’s differential backup
  4. Sunday’s full backup only

Correct Answer: 3. Sunday’s full backup and Wednesday’s differential backup

Explanation:

A differential backup typically contains all changes made since the most recent full backup. Therefore, restoring the latest Wednesday-night differential usually requires the Sunday full backup as the baseline plus the Wednesday differential. Monday and Tuesday differential backups are not normally required because Wednesday’s differential already includes changes since the same full backup. This differs from incremental backup chains, where each incremental may contain changes only since the previous backup and several backup files may be needed during recovery. Exact terminology and restore behavior can vary by platform, so administrators should follow database-specific documentation. Regardless of the backup model, restore procedures should be tested, documented, and measured against RTO and RPO targets. Backup schedules should be designed around recovery requirements rather than convenience alone.

Question 304.

A database administrator wants to ensure backup files have not been corrupted after being copied to another storage system. Which action BEST verifies this?

  1. Rename the backup files
  2. Check only that the files have nonzero size
  3. Store an additional copy in the same folder
  4. Perform integrity verification and periodic test restores**

Correct Answer: 4. Perform integrity verification and periodic test restores

Explanation:

Backup verification should go beyond confirming that files exist. Checksums, platform-supported integrity validation, and especially test restores provide stronger evidence that backup data can actually be used during recovery. A file can have the expected size and still contain corruption, missing blocks, encryption problems, incomplete chains, or other defects that prevent successful restoration. Periodic restore tests also verify operational requirements such as key availability, permissions, documentation, storage access, and administrator familiarity with the recovery procedure. Renaming files offers no integrity assurance, and keeping another copy in the same storage location may not protect against the same hardware failure, corruption event, or ransomware attack. Backup validation should be treated as part of the recovery process, not as an optional task performed only after a disaster occurs.

Question 305.

A company requires database backups to survive both a local storage failure and a ransomware attack. Which strategy BEST supports this requirement?

  1. Keep protected copies on separate storage, including an isolated or immutable copy
  2. Store all backups on the same database server
  3. Give the database application account permission to delete backups
  4. Disable backup encryption

Correct Answer: 1. Keep protected copies on separate storage, including an isolated or immutable copy

Explanation:

Resilient backup architecture separates recovery copies from production failure domains and limits the ability of compromised production credentials to alter or destroy them. Organizations often maintain multiple backup copies on different storage systems and keep at least one copy isolated, offline, immutable, or otherwise protected from routine modification. This concept aligns with widely used multi-copy backup practices such as the 3-2-1 approach. Storing every backup on the database server exposes both production and recovery data to the same hardware failure, administrator error, or ransomware incident. Application accounts generally should not have deletion rights over backup repositories. Encryption should remain enabled when required to protect confidentiality. Backup resilience depends on storage separation, restricted permissions, retention controls, integrity verification, and regular restoration tests.

Question 306.

A database administrator restores an encrypted backup to a new server but cannot open the database because the original encryption key is unavailable. Which administrative practice would have prevented this problem?

  1. Disabling transaction logging
  2. Backing up and securely managing required encryption keys and certificates
  3. Increasing the number of database users
  4. Rebuilding all indexes before backup

Correct Answer: 2. Backing up and securely managing required encryption keys and certificates

Explanation:

Encrypted backups are only useful if authorized administrators can obtain the keys, certificates, or key hierarchy required to decrypt them during recovery. Key-management procedures should therefore include secure backup, escrow, rotation, access control, documentation, and recovery testing. A database backup may be technically intact while remaining unusable if the associated key material is lost. Key copies must also be protected because unauthorized possession can defeat the confidentiality provided by encryption. Transaction logging, user counts, and index maintenance do not solve key-recovery problems. Disaster recovery planning should explicitly include key and certificate dependencies so administrators do not discover during an outage that they have preserved the database files but lost the cryptographic material required to restore them.

Question 307.

A database administrator must choose between frequent incremental backups and fewer full backups. Which factor should have the GREATEST influence on the decision?

  1. The alphabetical order of database names
  2. The number of administrator accounts
  3. Recovery objectives, restore complexity, backup window, and storage capacity
  4. The number of comments in stored procedures

Correct Answer: 3. Recovery objectives, restore complexity, backup window, and storage capacity

Explanation:

Backup design should be driven by business recovery requirements rather than a fixed schedule used for every database. Frequent incremental backups may reduce backup duration and storage consumption, but recovery can become more complex because multiple backup pieces may be required. Full backups simplify certain restore scenarios but may consume more storage and take longer to create. Administrators should consider RPO, RTO, database size, change rate, network bandwidth, retention, off-site transfer requirements, and the reliability of the restore chain. They should also test realistic recovery scenarios rather than evaluating only backup creation time. A strategy that produces backups quickly but cannot restore within the required RTO is inadequate. Administrative account counts and code comments have no meaningful relationship to selecting the correct backup model.

Question 308.

A database administrator is designing a backup schedule for a system with a one-hour RPO. What does the RPO imply?

  1. The database must always recover within exactly one hour
  2. The database can remain offline for one hour
  3. Backups must always be full backups
  4. The recovery strategy should limit potential data loss to approximately one hour or less**

Correct Answer: 4. The recovery strategy should limit potential data loss to approximately one hour or less

Explanation:

Recovery point objective defines the maximum acceptable amount of data loss measured in time. An RPO of one hour means the organization should design backups, replication, log capture, or other recovery mechanisms so that a failure does not normally require losing more than about one hour of committed data. RPO does not specify how quickly service must return; that is the role of RTO. A one-hour RPO might be achieved through hourly backups, frequent transaction-log backups, continuous replication, snapshots, or another supported mechanism depending on the database and business requirements. The backup type itself is not prescribed by the RPO. Administrators should test the actual recovery chain and ensure that monitoring detects failed backups or broken replication that could silently make the effective RPO much worse than the documented target.

Question 309.

Which database recovery objective specifies how quickly service must be restored after an outage?

  1. RTO
  2. RPO
  3. IOPS
  4. MTU

Correct Answer: 1. RTO

Explanation:

Recovery time objective, or RTO, defines the target maximum amount of time a service can remain unavailable following an incident. It influences architecture decisions such as clustering, failover automation, standby readiness, backup technology, recovery staffing, infrastructure provisioning, and application reconnection procedures. A system with a very short RTO may require hot standby infrastructure and automated failover, while a lower-priority archive might tolerate slower restoration from backup. RPO addresses acceptable data loss rather than downtime. IOPS measures storage operations, and MTU relates to network packet sizing. RTO should be validated through realistic disaster recovery tests because theoretical estimates often overlook dependencies such as credentials, DNS, certificates, network routes, application startup, or manual approval steps. Recovery objectives are meaningful only when the entire service can be restored within them.

Question 310.

A company wants to ensure that a database administrator can follow recovery procedures correctly even if the usual senior administrator is unavailable. Which operational artifact is MOST important?

  1. A personal notebook stored at home
  2. A documented and maintained recovery runbook
  3. A screenshot of the login page
  4. An expired maintenance ticket

Correct Answer: 2. A documented and maintained recovery runbook

Explanation:

A recovery runbook provides step-by-step procedures for restoring service during incidents. It should document prerequisites, backup locations, credentials or secure access methods, recovery order, failover steps, validation checks, expected timing, escalation contacts, and rollback or failback procedures. The runbook should be stored in a location accessible during outages and should not depend on one individual’s memory. Recovery exercises should be used to validate and improve the document because procedures can become outdated as infrastructure, database versions, or application dependencies change. Personal notes are risky because they may be unavailable, incomplete, or undocumented for the organization. A screenshot or old ticket does not provide enough operational guidance. Good runbooks reduce confusion and help teams execute consistent recovery actions under pressure.

Question 311.

A database administrator restores a production database into a test environment for troubleshooting. What is the MOST important security consideration?

  1. Ensure sensitive production data is masked, anonymized, or protected appropriately in the lower environment
  2. Remove all primary keys
  3. Disable authentication because the system is only for testing
  4. Increase developer privileges to administrator level

Correct Answer: 1. Ensure sensitive production data is masked, anonymized, or protected appropriately in the lower environment

Explanation:

Production backups often contain personal, financial, regulated, or confidential data. Restoring them into a test environment can expose that information to developers, testers, vendors, or systems that do not have production-level security controls. Organizations should therefore use masking, anonymization, synthetic data, restricted access, encryption, and defined retention practices as appropriate. The test environment should not automatically inherit weaker security simply because it is non-production. Removing primary keys can damage the usefulness of the restored database, while disabling authentication or granting broad administrator privileges would increase risk. Database administrators should also ensure that production credentials, tokens, external integrations, and automated jobs are disabled or replaced so the restored test system cannot accidentally communicate with production services or send real notifications.

Question 312.

A database administrator wants to verify that a disaster recovery plan meets a 30-minute RTO. Which test provides the BEST evidence?

  1. Reviewing the backup file size
  2. Reading the disaster recovery document once
  3. Checking that the standby server responds to ping
  4. Conducting a timed recovery exercise from outage declaration through usable application service**

Correct Answer: 4. Conducting a timed recovery exercise from outage declaration through usable application service

Explanation:

An RTO applies to restoration of usable service, not merely to starting a database instance. A realistic recovery exercise should measure the time required to detect the outage, initiate recovery, restore or fail over the database, validate integrity, reconnect applications, verify dependent services, and confirm that users can perform required business transactions. A standby server responding to ping does not prove that the database is synchronized, applications can connect, or the service functions correctly. Backup size also says little about end-to-end recovery time. Timed exercises expose hidden dependencies, manual steps, credential problems, network issues, DNS delays, or outdated documentation that theoretical planning may miss. Organizations should record actual results and use them to improve architecture and runbooks if the measured recovery exceeds the required RTO.

Question 313.

A database administrator wants to ensure that business-critical tables are restored before less important historical data during a complex recovery. Which planning activity is MOST useful?

  1. Defining recovery priorities and service dependencies in the disaster recovery plan
  2. Sorting table names alphabetically
  3. Increasing password complexity
  4. Disabling alerts during recovery

Correct Answer: 1. Defining recovery priorities and service dependencies in the disaster recovery plan

Explanation:

Recovery planning should identify which databases, applications, tables, services, integrations, and infrastructure components are most critical to business operations. Dependencies matter because restoring one database may not make the application usable if authentication, networking, message queues, or upstream systems remain unavailable. By defining recovery priorities in advance, teams can restore essential functions first and defer lower-value historical or analytical workloads until core operations are stable. This planning should reflect business impact analysis, RTO, RPO, regulatory requirements, and technical dependencies. Alphabetical order has no relationship to business priority, while security controls such as password complexity remain important but do not determine restoration sequence. Alerts should usually remain active so the team can detect failures and resource problems during recovery.

Question 314.

A database backup job shows a successful status, but the administrator discovers that several required databases were excluded from the backup configuration. What is the BEST improvement?

  1. Trust the job status because it was successful
  2. Monitor backup coverage against an authoritative database inventory
  3. Disable job logging
  4. Remove the excluded databases from asset records

Correct Answer: 2. Monitor backup coverage against an authoritative database inventory

Explanation:

A successful backup job proves only that the configured backup operation completed; it does not prove that every required database was included. Organizations should compare backup coverage against an authoritative inventory of production and critical databases so newly created, renamed, migrated, or restored systems are not unintentionally omitted. This process can be automated by checking expected assets against actual backup results and generating alerts for missing protection. Asset ownership and classification can also help determine which backup policy applies to each database. Disabling logs reduces visibility, while deleting systems from inventory hides the problem rather than solving it. Backup governance should verify coverage, retention, encryption, location, integrity, and restore capability so administrators know that all required data is actually protected.

Question 315.

A database administrator needs to determine whether the same backup policy should apply to both a critical payment database and a temporary reporting cache. Which factor is MOST important?

  1. Business criticality and recovery requirements
  2. The number of letters in each database name
  3. The administrator who created the database
  4. Whether the database uses uppercase table names

Correct Answer: 1. Business criticality and recovery requirements

Explanation:

Backup policies should reflect the value and recovery requirements of the data rather than apply identical schedules blindly to every system. A payment database may require a very small RPO, a short RTO, long retention, encrypted off-site copies, and frequent restore testing. A temporary reporting cache that can be rebuilt from an authoritative source may require far less protection. Business impact analysis, data classification, legal obligations, change rate, recoverability, and service-level requirements should guide the backup policy. Overprotecting low-value data can waste storage and operational effort, while underprotecting critical systems can create unacceptable risk. Naming conventions or the identity of the original administrator should not determine recovery design. Policies should be documented, approved, and periodically reviewed as system roles change.

Question 316.

A database administrator discovers that several backup files are older than the organization’s approved retention period. What should be done?

  1. Keep them indefinitely in case they become useful
  2. Copy them to more locations
  3. Dispose of expired backups securely according to retention policy, unless a legal hold applies
  4. Publish them for easier access

Correct Answer: 3. Dispose of expired backups securely according to retention policy, unless a legal hold applies

Explanation:

Backups contain potentially sensitive data and should follow the same lifecycle governance principles as production information. Keeping expired copies indefinitely increases storage costs, privacy exposure, legal discovery scope, and potential breach impact. When a backup reaches the end of its approved retention period, it should be securely deleted, destroyed, or allowed to expire according to documented media and storage procedures. Administrators must first confirm that no legal hold, regulatory requirement, investigation, or business exception requires extended retention. Immutable or offline media may require specific destruction workflows rather than ordinary deletion. The organization should also maintain enough backup history to meet recovery objectives. Publishing backups or creating unnecessary additional copies would increase risk rather than improve lifecycle management.

Question 317.

Which practice BEST supports recovery from database corruption that is discovered several days after it first occurred?

  1. Maintain backup history and recovery points that extend far enough into the past to predate the corruption
  2. Keep only the most recent backup
  3. Depend exclusively on synchronous replication
  4. Disable integrity checking

Correct Answer: 1. Maintain backup history and recovery points that extend far enough into the past to predate the corruption

Explanation:

Some forms of corruption or incorrect data may remain undetected for hours or days. If backup retention includes only the latest state, all available copies may already contain the problem. Retaining multiple historical recovery points allows administrators to select a backup from before the corruption began and then carefully recover or reconcile subsequent valid changes. The retention period should be based on expected detection time, business requirements, storage cost, and compliance obligations. Synchronous replication can spread corruption immediately to replicas, so it does not provide historical recovery by itself. Integrity checking can help detect corruption earlier and should normally be enabled according to platform recommendations. Effective protection therefore combines historical backups, integrity monitoring, replication, and well-tested recovery procedures.

Question 318.

A database administrator notices that backup duration has increased from 30 minutes to four hours over the past year. Which action is MOST appropriate?

  1. Ignore the change because backups still finish
  2. Investigate database growth, change rate, storage throughput, compression, and backup architecture
  3. Disable backup verification
  4. Delete indexes randomly before each backup

Correct Answer: 2. Investigate database growth, change rate, storage throughput, compression, and backup architecture

Explanation:

A steadily increasing backup window may indicate that database growth or infrastructure limits are approaching operational thresholds. The administrator should examine data volume, daily change rate, storage throughput, network bandwidth, backup compression, parallelism, repository performance, and concurrent workload. The backup strategy itself may need adjustment, such as introducing different backup types, storage tiers, snapshot technology, additional bandwidth, or archival of old data. Backup duration matters because long-running jobs can overlap business hours, conflict with maintenance, or fail to meet the next scheduled recovery point. Disabling verification reduces confidence in recoverability, while randomly deleting indexes is unsafe and unrelated to a structured diagnosis. Capacity planning should track backup growth trends so the organization can adapt before recovery protection becomes inadequate.

Question 319.

A company wants to restore only one accidentally deleted table rather than overwrite the entire production database. Which approach is MOST appropriate when the database platform does not support direct single-table restore?

  1. Restore a backup to an isolated temporary database and extract the required table data
  2. Restore the full backup directly over production immediately
  3. Drop all remaining production tables
  4. Disable foreign keys permanently

Correct Answer: 1. Restore a backup to an isolated temporary database and extract the required table data

Explanation:

If direct object-level restore is unavailable, administrators can restore the relevant backup to a separate temporary environment and recover only the needed data from that restored copy. This protects the current production database from being overwritten and allows the administrator to compare recovered records before reinserting them. Relationships, identity values, constraints, triggers, and changes made after the backup should be considered carefully during reconciliation. The temporary restored environment should be secured because it contains production data and may require masking or restricted access. Restoring an old full backup directly over production could discard valid transactions that occurred after the backup. Object-level recovery should therefore be planned and tested, especially for databases where accidental deletion is a realistic operational risk.

Question 320.

Which statement BEST describes a complete database backup and recovery program?

  1. It consists only of creating nightly backup files
  2. It is complete as long as replication is enabled
  3. It requires no testing if backup jobs report success
  4. It combines defined RPO and RTO targets, appropriate backup types, secure retention, independent recovery copies, monitoring, verification, tested restores, key management, documentation, and regular recovery exercises**

Correct Answer: 4. It combines defined RPO and RTO targets, appropriate backup types, secure retention, independent recovery copies, monitoring, verification, tested restores, key management, documentation, and regular recovery exercises

Explanation:

A complete backup and recovery program is much broader than simply producing backup files. Business requirements should first define acceptable data loss through RPO and acceptable downtime through RTO. Administrators then design backup frequency, types, retention, storage locations, encryption, key protection, and independent recovery copies around those targets. Monitoring must detect failed or incomplete jobs, while integrity checks and restore tests confirm that backups are usable. Recovery documentation should identify dependencies, priorities, credentials, validation steps, and escalation paths. Regular disaster recovery exercises provide the strongest evidence that the organization can restore usable service within required objectives. Replication contributes to availability but does not replace historical backups. A successful job status also cannot prove recoverability. Mature recovery programs therefore integrate technology, process, security, testing, documentation, and continuous improvement rather than relying on a single backup mechanism.