Courseiva
Security Operations →mediumMultiple Choice

CAS-004 Security Operations Practice Question

A penetration tester is performing a test against a web application. During active reconnaissance, the tester discovers that the application discloses version numbers in HTTP headers. Which phase of the penetration testing lifecycle does this activity belong to?

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

✓

Reconnaissance

Active reconnaissance involves directly interacting with the target to gather information, such as by sending probes and analyzing responses. Discovering version numbers via HTTP headers is a form of active reconnaissance because the tester is making requests and inferring information from the responses.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Reconnaissance

    Why this is correct

    Banner grabbing and header inspection gather information about the target's technology stack without exploiting it, which is active reconnaissance within the reconnaissance phase. It precedes scanning, exploitation and post-exploitation, satisfying the lifecycle stage where target intelligence is collected.

  • ✗

    Post-exploitation

    Why it's wrong here

    Post-exploitation occurs after a vulnerability has been exploited and a foothold established, covering privilege escalation, lateral movement and data exfiltration. Reading version numbers from HTTP response headers requires no access or exploitation, so it belongs to reconnaissance. Post-exploitation would be correct once the tester had already compromised the application and sought to expand access.

  • ✗

    Exploitation

    Why it's wrong here

    Exploitation is the phase where the tester actually leverages a vulnerability to gain access or execute code. Version disclosure in HTTP headers is information gathering, which belongs to reconnaissance. It is tempting because header leakage can later feed an exploit, but no payload or vulnerability is being triggered here.

  • ✗

    Reporting

    Why it's wrong here

    Reporting documents findings, risk ratings and remediation advice after testing concludes. It is tempting because reconnaissance produces observations worth recording, but reporting is a distinct final phase; header inspection during active reconnaissance belongs to the reconnaissance phase itself.

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.