Skip to main content

DS0-001 Real Exam Questions

CompTIA DataSys+

186 questions available · Page 1 of 19

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Multiple choice

Which of the following database instances are created by default when SQL Server is installed? (Choose two.)

  1. A

    Root

  2. B

    Master

  3. C

    Log

  4. D

    Model

  5. E

    View

  6. F

    Index

Show answer and explanation

Correct answers: B, D

Explanation

Master and model are system databases created during a SQL Server installation. Master contains instance-level system information needed to operate the installation. Model serves as the template used when new databases are created, supplying their initial structure and settings. Log, view, and index describe database components rather than default system databases.

Question 2 Single choice

A DBA is reviewing the following logs to determine the current data backup plan for a primary data server:

Which of the following best describes this backup plan?

  1. A

    Monthly full, daily differential

  2. B

    Daily differential

  3. C

    Daily full

  4. D

    Weekly full, daily incremental

Show answer and explanation

Correct answer: D

Explanation

The much larger backups on January 23 and January 30 establish a weekly full-backup pattern. The smaller backups on the intervening days represent daily incremental work containing changes since the preceding backup. The repeating seven-day size pattern distinguishes weekly full with daily incremental backups from daily full or monthly full schedules.

Question 3 Single choice

Given the following value from a VARCHAR column that is used to store integer values:

12A

Which of the following is the best way for a DBA to increase the data quality for this column?

  1. A

    Keep the value and change the column to integer.

  2. B

    Correct the value and change it to integer.

  3. C

    Add a check constraint to the column and change it to int.

  4. D

    Keep the column as VARCHAR and correct the value.

Show answer and explanation

Correct answer: B

Explanation

The value 12A cannot be represented as an integer because it contains a nonnumeric character. The data must first be corrected to a valid integer value, after which the column can be changed from VARCHAR to an integer type. This sequence cleans the existing row and makes the schema enforce integer storage for future values.

Question 4 Single choice

A database administrator is migrating the information in a legacy table to a newer table. Both tables contain the same columns, and some of the data may overlap.

Which of the following SQL commands should the administrator use to ensure that records from the two tables are not duplicated?

  1. A

    UNION

  2. B

    JOIN

  3. C

    IINTERSECT

  4. D

    CROSS JOIN

Show answer and explanation

Correct answer: A

Explanation

UNION combines the result sets from compatible queries and removes duplicate rows from the combined result. Because the legacy and new tables contain the same columns, their records can be projected in the same order and merged with UNION. JOIN combines related columns from rows, while CROSS JOIN creates combinations and can greatly multiply records.

Question 5 Single choice

(A database system crashed during a routine migration process.

Which of the following should the systems administrator refer to for guidance in this situation?)

  1. A

    The data retention policy

  2. B

    The access control policy

  3. C

    The database compliance policy

  4. D

    The continuity of operations policy

Show answer and explanation

Correct answer: D

Explanation

A continuity of operations policy defines how essential services are sustained or restored when a disruption such as a database crash occurs. It provides the recovery roles and operational guidance needed to respond during the failed migration. Retention, access control, and compliance policies govern data lifetime, authorization, and obligations rather than service recovery procedures.

Question 6 Single choice

Which of the following is an attack in which an attacker hopes to profit from locking the database software?

  1. A

    Spear phishing

  2. B

    Ransomware

  3. C

    SQL injection

  4. D

    On-path

Show answer and explanation

Correct answer: B

Explanation

Ransomware denies access to software or data and demands payment to restore access, giving the attacker a direct profit motive for locking the database software. SQL injection instead exploits query handling, spear phishing targets a person through deceptive messages, and an on-path attack intercepts communications.

Question 7 Single choice

Testers run a representative workload at increasing concurrency, add a defined resource tier, and repeat while measuring throughput, latency, errors, and utilization. What are they primarily validating?

  1. A

    Connectivity

  2. B

    Schema conformance

  3. C

    Scalability

  4. D

    Data retention

Show answer and explanation

Correct answer: C

Explanation

Scalability concerns how system behavior changes as workload and resources increase. Running the same representative work at rising concurrency, adding a defined resource tier, and comparing throughput, latency, errors, and utilization tests whether the database can handle growth and benefit from added capacity.

Question 8 Single choice

Which of the following commands when executed will rebuild statistics against user-defined tables in a database?

  1. A

    sp_autostats

  2. B

    sp_updatestats

  3. C

    DBCC UPDATEUSAGE

  4. D

    DBCC SHOW_STATISTICS

Show answer and explanation

Correct answer: B

Explanation
sp_updatestats runs statistics updates for user-defined tables in the current database, refreshing the information the query optimizer uses to select execution plans. sp_autostats controls automatic statistics behavior, DBCC SHOW_STATISTICS displays statistics, and DBCC UPDATEUSAGE corrects usage information.
Question 9 Single choice

Which of the following cloud delivery models provides users with the highest level of flexibility regarding resource provisioning and administration?

  1. A

    DBaaS

  2. B

    IaaS

  3. C

    SaaS

  4. D

    PaaS

Show answer and explanation

Correct answer: B

Explanation

IaaS exposes foundational computing resources while leaving the customer substantial control over provisioning and administration of the systems built on them. Higher-level models such as PaaS, SaaS, and DBaaS manage more of the platform or application for the provider's customer. That added management reduces the user's administrative flexibility.

Question 10 Single choice

Which of the following commands is part of DDL?

  1. A

    UPDATE

  2. B

    GRANT

  3. C

    CREATE

  4. D

    INSERT

Show answer and explanation

Correct answer: C

Explanation

CREATE is a data definition language command because it defines a new database object, such as a table, view, or index. DDL concerns database structure and object definitions. UPDATE and INSERT manipulate rows of data, while GRANT controls permissions, so those commands belong to different functional categories.