Courseiva

CCNA Security And VPN Questions

69 questions · Security And VPN · All types, answers revealed

1
MCQeasy

A network administrator is configuring an IPsec VPN on a FortiGate to connect to a third-party vendor's Cisco ASA. The tunnel fails to establish. The administrator verifies that the pre-shared keys match and the phase-1 proposals are identical. What is the most likely cause of the failure?

A.The FortiGate is behind a NAT device and does not have NAT-T enabled.
B.The Cisco ASA requires the FortiGate to use a specific Diffie-Hellman group that is not configured.
C.The FortiGate is using IKEv2 while the Cisco ASA is using IKEv1.
D.The FortiGate's phase-2 selectors are not configured as 0.0.0.0/0.
AnswerC

IKE version mismatch is a common cause of IPsec VPN failures between different vendors. FortiGate and Cisco ASA must use the same IKE version (IKEv1 or IKEv2) for the tunnel to establish. If one peer is configured for IKEv2 and the other for IKEv1, they cannot negotiate phase-1, and the tunnel will fail. The administrator should verify and align the IKE version on both devices.

Why this answer

When connecting a FortiGate to a Cisco ASA, the IKE version must match on both peers. If the FortiGate is configured for IKEv2 and the ASA for IKEv1, phase-1 negotiation will fail, preventing the tunnel from establishing. Even if PSKs and proposals match, the IKE version mismatch is a common oversight.

Verifying and aligning the IKE version resolves the issue.

Exam trap

The trap here is assuming that matching PSKs and phase-1 proposals are sufficient, while overlooking the IKE version, which is a separate setting that must also match.

2
MCQmedium

You need to inspect traffic between two internal VLANs. How do you ensure this traffic is processed by the FortiGate?

A.Configure firewall policies between the VLAN interfaces
B.Enable hardware switching
C.Set the firewall mode to Transparent
D.Enable inter-VLAN routing on the switches only
AnswerA

Firewall policies govern whether the FortiGate forwards or inspects traffic between interfaces. Without a policy permitting the VLAN-to-VLAN flow, traffic is denied; adding one ensures the FortiGate processes the packets rather than bypassing inspection at layer 2.

Why this answer

To inspect inter-VLAN traffic, the FortiGate must be the gateway for each VLAN, and firewall policies must be configured between the VLAN interfaces. This forces traffic to be routed by the FortiGate, allowing it to apply security profiles and inspection. Without policies, traffic may be dropped or not inspected.

Exam trap

NSE7_EFW often tests the confusion between transparent mode and NAT/route mode for inter-VLAN inspection; candidates may incorrectly choose transparent mode or switch-based routing.

How to eliminate wrong answers

Option B is wrong because enabling hardware switching on the FortiGate (or using a switch) would offload traffic at Layer 2, bypassing the FortiGate's inspection. Option C is wrong because transparent mode is used when the FortiGate is a Layer 2 bridge, but for inter-VLAN routing, the FortiGate must be in NAT/route mode to act as a gateway. Option D is wrong because enabling inter-VLAN routing on the switches only would route traffic without FortiGate inspection, defeating the purpose.

3
MCQmedium

A FortiGate is configured with a route-based IPsec VPN to a remote branch. The administrator wants to monitor the VPN tunnel status and bring it up automatically. Which interface must be referenced in the firewall policy to allow traffic through the tunnel?

A.The loopback interface
B.The IPsec tunnel interface (e.g., VPN_Tunnel)
C.The WAN interface with the public IP address
D.The physical egress interface
AnswerB

In a route-based IPsec VPN, a virtual tunnel interface is created (e.g., VPN_Tunnel). Firewall policies must reference this interface to allow traffic into and out of the tunnel. The tunnel interface is also used for routing and for monitoring the tunnel status via Dead Peer Detection (DPD).

Why this answer

For a route-based IPsec VPN, the FortiGate creates a virtual tunnel interface. Firewall policies must reference this tunnel interface to permit traffic into and out of the VPN. This allows the FortiGate to apply security profiles and route traffic based on the tunnel's IP addressing, and it enables tunnel monitoring through DPD.

Exam trap

The trap here is confusing the physical WAN interface that carries the encrypted packets with the logical tunnel interface that handles the decrypted traffic and must be referenced in policies.

4
MCQhard

A FortiGate is configured with a site-to-site IPsec VPN to a branch office. The administrator notices that the tunnel is up, but traffic is not passing. After checking, they find that the phase 2 selectors on both peers match, and firewall policies allow the traffic. What is a likely cause?

A.Missing static route for the remote subnet.
B.Incorrect IPsec phase 2 key lifetime.
C.The remote gateway IP address is incorrect.
D.The phase 1 proposal mismatch.
AnswerA

Even if the tunnel is up and policies allow traffic, the FortiGate needs a route to direct packets destined for the remote subnet into the VPN tunnel. Without a static route pointing to the tunnel interface (or a route learned via routing protocol), traffic will not be sent through the tunnel and may be dropped or routed incorrectly.

Why this answer

For traffic to traverse an IPsec tunnel, the FortiGate must have a route that directs packets for the remote subnet out the tunnel interface. Without this route, the FortiGate will not send traffic into the tunnel, even if the tunnel is up and policies permit it. This is a common oversight in site-to-site VPN configurations.

Exam trap

The trap here is focusing on IPsec parameters like proposals or lifetimes when the tunnel is already up, overlooking the need for a route to direct traffic into the tunnel.

5
Multi-Selectmedium

Which TWO of the following are benefits of using the FortiGate flow-based inspection mode?

Select 2 answers
A.It supports deep content inspection for all protocols
B.It uses fewer system resources than proxy-based inspection
C.It provides higher throughput performance
D.It requires manual buffer allocation
E.It offers more granular application control
AnswersB, C

Flow-based inspection streams packets through the FortiGate without buffering whole files or reassembling full payloads, so it consumes less CPU and memory than proxy-based inspection, which terminates and rebuilds each session. This resource efficiency is the benefit the option names.

Why this answer

Flow-based inspection is beneficial because it uses fewer system resources than proxy-based inspection (B): instead of buffering and reassembling full content in a proxy, it inspects packets as they stream through, so it consumes less CPU and memory. It also provides higher throughput performance (C), since the single-pass, stream-oriented engine avoids the store-and-forward overhead and per-protocol proxy processing that slows proxy-based mode. Options A and E are not flow-mode benefits: deep content inspection for all protocols and more granular application control are strengths associated with proxy-based inspection, which can buffer and fully decode traffic.

Option D is incorrect because manual buffer allocation is not a requirement or benefit of flow-based inspection; buffering is largely handled automatically and minimized in this mode.

Exam trap

NSE7_EFW often tests the trade-off between flow-based and proxy-based inspection, and candidates incorrectly assume flow-based provides deeper inspection or requires manual buffering, when the opposite is true.

6
MCQmedium

You are configuring a site-to-site IPsec VPN between two FortiGates. The VPN must be highly available, and you want to use two ISP links on each side. You configure two phase 1 interfaces on each FortiGate, each bound to a different WAN interface. You want the VPN to fail over automatically if one ISP link goes down. Which configuration is required to achieve this?

A.Configure the two phase 1 interfaces with different names and enable dead peer detection (DPD) on both.
B.Configure the two phase 1 interfaces with the same name and enable IPsec aggregate.
C.Configure the two phase 1 interfaces with different names, and use route-based VPN with two tunnel interfaces and configure FortiGate to monitor the tunnels and adjust routing accordingly.
D.Configure the two phase 1 interfaces with the same remote gateway and enable IPsec replay protection.
AnswerC

Route-based VPNs create virtual tunnel interfaces that can be monitored. By configuring two tunnels and using link health monitoring or routing protocols, the FortiGate can detect a failure and remove the route to the failed tunnel, causing traffic to use the remaining tunnel. This provides automatic failover. This is the recommended design for redundant IPsec VPNs.

Why this answer

For automatic failover with two ISP links, a route-based VPN with two tunnel interfaces is required. Each tunnel interface is associated with a phase 1 bound to a different WAN interface. By monitoring the tunnel interfaces (e.g., using link health monitoring or a routing protocol like BGP), the FortiGate can detect when a tunnel goes down and remove its route, causing traffic to fail over to the other tunnel.

Exam trap

The trap here is thinking that DPD alone provides failover; DPD detects failures but does not reroute traffic without a routing mechanism.

7
Multi-Selectmedium

A network administrator is configuring a new SSL VPN on a FortiGate to allow remote users to access internal resources. The administrator wants to ensure that only authorized users can connect and that they can reach the internal network. Which TWO configurations are required to achieve this? (Choose two.)

Select 2 answers
A.Create a firewall policy that allows SSL VPN traffic from the SSL VPN interface to the internal network.
B.Configure a static route for the SSL VPN subnet to the internal network.
C.Configure an SSL VPN portal and assign it to the users or groups.
D.Set up a RADIUS server for authentication and configure the FortiGate to use it.
E.Enable split tunneling to allow users to access the internet directly.
AnswersA, C

A firewall policy is required to permit traffic from the SSL VPN tunnel interface to the internal network. Without this policy, even if users authenticate, their traffic will be blocked. This policy should specify the source as the SSL VPN users or groups and the destination as the internal subnet.

Why this answer

To enable SSL VPN access, two essential configurations are required: an SSL VPN portal that defines what users can access and how, and a firewall policy that allows traffic from the SSL VPN interface to the internal network. The portal must be assigned to users or groups, and the policy must permit the traffic. Without either, users cannot connect or reach resources, regardless of authentication method.

Exam trap

The trap here is assuming that authentication alone is sufficient, when in fact a portal and a firewall policy are both mandatory for SSL VPN to function.

8
MCQmedium

A FortiGate is configured with a route-based IPsec VPN to a remote site. The tunnel is up, and the routing table shows a route to the remote subnet via the VPN interface. However, traffic from the local subnet is not reaching the remote subnet. The administrator runs a packet capture and sees that packets are leaving the FortiGate but not returning. What is the most likely cause?

A.The FortiGate's IPsec tunnel is using IKEv1, which does not support route-based VPNs.
B.The local FortiGate's firewall policy does not have NAT enabled for the VPN traffic.
C.The remote site's firewall is blocking the traffic because it does not have a matching firewall policy.
D.The phase-2 selectors are misconfigured and do not include the local subnet.
AnswerC

In a route-based VPN, traffic is sent through the tunnel based on routing. However, the remote FortiGate must have a firewall policy that allows traffic from the VPN tunnel to the internal network. If the remote site lacks an appropriate policy, incoming packets will be dropped, and no return traffic will be sent. This matches the symptom of packets leaving the local FortiGate but not returning.

Why this answer

In a route-based IPsec VPN, traffic is routed into the tunnel, but the remote FortiGate must have a firewall policy that permits traffic from the VPN interface to the internal network. Without such a policy, the remote FortiGate drops the packets, and no return traffic is generated. The local FortiGate shows packets leaving but none returning, which is consistent with a remote policy block.

Exam trap

The trap here is focusing on local VPN or NAT settings when the return traffic is missing, while overlooking the need for a firewall policy on the remote peer to allow inbound VPN traffic.

9
MCQeasy

A network administrator needs to allow remote users to access internal resources securely using FortiClient. The administrator wants to use certificate-based authentication for the VPN. Which component must be installed on the FortiClient endpoints to enable certificate authentication?

A.A client certificate issued by a CA trusted by the FortiGate.
B.A pre-shared key configured in the FortiClient VPN profile.
C.The root CA certificate that signed the FortiGate's server certificate.
D.The FortiGate's SSL VPN portal certificate.
AnswerA

For certificate-based authentication, the FortiGate must verify the client's certificate. Therefore, the client must have a personal certificate issued by a CA that the FortiGate trusts. The FortiGate checks the certificate's signature against its trusted CA list. This certificate is presented during the IKE or SSL VPN authentication phase to prove the client's identity.

Why this answer

Certificate-based authentication requires the client to present a certificate that the FortiGate can validate against its trusted CAs. The client certificate contains the user's identity and is signed by a CA that the FortiGate trusts. The FortiGate then maps the certificate to a user or group.

The root CA certificate on the client is only for validating the server, not for client authentication.

Exam trap

The trap here is mixing up server and client certificates; the client needs its own certificate, not the server's or the root CA alone.

10
MCQmedium

A network administrator is configuring an IPsec VPN between two FortiGates. The administrator wants to ensure that only specific subnets are allowed through the tunnel, and that traffic to other subnets is dropped. Which configuration element directly defines the traffic selectors for the VPN?

A.Phase 1 proposal
B.Phase 2 selector
C.Firewall address objects
D.Static route entries
AnswerB

The phase 2 selector, also known as the quick mode selector, defines the source and destination subnets that are permitted through the IPsec tunnel. By specifying local and remote subnets, the administrator controls which traffic is encrypted and sent over the VPN. Any traffic not matching the selector is not allowed through the tunnel, effectively dropping it. This directly fulfills the requirement to allow only specific subnets.

Why this answer

The phase 2 selector defines the source and destination subnets that are allowed through the IPsec tunnel. It acts as a traffic filter, ensuring only matching traffic is encrypted and sent over the VPN. Other elements like phase 1 proposals, firewall address objects, and static routes serve different purposes and do not directly define the selectors.

Therefore, the phase 2 selector is the correct answer.

Exam trap

The trap here is confusing the roles of phase 1 and phase 2, or thinking that firewall address objects or routes define the tunnel's traffic selectors.

11
MCQeasy

An administrator wants to configure a FortiGate to perform deep inspection of SSL traffic for a specific web server. The goal is to detect and block malicious content in HTTPS sessions. What must be installed on the client devices to allow this inspection?

A.A CA certificate that is used by the FortiGate for SSL inspection.
B.A client certificate for each user.
C.The FortiGate's default self-signed certificate.
D.The web server's public certificate.
AnswerA

When deep inspection is enabled, the FortiGate acts as a man-in-the-middle, generating certificates for websites signed by its CA certificate. The client must trust this CA to avoid errors and allow inspection. Therefore, the CA certificate must be installed on client devices.

Why this answer

Deep SSL inspection requires the FortiGate to decrypt and re-encrypt traffic, presenting its own certificates to clients. These certificates are signed by a CA certificate on the FortiGate. For clients to accept these certificates without warnings and for inspection to work seamlessly, the FortiGate's CA certificate must be installed and trusted on the client devices.

Without it, clients will see certificate errors and may block the connection.

Exam trap

The trap here is confusing the FortiGate's default certificate with the CA certificate needed for deep inspection; only the CA certificate enables seamless inspection.

12
MCQmedium

You notice that an IPsec tunnel is up, but no traffic passes. What is the most common reason related to firewall policy configuration?

A.Missing static route
B.Incorrect IKE ID
C.Phase 1 lifetime expiration
D.Missing firewall policy
AnswerD

An IPsec tunnel can negotiate successfully at IKE and IPsec levels while firewall policy silently drops the encapsulated traffic. Without a policy permitting the tunnel's traffic, no packets pass despite the tunnel showing as up.

Why this answer

An IPsec tunnel can be fully up (Phase 1 and Phase 2 SAs established) yet pass no traffic if there is no firewall policy that permits the interesting traffic between the two protected subnets. FortiGate requires an explicit firewall policy matching source, destination, and service to allow traffic through the tunnel; without it, the implicit deny drops the packets even though the tunnel itself is healthy.

Exam trap

The trap here is assuming that a healthy tunnel guarantees traffic flow; candidates forget that FortiGate still enforces firewall policy on IPsec traffic, so a missing policy is the classic cause of 'tunnel up, no traffic'.

How to eliminate wrong answers

Option A is wrong because a missing static route would typically prevent the tunnel from coming up or prevent the FortiGate from routing encapsulated packets to the remote gateway, but the question states the tunnel is already up. Option B is wrong because an incorrect IKE ID would cause Phase 1 negotiation to fail, so the tunnel would not be up at all. Option C is wrong because Phase 1 lifetime expiration would tear down and renegotiate the tunnel, not silently drop traffic while the tunnel remains up.

13
MCQeasy

A network administrator is configuring a new FortiGate firewall policy to allow HTTP traffic from the internal network to the internet. The policy is configured with NAT enabled and uses the outgoing interface's IP address. Which statement describes the source IP address seen by the external web server?

A.The IP address of the FortiGate's outgoing interface.
B.The original source IP address of the internal client.
C.A randomly selected IP address from the FortiGate's IP pool.
D.The IP address of the FortiGate's internal interface.
AnswerA

When NAT is enabled and set to use the outgoing interface address, the FortiGate performs source NAT (SNAT), replacing the internal client's source IP with the IP address of the interface that sends the traffic. This allows the internal client to access external resources while hiding its private IP.

Why this answer

With NAT enabled and configured to use the outgoing interface address, the FortiGate translates the source IP of internal clients to the IP address of the interface that forwards the traffic. This is the typical configuration for allowing internal users to access the internet, and it ensures that return traffic is routed back through the FortiGate.

Exam trap

The trap here is assuming that NAT always uses an IP pool, or forgetting that the outgoing interface address is used when no pool is specified.

14
MCQeasy

A network administrator wants to allow only specific users to access a web application through the FortiGate. The users are stored in an LDAP directory. Which FortiGate feature should be used to enforce this?

A.RADIUS authentication with a proxy server
B.TACACS+ with a custom user group
C.LDAP integration with user group and firewall policy
D.Local user database with two-factor authentication
AnswerC

Integrating the FortiGate with the LDAP directory allows authentication against existing credentials. By creating a user group that references the LDAP server and applying it to a firewall policy, only members of that group can access the web application. This leverages centralized user management and enforces access control.

Why this answer

Using LDAP integration, the FortiGate can authenticate users against the existing directory. A firewall policy that includes the LDAP user group restricts access to only those users. This is the most efficient and centralized method, avoiding duplicate user accounts and leveraging existing infrastructure.

Exam trap

The trap here is thinking that local authentication is simpler, but it does not scale and ignores the existing LDAP directory.

15
MCQmedium

You are configuring a FortiGate to perform deep inspection of HTTPS traffic. After enabling SSL inspection on a firewall policy, users report that some websites show certificate warnings. You have installed the FortiGate's CA certificate on all user workstations. What is the most likely reason for the warnings?

A.The FortiGate's CA certificate has expired.
B.The users' browsers are not configured to use the FortiGate as a proxy.
C.The websites use certificate pinning, which prevents the FortiGate from re-signing the certificates.
D.The SSL inspection profile is set to certificate inspection instead of deep inspection.
AnswerC

Certificate pinning is a security mechanism where the application or browser expects a specific certificate or public key. When the FortiGate performs deep inspection, it re-signs the server certificate with its own CA. If the client pins the original certificate, it will detect a mismatch and display a warning or block the connection.

Why this answer

Certificate pinning causes the client to expect a specific certificate. When deep inspection is enabled, the FortiGate re-signs the server certificate, breaking the pin and triggering a warning. This is a common issue with certain applications and websites that implement pinning.

Exam trap

The trap here is assuming that installing the CA certificate on all workstations resolves all certificate warnings, but certificate pinning can still cause warnings.

16
MCQmedium

An administrator is troubleshooting an IPsec VPN tunnel that is not establishing. The phase 1 configuration uses pre-shared keys, and both peers are FortiGates. Which command would provide the most detailed information about the IKE negotiation?

A.diagnose sniffer packet any 'host <peer-ip> and port 500' 4
B.diagnose vpn ike gateway list
C.diagnose debug application ike -1
D.get vpn ipsec tunnel details
AnswerC

This command enables real-time debugging of the IKE process, showing detailed negotiation messages, including proposals, errors, and authentication steps. It is the most granular tool for troubleshooting IKE phase 1 and phase 2 issues. The output can be extensive, so it is often used with filters.

Why this answer

The 'diagnose debug application ike -1' command provides detailed IKE negotiation output, including proposals, authentication, and any errors. This is the most effective way to pinpoint why an IPsec tunnel is failing to establish. Other commands show status or packets but lack the depth of the IKE debug.

Exam trap

The trap here is relying on packet capture alone, which shows packets but not the FortiGate's internal IKE processing or error messages.

17
MCQhard

A FortiGate is configured with an IPsec VPN to a remote peer. The administrator wants to ensure that only specific subnets are allowed over the tunnel, and that traffic from any other subnet is dropped. Which configuration element on the FortiGate directly enforces this?

A.Static routes with higher priority
B.Firewall address objects
C.IPsec phase 1 proposals
D.Phase 2 selectors
AnswerD

Phase 2 selectors define the local and remote subnets that are permitted through the IPsec tunnel. If traffic does not match these selectors, it is not encrypted or sent over the tunnel, effectively dropping it. This directly enforces the subnet restriction at the tunnel level.

Why this answer

Phase 2 selectors specify the exact local and remote subnets that are allowed to use the IPsec tunnel. Traffic not matching these selectors is not encrypted or forwarded through the tunnel, effectively dropping it. This provides a granular control to restrict VPN traffic to specific subnets, which is the requirement in this scenario.

Exam trap

The trap here is confusing the role of phase 1 and phase 2 in IPsec, assuming that phase 1 proposals or firewall address objects enforce subnet restrictions.

18
MCQeasy

An administrator wants to allow remote users to access the corporate network using SSL VPN. The administrator needs to ensure that users can only access specific internal web servers. Which SSL VPN configuration mode should be used to provide granular access control to specific applications?

A.Web mode
B.Tunnel mode
C.Port forward mode
D.IPsec VPN
AnswerA

Web mode allows users to access specific web applications through a portal without a full tunnel. It provides granular control because you can define which web servers are available in the portal. This meets the requirement of accessing only specific internal web servers, as each bookmark can be controlled.

Why this answer

SSL VPN web mode is designed to provide access to specific web applications through a portal. It allows administrators to define bookmarks for internal web servers, giving granular control over which servers users can access. Tunnel mode provides full network access, port forward mode is for specific TCP ports, and IPsec VPN is a different technology.

Exam trap

The trap here is confusing SSL VPN modes, especially thinking tunnel mode provides the same granularity for web applications as web mode.

19
MCQmedium

Which FortiGate feature should be enabled to prevent internal users from accessing malicious websites based on real-time threat intelligence?

A.Antivirus profile
B.Web Filter
C.Application Control
D.DNS Filter
AnswerB

Web Filter enforces URL and category-based policies using FortiGuard real-time threat intelligence, blocking malicious sites before content loads. It satisfies the stem's requirement to prevent internal users reaching malicious websites by inspecting HTTP/HTTPS requests against continuously updated FortiGuard classifications, unlike DNS Filter, which only resolves or blocks domain lookups.

Why this answer

A Web Filter profile on FortiGate inspects HTTP/HTTPS requests and can block or allow URLs based on FortiGuard category ratings and real-time threat intelligence, including malicious and newly observed domains. It is the feature specifically designed to prevent users from reaching malicious websites. Other profiles address different threat vectors (malware files, applications, DNS queries) and do not provide the same URL-reputation-based blocking.

Exam trap

The trap is confusing Web Filter with DNS Filter or Antivirus — all three touch 'malicious' traffic, but only Web Filter rates and blocks websites by URL reputation using real-time FortiGuard threat intelligence.

How to eliminate wrong answers

Option A is wrong because an Antivirus profile scans files and protocols for malware signatures; it does not rate or block websites by URL reputation, so it will not stop a user from browsing to a malicious site that serves no file payload. Option C is wrong because Application Control identifies and controls applications by behavior (e.g., Facebook, BitTorrent) rather than by website reputation or threat intelligence. Option D is wrong because DNS Filter blocks or redirects DNS queries based on FortiGuard DNS categories and botnet lists — it is complementary and can block malicious domains at resolution time, but the question asks for the feature that blocks access to malicious websites based on real-time threat intelligence, which is the Web Filter's URL-rating function.

20
MCQhard

A security administrator is configuring an SSL inspection profile on a FortiGate to inspect HTTPS traffic. The administrator wants to ensure that the FortiGate can decrypt and inspect traffic without causing certificate errors on client browsers. Which certificate must be installed on the client endpoints to prevent certificate warnings?

A.The FortiGate's local certificate used for IPsec VPN.
B.The FortiGate's default self-signed certificate.
C.The web server's public certificate.
D.The SSL inspection CA certificate generated by the FortiGate.
AnswerD

When the FortiGate performs SSL inspection, it acts as a man-in-the-middle and generates certificates for each website on the fly, signed by its own CA certificate. To avoid certificate warnings, the client must trust this CA certificate. Installing the FortiGate's SSL inspection CA certificate on client endpoints ensures that the generated certificates are trusted, preventing browser warnings.

Why this answer

The SSL inspection CA certificate generated by the FortiGate must be installed and trusted on client endpoints to prevent certificate warnings. When the FortiGate inspects SSL traffic, it generates certificates signed by this CA. If clients do not trust this CA, they will see warnings.

The other certificates are not used for signing the inspected traffic, so they would not prevent warnings.

Exam trap

The trap here is confusing the SSL inspection CA certificate with the FortiGate's default self-signed certificate or the web server's certificate.

21
MCQmedium

You are implementing SSL VPN and need to ensure that only compliant corporate laptops can connect. Which feature should you use?

A.Host check
B.SSL VPN portal settings
C.Two-factor authentication
D.PKI user authentication
AnswerA

Host check enforces endpoint compliance before granting SSL VPN access, verifying antivirus status, OS patches and firewall settings on the connecting device. It satisfies the stem's constraint that only compliant corporate laptops may connect, blocking non-compliant or unmanaged endpoints at authentication.

Why this answer

Host check (also called host checking or endpoint compliance) in FortiOS SSL VPN evaluates the connecting endpoint against configured compliance rules — such as OS version, antivirus presence, or registry keys — before granting access. This ensures only compliant corporate laptops can establish the tunnel.

Exam trap

NSE7_EFW often tests the confusion between authentication (who you are — 2FA, PKI) and endpoint compliance (is your device healthy — host check), causing candidates to pick 2FA or PKI.

How to eliminate wrong answers

Option B is wrong because SSL VPN portal settings control what resources and bookmarks users see after authentication, not whether the endpoint is compliant. Option C is wrong because two-factor authentication verifies user identity (something you have plus something you know), not device posture. Option D is wrong because PKI user authentication validates the user's certificate identity, which proves who they are but not whether their device meets compliance requirements.

22
MCQeasy

A network administrator is configuring an IPsec VPN between two FortiGates. The administrator wants to ensure that only traffic from the 10.0.0.0/24 subnet is encrypted and sent over the tunnel. Which configuration element must be defined on both FortiGates to match this traffic?

A.Phase 1 proposal
B.Phase 2 selectors
C.Firewall address objects
D.Static route entries
AnswerB

Phase 2 selectors, also known as quick mode selectors, define the source and destination subnets that are allowed to traverse the IPsec tunnel. By configuring the local and remote subnets as 10.0.0.0/24, only traffic between these subnets is encrypted. This directly meets the requirement to encrypt only that specific subnet's traffic.

Why this answer

Phase 2 selectors define the traffic that is encrypted and sent over the IPsec tunnel. They specify the local and remote subnets. Firewall address objects and static routes are used for policy and routing but do not define the encryption domain.

Phase 1 proposals are for IKE SA negotiation.

Exam trap

The trap here is assuming that firewall address objects or routes determine encryption, when actually phase 2 selectors define the interesting traffic.

23
MCQmedium

You are configuring a route-based IPsec VPN between two FortiGates. The VPN is up, but traffic from the local subnet is not being encrypted and sent over the tunnel; instead, it is being sent unencrypted out of the WAN interface. You have verified that the phase 1 and phase 2 selectors match on both sides. What is the most likely cause?

A.The remote gateway's public IP address is not reachable, so the FortiGate cannot establish the tunnel.
B.The dead peer detection (DPD) settings are too aggressive, causing the tunnel to flap.
C.The phase 2 selector must be set to 0.0.0.0/0 on both sides to allow any traffic.
D.The IPsec tunnel interface is not included in the outgoing firewall policy that matches the local subnet traffic.
AnswerD

For route-based VPNs, the tunnel interface must be referenced in a firewall policy that permits traffic from the local subnet to the remote subnet, with the tunnel interface as the outgoing interface. Without this policy, the FortiGate will not encrypt traffic and may fall back to another route, sending it unencrypted.

Why this answer

In a route-based IPsec VPN, the tunnel interface must be used in a firewall policy that matches the traffic to be encrypted. Without such a policy, the FortiGate will not encrypt the traffic and will route it according to the routing table, potentially sending it unencrypted out of the WAN interface. Thus, the missing policy is the most likely cause.

Exam trap

The trap here is assuming that a route-based VPN automatically encrypts all traffic between the specified subnets without needing a firewall policy.

24
Multi-Selectmedium

Which TWO of the following can be used to optimize IPsec VPN performance?

Select 2 answers
A.Increase the Phase 1 lifetime to 24 hours
B.Use DES encryption for speed
C.Ensure the configuration uses AES-NI supported ciphers
D.Use hardware acceleration (ASIC offloading)
E.Disable NAT-Traversal
AnswersC, D

AES-NI is a CPU instruction set that offloads AES encryption from software to dedicated silicon. Selecting AES-NI supported ciphers lets the FortiGate encrypt and decrypt IPsec payloads far faster, raising throughput and lowering CPU load versus software-only cipher processing.

Why this answer

Option C is correct because selecting AES-NI supported ciphers (such as AES-GCM or AES-CBC) allows the CPU to use dedicated AES-NI instruction sets, dramatically accelerating symmetric encryption and integrity processing for IPsec traffic. Option D is correct because hardware acceleration via ASIC offloading moves IPsec encryption, hashing, and encapsulation from the general-purpose CPU to dedicated crypto hardware, increasing throughput and reducing latency for VPN tunnels. Option A is not appropriate because a 24-hour Phase 1 (IKE SA) lifetime is unusually long and does not optimize performance; it mainly affects rekey frequency and can weaken security without improving throughput.

Option B is incorrect because DES is a weak, legacy cipher and is actually slower and less secure than AES on modern hardware. Option E is incorrect because disabling NAT-Traversal does not improve performance and can break IPsec connectivity when NAT devices are present.

Exam trap

NSE7_EFW often tests whether candidates equate 'faster cipher' with 'better performance' — DES is faster in software but insecure, while the correct answer pairs AES-NI with hardware offload for both speed and security.

25
MCQhard

A network administrator is configuring a FortiGate to perform deep inspection of SSL traffic for a group of users. The administrator wants to ensure that the FortiGate can decrypt and inspect the traffic without generating certificate warnings for the users. Which certificate must be installed on the client endpoints to prevent certificate warnings?

A.The CA certificate that signed the FortiGate's deep inspection certificate.
B.The FortiGate's SSH certificate.
C.The FortiGate's default self-signed certificate.
D.The web server's original certificate.
AnswerA

For deep inspection, the FortiGate re-signs server certificates with a certificate generated by a CA. For clients to trust this re-signed certificate without warnings, the CA certificate must be installed in the clients' trusted root store. This allows the client to verify the signature and establish trust, preventing warnings when the FortiGate intercepts SSL traffic.

Why this answer

To avoid certificate warnings during deep SSL inspection, the CA certificate that signed the FortiGate's inspection certificate must be installed as a trusted root on client devices. This enables clients to trust the certificates generated by the FortiGate for intercepted sessions, ensuring seamless inspection.

Exam trap

The trap here is confusing the FortiGate's self-signed certificate with the CA certificate used for deep inspection; only the CA certificate needs to be trusted by clients.

26
MCQmedium

When using an IPS sensor, what is the difference between 'Protect' and 'Monitor' mode?

A.Protect applies only to WAN; Monitor applies to LAN
B.Protect drops traffic; Monitor only logs it
C.Protect requires SSL inspection; Monitor does not
D.Protect logs traffic; Monitor drops it
AnswerB

Protect mode actively blocks matching traffic by dropping packets inline, while Monitor mode permits all matching traffic to pass and records events for analysis. This satisfies the stem's requirement to distinguish the two IPS sensor actions: enforcement versus visibility only, with no traffic disruption in Monitor.

Why this answer

In a FortiGate IPS sensor, each signature can be set to 'Monitor' or 'Protect' (or 'Disable'). Monitor mode generates a log/event when the signature matches but does not block the traffic, allowing baselining and false-positive tuning. Protect mode actively drops or resets the offending session in addition to logging, enforcing the signature.

Exam trap

NSE7_EFW often tests the reversed definition — candidates may think Monitor drops and Protect logs — or confuse IPS action modes with interface roles or SSL inspection requirements.

How to eliminate wrong answers

Option A is wrong because Protect/Monitor are per-signature actions, not interface-scoped (WAN vs LAN) settings. Option C is wrong because SSL inspection is a separate profile setting and is not required for Protect mode; IPS can inspect cleartext traffic without SSL inspection. Option D is wrong because it reverses the definitions — Protect drops (and logs), Monitor only logs.

27
Multi-Selectmedium

A FortiGate is configured as a dial-up IPsec VPN server. Remote users connect using FortiClient. The administrator wants to ensure that each remote user receives an IP address from a dedicated pool and that only specific internal subnets are accessible. Which TWO actions are required on the FortiGate to meet these requirements? (Choose two.)

Select 2 answers
A.Configure a mode-config with an IP pool and assign it to the dial-up tunnel.
B.Configure a static route for the remote user subnet pointing to the IPsec tunnel interface.
C.Enable XAuth on the dial-up tunnel and configure a user group with local users.
D.Create a firewall policy that allows traffic from the IPsec tunnel interface to the specific internal subnets.
E.Set the IPsec tunnel to aggregate mode to combine multiple dial-up connections.
AnswersA, D

Mode-config is used in dial-up IPsec VPNs to assign IP addresses to remote peers. By specifying an IP pool, each connecting FortiClient receives an address from that pool, which can then be used in firewall policies to control access to internal subnets. This is the correct method to meet the requirement of dedicated IP assignment.

Why this answer

To assign IP addresses to dial-up VPN users, mode-config with an IP pool is required. Firewall policies then control which internal subnets those users can access. XAuth is for authentication, static routes are unnecessary, and aggregate mode is for combining tunnels, so those do not meet the stated requirements.

Exam trap

The trap here is confusing authentication mechanisms like XAuth with IP address assignment, which is actually handled by mode-config.

28
MCQeasy

A network administrator is configuring SSL inspection for a group of users. Which certificate must be installed on the client endpoints to prevent browser certificate warnings?

A.The FortiGate CA certificate used for SSL inspection
B.The FortiGate's local device certificate
C.The Fortinet_Factory CA certificate
D.A third-party public CA certificate
AnswerA

SSL inspection requires the FortiGate's inspection CA certificate, not the server's, to be trusted on endpoints. Installing this CA lets the FortiGate re-sign intercepted sessions, so browsers validate the substituted certificate and no warning appears.

Why this answer

When configuring SSL inspection, the FortiGate acts as a man-in-the-middle, presenting its own certificate to clients. To prevent browser warnings, the FortiGate CA certificate used for SSL inspection must be installed as a trusted root CA on client endpoints. This allows clients to trust the certificates generated by the FortiGate.

Exam trap

NSE7_EFW often tests SSL inspection certificate requirements; candidates may confuse the CA certificate with the device certificate or factory certificate, but only the inspection CA needs to be trusted by clients.

How to eliminate wrong answers

Option B is wrong because the FortiGate's local device certificate is used for its own management interface, not for SSL inspection. Option C is wrong because the Fortinet_Factory CA certificate is a default certificate for FortiGate's factory defaults, not for SSL inspection. Option D is wrong because a third-party public CA certificate cannot be used to sign certificates on the fly for inspection; the FortiGate uses its own CA.

29
MCQmedium

An administrator has configured a FortiGate with two WAN interfaces and wants to ensure that outbound traffic is load-balanced across both links while maintaining session persistence. They have enabled SD-WAN and created two members. Which SD-WAN load-balancing algorithm should they use to distribute traffic based on source IP and ensure that each source IP consistently uses the same link?

A.Round Robin
B.Source IP
C.Session Hash
D.Weighted Round Robin
AnswerB

The 'Source IP' load-balancing algorithm in SD-WAN distributes traffic based on the source IP address. All sessions from the same source IP will use the same link, providing session persistence. This is ideal for scenarios where you want to avoid breaking sessions that may not handle mid-session link changes well. It is a simple and effective method for load balancing while maintaining consistency per source.

Why this answer

The 'Source IP' algorithm in SD-WAN load balancing uses the source IP address to select a link. All sessions from a given source IP will consistently use the same link, providing session persistence. Round Robin and Weighted Round Robin distribute per session without regard to source, and Session Hash uses the full 5-tuple, which can vary per session.

Only Source IP ensures each source IP sticks to one link.

Exam trap

The trap here is confusing Session Hash with Source IP; Session Hash uses the entire 5-tuple, so different sessions from the same source may use different links.

30
MCQeasy

What is the primary function of the FortiGate Security Fabric?

A.To configure OSPF automatically
B.To increase the throughput of the firewall
C.To replace the need for an IPS sensor
D.To synchronize security policies and share intelligence across devices
AnswerD

Security Fabric links FortiGates and fabric-connected devices so they synchronise policies and share threat intelligence automatically. This satisfies the requirement for centralised, coordinated enforcement across the estate, rather than each device operating in isolation with its own local configuration.

Why this answer

The FortiGate Security Fabric is an integrated architecture that connects FortiGate, FortiAnalyzer, FortiManager, FortiSandbox, FortiClient, and other Fabric-ready products so they can share threat intelligence, synchronize security policies, and coordinate response. Its primary function is that cross-product synchronization and intelligence sharing, not raw throughput or routing. This is what enables automated, end-to-end protection across the network.

Exam trap

The trap is treating the Security Fabric as a performance or routing feature — candidates pick 'increase throughput' or 'replace IPS' when the Fabric is fundamentally about integration, synchronization, and shared threat intelligence across devices.

How to eliminate wrong answers

Option A is wrong because OSPF configuration is a routing protocol function performed on FortiGate itself; the Security Fabric does not automatically configure OSPF. Option B is wrong because the Security Fabric is an architectural/integration framework, not a performance feature — it does not increase firewall throughput. Option C is wrong because the Security Fabric does not replace IPS; it integrates with and can share threat intelligence with IPS and other security profiles, but IPS sensors are still required for intrusion prevention.

31
MCQeasy

A network administrator is troubleshooting a FortiGate firewall policy. Traffic that should be allowed is being blocked, and the administrator suspects that the policy is not matching because of the order of policies. Which FortiGate feature can be used to verify which policy a specific traffic flow matches?

A.Session table
B.Debug flow
C.Packet capture
D.Policy lookup
AnswerD

Policy lookup is a tool in the FortiGate GUI and CLI that allows administrators to simulate a traffic flow by specifying source, destination, and service. It then shows which policy would match, or if no policy matches. This directly helps troubleshoot policy ordering issues by revealing the matching policy for specific traffic parameters.

Why this answer

Policy lookup is designed specifically to check which policy matches a given set of traffic parameters without generating actual traffic. It is the quickest way to verify policy order and matching criteria, making it ideal for troubleshooting why traffic is blocked due to policy sequencing.

Exam trap

The trap here is thinking that debug flow or session table is the primary tool for policy matching, but policy lookup is the dedicated feature for this purpose.

32
Multi-Selecthard

A network administrator is deploying a new FortiGate in a Security Fabric with multiple FortiGates and FortiSwitches. The administrator wants to ensure that the Security Fabric can automatically discover and authorize new devices. Which two configuration steps are required on the root FortiGate? (Choose two.)

Select 2 answers
A.Configure a dedicated management VDOM for the Security Fabric.
B.Enable device detection on the interfaces connected to the fabric devices.
C.Set the root FortiGate's role to 'root' in the Security Fabric settings.
D.Enable Security Fabric in the system settings and configure a group name and password.
E.Configure a static route to each fabric device's management IP address.
AnswersB, D

Device detection must be enabled on the interfaces that connect to other fabric devices. This allows the FortiGate to discover FortiSwitches, FortiAPs, and other FortiGates. Without device detection, the root FortiGate cannot automatically identify and authorize new devices. This is a critical step for automatic discovery.

Why this answer

To enable automatic discovery and authorization in Security Fabric, the root FortiGate must have Security Fabric enabled with a group name and password, and device detection must be enabled on the interfaces connected to fabric devices. These steps allow the root to discover and authenticate new FortiGates and FortiSwitches.

Exam trap

The trap here is thinking that a dedicated management VDOM or static routes are required; they are not, as the fabric uses existing interfaces and device detection.

33
MCQeasy

Which command is used to troubleshoot connectivity by checking the routing table of a specific IP address on the FortiGate?

A.diagnose sniffer packet
B.get router info routing-table detail <ip>
C.get system status
D.exec ping-options
AnswerB

This command queries the FortiGate routing table and returns the matching route plus its detail for the specified destination IP, confirming which interface and gateway traffic will use. That directly satisfies the connectivity troubleshooting requirement.

Why this answer

'get router info routing-table detail <ip>' queries the FortiGate's routing table for the specific destination IP, showing the matched route, next-hop, interface, and metric. This is the standard CLI command for verifying which route a packet to a given IP will take, making it the correct troubleshooting tool for routing lookups.

Exam trap

The trap is mixing up diagnostic commands that sound similar — candidates may pick 'diagnose sniffer packet' because it's a famous FortiGate troubleshooting command, but it does not inspect the routing table.

How to eliminate wrong answers

Option A is wrong because 'diagnose sniffer packet' captures live packet data, not routing table entries. Option C is wrong because 'get system status' shows firmware, serial number, and uptime — not routing information. Option D is wrong because 'exec ping-options' configures ping parameters (source, size, etc.) and does not display routing tables.

34
MCQmedium

A FortiGate 200F running FortiOS 7.4 is configured as a dial-up IPsec VPN server for remote users. The administrator assigns each user a unique pre-shared key (PSK) by creating separate phase-1 interfaces with different peer IDs and PSKs. A new user reports that the VPN fails to connect, and the debug output shows 'no matching gateway for new request'. What is the most likely cause?

A.The FortiGate's dial-up VPN setting 'mode-cfg' is disabled, preventing the client from receiving an IP address.
B.The user's peer ID does not match the peer ID configured in the phase-1 interface.
C.The user's PSK is incorrect, causing the FortiGate to reject the connection before peer ID matching.
D.The user's IKE version is set to IKEv1 while the FortiGate expects IKEv2, causing a mismatch in gateway lookup.
AnswerB

In a dial-up VPN with multiple phase-1 interfaces, the FortiGate selects the gateway based on the peer ID sent by the client. If the peer ID does not match any configured remote gateway, the FortiGate cannot associate the connection with the correct PSK, resulting in the 'no matching gateway' error. The user must configure the correct peer ID on the client to match the server's phase-1 configuration.

Why this answer

For dial-up IPsec VPNs with multiple phase-1 interfaces, the FortiGate uses the peer ID presented by the client to select the correct remote gateway and associated PSK. If the peer ID does not match any configured remote gateway, the FortiGate cannot find a matching gateway, resulting in the 'no matching gateway for new request' error. Ensuring the client's peer ID matches the server's configuration resolves the issue.

Exam trap

The trap here is assuming that any authentication failure indicates a PSK mismatch, when the FortiGate may fail earlier during gateway selection due to a peer ID mismatch.

35
MCQmedium

An administrator is configuring a FortiGate to use LDAP authentication for SSL VPN users. The LDAP server requires a bind DN and password for queries. Which configuration is required on the FortiGate to successfully authenticate users?

A.Configure a user group of type 'firewall' and add the LDAP server as a member.
B.Configure a RADIUS server object with the LDAP server's IP address and shared secret.
C.Enable 'LDAP' as an authentication method in the SSL VPN settings and specify the server's distinguished name.
D.Create an LDAP server object with the server IP, port, common name identifier, bind DN, and bind password.
AnswerD

To authenticate against LDAP, the FortiGate needs an LDAP server object that includes the server address, port, and the credentials (bind DN and password) used to query the directory. The common name identifier (e.g., sAMAccountName) is also required to map the username. This object is then referenced in a user group. Without this, the FortiGate cannot bind to the LDAP server and search for users.

Why this answer

LDAP authentication on FortiGate requires an LDAP server object that includes the server address, port, bind DN, bind password, and common name identifier. This object is then used in a user group, which is referenced in the SSL VPN configuration. Without the proper bind credentials, the FortiGate cannot query the LDAP directory to authenticate users.

Exam trap

The trap here is confusing LDAP with RADIUS or assuming that simply enabling LDAP in SSL VPN settings is enough; the LDAP server object with bind credentials is mandatory.

36
MCQmedium

A FortiGate is configured with a route-based IPsec VPN to a remote office. The tunnel interface is named 'vpn1'. The administrator wants to allow only HTTP and HTTPS traffic from the local subnet 10.1.1.0/24 to the remote subnet 10.2.2.0/24 over the tunnel. Which firewall policy configuration achieves this requirement?

A.Create a policy with incoming interface 'vpn1', outgoing interface 'vpn1', source 10.1.1.0/24, destination 10.2.2.0/24, service HTTP HTTPS, action ACCEPT.
B.Create a policy with incoming interface 'vpn1', outgoing interface 'internal', source 10.2.2.0/24, destination 10.1.1.0/24, service HTTP HTTPS, action ACCEPT.
C.Create a policy with incoming interface 'internal', outgoing interface 'vpn1', source 10.1.1.0/24, destination 10.2.2.0/24, service HTTP HTTPS, action ACCEPT.
D.Create a policy with incoming interface 'internal', outgoing interface 'wan1', source 10.1.1.0/24, destination 10.2.2.0/24, service HTTP HTTPS, action ACCEPT, and enable NAT.
AnswerC

This policy correctly matches traffic originating from the local subnet, entering the internal interface, and leaving through the VPN tunnel interface. It restricts the service to HTTP and HTTPS, which meets the requirement. With route-based VPN, the tunnel interface is used as the outgoing interface, and source/destination addresses are the local and remote subnets respectively.

Why this answer

For a route-based IPsec VPN, the firewall policy must match traffic from the local subnet to the remote subnet, with the incoming interface as the local network interface and the outgoing interface as the tunnel interface. The service should be restricted to HTTP and HTTPS. The other options either reverse the direction, use the wrong outgoing interface, or incorrectly use the same interface for both directions.

Exam trap

The trap here is confusing the direction of the policy: incoming interface is where traffic enters the FortiGate (local network), and outgoing interface is where it exits (VPN tunnel), not the other way around.

37
Multi-Selecthard

When configuring an IPsec tunnel using IKEv2, which THREE parameters are commonly negotiated during Phase 1?

Select 3 answers
A.Encryption algorithm (e.g., AES-256)
B.Authentication method (e.g., PSK or RSA)
C.TCP port selection
D.Firewall policy ID
E.Diffie-Hellman group
AnswersA, B, E

IKEv2 Phase 1 negotiates the IKE security association itself, and AES-256 is an encryption algorithm proposed and agreed in that exchange. It protects the control-plane messages, distinct from Phase 2 algorithms that secure actual tunnel traffic.

Why this answer

During IKEv2 Phase 1 (IKE_SA_INIT and IKE_AUTH), the peers negotiate the encryption algorithm (A), such as AES-256, which protects the IKE SA itself, and the Diffie-Hellman group (E), which determines the key-exchange strength used to derive shared secret keys. They also negotiate the authentication method (B), such as PSK or RSA signatures, to verify each peer's identity during IKE_AUTH. TCP port selection (C) is not negotiated in Phase 1 because IKE uses UDP ports 500 and 4500, and TCP is not used for IKE.

A firewall policy ID (D) is a local configuration construct, not an IKEv2 Phase 1 negotiation parameter.

Exam trap

The trap is including non-negotiated items like TCP port or firewall policy ID — candidates confuse local configuration objects with parameters actually exchanged in the IKE Phase 1 proposal.

38
MCQeasy

A FortiGate is configured with a static route to 192.168.1.0/24 via 10.0.0.1 on port1. The administrator wants to verify that the FortiGate will use this route for a packet destined to 192.168.1.10. Which command should the administrator use?

A.get route 192.168.1.10
B.diagnose ip route get 192.168.1.10
C.diagnose ip route lookup 192.168.1.10
D.show route 192.168.1.10
AnswerB

The command 'diagnose ip route get <destination>' shows the exact route that the FortiGate will use for that destination, including the outgoing interface and gateway. It is the correct tool to verify routing decisions. This command is available in the FortiGate CLI and provides detailed information about the selected route.

Why this answer

The correct command to check which route the FortiGate will use for a specific destination is 'diagnose ip route get <destination>'. It provides the outgoing interface, gateway, and other details. The other options are invalid commands or incorrect syntax for this purpose.

Exam trap

The trap here is confusing similar-sounding commands like 'diagnose ip route lookup' or 'get route' with the actual valid command 'diagnose ip route get'.

39
Multi-Selecthard

Which THREE types of traffic are typically inspected by an IPS policy?

Select 3 answers
A.HTTP/HTTPS traffic
B.SMTP traffic
C.SNMP monitoring traffic
D.FTP traffic
E.ICMP echo requests
AnswersA, B, D

HTTP and HTTPS carry the bulk of web-borne attacks, including SQL injection, cross-site scripting and malicious downloads. IPS policies inspect these protocols because their request and response payloads expose exploitable content, making them primary signatures targets.

Why this answer

An IPS policy inspects application-layer protocols where signatures and anomaly rules can detect exploits, so HTTP/HTTPS traffic (A) is correct because web traffic carries the majority of attacks such as SQL injection, XSS, and malicious downloads that IPS engines decode and match. SMTP traffic (B) is correct because email is a primary malware and phishing vector, and IPS inspection of SMTP commands and attachments detects spam, malicious payloads, and mail-based exploits. FTP traffic (D) is correct because FTP transmits credentials and files in cleartext, and IPS rules inspect FTP commands and data channels for brute-force attempts, unauthorized transfers, and known FTP exploits.

SNMP monitoring traffic (C) is not typically inspected by an IPS policy because it is management-plane traffic usually handled by access control or monitoring tools rather than deep packet inspection signatures. ICMP echo requests (E) are not typically inspected by an IPS policy because they are simple network-layer diagnostic packets with no application payload for signature-based IPS analysis.

Exam trap

NSE7_EFW often tests... the assumption that IPS inspects all traffic, when in fact it only inspects protocols that are explicitly configured in the IPS sensor and applied to policies.

40
MCQeasy

A network administrator is configuring a firewall policy on a FortiGate to allow internal users to access the internet. The administrator wants to log all traffic that matches the policy. Which action should be taken to enable logging for this policy?

A.Enable logging in the security profile applied to the policy.
B.Configure a global logging setting in the FortiGate system settings.
C.Set the firewall policy to 'monitor' mode.
D.Enable logging in the firewall policy settings.
AnswerD

In a FortiGate firewall policy, you can enable logging to record traffic that matches the policy. This is done by enabling the 'Log Allowed Traffic' option and selecting whether to log all sessions or only security events. Enabling logging in the policy settings is the correct action to log traffic for that specific policy. Without this, no logs will be generated for the allowed traffic.

Why this answer

To log traffic that matches a firewall policy, you must enable logging in that policy's settings. This is done by enabling 'Log Allowed Traffic' and choosing the log level. Global logging settings only control where logs are stored or sent, and security profile logging is for specific events.

There is no monitor mode for firewall policies. Thus, enabling logging in the policy is the correct action.

Exam trap

The trap here is confusing global logging settings or security profile logging with per-policy traffic logging.

41
MCQeasy

What is the purpose of the 'Any' interface in a firewall policy?

A.To force traffic through the hardware switch
B.To bypass the routing table
C.To match traffic only on the WAN port
D.To match traffic regardless of the ingress or egress interface
AnswerD

The 'Any' interface is a wildcard zone object that matches packets irrespective of which physical or logical interface they arrive on or leave through. It lets a single policy rule cover traffic across all interfaces, removing the need to enumerate each ingress and egress pair explicitly.

Why this answer

In a FortiGate firewall policy, the 'any' interface is a wildcard that matches traffic regardless of which physical or logical interface it arrives on or leaves through. It is typically used for policies that should apply universally, such as a deny-all cleanup rule or a policy that must catch traffic on any interface. It does not bypass routing or force traffic anywhere; it simply removes the interface as a match criterion.

Exam trap

The trap is assuming 'any' means 'bypass routing' or 'only WAN' — candidates conflate interface matching with forwarding behaviour, when 'any' simply removes the interface from the match criteria.

How to eliminate wrong answers

Option A is wrong because 'any' does not force traffic through a hardware switch — interface selection for forwarding is determined by the routing table and policy, not by the 'any' keyword. Option B is wrong because 'any' does not bypass the routing table; FortiGate still performs a route lookup to determine the egress interface and next hop. Option C is wrong because 'any' matches all interfaces, not just the WAN port — restricting to WAN would require selecting the specific WAN interface.

42
Multi-Selecthard

In a high availability (HA) cluster, which THREE settings are synchronized between the primary and secondary units?

Select 3 answers
A.Hardware serial numbers
B.Management IP address
C.Address objects
D.User authentication database
E.Firewall policies
AnswersC, D, E

Address objects form part of the configuration table synchronised across an HA cluster, ensuring both units resolve the same IP addresses and subnets in policy. This keeps firewall rules consistent so failover does not alter traffic handling.

Why this answer

In an HA cluster, the configuration that defines security processing is synchronized from the primary to the secondary unit, and address objects (C) are part of that shared configuration so both units resolve the same IPs, ranges, and FQDNs during failover. The user authentication database (D) is also synchronized so locally defined users, groups, and credentials remain valid on the secondary after a failover, avoiding authentication outages. Firewall policies (E) are synchronized as core security configuration, ensuring the secondary enforces identical rules and traffic handling when it takes over.

Hardware serial numbers (A) are device-specific identifiers and are never synchronized, and the management IP address (B) is intentionally unique per unit so each node remains individually reachable for administration.

Exam trap

NSE7_EFW often tests the misconception that all configuration is synchronized in HA, but candidates must remember that device-specific settings like serial numbers and management IPs are excluded from synchronization.

43
Multi-Selectmedium

An administrator is configuring a FortiGate to perform SSL deep inspection for outbound HTTPS traffic. Which TWO actions are required to ensure that users can browse HTTPS sites without certificate errors? (Choose two.)

Select 2 answers
A.Configure the FortiGate to use a public CA certificate for re-signing.
B.Enable SSL inspection in the firewall policy that allows outbound HTTPS traffic.
C.Set the inspection mode to certificate inspection instead of deep inspection.
D.Install the FortiGate's CA certificate on all client devices.
E.Import the server certificates from all HTTPS websites into the FortiGate.
AnswersB, D

The firewall policy handling outbound traffic must have an SSL inspection profile applied. This profile determines the inspection mode (deep or certificate inspection) and the protected domains. Without enabling SSL inspection on the policy, the FortiGate will not intercept and inspect HTTPS traffic, and no certificate re-signing occurs.

Why this answer

SSL deep inspection requires the FortiGate to act as a man-in-the-middle, re-signing server certificates with its own CA. Therefore, clients must trust the FortiGate's CA certificate, and the firewall policy must have SSL inspection enabled with deep inspection mode. Without both, clients will see certificate errors or traffic will not be inspected.

Exam trap

The trap here is thinking that a public CA certificate can be used for re-signing or that certificate inspection mode provides deep inspection; both are incorrect for deep SSL inspection.

44
MCQmedium

A FortiGate is configured with a firewall policy that includes multiple security profiles: antivirus, IPS, and web filter. The administrator notices that some traffic that should be blocked by the IPS is being allowed. The IPS sensor is set to 'Monitor' mode. What is the most likely reason for this behavior?

A.The antivirus profile is overriding the IPS action and allowing the traffic.
B.The IPS sensor is in Monitor mode, so it only logs detected attacks and does not block them.
C.The IPS sensor is in Protect mode, but the signature is disabled.
D.The firewall policy is configured with 'action' set to 'deny', so no traffic is inspected.
AnswerB

In Monitor mode, the IPS sensor does not block traffic; it only generates logs for detected attacks. To block traffic, the sensor must be in Protect mode. The administrator observed that traffic is allowed, which aligns with Monitor mode behavior. Changing the sensor to Protect mode would enforce blocking. This is the correct explanation for the observed behavior.

Why this answer

The IPS sensor mode determines whether detected attacks are blocked or only logged. In Monitor mode, the sensor does not block traffic; it only records events. Therefore, traffic that matches an IPS signature will be allowed.

To enforce blocking, the sensor must be set to Protect mode. The observed behavior is consistent with Monitor mode being active.

Exam trap

The trap here is assuming that any security profile in a policy will automatically block, when IPS Monitor mode only logs and does not block.

45
MCQhard

What is the effect of changing the IPS 'buffer' size on a FortiGate device?

A.It disables the hardware acceleration engine
B.It changes the signature timeout
C.It increases the number of concurrent IPS connections
D.It determines the maximum size of data packets to hold for inspection
AnswerD

The IPS buffer defines how much packet data is queued for inspection, so it caps the maximum packet size examined. Larger buffers let the engine reassemble and scan bigger payloads; smaller buffers drop or truncate oversized packets before pattern matching, affecting detection coverage.

Why this answer

The IPS buffer size on a FortiGate determines the maximum amount of data that can be held for inspection by the IPS engine. Adjusting it affects how much data is buffered before inspection, which can impact detection of threats in large packets or streams.

Exam trap

NSE7_EFW often tests the misconception that IPS buffer size affects connection limits or hardware acceleration, when it actually controls data buffering for inspection.

How to eliminate wrong answers

Option A is wrong because changing the IPS buffer size does not disable hardware acceleration; that is controlled by other settings like NPU offload. Option B is wrong because the buffer size does not change signature timeout; timeouts are separate parameters. Option C is wrong because the buffer size does not increase the number of concurrent IPS connections; that is determined by session limits and memory.

46
MCQmedium

A FortiGate is configured with a route-based IPsec VPN to a remote peer. The tunnel is up, but users report that traffic to the remote subnet intermittently fails. You suspect that the VPN is not being used for all traffic because of a routing issue. Which FortiGate CLI command would you use to verify which route is selected for a specific destination IP address?

A.get router info routing-table details <destination_ip>
B.diagnose firewall iprope list <destination_ip>
C.show route-map <destination_ip>
D.diagnose ip route list <destination_ip>
AnswerA

This command displays the routing table entry that matches the specified destination IP, including the outgoing interface and gateway. In this scenario, it helps confirm whether traffic to the remote subnet is routed through the IPsec tunnel interface or another path, which is critical for troubleshooting intermittent VPN traffic failures.

Why this answer

The command 'get router info routing-table details <destination_ip>' is the correct way to verify which route the FortiGate will use for a specific destination. In a route-based VPN scenario, it shows if the tunnel interface is the outgoing interface. This is essential for diagnosing intermittent failures caused by routing inconsistencies.

Exam trap

The trap here is assuming that any 'diagnose' command can display the routing table, but only specific commands like 'get router info routing-table' provide the active routing information.

47
MCQmedium

A FortiGate is deployed in transparent mode between two routers. The administrator wants to enable IPS inspection on traffic passing through the FortiGate. Which configuration is required to inspect traffic in transparent mode?

A.Assign IP addresses to the transparent interfaces and enable IPS on those interfaces.
B.Create a firewall policy with the incoming and outgoing interfaces set to the transparent bridge pair.
C.Configure a VLAN interface for each subnet and apply IPS to the VLAN interfaces.
D.Enable IPS globally under System > Config > IPS and select the transparent bridge.
AnswerB

In transparent mode, the FortiGate acts as a Layer 2 bridge. To inspect traffic, you must create a firewall policy that references the bridge interfaces (the pair) as source and destination. This policy can then have an IPS sensor applied. Without such a policy, traffic is not inspected. This is the correct approach.

Why this answer

In transparent mode, the FortiGate bridges traffic between interfaces. To inspect traffic, a firewall policy must be created that allows traffic from one bridge interface to the other, with an IPS sensor applied. Interfaces do not have IPs, and IPS is not enabled globally or directly on interfaces.

Thus, the policy-based approach is correct.

Exam trap

The trap here is thinking that IPS can be enabled directly on interfaces or globally, when in transparent mode it must be applied via a firewall policy.

48
MCQhard

A FortiGate is configured with a site-to-site IPsec VPN to a remote peer. The VPN is up, but traffic is not passing. You run 'diagnose vpn tunnel list' and see that the tunnel is up, but the phase-2 selectors show no traffic. You suspect a routing issue. Which command would you use to verify that traffic is being routed correctly through the tunnel?

A.diagnose vpn ike gateway list
B.diagnose ip route list
C.diagnose firewall iprope list
D.get router info routing-table details <destination-ip>
AnswerD

This command displays the routing table entry that would be used for a specific destination IP. It shows the next-hop, interface, and other details. By specifying the remote subnet's IP, you can verify that the route points to the IPsec tunnel interface. If the route is missing or incorrect, traffic will not pass. This is the correct command to diagnose routing issues for VPN traffic.

Why this answer

To verify that traffic to a specific destination is routed through the IPsec tunnel, you use the command 'get router info routing-table details <destination-ip>'. This shows the exact route that will be used, including the outgoing interface. If the route points to the tunnel interface, routing is correct; if not, you must fix the routing configuration.

This command is essential for troubleshooting VPN traffic flow.

Exam trap

The trap here is using a command that shows IKE status or the entire routing table, rather than one that shows the route lookup for a specific destination IP.

49
MCQmedium

A FortiGate is configured as a dial-up IPsec VPN server for remote users. The administrator notices that some users connect successfully, but their traffic is not being routed to the internal network. The administrator has verified that the phase 2 selectors are correct and that the firewall policy allowing the tunnel traffic is present. Which configuration step is most likely missing to allow the remote users to access internal resources?

A.Enable 'mode-cfg' in the phase 1 configuration to assign IP addresses to the dial-up clients.
B.Configure a static route on the FortiGate for the remote clients' public IP addresses.
C.Enable 'auto-negotiate' in the phase 1 configuration to automatically establish the tunnel.
D.Set the phase 2 selector to 0.0.0.0/0 on both ends to allow all traffic.
AnswerA

In dial-up IPsec VPNs, the FortiGate must assign IP addresses to clients so that they can be routed on the internal network. Without mode-cfg, clients may establish the tunnel but have no IP address, preventing proper routing. Enabling mode-cfg in phase 1 allows the FortiGate to act as a DHCP-like server for the VPN clients, ensuring their traffic is sourced from a known subnet that can be routed.

Why this answer

For dial-up IPsec VPN clients to access internal resources, they must receive IP addresses from the FortiGate. Enabling mode-cfg in phase 1 allows the FortiGate to assign addresses, typically from a defined range. Without this, clients may have tunnels but no routable internal IP, causing traffic to fail.

The other options do not address the missing address assignment.

Exam trap

The trap here is assuming that a successful tunnel and correct selectors are sufficient for traffic flow, overlooking the need for client IP assignment.

50
MCQeasy

An administrator wants to allow remote users to access the corporate network using FortiClient VPN. The administrator has configured an IPsec VPN with mode-cfg to assign IP addresses to clients. Which additional configuration is required to allow the clients to access internal resources?

A.Configure a static route on the FortiGate for the VPN clients' assigned subnet.
B.Create a firewall policy from the VPN interface to the internal interface, allowing the assigned IP range.
C.Enable split tunneling in the FortiClient configuration.
D.Set the phase 2 selector to include the internal subnet as the remote subnet.
AnswerB

After assigning IP addresses to VPN clients, a firewall policy is needed to permit traffic from the VPN tunnel interface to the internal network. The policy should specify the source as the assigned IP range (or the VPN interface) and the destination as internal resources. Without this policy, the FortiGate will drop the traffic by default, even though the tunnel is up and clients have IP addresses. This is a fundamental step in VPN configuration.

Why this answer

For VPN clients to access internal resources, a firewall policy must be in place to allow traffic from the VPN interface to the internal network. The policy should match the source IP range assigned to clients and the destination internal subnets. Without this policy, traffic is dropped by the implicit deny rule.

Other options like split tunneling, static routes, or selector changes do not provide the necessary permission and may not be required.

Exam trap

The trap here is assuming that assigning IP addresses and establishing the tunnel is enough, forgetting that firewall policies are required to permit traffic between interfaces.

51
MCQeasy

Which method is the most secure for managing FortiGate devices remotely?

A.HTTP with password authentication
B.HTTPS with restricted access via Trusted Hosts
C.Telnet
D.SNMPv1
AnswerB

HTTPS encrypts the management session, and Trusted Hosts restricts which source addresses may connect, satisfying the requirement for the most secure remote administration. This combination blocks unencrypted access and limits exposure to approved administrative subnets.

Why this answer

HTTPS with restricted access via Trusted Hosts is the most secure option because HTTPS encrypts administrative traffic (protecting credentials and configuration data in transit), and Trusted Hosts limits which source IP addresses or subnets can even attempt to connect to the management interface. This combination provides both confidentiality and access control.

Exam trap

The trap is assuming that enabling HTTPS alone is sufficient for secure remote management, when the exam expects recognition that access restriction (Trusted Hosts) is equally essential.

How to eliminate wrong answers

Option A is wrong because HTTP transmits credentials and session data in cleartext, making them vulnerable to interception. Option C is wrong because Telnet is an unencrypted protocol that sends usernames and passwords in plaintext, and it is considered obsolete for management. Option D is wrong because SNMPv1 has weak (community-string) authentication, no encryption, and is unsuitable for secure device management — SNMPv3 with authPriv would be required for any secure use.

52
MCQmedium

You are configuring an IPsec VPN tunnel between two FortiGates. Phase 2 fails to come up. What is the most likely cause?

A.Mismatched Phase 2 selectors
B.Incorrect IKE version
C.Expired certificate
D.Mismatched pre-shared key
AnswerA

Phase 2 negotiates the encryption and authentication parameters, including the proxy IDs and subnet selectors. If the local and remote quick-mode selectors differ, the tunnel proposal is rejected and Phase 2 never reaches the up state.

Why this answer

Phase 2 failures in IPsec VPN are commonly caused by mismatched Phase 2 selectors (also known as proxy IDs or encryption domains). If the local and remote subnets or selectors do not match exactly, the tunnel will fail to establish.

Exam trap

The trap is confusing Phase 1 and Phase 2 failures; mismatched PSK or certificate issues affect Phase 1, while selectors affect Phase 2.

How to eliminate wrong answers

Option B is wrong because an incorrect IKE version would cause Phase 1 to fail, not Phase 2. Option C is wrong because an expired certificate would also cause Phase 1 failure, as certificates are used in Phase 1 authentication. Option D is wrong because a mismatched pre-shared key would cause Phase 1 failure, not Phase 2.

53
MCQmedium

An administrator is configuring an IPS sensor on a FortiGate to protect an internal web server. The administrator wants to block attacks while minimizing false positives. Which IPS sensor action should be configured for signatures that are known to produce false positives in the internal network?

A.Disable the signatures entirely.
B.Set the action to 'Block' for those signatures.
C.Set the action to 'Pass' for those signatures.
D.Set the action to 'Monitor' for those signatures.
AnswerD

Setting the action to 'Monitor' allows the traffic to pass but logs the event when the signature matches. This helps in identifying false positives without blocking legitimate traffic. By monitoring, the administrator can review logs, tune the signature, and later decide to block if appropriate. This is the recommended approach for signatures that are known to cause false positives, as it balances security and availability.

Why this answer

For signatures that are known to produce false positives, setting the action to 'Monitor' is the best approach. It allows traffic to pass while logging matches, enabling the administrator to review and tune the signature without disrupting legitimate traffic. Blocking could cause false positives to block valid traffic, and passing or disabling removes protection.

Monitoring provides visibility and control.

Exam trap

The trap here is thinking that blocking is always the best action for security, but for false-positive-prone signatures, monitoring avoids disruption while still providing visibility.

54
MCQhard

In a complex VPN scenario with NAT-Traversal (NAT-T) enabled, what is the primary purpose of the UDP 4500 port?

A.To replace the AH protocol
B.To manage Phase 1 re-keying
C.To encapsulate ESP packets
D.To verify certificate revocation status
AnswerC

UDP 4500 carries ESP packets encapsulated inside UDP datagrams, which is what NAT-Traversal requires. Because NAT devices cannot translate ESP (IP protocol 50) reliably, wrapping it in UDP 4500 lets the traffic traverse NAT boundaries while preserving confidentiality and integrity. This directly satisfies the NAT-T constraint in the stem.

Why this answer

UDP port 4500 is used for NAT-Traversal (NAT-T) to encapsulate ESP packets within UDP. This allows IPsec traffic to pass through NAT devices that would otherwise drop ESP packets.

Exam trap

Candidates may think UDP 4500 is for IKE or AH, but it's specifically for encapsulating ESP when NAT is present.

How to eliminate wrong answers

Option A is wrong because NAT-T does not replace AH; AH is a protocol for authentication, and NAT-T encapsulates ESP, not AH. Option B is wrong because Phase 1 re-keying is managed within the IKE SA on UDP 500 or 4500, but the primary purpose of 4500 is encapsulation, not re-keying. Option D is wrong because certificate revocation status is checked via CRL or OCSP, not via UDP 4500.

55
MCQmedium

An administrator is configuring SSL inspection on a FortiGate to inspect traffic to a web server that uses a certificate signed by an internal CA. The FortiGate must decrypt and inspect the traffic without generating certificate errors on client browsers. What must be installed on the client devices?

A.The FortiGate's SSL inspection CA certificate
B.A client certificate issued by the internal CA
C.The internal CA's root certificate
D.The web server's SSL certificate
AnswerA

When the FortiGate performs SSL inspection, it intercepts the SSL connection and re-signs the server's certificate with its own CA certificate. For clients to trust this re-signed certificate and avoid errors, the FortiGate's SSL inspection CA certificate must be installed as a trusted root on the client devices.

Why this answer

During SSL inspection, the FortiGate acts as a man-in-the-middle, presenting its own certificate to the client. To avoid certificate warnings, the client must trust the FortiGate's SSL inspection CA. Installing this CA certificate on client devices establishes that trust, allowing seamless inspection without errors.

Exam trap

The trap here is assuming that the internal CA or web server certificate must be installed on clients, when actually the FortiGate's inspection CA is the one that must be trusted.

56
MCQmedium

You are configuring an IPS policy to protect a web server. You notice that traffic is being dropped due to a false positive. Which action is the most efficient way to resolve this while maintaining security?

A.Change the IPS mode from blocking to monitoring
B.Disable the entire IPS sensor profile
C.Create an IPS sensor override for the specific signature ID
D.Increase the IPS packet buffer size
AnswerC

An IPS sensor override lets you disable or set the specific signature to monitor-only for the targeted server, clearing the false positive without weakening protection from other signatures. This is narrower than editing the whole profile, satisfying the requirement to maintain security while resolving the drop efficiently.

Why this answer

An IPS sensor override lets you change the action for a single signature ID (or a signature and its parameters) without disabling the whole sensor or the entire IPS profile. Setting the offending signature to 'Monitor' or 'Pass' while leaving all other signatures in blocking mode resolves the false positive while preserving protection against every other threat. This is the surgical, least-disruptive fix.

Exam trap

The trap is reaching for the blunt instruments — disabling IPS or switching to monitor mode globally — instead of the targeted override that fixes one signature while keeping all other protections in blocking mode.

How to eliminate wrong answers

Option A is wrong because switching the entire IPS mode from blocking to monitoring disables prevention for all signatures, not just the false-positive one — a massive security regression. Option B is wrong because disabling the entire IPS sensor profile removes all IPS protection from the web server, which is far worse than the false positive. Option D is wrong because IPS packet buffer size affects how much traffic the IPS engine can reassemble and inspect; it has no relationship to a signature falsely matching legitimate traffic.

57
MCQeasy

What does the 'FortiGuard' service provide to the FortiGate?

A.User management and authentication
B.Local firmware storage
C.Hardware acceleration support
D.Real-time threat intelligence and database updates
AnswerD

FortiGuard delivers continuously updated signatures, IP reputations and category databases to the FortiGate, enabling real-time enforcement against emerging threats without manual intervention. This satisfies the stem's requirement for live threat intelligence, since detection depends on current data rather than static, locally maintained definitions that age quickly.

Why this answer

FortiGuard is Fortinet's subscription-based security intelligence service that delivers real-time updates to the FortiGate, including antivirus signatures, IPS signatures, web filtering categories, application control signatures, and botnet/IP reputation databases. These updates keep the FortiGate's security profiles current against emerging threats.

Exam trap

NSE7_EFW often tests the confusion between FortiGuard (threat intelligence subscriptions) and other Fortinet products/services like FortiAuthenticator (identity) or FortiManager (management), or between FortiGuard and firmware updates.

How to eliminate wrong answers

Option A is wrong because user management and authentication are handled by FortiAuthenticator, LDAP/RADIUS integration, or local user databases — not FortiGuard. Option B is wrong because firmware images are downloaded from Fortinet's support portal (or FortiManager), not from FortiGuard subscription services. Option C is wrong because hardware acceleration (NP/CP/SP processors) is a FortiGate hardware capability, not a FortiGuard service.

58
Multi-Selectmedium

Which TWO of the following are necessary to successfully deploy an SSL VPN in tunnel mode?

Select 2 answers
A.An IPSec phase 1 configuration
B.A BGP session with the client
C.A valid SSL certificate for the VPN portal
D.A firewall policy allowing the SSL VPN interface to the Internal zone
E.A dedicated hardware switch
AnswersC, D

Tunnel-mode SSL VPN presents a portal over TLS, so clients validate the server's identity. A valid SSL certificate, trusted by the client and matching the portal's FQDN, is required; otherwise browsers and FortiClient reject the connection before the tunnel establishes.

Why this answer

Option C is correct because tunnel-mode SSL VPN requires the FortiGate (or equivalent SSL VPN gateway) to present a valid server certificate to the client during the TLS handshake; without a trusted certificate, browsers and FortiClient will reject the portal connection. Option D is correct because after the TLS tunnel is established, traffic from the SSL VPN interface (ssl.root / sslvpn) must be permitted by a firewall policy into the Internal zone to reach protected resources; without this policy, the tunnel comes up but no internal traffic flows. Option A is wrong because IPSec phase 1 applies to IPSec VPNs, not SSL/TLS-based VPNs.

Option B is wrong because BGP is a dynamic routing protocol and is not required for SSL VPN client connectivity. Option E is wrong because SSL VPN tunnel mode can run on any supported FortiGate model or virtual appliance; dedicated hardware is not a requirement.

Exam trap

NSE7_EFW often tests whether candidates confuse SSL VPN requirements with IPSec VPN requirements, so options like 'IPSec phase 1' are planted to lure those who don't distinguish the two VPN technologies.

59
MCQhard

You are configuring BGP and need to advertise a summary route to your ISP. How do you ensure only the summary route is advertised?

A.Use a distribute-list
B.Set the weight to 0
C.Use an aggregate-address with summary-only
D.Configure a route map with a prefix list
AnswerC

The aggregate-address command with summary-only suppresses advertisement of the more specific component routes, so the ISP receives only the aggregate. This satisfies the requirement to advertise the summary route alone rather than leaking the contributing prefixes.

Why this answer

The BGP aggregate-address command with the summary-only keyword suppresses all more-specific component routes from being advertised, so only the summary route is sent to the ISP. This is the standard way to perform route summarization while hiding the contributing prefixes from external peers.

Exam trap

NSE7_EFW often tests the difference between filtering routes (distribute-list, route map) and summarizing routes (aggregate-address) — candidates who pick a filter option miss that only aggregate-address with summary-only both creates and suppresses.

How to eliminate wrong answers

Option A is wrong because a distribute-list filters routes based on an access list but does not automatically create or advertise a summary — you would still need to generate the aggregate separately. Option B is wrong because setting weight to 0 only affects local best-path selection and has no effect on which routes are advertised to a neighbor. Option D is wrong because a route map with a prefix list can filter outbound advertisements, but it does not create the summary route itself; it only permits or denies existing prefixes.

60
MCQmedium

A company uses a FortiGate as their main firewall. They want to implement a security profile that blocks malicious files downloaded via HTTP. Which FortiGate feature should they use to scan files for viruses and other malware?

A.Intrusion Prevention System (IPS) sensor with signatures for file downloads.
B.Web filter profile with category-based blocking.
C.Antivirus profile with deep inspection enabled in the firewall policy.
D.Application control profile to block file-sharing applications.
AnswerC

The antivirus profile scans files for viruses and malware. To inspect files transferred over HTTP, the firewall policy must have an antivirus profile applied and deep inspection enabled for the protocol. This allows the FortiGate to extract and scan the files before delivering them to the client, blocking malicious content.

Why this answer

The antivirus profile is specifically designed to scan files for viruses and malware. When applied to a firewall policy with deep inspection, it examines files transferred over protocols like HTTP, FTP, and SMTP. Other profiles like IPS, web filter, or application control serve different purposes and do not provide file scanning.

Exam trap

The trap here is thinking that IPS or web filtering can scan files for viruses; only the antivirus profile performs file content scanning.

61
MCQhard

A FortiGate is performing OSPF routing. You want to redistribute connected routes into OSPF, but only for a specific subnet. How can this be achieved?

A.Configure a distribute-list in the OSPF process
B.Use an IP prefix list under the OSPF area command
C.Use a route map in the OSPF redistribute configuration
D.Use an access list under the interface configuration
AnswerC

A route map attached to the OSPF redistribute command filters which connected routes are advertised, matching only the specified subnet. This satisfies the constraint of redistributing connected routes selectively rather than all of them, which a plain redistribute statement cannot achieve.

Why this answer

In FortiOS, when redistributing routes into OSPF, you can attach a route map to the redistribute command to filter which routes are advertised. The route map can match specific criteria such as IP prefix lists, access lists, or interface names. By using a route map that matches only the desired subnet, you ensure that only that connected route is redistributed into OSPF.

This is the standard and most flexible method for selective redistribution.

Exam trap

NSE7_EFW often tests the misconception that distribute-lists or prefix lists can be used directly for redistribution filtering, when in fact FortiOS requires a route map to selectively redistribute routes into OSPF.

How to eliminate wrong answers

Option A is wrong because a distribute-list in OSPF is used to filter routes received from OSPF neighbors (inbound) or to filter routes being sent to neighbors (outbound), not to filter routes during redistribution from other protocols. Option B is wrong because IP prefix lists are used within route maps or distribute-lists; they cannot be applied directly under the OSPF area command in FortiOS to control redistribution. Option D is wrong because an access list under an interface configuration does not control OSPF redistribution; access lists are used for other purposes like firewall policies or route filtering within route maps.

62
MCQmedium

A network administrator is deploying a dial-up IPsec VPN on a FortiGate to allow remote employees to connect. The administrator wants to ensure that the VPN tunnel can be established even when the client is behind a NAT device. Which configuration setting must be enabled on the FortiGate to achieve this?

A.Set the phase 2 selector to 0.0.0.0/0 to allow all traffic through the tunnel.
B.Set the VPN gateway to use aggressive mode for IKE negotiation.
C.Configure the VPN to use IKE version 2 (IKEv2) exclusively.
D.Enable NAT traversal (NAT-T) on the IPsec phase 1 configuration.
AnswerD

NAT traversal (NAT-T) enables the FortiGate to encapsulate IKE and ESP packets within UDP datagrams, allowing the VPN to pass through NAT devices. This is the correct setting to ensure the tunnel can be established when the client is behind NAT. It is configured in the phase 1 settings and is essential for dial-up VPNs where clients may be behind NAT.

Why this answer

NAT traversal (NAT-T) is the correct setting because it encapsulates IKE and ESP packets in UDP, allowing the VPN to pass through NAT devices. This is essential for dial-up VPNs where remote users may be behind NAT. Without NAT-T, the VPN tunnel may fail to establish due to NAT incompatibilities.

Other settings like aggressive mode or IKEv2 do not replace the need for NAT-T.

Exam trap

The trap here is assuming that using IKEv2 automatically handles NAT traversal, but NAT-T must still be explicitly enabled.

63
MCQhard

An administrator has configured a FortiGate to perform deep inspection of SSL traffic. Users report that when they access a banking website, the browser shows a certificate warning and the connection is blocked. The administrator has imported the FortiGate's CA certificate into the browsers' trusted root store. Which action should the administrator take to allow access to the banking site while maintaining SSL inspection for other sites?

A.Import the banking site's certificate into the FortiGate's CA store as a trusted root.
B.Disable deep inspection globally on the FortiGate to resolve the certificate warning.
C.Create a firewall policy that exempts the banking site from SSL inspection by using a destination address and setting the SSL inspection profile to 'no-inspection'.
D.Add the banking site's certificate to the FortiGate's untrusted certificate list.
AnswerC

To exempt specific sites from SSL inspection, you can create a firewall policy that matches the destination address of the banking site and set the SSL inspection profile to 'no-inspection'. This allows the traffic to pass without deep inspection, so the FortiGate does not re-sign the certificate, and the browser sees the original certificate, eliminating the warning. This is a common practice for sites that use certificate pinning or are sensitive.

Why this answer

When deep inspection causes certificate warnings for certain sites, the best approach is to exempt those sites from inspection. This is done by creating a firewall policy that matches the destination and sets SSL inspection to 'no-inspection'. This allows the original certificate to pass through, avoiding the warning, while other traffic continues to be inspected.

Global disabling or altering trusted certificates does not achieve the selective exemption.

Exam trap

The trap here is thinking that importing the site's certificate or disabling inspection globally will solve the issue, when actually a selective exemption policy is needed.

64
MCQeasy

What is the default behavior of a FortiGate firewall policy when no explicit policy matches the traffic?

A.Send to local DNS
B.Implicit Deny
C.Route to DMZ
D.Allow
AnswerB

FortiGate processes policies top-down and, absent any matching explicit rule, applies the built-in implicit deny that drops the traffic. This default satisfies the scenario's constraint of no explicit policy matching, ensuring unmatched sessions are blocked rather than permitted.

Why this answer

FortiGate firewall policies are evaluated top-down, and if no explicit policy matches the traffic, the implicit deny rule at the bottom of the policy table drops the packet. This default-deny posture is a core security principle and is not configurable to 'allow' by default. The implicit deny also logs denied traffic if logging is enabled on the implicit rule.

Exam trap

NSE7_EFW often tests the misconception that FortiGate has a default allow or that unmatched traffic is redirected (e.g., to DMZ or DNS), when in fact the implicit deny silently drops it.

How to eliminate wrong answers

Option A is wrong because FortiGate does not forward unmatched traffic to a DNS server — DNS is only used for name resolution, not as a fallback path. Option C is wrong because there is no automatic DMZ routing for unmatched traffic; DMZ routing requires an explicit policy and route. Option D is wrong because FortiGate does not default to allow — that would be a permissive, insecure posture contrary to firewall design.

65
MCQmedium

You are deploying a new FortiGate in transparent mode. Users report that they cannot access the internet, but they can access internal servers. You have verified that the FortiGate is in transparent mode and that the management IP is reachable. What is the most likely cause?

A.The FortiGate's management IP must be in the same subnet as the internal network for traffic to flow.
B.The FortiGate requires a default route to the internet, but in transparent mode it does not perform routing.
C.Firewall policies must be configured to allow traffic from the internal network to the external network, even in transparent mode.
D.Transparent mode does not support NAT, so internet access is impossible without additional configuration.
AnswerC

In transparent mode, the FortiGate still enforces firewall policies. Traffic between interfaces (even in the same subnet) must be explicitly allowed by a security policy. If no policy permits internal-to-external traffic, the implicit deny will block internet access while internal traffic might be allowed by a different policy.

Why this answer

Even in transparent mode, the FortiGate enforces firewall policies. Traffic from internal to external networks must be explicitly allowed by a policy. If such a policy is missing, the implicit deny will block internet access.

Internal traffic might be allowed by a different policy, explaining why users can reach internal servers but not the internet.

Exam trap

The trap here is assuming that transparent mode bypasses firewall policy enforcement, when in fact policies are still required to permit traffic between interfaces.

66
Multi-Selectmedium

Which TWO of the following are valid methods for user authentication on a FortiGate?

Select 2 answers
A.BGP
B.RADIUS
C.LDAP
D.IGMP
E.RIP
AnswersB, C

RADIUS is a supported remote authentication protocol on FortiGate, letting the firewall forward user credentials to an external RADIUS server for validation. This satisfies the question's requirement for a valid user authentication method, alongside local and LDAP or TACACS+ options.

Why this answer

RADIUS (B) is a valid authentication method on a FortiGate: the device can act as a RADIUS client, forwarding user credentials to an external RADIUS server for verification in firewall authentication, SSL VPN, IPsec VPN, and administrative login scenarios. LDAP (C) is likewise valid: FortiGate supports LDAP authentication by binding to directory servers such as Active Directory or OpenLDAP to validate user credentials for the same authentication features. The remaining options are routing or multicast protocols, not authentication mechanisms: BGP (A) and RIP (E) are routing protocols used to exchange route information, and IGMP (D) is a multicast group management protocol, so none of them authenticate users.

Exam trap

NSE7_EFW often tests the distinction between routing protocols and authentication protocols, so candidates might mistakenly select BGP, IGMP, or RIP if they confuse network services with user authentication mechanisms.

67
MCQmedium

A security administrator is configuring a new SSL inspection profile on a FortiGate. The administrator wants to inspect HTTPS traffic for malware but must ensure that banking websites are not inspected due to privacy concerns. Which feature should be used to exempt specific websites from SSL inspection?

A.Enable the 'Inspect All Ports' option and exclude port 443.
B.Create a static URL filter list and apply it to the SSL inspection profile.
C.Configure a firewall policy with a destination address for the banking websites and set the action to DENY.
D.Add the banking websites to the SSL exemptions list in the SSL inspection profile.
AnswerD

The SSL inspection profile includes an exemptions list where you can specify destination addresses or wildcard FQDNs that should not be inspected. Adding banking websites to this list ensures their traffic is not decrypted, preserving privacy. This is the correct method to bypass SSL inspection for specific destinations.

Why this answer

To exempt specific websites from SSL inspection, the administrator should add them to the SSL exemptions list within the SSL inspection profile. This list allows you to specify FQDNs or IP addresses that should not be decrypted. The FortiGate will then allow traffic to those sites without inspection, maintaining privacy while still inspecting other HTTPS traffic.

Exam trap

The trap here is confusing URL filtering or port exclusion with SSL exemptions; only the SSL exemptions list within the inspection profile bypasses decryption for specific destinations.

68
Multi-Selecthard

An administrator is deploying a new IPsec VPN between two FortiGates. They want to ensure that the VPN can recover quickly from network disruptions and that only specific subnets are allowed over the tunnel. Which TWO configuration steps are required to meet these requirements? (Choose two.)

Select 2 answers
A.Enable NAT traversal (NAT-T) on the phase1 configuration.
B.Configure a firewall policy that allows all traffic between the two sites without any restrictions.
C.Enable dead peer detection (DPD) on both ends with a suitable interval and retry count.
D.Set the phase1 proposal to use only AES-256 encryption and SHA-256 hashing.
E.Configure phase2 selectors with the specific local and remote subnets that should be allowed over the tunnel.
AnswersC, E

DPD is used to detect if the remote peer is no longer responding. By enabling DPD and configuring appropriate intervals, the FortiGate can quickly detect a failure and tear down the tunnel or renegotiate, allowing for faster recovery. This directly addresses the requirement for quick recovery from network disruptions.

Why this answer

To ensure quick recovery, DPD must be enabled to detect peer failures promptly. To restrict traffic to specific subnets, phase2 selectors must be configured with the desired local and remote subnets. These two steps together meet the requirements.

The other options do not address the specific needs of recovery and subnet restriction.

Exam trap

The trap here is assuming that strong encryption or NAT-T will improve recovery or restrict subnets, when in fact DPD and phase2 selectors are the key settings.

69
MCQhard

An administrator is troubleshooting an IPsec VPN tunnel that frequently goes down. The logs show 'NO_PROPOSAL_CHOSEN' errors during phase 2 negotiations. Which action should the administrator take to resolve this issue?

A.Check that the phase 1 proposal includes a matching pre-shared key.
B.Ensure that the local and remote subnets in the phase 2 selectors are identical.
C.Verify that the phase 2 proposals on both peers match exactly, including encryption, authentication, and PFS settings.
D.Restart the IKE daemon on both FortiGates to clear stale security associations.
AnswerC

The 'NO_PROPOSAL_CHOSEN' error indicates that the two peers cannot agree on a phase 2 proposal. This typically occurs when the encryption algorithms, authentication algorithms, or perfect forward secrecy (PFS) settings do not match. Ensuring both sides have identical phase 2 proposals will allow the tunnel to establish successfully.

Why this answer

The 'NO_PROPOSAL_CHOSEN' error during phase 2 indicates a mismatch in the phase 2 proposals between the two VPN peers. The administrator must ensure that the encryption, authentication, and PFS settings match on both sides. This is the definitive fix for this specific error.

Exam trap

The trap here is confusing phase 1 and phase 2 errors; 'NO_PROPOSAL_CHOSEN' is specific to phase 2 proposal mismatches, not pre-shared key or selector issues.

Ready to test yourself?

Try a timed practice session using only Security And VPN questions.