Courseiva
Applications and SoftwareeasyMultiple SelectObjective-mapped

FC0-U71 Applications and Software Practice Question

A database includes a table called 'Products' with columns: ProductID, ProductName, Price, and Quantity. Which TWO of the following SQL statements correctly insert a new product into the table? (Select TWO.)

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

INSERT INTO Products (ProductID, ProductName, Price, Quantity) VALUES (1, 'Widget', 9.99, 100)

Only the INSERT statements that provide values for all required columns in the correct order are valid. Option C explicitly lists columns and provides correct values. Option E omits column names but provides values for all four columns in the correct order. Option A uses an invalid syntax (SET clause is not standard SQL for INSERT). Option B provides three values but only two column names, causing a mismatch. Option D provides only three values for a four-column table.

Answer analysis

Option-by-option breakdown

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

  • INSERT INTO Products SET ProductID=1, ProductName='Widget'

    Why it's wrong here

    The SET syntax is used in MySQL but is non-standard and not typical for SQL; also missing columns.

  • INSERT INTO Products (ProductName, Price) VALUES ('Widget', 9.99, 100)

    Why it's wrong here

    Too many values for the specified columns.

  • INSERT INTO Products (ProductID, ProductName, Price, Quantity) VALUES (1, 'Widget', 9.99, 100)

    Why this is correct

    Correct. This specifies all columns.

  • INSERT INTO Products VALUES (1, 'Widget', 9.99)

    Why it's wrong here

    Missing Quantity column; number of values does not match number of columns.

  • INSERT INTO Products VALUES (1, 'Widget', 9.99, 100)

    Why this is correct

    Correct. Values are provided for all columns in order.

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.