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

2 days, 2 hours remaining!

CompTIA Data+ DA0-002 (V2) Practice Question

A data analyst is working with a customer contact table where the phone_number column contains data in multiple formats, including (555) 123-4567, 555-123-4567, and 555.123.4567. The goal is to standardize all entries into a NNNNNNNNNN format by removing all non-numeric characters. Which of the following data transformation techniques is MOST effective for this task?

  • Use a regular expression to find and replace all non-digit characters with an empty string.

  • Convert the phone_number column's data type from string to integer to automatically discard non-numeric characters.

  • Apply the TRIM function to remove the unwanted parentheses and hyphens from each entry.

  • Apply a series of nested REPLACE functions to remove each specific non-numeric character (e.g., '(', ')', '-', '.').

CompTIA Data+ DA0-002 (V2)
Data Acquisition and Preparation
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