Courseiva
Security Engineering →easyMultiple Choice

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

AlgorithmKey SizeBlock SizeStatusNotes
AES-128128-bit128-bitCurrent standardNIST approved; WPA3, TLS
AES-256256-bit128-bitCurrent standardPreferred for sensitive / govt data
3DES112-bit effective64-bitDeprecated (2023)Replaced by AES
DES56-bit64-bitBrokenCracked in < 24 h; never deploy
ChaCha20256-bitStream cipherCurrentTLS 1.3, WireGuard

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 →

How Courseiva writes practice questions · Editorial policy

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.