Cybersecurity-Apprentice Network Fundamentals Practice Question
An administrator needs to test DNS resolution from the Palo Alto Networks firewall command line interface (CLI) to ensure the management plane can reach external name servers. Which command should be used?
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
✓
ping host [hostname]
The 'ping host' or operational command utility allows testing connectivity and DNS resolution from the firewall.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
test dns-server [hostname]
Why it's wrong here
This is not a valid PAN-OS operational command.
- ✗
nslookup target [hostname]
Why it's wrong here
PAN-OS CLI does not use an 'nslookup target' command syntax; ping host handles DNS resolution testing.
- ✓
ping host [hostname]
Why this is correct
The 'ping host' command resolves the hostname via DNS and initiates ICMP echo requests.
- ✗
show dns-cache
Why it's wrong here
This command displays cached DNS records, but does not actively test live resolution.
Visual reference
About these practice questions
This Cybersecurity-Apprentice question is part of Courseiva's 177-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 →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Palo Alto Networks exam blueprint
This Cybersecurity-Apprentice practice question is part of Courseiva's free Palo Alto Networks 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 Cybersecurity-Apprentice exam.