JNCIA-SEC Network Address Translation Practice Question
Which Junos configuration statement defines a static NAT rule mapping the public IP 203.0.113.5 to the internal private IP 192.168.1.5?
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
✓
set security nat static rule-set rs1 rule r1 match destination-address 203.0.113.5/32 then static-nat prefix 192.168.1.5/32
Static NAT rules are defined under 'security nat static rule-set <name> rule <rule-name> match destination-address <public-ip>/32 then static-nat prefix <private-ip>' (or vice versa depending on syntax version, but prefix specifies the translated target).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
set security nat static rule-set rs1 rule r1 match destination-address 203.0.113.5/32 then static-nat prefix 192.168.1.5/32
Why this is correct
This matches incoming traffic to the public IP and translates it via static NAT to the private prefix.
- ✗
set security nat static pool p1 public 203.0.113.5 private 192.168.1.5
Why it's wrong here
Static NAT does not use pools in this structure; rules map match destinations directly to prefixes.
- ✗
set security nat destination rule-set rs1 rule r1 match source-address 203.0.113.5 then static-nat 192.168.1.5
Why it's wrong here
Static NAT configuration uses the 'security nat static' hierarchy, not destination NAT.
- ✗
set security nat source static-map public 203.0.113.5 internal 192.168.1.5
Why it's wrong here
This command syntax is invalid in Junos OS.
Visual reference
About these practice questions
This JNCIA-SEC question is part of Courseiva's 520-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 Juniper Networks exam blueprint
This JNCIA-SEC practice question is part of Courseiva's free Juniper 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 JNCIA-SEC exam.