mediumMultiple SelectObjective-mapped
FC0-U71 Practice Question: Which TWO of the following are valid SQL…
Which TWO of the following are valid SQL functions used to aggregate data?
⚠ Common exam trap
It's easy for candidates to confuse SQL clauses (like ORDER BY for sorting) or scalar functions (like LENGTH) with aggregate functions, because they see them used in queries but fail to recognize the fundamental difference between row-level operations and set-level summarization.
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
✓
COUNT
COUNT and SUM are both aggregate functions in SQL. COUNT returns the number of rows in a result set or the number of non-NULL values in a column, while SUM calculates the total sum of a numeric column. These functions operate on a set of rows and return a single summary value, which is the defining characteristic of aggregate functions in SQL.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
COUNT
Why this is correct
COUNT returns the number of rows in a result set.
- ✗
SORT
Why it's wrong here
SORT is not an aggregate function; ORDER BY is used for sorting.
- ✓
SUM
Why this is correct
SUM returns the total sum of a numeric column.
- ✗
LENGTH
Why it's wrong here
LENGTH returns the length of a string, not an aggregate.
- ✗
APPEND
Why it's wrong here
APPEND is not a SQL function.
Go deeper
Related to this question
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 →
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.