Courseiva
Security Engineering →mediumMultiple Choice

CAS-004 Security Engineering Practice Question

A company is deploying IoT sensors in a harsh environment. The sensors have limited processing power and memory. Which of the following cryptographic algorithms is most suitable for ensuring data confidentiality with minimal overhead?

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

✓

ChaCha20-Poly1305

ChaCha20-Poly1305 is a stream cipher that is fast in software, especially on devices without AES hardware acceleration, and provides authenticated encryption with low overhead.

Answer analysis

Option-by-option breakdown

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

  • ✗

    RSA-4096

    Why it's wrong here

    RSA-4096 is asymmetric and its large key sizes and modular exponentiation demand far more processing and memory than constrained sensors can spare. It is tempting because RSA is a genuine confidentiality algorithm, and would suit key exchange or signatures on capable hardware.

  • ✓

    ChaCha20-Poly1305

    Why this is correct

    ChaCha20-Poly1305 is a stream cipher with AEAD that runs efficiently in software without AES hardware acceleration, suiting constrained IoT processors. Its low memory footprint and fast performance deliver confidentiality and integrity with minimal overhead in harsh environments.

  • ✗

    SHA-256

    Why it's wrong here

    SHA-256 is a hash function providing integrity, not confidentiality, so it cannot encrypt sensor data at all. It is tempting because it is fast and lightweight, which matches the constrained device profile, but hashing is not encryption.

  • ✗

    AES-256-GCM

    Why it's wrong here

    AES-256-GCM is a symmetric block cipher requiring more memory and processing than lightweight ciphers, straining constrained IoT sensors. It is tempting because GCM provides authenticated encryption widely trusted in general computing. For limited-power devices, a lightweight algorithm such as ASCON or ChaCha20-Poly1305 is the correct choice.

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

This CAS-005 question is part of Courseiva's 973-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 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.