Courseiva
easyMultiple ChoiceObjective-mapped

CAS-004 Practice Question: Ensure that only authorized code runs on its…

A company wants to ensure that only authorized code runs on its point-of-sale (POS) terminals. Which technology should be implemented?

⚠ Common exam trap

The CAS-004 exam often tests the distinction between boot-time security (Secure Boot) and runtime code execution controls (code signing), leading candidates to choose Secure Boot because it sounds like it 'secures' the system, but it does not enforce authorization for applications launched after boot.

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

Code signing

Code signing ensures that only code digitally signed by a trusted publisher can execute on the POS terminals. By verifying the digital signature before execution, the terminal can cryptographically confirm the code's integrity and origin, preventing unauthorized or tampered code from running. This directly addresses the requirement to restrict execution to authorized code only.

Answer analysis

Option-by-option breakdown

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

  • Application whitelisting

    Why it's wrong here

    Whitelisting is a policy approach but often relies on hashes; code signing provides stronger cryptographic assurance.

  • Code signing

    Why this is correct

    Code signing digitally signs executables, and the system validates the signature before allowing execution.

  • Trusted Platform Module (TPM)

    Why it's wrong here

    TPM can help with attestation but does not directly verify code signatures at runtime.

  • Secure Boot

    Why it's wrong here

    Secure Boot only checks the bootloader and OS kernel, not general applications.

About these practice questions

Courseiva writes every CAS-005 question from scratch — 968 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 →

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.