- B
A random IP from the port2 subnet
Why wrong: Source NAT uses the interface IP unless a different IP is specified.
- C
10.0.1.10
Why wrong: That's the original source before NAT.
- D
198.51.100.1
Why wrong: That's the destination.
Quick Answer
The answer is the primary IP address of the egress interface, port2 (203.0.113.1). When source NAT is configured with the egress interface IP, the FortiGate performs dynamic PAT, replacing the internal source IP (10.0.1.10) with the interface’s primary address before forwarding the packet out port2. This is the default behavior when the firewall policy’s source NAT is set to “Use Outgoing Interface Address,” ensuring the web server at 198.51.100.1 sees all traffic as originating from the FortiGate’s public IP. On the Fortinet NSE 7 Advanced Security NSE7 exam, this concept tests your understanding of NAT modes and interface-based translation—a common trap is assuming the source IP becomes the destination server’s IP or a pool address. Remember: source NAT with egress interface IP always uses the interface’s primary IP, not a secondary or virtual IP. Memory tip: “Egress equals address—the packet leaves wearing the interface’s coat.”
NSE7 Enterprise Firewall and VDOMs Practice Question
This NSE7 practice question tests your understanding of enterprise firewall and vdoms. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A FortiGate in NAT mode has a VDOM with interface port1 (10.0.1.0/24) and port2 (203.0.113.0/24). A policy allows traffic from port1 to port2 with source NAT using the IP of port2. A user at 10.0.1.10 initiates a connection to a web server at 198.51.100.1. What will be the source IP after NAT?
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
The IP address of port2 (e.g., 203.0.113.1)
When source NAT is configured to use the IP address of the egress interface (port2), the FortiGate performs dynamic PAT (Port Address Translation) and translates the source IP of the packet to the primary IP address of port2 (203.0.113.1). This is the default behavior when 'set srcaddr' is set to the interface IP in the firewall policy. The user at 10.0.1.10 will therefore appear to the web server at 198.51.100.1 as coming from 203.0.113.1.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume source NAT uses a random IP from the subnet (Option B) or forget that the source IP must be the egress interface IP, leading them to select the original private IP (Option C) or the destination IP (Option D).
Detailed technical explanation
How to think about this question
Under the hood, FortiGate uses a session-based NAT table where the source IP and port are replaced with the egress interface IP and a dynamically allocated high port (e.g., 203.0.113.1:54321). This PAT behavior is defined in RFC 2663 and is essential for conserving public IPv4 addresses. In a VDOM environment, the NAT is performed within the VDOM's routing context, and the translated packet exits via port2 with the source IP set to the interface's primary address, not a secondary or virtual IP.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Enterprise Firewall and VDOMs — study guide chapter
Learn the concepts, then practise the questions
- →
Enterprise Firewall and VDOMs practice questions
Targeted practice on this topic area only
- →
All NSE7 questions
1,000 questions across all exam domains
- →
Fortinet NSE 7 Advanced Security NSE7 study guide
Full concept coverage aligned to exam objectives
- →
NSE7 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related NSE7 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Advanced Networking and SD-WAN practice questions
Practise NSE7 questions linked to Advanced Networking and SD-WAN.
Advanced VPN and Zero Trust practice questions
Practise NSE7 questions linked to Advanced VPN and Zero Trust.
Enterprise Firewall and VDOMs practice questions
Practise NSE7 questions linked to Enterprise Firewall and VDOMs.
Advanced Threat Protection practice questions
Practise NSE7 questions linked to Advanced Threat Protection.
Troubleshooting and Diagnostics practice questions
Practise NSE7 questions linked to Troubleshooting and Diagnostics.
NSE7 fundamentals practice questions
Practise NSE7 questions linked to NSE7 fundamentals.
NSE7 scenario practice questions
Practise NSE7 questions linked to NSE7 scenario.
NSE7 troubleshooting practice questions
Practise NSE7 questions linked to NSE7 troubleshooting.
Practice this exam
Start a free NSE7 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this NSE7 question test?
Enterprise Firewall and VDOMs — This question tests Enterprise Firewall and VDOMs — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The IP address of port2 (e.g., 203.0.113.1) — When source NAT is configured to use the IP address of the egress interface (port2), the FortiGate performs dynamic PAT (Port Address Translation) and translates the source IP of the packet to the primary IP address of port2 (203.0.113.1). This is the default behavior when 'set srcaddr' is set to the interface IP in the firewall policy. The user at 10.0.1.10 will therefore appear to the web server at 198.51.100.1 as coming from 203.0.113.1.
What should I do if I get this NSE7 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 24, 2026
This NSE7 practice question is part of Courseiva's free Fortinet 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 NSE7 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.