easyMultiple ChoiceObjective-mapped
FC0-U71 Practice Question: Refer to the exhibit
Exhibit
DELETE FROM Customers WHERE CustomerID = 100;
Refer to the exhibit. A database administrator executes the DELETE statement, and it reports success. However, a subsequent SELECT still shows the row. Which is the most likely explanation?
⚠ Common exam trap
CompTIA often tests the distinction between statement execution success and transaction permanence, trapping candidates who assume 'success' means the data is immediately visible to all queries.
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
✓
The command was not committed.
In SQL databases, a DELETE statement removes rows from a table only when the transaction is committed. If the database is using implicit transactions or the user has not issued a COMMIT command, the deletion is held in a pending transaction and remains visible to other sessions (or even the same session if read consistency is applied). The reported 'success' indicates the statement executed without error, but without a commit, the changes are not made permanent, so a subsequent SELECT still shows the row.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The table is locked by another user.
Why it's wrong here
A lock would prevent the DELETE from executing.
- ✗
The WHERE clause used the wrong value.
Why it's wrong here
If it reported success, the value likely matched a row.
- ✓
The command was not committed.
Why this is correct
Without COMMIT, the deletion is not finalized and can be rolled back.
- ✗
The user lacks DELETE privilege.
Why it's wrong here
If lacking privilege, the command would fail, not succeed.
Go deeper
Related to this question
About these practice questions
One of 988 original FC0-U71 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.