Courseiva
mediumMultiple ChoiceObjective-mapped

FC0-U71 Practice Question: A database administrator needs to modify the…

A database administrator needs to modify the 'Phone' column in the 'Employees' table to allow up to 15 characters. Which SQL statement should the administrator use?

⚠ Common exam trap

CompTIA often tests the distinction between DDL (ALTER TABLE) and DML (UPDATE, INSERT) commands, trapping candidates who confuse modifying table structure with modifying data.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

ALTER TABLE Employees ALTER COLUMN Phone VARCHAR(15);

The ALTER TABLE statement is used to modify an existing table's structure, and the ALTER COLUMN clause specifically changes a column's data type or size. Option B correctly uses ALTER TABLE Employees ALTER COLUMN Phone VARCHAR(15) to change the Phone column to allow up to 15 characters, which is the standard SQL syntax for this operation.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • CREATE TABLE Employees (Phone VARCHAR(15));

    Why it's wrong here

    CREATE TABLE would try to create a new table, not modify an existing one.

  • ALTER TABLE Employees ALTER COLUMN Phone VARCHAR(15);

    Why this is correct

    This changes the column's data type to allow up to 15 characters.

  • UPDATE Employees SET Phone = VARCHAR(15);

    Why it's wrong here

    UPDATE is for modifying data in existing rows, not altering column definitions.

  • INSERT INTO Employees (Phone) VALUES ('123456789012345');

    Why it's wrong here

    INSERT adds a new row; it does not change the column definition.

About these practice questions

Courseiva writes every FC0-U71 question from scratch — 988 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This FC0-U71 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the FC0-U71 exam.