⚡️ Pass with Confidence Sale - 40% off ALL packages! ⚡️

2 days, 4 hours remaining!

CompTIA Data+ DA0-002 (V2) Practice Question

During the weekly data-load process, a junior data analyst runs a SQL view that casts the column quantity_sold to INT. This week the script fails and returns the runtime error:

Conversion failed when converting the varchar value 'N/A' to data type int.

The schema of the staging and target tables has not changed since the previous successful load. Which action should the analyst take first to troubleshoot the issue and prevent it from happening in future loads?

  • Increase the database server's memory allocation so the CAST operation can complete in memory.

  • Enable detailed query-plan logging on the database server to capture the statement's execution plan.

  • Rewrite the view to use a FULL OUTER JOIN instead of an INNER JOIN to eliminate rows with nulls.

  • Validate the source file and cleanse any non-numeric values in quantity_sold before loading the staging table.

CompTIA Data+ DA0-002 (V2)
Data Analysis
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot