Courseiva
mediumMatchingObjective-mapped

CAS-004 Practice Question: Match each port number to its associated protocol.

Match each port number to its associated protocol.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

RDP

SSH

HTTPS

LDAP

LDAPS

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

Port 80: HTTP

These are standard IANA port assignments for common protocols. Correct matches: Port 80=HTTP, Port 443=HTTPS, Port 22=SSH, Port 21=FTP. Common confusions involve swapping port numbers for similar protocols.

Answer analysis

Option-by-option breakdown

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

  • Port 80: HTTP

    Why this is correct

    Port 80 is the default port for HTTP traffic.

  • Port 443: HTTPS

    Why this is correct

    Port 443 is the default port for HTTPS (HTTP over SSL/TLS).

  • Port 22: SSH

    Why this is correct

    Port 22 is the default port for SSH (Secure Shell).

  • Port 21: FTP

    Why this is correct

    Port 21 is the default control port for FTP.

  • Port 80: HTTPS

    Why it's wrong here

    Incorrect — HTTPS uses port 443, not 80.

  • Port 22: Telnet

    Why it's wrong here

    Incorrect — Telnet uses port 23, not 22.

About these practice questions

One of 968 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.