Home / Fortinet NSE 4 FortiOS (FCP FortiGate Security) / Mock exam
Fortinet NSE 4 FortiOS (FCP FortiGate Security) Exam-style mock test

Fortinet NSE 4 FortiGate Security Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · FortiGate Fundamentals, Firewall Policies, and NAT
A SaaS company's FortiGate has three firewall policies allowing traffic from the LAN to the internet, but none of them match an outbound SMTP session from a marketing server. What determines the fate of that unmatched session?
・The FortiGate forwards the session using the most recently created matching session helper as a temporary exception until an administrator reviews it
Incorrect. There is no mechanism that forwards unmatched traffic using a session helper as a temporary exception pending review; unmatched traffic is denied.
✓The implicit deny policy at the bottom of the list drops the session and, by default, does not log it
Correct. Traffic that matches no explicit policy hits the implicit deny policy, which drops the session and does not log it unless logging is enabled.
・The session is queued and retried against all policies every few seconds
Incorrect. FortiOS evaluates a session against policies top-down once; it does not queue and re-evaluate unmatched sessions on a timer.
・FortiOS allows it under the default-allow rule
Incorrect. FortiOS has no default-allow rule; the default behavior for unmatched traffic is deny.
Explanation
FortiGate processes firewall policies top-down and uses first-match. Any session not matched by an explicit policy is handled by the implicit deny policy, which silently drops it by default.
Example2 · Firewall Authentication and User Management
At the B2B SaaS company CloudLedger, the network admin wants FortiGate to prompt users for credentials before granting them access through a firewall policy, without storing passwords on the FortiGate. Which authentication approach lets FortiGate verify credentials against the external directory?
・Configure a local user account on the FortiGate device for every employee
Incorrect. Local user accounts store the password database on the FortiGate itself, which the admin explicitly wanted to avoid.
✓Remote authentication querying an external LDAP server for each login
Correct. Remote authentication forwards the entered credentials to an external LDAP server, so no passwords are stored on the FortiGate.
・A guest portal that issues temporary disposable tickets to each visitor
Incorrect. Guest portals create temporary accounts for visitors and do not validate employees against the corporate directory.
・Device fingerprinting based on the client operating system signature
Incorrect. Device fingerprinting identifies hardware or OS characteristics; it does not authenticate user credentials against a directory.
Explanation
Remote authentication (LDAP, RADIUS, TACACS+) lets FortiGate delegate credential verification to an external server, keeping the password database off the firewall.
Example3 · SSL VPN and IPsec VPN
A B2B SaaS company lets contractors reach a few internal web dashboards from unmanaged laptops without installing any client software. On the FortiGate, which SSL VPN access method should the administrator configure to meet this requirement?
✓Web mode, which proxies the permitted applications through the SSL VPN portal in the browser
Correct. Web mode presents permitted applications through the browser-based SSL VPN portal, so no client software is needed on the unmanaged laptop.
・Tunnel mode using the FortiClient agent to assign the laptop a VPN IP address
Incorrect. Tunnel mode requires the FortiClient agent to be installed, which contradicts the clientless requirement.
・IPsec dialup mode with a pre-shared key provisioned on each contractor device
Incorrect. IPsec dialup still requires a VPN client and key provisioning on each endpoint, not a clientless browser session.
・Site-to-site IPsec with a static route advertising the dashboard subnet
Incorrect. Site-to-site IPsec connects networks, not individual contractor laptops arriving from arbitrary locations.
Explanation
SSL VPN web mode is clientless: users log in to the portal in a browser and reach only the applications published through bookmarks, which fits unmanaged devices.
Example4 · Security Profiles (Antivirus, Web Filtering, IPS, Application Control)
A healthcare services firm reports that large DICOM imaging transfers through the FortiGate time out when its antivirus profile is applied, but the security team still wants every file reassembled and fully examined before delivery. Which antivirus inspection mode should the administrator configure to meet both goals?
・Flow-based inspection, which scans packets as they pass and keeps latency low on the large imaging transfers
Incorrect. Flow-based lowers latency but streams content rather than fully reassembling and examining each complete file first.
✓Proxy-based inspection, which buffers the whole file and scans it before releasing it to the client
Correct. Proxy-based buffers the entire file and completes scanning before delivery, satisfying the full-examination requirement.
・Quick scan mode, relying on a compact database of the most common signatures to reduce the load
Incorrect. Quick scan trims the signature set for speed and does not guarantee complete reassembled-file examination.
・Default certificate inspection, which examines only the handshake and leaves file payloads untouched entirely
Incorrect. Certificate inspection only validates the TLS handshake and never scans file payloads for malware.
Explanation
Proxy-based antivirus reassembles and buffers the full file, scanning it in its entirety before passing it to the user, which matches the requirement to fully examine files even at some latency cost.
Example5 · Routing, SD-WAN, High Availability, and Logging
At a healthcare services firm, the network administrator configures two default static routes on a FortiGate: one via WAN1 with a distance of 10 and one via WAN2 with a distance of 20. Both links are physically up. How does FortiGate treat these routes in the routing table?
✓Only the WAN1 route is installed in the routing table because it has the lower administrative distance, and WAN2 stays as a backup
Correct. The route with the lower administrative distance (WAN1 at 10) is installed as the active route, while the WAN2 route remains inactive as a backup until WAN1 fails.
・Both routes are installed and traffic is load-balanced across WAN1 and WAN2 using equal-cost multipath
Incorrect. ECMP load-balancing requires equal distances; with distances 10 and 20 only the lower-distance route is active.
・The WAN2 route with distance 20 is preferred since a higher distance means a more trusted path
Incorrect. A lower administrative distance is preferred, not a higher one, so WAN2 is not chosen first.
・Both default routes are rejected as a duplicate-route conflict error
Incorrect. FortiGate accepts both routes and simply uses distance to decide which becomes active; there is no conflict error.
Explanation
Administrative distance determines route preference; the lowest-distance route is installed as active and others serve as backups.
Example6 · FortiGate Fundamentals, Firewall Policies, and NAT
A healthcare services firm is deploying a FortiGate at the edge of its clinic network. The firewall must route traffic between the internal LAN and the internet, assigning each interface its own IP subnet and acting as the default gateway for client workstations. Which operation mode fits this requirement?
・Transparent mode, so the FortiGate bridges all interfaces into one Layer 2 segment without any IP addressing
Incorrect. Transparent mode puts the FortiGate inline at Layer 2 with a single management IP and does not route between distinct subnets or serve as a gateway.
・Sniffer mode, which only passively copies packets to an analyzer and never forwards production traffic
Incorrect. Sniffer (one-arm) mode only inspects copied traffic and cannot forward production flows between subnets.
✓NAT mode, where interfaces have IP addresses and the FortiGate routes between subnets
Correct. In NAT mode each interface holds an IP address, so the FortiGate routes between subnets and can be the LAN default gateway.
・Virtual wire pair mode, which binds two ports so frames pass through untouched at Layer 2
Incorrect. A virtual wire pair forwards frames transparently between two bound ports and does not perform routing between IP subnets.
Explanation
NAT (route) mode gives interfaces IP addresses and routes between subnets, which is what an edge gateway deployment needs. Transparent, sniffer, and virtual wire pair all operate at Layer 2 without routing.
Example7 · FortiGate Fundamentals, Firewall Policies, and NAT
The retail brand UrbanThread is deploying a FortiGate at a new flagship store. The design team wants the FortiGate to route between the store LAN and the WAN using assigned IP subnets on each interface, performing Layer 3 forwarding. Which FortiGate operating mode fits this requirement?
・Transparent mode, where the FortiGate behaves as a Layer 2 bridge between segments on the same IP subnet without routing
Incorrect. Transparent mode bridges segments at Layer 2 and does not route between separate IP subnets as required.
✓NAT mode, where each interface holds an IP address and the FortiGate routes between its connected subnets
Correct. In NAT mode each interface has its own IP address and the FortiGate performs Layer 3 routing between connected subnets.
・Sniffer mode, where the FortiGate only passively inspects mirrored traffic copied to a dedicated port
Incorrect. Sniffer mode is for passive one-arm inspection of copied traffic, not for actively routing store traffic.
・Virtual wire pair mode, where two ports are bound and frames pass between them without inspection
Incorrect. A virtual wire pair forwards frames between two bound ports and is not the routing mode described here.
Explanation
NAT (route) mode assigns IP addresses to interfaces and routes between subnets, which matches the Layer 3 forwarding design for the store.
Example8 · FortiGate Fundamentals, Firewall Policies, and NAT
UrbanThread's security engineer added a broad deny policy for the guest Wi-Fi at the bottom of the policy list, but a narrow allow policy for a kiosk sits above it. A kiosk session that matches both policies is being allowed. How does FortiGate decide which policy applies to this session?
✓It evaluates the policies from top to bottom and applies the first policy the traffic matches
Correct. FortiGate scans the policy table from top to bottom and applies the first policy the traffic matches.
・It applies the policy that defines the most specific source and destination address objects for the traffic
Incorrect. Specificity of address objects does not override list order; position in the list determines the match.
・It merges all of the matching policies and then applies the most restrictive action across them
Incorrect. FortiGate does not merge matching policies or combine their actions into a most-restrictive result.
・It applies the last matching policy found while scanning the ordered policy list
Incorrect. The first matching policy wins, not the last one found during the scan.
Explanation
Firewall policies are evaluated sequentially from the top; the first match is applied, so the higher allow policy takes effect for the kiosk.
Example9 · FortiGate Fundamentals, Firewall Policies, and NAT
UrbanThread needs internal store servers to reach the internet using a single public IP that differs from the WAN interface address. The engineer enables NAT on the outbound policy and wants to override the default translation address. What should be configured on the policy to achieve this?
✓An overload IP pool referenced by the policy so translated sessions use that pool's public address
Correct. Referencing an overload IP pool on the NAT policy makes outbound sessions translate to that pool's public address instead of the interface IP.
・A static route that rewrites the source address of each outbound packet to the chosen public IP address
Incorrect. Static routes direct packets toward next hops; they do not perform source address translation.
・A virtual IP object mapping the public IP to the internal server for inbound access
Incorrect. A virtual IP performs destination NAT for inbound traffic, not source NAT for outbound sessions.
・The use outgoing interface address option so NAT uses the WAN interface IP
Incorrect. Using the outgoing interface address would translate to the WAN IP, which is the opposite of the requirement.
Explanation
An IP pool lets the policy translate outbound source addresses to a chosen public IP distinct from the interface address.
Example10 · FortiGate Fundamentals, Firewall Policies, and NAT
A security engineer at a financial services firm builds several IPv4 firewall policies on a branch FortiGate. Two policies could both match traffic from the teller VLAN to the internet. How does FortiGate decide which policy applies to that traffic?
・FortiGate evaluates the policy with the most specific source and destination address objects before it evaluates any broader policies in the same sequence
Incorrect. FortiGate does not reorder policies by specificity; it respects the configured top-to-bottom sequence regardless of how specific the address objects are.
✓FortiGate matches the first policy from top to bottom whose criteria fit the traffic
Correct. Policy lookup is sequential from top to bottom, and the first policy whose source, destination, service, and other criteria all match is applied.
・FortiGate applies whichever policy has the lowest policy ID number
Incorrect. Policy ID is only an identifier; it does not determine evaluation order, which follows the list sequence instead.
・FortiGate merges the matching policies and applies the most restrictive action
Incorrect. FortiGate never merges policies; exactly one matching policy is applied based on list order.
Explanation
FortiGate performs sequential policy matching from the top of the list downward and applies the first policy that matches all traffic criteria, so administrators must order more specific policies above broader ones.
Example11 · FortiGate Fundamentals, Firewall Policies, and NAT
On a FortiGate protecting a trading floor, a policy allows internal hosts to reach the internet with NAT enabled but no IP pool selected. A host at 10.20.5.14 opens a session to an external market-data provider. What source address will the provider observe?
✓The IP address assigned to the FortiGate egress (WAN) interface used to forward the session
Correct. With NAT enabled and no IP pool, FortiGate uses the egress interface IP as the translated source address for the outbound session.
・The original internal host address 10.20.5.14 preserved end to end
Incorrect. NAT is enabled, so the internal address is translated rather than preserved end to end.
・A randomly selected address from the first configured virtual IP object
Incorrect. No virtual IP is referenced for source NAT; VIPs provide destination NAT for inbound traffic instead.
・The address of the FortiGate internal interface that received the host traffic
Incorrect. The ingress interface IP is not used for source NAT; the outgoing interface address is used when no pool is set.
Explanation
When firewall policy NAT is enabled without an IP pool, FortiGate performs source NAT using the IP address of the outgoing interface, so external peers see the WAN interface address.
Example12 · FortiGate Fundamentals, Firewall Policies, and NAT
A manufacturing distributor is inserting a new FortiGate into an existing Layer 2 segment that already has an upstream router handling all IP routing for the warehouse VLAN. The security team wants the FortiGate to filter traffic without changing any device IP addresses or default gateways. Which operation mode fits this requirement?
・NAT mode, so the FortiGate routes between subnets and performs source translation for the warehouse hosts
Incorrect. NAT mode makes the FortiGate a routing hop and would require changing gateways and addressing on the warehouse hosts.
✓Transparent mode, where the FortiGate bridges the segment and filters traffic without acting as a routing hop
Correct. Transparent mode bridges the existing Layer 2 segment so the FortiGate filters inline without IP or gateway changes.
・Sniffer mode, capturing a copy of frames off a span port only
Incorrect. Sniffer mode only passively inspects copied traffic and cannot enforce policy inline.
・Virtual wire pair mode that pins traffic between two bound ports
Incorrect. A virtual wire pair binds two ports for pass-through but is a NAT-mode interface construct, not the requested transparent operation mode.
Explanation
Transparent mode lets the FortiGate operate as a Layer 2 bridge, preserving existing IP addressing and gateways while still enforcing firewall policy.
Example13 · FortiGate Fundamentals, Firewall Policies, and NAT
On the distributor's FortiGate, policy ID 7 (specific source, port 443, ACCEPT) sits below policy ID 3 (broad source any, service ALL, DENY) in the same interface pair. Operators report that permitted HTTPS orders from the ERP host are being dropped. What is the most likely cause?
✓FortiOS evaluates firewall policies from top to bottom and stops at the first match, so the broad DENY in policy 3 matches first
Correct. Policies are matched top-down and the first match wins, so the broad DENY above the specific ACCEPT catches the traffic.
・Policy 7 needs a higher security rating before it will ever be evaluated by the engine
Incorrect. There is no security rating prerequisite controlling whether a policy is evaluated.
・HTTPS traffic always bypasses the policy table and uses the local-in policy set
Incorrect. HTTPS forwarded traffic is evaluated by the normal firewall policy table, not local-in policy.
・The implicit deny policy at the bottom silently overrode policy 7 before policy 3 could be checked by the sequence order
Incorrect. The implicit deny is the last entry and cannot act before policy 3, which is above policy 7.
Explanation
FortiGate processes the policy list sequentially from the top and applies the first matching policy, so a broad DENY placed above a specific ACCEPT shadows it.
Example14 · FortiGate Fundamentals, Firewall Policies, and NAT
A telecom operator's FortiGate has three policies from LAN to WAN: policy 5 permits the 10.20.0.0/16 subnet, policy 8 denies host 10.20.3.9, and policy 12 permits all internal subnets. Traffic from 10.20.3.9 reaches the Internet unexpectedly. Which explanation fits the observed behavior?
✓Policy 5 was already matched for 10.20.3.9 and allowed the traffic because it sits above policy 8
Correct. FortiGate evaluates policies top-down and stops at the first match; 10.20.3.9 is inside 10.20.0.0/16, so policy 5 matched first and the deny in policy 8 was never reached.
・Policy 12 overrides the deny because permit policies always take precedence over deny policies
Incorrect. There is no precedence by action; order of appearance, not permit-versus-deny, decides the match.
・Policy 8 is disabled in the configuration and therefore skipped during the top-down policy lookup
Incorrect. A disabled policy is a possibility but the scenario places policy 8 after a broader permit, so it is bypassed by order regardless.
・The implicit deny-all policy at the bottom silently permitted the 10.20.3.9 host traffic to the WAN
Incorrect. The implicit deny drops unmatched traffic; it never permits anything.
Explanation
FortiGate uses first-match top-down evaluation, so a broad permit above a specific deny renders the deny ineffective. The host must be denied by a more specific policy placed above policy 5.
Example15 · FortiGate Fundamentals, Firewall Policies, and NAT
On a telecom operator's FortiGate, a LAN-to-WAN policy has NAT enabled with the default 'Use Outgoing Interface Address' option. What source IP will the operator's internal clients appear to use on the Internet?
✓The IP address configured on the FortiGate's egress WAN interface for that traffic flow
Correct. With 'Use Outgoing Interface Address', source NAT rewrites the private source to the egress WAN interface's IP.
・Each client keeps its original private LAN source IP because NAT only rewrites destinations
Incorrect. Source NAT rewrites the source IP; the private address is not preserved on the Internet.
・A randomly selected address drawn from the pool of all configured WAN interface subnets
Incorrect. Pool-based random selection requires configuring an IP pool, not the default outgoing-interface option.
・The gateway IP of the upstream ISP router that the WAN interface points to as next hop
Incorrect. The upstream gateway is the next hop for forwarding, not the translated source address.
Explanation
The default NAT behavior translates the source to the outgoing interface IP. IP pools are only used when explicitly selected on the policy.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)