CompTIA DataSys+ DS0-001 Practice Test Questions and Exam Dumps Part18 Q341-360

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

 

Question 341.

A database administrator needs to move a 4 TB production database to a new platform. The source system can remain online during most of the migration, but final downtime must be less than 30 minutes. Which migration approach is MOST appropriate?

  1. Perform an initial full transfer, continuously synchronize changes, then complete a controlled cutover
  2. Shut down the source immediately and begin copying the entire database
  3. Export the database to spreadsheets and manually import the records
  4. Recreate only the most important tables and leave the rest behind

Correct Answer: 1. Perform an initial full transfer, continuously synchronize changes, then complete a controlled cutover

Explanation:

For a large database with a strict downtime requirement, an online migration strategy is generally more appropriate than a complete offline copy. Administrators can first transfer the bulk of the data while the source remains active, then use replication, change data capture, transaction-log shipping, or another supported synchronization method to keep the destination current. During the final maintenance window, applications are paused, remaining changes are synchronized, validation is completed, and traffic is redirected. This minimizes downtime while preserving data consistency. A rollback plan should also be prepared in case validation fails. Shutting down before copying 4 TB could create excessive downtime, while manual spreadsheet migration is impractical and unreliable for a production database of this scale.

Question 342.

During a database migration, the source system stores customer IDs as 64-bit integers, but the destination platform has been configured with a 32-bit integer column. What is the MOST important risk?

  1. All indexes will automatically disappear
  2. Some customer IDs may exceed the destination column’s supported range
  3. Database encryption will stop functioning
  4. The source database will become read-only

Correct Answer: 2. Some customer IDs may exceed the destination column’s supported range

Explanation:

Data type compatibility must be validated before a migration begins. A 64-bit integer can represent values far beyond the range of a typical 32-bit integer. If existing or future customer IDs exceed the destination range, inserts may fail, values may be truncated, or the migration may produce incorrect data depending on the platform and conversion behavior. Source-to-target mapping should therefore document data types, precision, scale, character encoding, NULL handling, defaults, and constraints. Profiling the source data before migration helps reveal whether actual values fit the proposed target type. The safest approach is to use a destination type capable of preserving all valid source values and future growth. This issue concerns data representation, not encryption or database availability.

Question 343.

A database migration completed without errors, but administrators want to confirm that no records were lost. Which validation method provides the BEST evidence?

  1. Compare only the source and destination database names
  2. Confirm that both servers are online
  3. Compare record counts, checksums, key totals, and business-critical aggregates
  4. Verify that the destination has more disk space

Correct Answer: 3. Compare record counts, checksums, key totals, and business-critical aggregates

Explanation:

Migration validation should verify both technical completeness and business correctness. Row counts can reveal missing records, checksums or hashes can help identify altered content, and business-level totals such as transaction amounts, invoice balances, or inventory quantities can expose transformation errors that simple counts might miss. Validation should also confirm constraints, indexes, permissions, jobs, stored procedures, and application connectivity. A destination database can be online and appear healthy while still containing incomplete or incorrect data. Disk capacity and database names provide no meaningful proof of migration accuracy. The strongest validation combines structural checks, data-level reconciliation, and application testing before the source system is retired or the rollback window is closed.

Question 344.

A company is migrating a database from one character encoding to another. Which issue should be tested MOST carefully?

  1. Backup job naming conventions
  2. Database administrator password length
  3. Number of indexes on numeric columns
  4. Whether all characters can be represented correctly without corruption or replacement**

Correct Answer: 4. Whether all characters can be represented correctly without corruption or replacement

Explanation:

Character-set and encoding differences can corrupt text if the destination cannot represent characters stored in the source or if conversion is performed incorrectly. Names, addresses, multilingual text, symbols, accented characters, and special punctuation should be tested using representative data. Administrators should validate both the storage encoding and the application’s client-side encoding behavior. Conversion errors can result in replacement characters, question marks, truncated text, or incorrect comparison and sorting behavior. Collation rules may also change how text is ordered or compared. A migration test should therefore include multilingual and edge-case values rather than only ordinary English text. Password length, index counts, and backup naming do not address the primary risk of character conversion during migration.

Question 345.

A database administrator is preparing a migration cutover plan. Which item is MOST important to define before the maintenance window begins?

  1. Exact success criteria, validation steps, communication plan, and rollback conditions
  2. The preferred color for monitoring dashboards
  3. The alphabetical order of database tables
  4. A list of unused office workstations

Correct Answer: 1. Exact success criteria, validation steps, communication plan, and rollback conditions

Explanation:

A cutover plan should define what must happen, who performs each step, how success is measured, and when the organization will abandon the migration and return to the original environment. Success criteria may include data synchronization, application connectivity, authentication, job execution, performance, and reconciliation results. Rollback conditions should be objective and agreed upon before pressure builds during the maintenance window. Communication procedures are also essential so business owners, developers, administrators, and support teams understand progress and any delays. A detailed timeline reduces confusion and prevents ad hoc decision-making. Cosmetic dashboard choices and table ordering are not central to migration safety. Good cutover planning turns a complex migration into a controlled operational procedure with predictable decision points.

Question 346.

A database migration uses a staging area where source data is temporarily stored before transformation and loading into the destination. What is the PRIMARY purpose of the staging area?

  1. Replace all production backups
  2. Provide an intermediate location for validation, transformation, and controlled loading
  3. Eliminate the need for source-to-target mapping
  4. Serve as a permanent substitute for the destination database

Correct Answer: 2. Provide an intermediate location for validation, transformation, and controlled loading

Explanation:

A staging area separates extraction from final loading and gives administrators or data engineers a controlled place to validate and transform source data. Staging can support data cleansing, type conversion, deduplication, reconciliation, error handling, and restartability before data reaches the destination. It can also reduce the need to repeatedly query production sources during transformation. Staging data should still be secured because it may contain sensitive production information, and retention should be limited to operational needs. A staging area does not eliminate backups, schema mapping, or final destination design. It is an intermediate processing layer that helps make ETL and migration workflows more reliable, observable, and recoverable when errors occur.

Question 347.

A migration job fails after processing 90% of the records. The pipeline can restart from the most recent completed batch instead of beginning again from the first record. Which capability is being demonstrated?

  1. Query optimization
  2. Data masking
  3. Checkpointing and restartability
  4. Vertical scaling

Correct Answer: 3. Checkpointing and restartability

Explanation:

Checkpointing allows a long-running data process to record progress at defined intervals so it can resume from a known point after failure. This is especially valuable for very large migrations, ETL jobs, and bulk loads where restarting from the beginning would waste hours of processing time and could increase source-system load. Restartable processes must also avoid duplicate data, often by using batch identifiers, idempotent logic, unique constraints, or merge operations. Administrators should record which batches completed successfully and which failed so the process can resume safely. Query tuning and scaling may improve speed, but they do not provide recovery from partial execution. Checkpointing improves operational resilience and reduces the cost of failures during high-volume data movement.

Question 348.

A database administrator migrates an application to a new database server and later discovers that several scheduled maintenance jobs did not move with the database. What migration planning area was MOST likely incomplete?

  1. User-interface testing only
  2. Column naming standards
  3. Password expiration review only
  4. Dependency and operational-object inventory**

Correct Answer: 4. Dependency and operational-object inventory

Explanation:

Database migrations involve more than tables and data. Scheduled jobs, maintenance tasks, linked services, external connections, credentials, triggers, stored procedures, certificates, monitoring integrations, backups, replication, and agent configurations may exist outside the main database files. A dependency inventory helps identify all objects and services required for normal operation so they can be recreated or migrated. Missing scheduled jobs may lead to failed backups, stale statistics, incomplete ETL, or unprocessed business data even though the database itself appears healthy. Administrators should document dependencies before migration and include them in validation after cutover. Focusing only on schema and data can result in a technically successful migration that is operationally incomplete.

Question 349.

A database administrator notices that a migration script can be executed multiple times without creating duplicate rows or corrupting previously migrated data. Which property BEST describes the script?

  1. Idempotent
  2. Compressed
  3. Replicated
  4. Encrypted

Correct Answer: 1. Idempotent

Explanation:

An idempotent migration or deployment script can be rerun and still leave the system in the intended final state. This is useful when a migration is interrupted, retried, or executed across multiple environments. The script might check whether rows, columns, users, or objects already exist before creating them, or it may use merge logic and unique identifiers to avoid duplicates. Idempotence reduces operational risk because administrators do not need to manually determine exactly which statements completed before a failure. It should be combined with logging, checkpoints, error handling, and validation. Compression, replication, and encryption describe different characteristics and do not indicate safe repeated execution. Repeatability is especially important in automated deployment pipelines and disaster recovery scenarios.

Question 350.

A company is consolidating customer data from three systems into one database. The same customer may appear under slightly different names and addresses in each source. Which process is MOST important before creating a single customer record?

  1. Increase backup frequency
  2. Entity matching and deduplication
  3. Disable primary keys
  4. Remove data validation

Correct Answer: 2. Entity matching and deduplication

Explanation:

When multiple systems contain overlapping representations of the same real-world customer, simple exact matching may not be enough. Names, addresses, phone numbers, and email addresses may contain spelling differences, formatting changes, abbreviations, or outdated values. Entity matching uses defined rules or probabilistic techniques to determine whether records represent the same person or organization. Deduplication then consolidates confirmed duplicates according to business rules while preserving important source information and auditability. A reliable master identifier may be created to link all source records to the consolidated customer. Backup frequency does not solve duplication, and disabling keys or validation would weaken data quality. Successful consolidation requires careful matching, stewardship, conflict resolution, and validation to avoid merging different customers incorrectly.

Question 351.

A data migration process receives one malformed record that does not match the expected date format. The rest of the batch is valid. Which error-handling approach is generally BEST?

  1. Quarantine the invalid record, log the error, and continue according to approved pipeline rules
  2. Silently discard the entire batch
  3. Convert every date to free text
  4. Disable all validation permanently

Correct Answer: 1. Quarantine the invalid record, log the error, and continue according to approved pipeline rules

Explanation:

Robust data pipelines should handle invalid records predictably. Depending on business requirements, malformed records can be sent to an error or quarantine area with enough information for correction and reprocessing, while valid records continue through the pipeline. This prevents one bad record from unnecessarily blocking millions of valid rows while also avoiding silent data loss. Errors should be counted, logged, and monitored so a sudden increase in rejected records triggers investigation. Some critical financial or regulated loads may require the entire batch to fail to preserve consistency, so the error policy should be documented in advance. Disabling validation or converting fields to unstructured text simply hides quality problems and can make downstream analysis unreliable.

Question 352.

A database administrator is migrating a system that uses many foreign key relationships. Which sequence BEST reduces referential integrity problems during bulk loading?

  1. Load child rows before parent rows and ignore errors
  2. Load parent data before dependent child data, or use a controlled constraint strategy with validation afterward
  3. Remove every foreign key permanently
  4. Replace all identifiers with random text

Correct Answer: 2. Load parent data before dependent child data, or use a controlled constraint strategy with validation afterward

Explanation:

Foreign keys require referenced parent records to exist before dependent child rows can be inserted. Loading parent entities first therefore reduces referential integrity failures. In very large migrations, administrators may temporarily defer or disable certain constraints if the database platform and change process permit it, but constraints must be re-enabled and fully validated afterward. Leaving them disabled can allow orphaned records and inconsistent data to enter production. Load order should be derived from the dependency graph among tables, and migration scripts should record failures clearly. Randomizing identifiers would destroy relationships, while ignoring errors could leave the destination incomplete. Referential integrity should be treated as a validation requirement, not as an obstacle to be permanently removed.

Question 353.

A database migration has completed, and applications connect successfully, but users report that reports are much slower than before. What should the administrator compare FIRST?

  1. Source and destination execution plans, indexes, statistics, configuration, and resource characteristics
  2. Employee vacation schedules
  3. Number of backup folders
  4. Database logo files

Correct Answer: 1. Source and destination execution plans, indexes, statistics, configuration, and resource characteristics

Explanation:

Performance can change significantly after migration even when the schema and data appear identical. Different database versions, optimizer behavior, indexes, statistics, compatibility settings, storage systems, memory allocation, CPU architecture, or parameter defaults may produce different execution plans. Administrators should compare query plans and runtime metrics between environments and confirm that all required indexes and statistics migrated correctly. New statistics may also need to be generated after bulk loading so the optimizer understands the destination data distribution. Storage latency, cache size, and parallelism settings should be reviewed as well. A migration is not complete until performance meets agreed acceptance criteria. Successful connectivity proves only that applications can reach the database, not that the new environment behaves efficiently under production workload.

Question 354.

A database administrator is planning to retire a source database after migration. Which action should occur BEFORE permanently deleting the old system?

  1. Remove all migration documentation
  2. Confirm business acceptance, retention requirements, rollback expiration, and archival obligations
  3. Disable destination backups
  4. Delete the source immediately after the first successful login

Correct Answer: 2. Confirm business acceptance, retention requirements, rollback expiration, and archival obligations

Explanation:

The source system should remain available until migration acceptance criteria are met and the agreed rollback period has expired. Business owners should confirm that applications and reports operate correctly, data reconciliation should be complete, and outstanding migration defects should be resolved. Legal, audit, regulatory, and retention requirements may also require the source database or an archived copy to be preserved for a defined period. Credentials, integrations, and infrastructure can then be decommissioned through controlled procedures. Removing a source too early can eliminate the easiest rollback option or destroy historical data that later proves necessary. Database retirement is a lifecycle event that requires both technical and governance validation rather than simply deleting the old server as soon as the destination appears functional.

Question 355.

A company needs to migrate sensitive customer data through an intermediate staging server. Which security practice is MOST appropriate?

  1. Protect staging data with access controls, encryption, monitoring, and limited retention
  2. Make the staging folder publicly accessible for convenience
  3. Disable authentication until migration is complete
  4. Store plaintext credentials in the migration scripts

Correct Answer: 1. Protect staging data with access controls, encryption, monitoring, and limited retention

Explanation:

Staging environments often contain full copies or large subsets of sensitive production data, making them valuable targets for unauthorized access. The staging system should therefore receive security controls appropriate to the sensitivity of the data, including restricted permissions, encryption at rest and in transit where required, monitoring, secure credential management, and defined cleanup procedures. Data should remain in staging only as long as operationally necessary. Migration scripts should use secure secrets management rather than embedded passwords. Temporary infrastructure does not justify weaker protection because a breach of staging data can have the same impact as a breach of production. Administrators should also ensure that staging backups, exported files, and logs do not unintentionally create additional uncontrolled copies of sensitive information.

Question 356.

A migration tool generates detailed logs containing customer Social Security numbers in error messages. What is the BEST response?

  1. Keep the logs indefinitely because troubleshooting is important
  2. Print the logs for every administrator
  3. Redact or mask sensitive values and restrict access to migration logs
  4. Publish the logs to a shared public site

Correct Answer: 3. Redact or mask sensitive values and restrict access to migration logs

Explanation:

Logs can become an unexpected source of sensitive-data exposure because troubleshooting tools often record failed input values, SQL statements, parameters, or stack traces. Logging should provide enough information for diagnosis without unnecessarily storing regulated or confidential data. Sensitive fields should be redacted, tokenized, hashed, or masked where practical, and log access should be restricted according to least privilege. Retention should also be limited to operational and compliance requirements. Encryption may further protect stored logs, but it does not eliminate the need to minimize sensitive content. Publishing or widely distributing such logs would greatly increase exposure. Logging policies should be designed before migration begins so administrators do not discover after the fact that diagnostic files contain large quantities of sensitive production information.

Question 357.

A database administrator wants to confirm that a migration did not accidentally weaken security. Which post-migration validation is MOST important?

  1. Compare users, roles, permissions, encryption settings, network exposure, and auditing against the approved baseline
  2. Confirm that every table has the same number of vowels in its name
  3. Verify that administrators use the same desktop wallpaper
  4. Check only the destination database size

Correct Answer: 1. Compare users, roles, permissions, encryption settings, network exposure, and auditing against the approved baseline

Explanation:

Security configuration can change unintentionally during migration. Roles may map differently, permissions may become broader, encryption settings may not transfer automatically, audit policies may be missing, and the destination may be reachable from networks that could not access the source. Post-migration security validation should therefore compare the new environment with an approved security baseline and verify least privilege, administrative access, service accounts, TLS, encryption at rest, key management, firewall rules, audit logging, and patch levels. Applications should also be tested to ensure they function without unnecessary privileges. Database size does not reveal whether security controls migrated correctly. Treating security as part of migration acceptance helps prevent a technically successful move from introducing new exposure or compliance problems.

Question 358.

A migration project changes the database engine from one vendor to another. Which testing area is MOST important because SQL behavior can differ between platforms?

  1. Office printer compatibility
  2. Query syntax, functions, transaction semantics, stored procedures, and application drivers
  3. Monitor screen resolution
  4. Employee badge colors

Correct Answer: 2. Query syntax, functions, transaction semantics, stored procedures, and application drivers

Explanation:

Cross-platform database migrations involve more than copying rows. SQL dialects, built-in functions, procedural languages, identity behavior, NULL handling, transaction isolation, locking, date arithmetic, string comparison, error codes, and stored procedure syntax can differ significantly. Application drivers and connection libraries may also require replacement or configuration changes. Administrators and developers should identify vendor-specific features early and test business-critical application paths using realistic workloads. Automated compatibility tools can help, but they do not replace functional testing. Even syntactically valid queries may behave differently because optimizer strategies or transaction semantics change. A thorough compatibility assessment reduces the risk of discovering subtle application defects only after cutover.

Question 359.

A database administrator needs to preserve evidence of exactly which migration scripts and schema versions were used during production cutover. Which practice BEST supports this requirement?

  1. Store version-controlled deployment artifacts and record the executed migration version
  2. Delete scripts after successful deployment
  3. Allow administrators to edit production scripts without tracking changes
  4. Rely only on personal memory

Correct Answer: 1. Store version-controlled deployment artifacts and record the executed migration version

Explanation:

Version control provides traceability for database changes by preserving the exact scripts, configuration files, schema definitions, and revisions associated with a migration. The production deployment record should identify which approved version was executed, when it ran, who authorized it, and whether it completed successfully. This supports auditing, troubleshooting, rollback analysis, and consistent deployment across environments. If a problem appears later, administrators can compare the deployed version with previous or subsequent revisions rather than trying to reconstruct what happened from memory. Untracked manual edits undermine repeatability and can create configuration drift. Deployment artifacts should be treated as controlled operational records and integrated with change-management processes so database migrations remain reproducible and explainable.

Question 360.

Which statement BEST describes a well-managed database migration lifecycle?

  1. Migration is complete once the first table is copied
  2. Migration requires only a data export and import
  3. Security, validation, rollback, and performance can be reviewed after the source system is deleted
  4. A complete migration includes discovery, dependency analysis, mapping, cleansing, testing, synchronization, cutover planning, reconciliation, security validation, performance verification, rollback readiness, and controlled decommissioning**

Correct Answer: 4. A complete migration includes discovery, dependency analysis, mapping, cleansing, testing, synchronization, cutover planning, reconciliation, security validation, performance verification, rollback readiness, and controlled decommissioning

Explanation:

Database migration is an end-to-end operational process rather than a simple data-copy task. Teams must first discover databases, dependencies, owners, integrations, scheduled jobs, security requirements, and business criticality. Source-to-target mappings identify schema and data type differences, while profiling and cleansing address quality issues before transfer. Representative testing validates application compatibility, migration duration, and performance. Synchronization and carefully planned cutover procedures reduce downtime. After migration, administrators should reconcile data, verify permissions and encryption, confirm monitoring and backups, test business workflows, and compare performance against acceptance criteria. A rollback path should remain available until stakeholders formally approve the new environment. Only then should the old system be archived or decommissioned according to retention and legal requirements. This disciplined lifecycle approach minimizes data loss, outages, security regressions, and operational surprises.