CAS-004 Security Engineering Practice Question
Which of the following is a primary advantage of using ChaCha20-Poly1305 over AES-256-GCM in certain environments?
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
✓
Faster performance on devices without AES-NI
ChaCha20-Poly1305 is designed to be faster in software that lacks AES hardware acceleration, making it suitable for mobile devices.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Better hardware acceleration support
Why it's wrong here
ChaCha20-Poly1305 is a software-oriented cipher designed for CPUs without AES-NI; AES-256-GCM is the one with ubiquitous hardware acceleration via AES-NI and vector extensions. Its genuine advantage is constant-time software performance on low-power or ARM devices lacking dedicated AES circuitry, not acceleration support.
- ✗
Higher security margin
Why it's wrong here
ChaCha20-Poly1305 offers no higher security margin than AES-256-GCM; both target roughly 256-bit and 128-bit security respectively. The margin argument is tempting because ChaCha20's design is newer, but its real advantage is performance on CPUs lacking AES-NI hardware acceleration, such as some mobile and IoT chips.
- ✗
Smaller ciphertext size
Why it's wrong here
ChaCha20-Poly1305 and AES-256-GCM both produce ciphertext of identical length for the same plaintext, since both are stream-based AEAD constructions with a 128-bit tag. The temptation is real: ChaCha20's 256-bit key and 96-bit nonce look compact, but they do not shrink output. Its actual advantage is speed on CPUs lacking AES-NI.
- ✓
Faster performance on devices without AES-NI
Why this is correct
ChaCha20-Poly1305 relies solely on ARX operations, which execute efficiently in software on CPUs lacking AES-NI hardware acceleration. AES-256-GCM depends on dedicated AES instructions for competitive throughput, so on such constrained devices ChaCha20-Poly1305 delivers markedly faster encryption, directly satisfying the stem's "certain environments" constraint.
Quick reference
Symmetric Encryption Algorithm Comparison
| Algorithm | Key Size | Block Size | Status | Notes |
|---|---|---|---|---|
| AES-128 | 128-bit | 128-bit | Current standard | NIST approved; WPA3, TLS |
| AES-256 | 256-bit | 128-bit | Current standard | Preferred for sensitive / govt data |
| 3DES | 112-bit effective | 64-bit | Deprecated (2023) | Replaced by AES |
| DES | 56-bit | 64-bit | Broken | Cracked in < 24 h; never deploy |
| ChaCha20 | 256-bit | Stream cipher | Current | TLS 1.3, WireGuard |
Go deeper
Related to this question
About these practice questions
One of 973 original CAS-005 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 CAS-005 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 CAS-005 exam.