Courseiva

CCNA Advanced VPN and Zero Trust Questions

75 of 138 questions · Page 1/2 · Advanced VPN and Zero Trust · Answers revealed

1
MCQmedium

A FortiGate administrator is deploying ZTNA to provide access to internal applications for remote users. The administrator wants to ensure that users can only access the specific applications they are authorized for, and that the ZTNA access proxy performs authentication and authorization before forwarding traffic. Which FortiGate component must be configured to define the protected applications and the authentication rules for ZTNA access?

A.A firewall policy with the destination set to the internal application server's IP address and the action set to accept.
B.An SSL VPN portal with a tunnel mode configuration that maps internal subnets to remote users.
C.A ZTNA server configuration that includes the virtual host, server certificate, and application mappings.
D.An IPsec dial-up VPN with extended authentication configured on the phase 1 gateway.
AnswerC

The ZTNA server on the FortiGate defines the access proxy that protects internal applications. It includes the virtual host name, the server certificate used for TLS, and the application mappings that specify which internal resources are published and how they are accessed. Authentication and authorization are enforced through the ZTNA policy that references the ZTNA server, ensuring users only reach authorized applications.

Why this answer

The ZTNA server configuration on the FortiGate is the component that defines the access proxy, including the virtual host, server certificate, and application mappings for protected applications. The ZTNA policy then references this server to enforce authentication and authorization. Without the ZTNA server, there is no application-level proxy to control access, so users could not be restricted to specific applications.

Exam trap

The trap here is assuming that a standard firewall policy or SSL VPN portal can provide ZTNA application-level access control without a ZTNA server configuration.

2
Multi-Selectmedium

Which TWO of the following are required components for a Fortinet ZTNA solution? (Select two.)

Select 2 answers
A.FortiAuthenticator
B.FortiWeb
C.FortiAnalyzer
D.FortiGate
E.FortiClient EMS
AnswersD, E

FortiGate is the ZTNA gateway.

Why this answer

FortiGate is the enforcement point in a ZTNA solution, acting as the ZTNA gateway that verifies device posture and user identity before granting access to protected applications. It terminates ZTNA tunnels from FortiClient and applies identity-based policies, making it a required component for traffic inspection and access control.

Exam trap

The trap here is that candidates often assume FortiAuthenticator is required because ZTNA involves identity, but FortiGate can handle authentication locally or via any SAML IdP, making FortiAuthenticator optional, not mandatory.

3
MCQmedium

A FortiGate administrator needs to integrate with FortiNAC to enforce network access control for wired and wireless devices. The administrator wants FortiNAC to dynamically assign VLANs based on the device's security posture. Which FortiNAC feature enables this?

A.DHCP fingerprinting
B.NAC policies
C.RADIUS accounting
D.SNMP traps
AnswerB

NAC policies are the rule engine that evaluates a device's security posture and host attributes, then applies the matching VLAN assignment to the switch port or wireless SSID. This satisfies the requirement for dynamic, posture-based VLAN assignment rather than static port configuration.

Why this answer

NAC policies define rules for device classification and VLAN assignment based on posture assessment results.

4
MCQeasy

An organization wants to implement Zero Trust Network Access (ZTNA) to secure access to an internal application. The application is accessed via HTTPS. Which component must be configured on the FortiGate to act as a reverse proxy for the application?

A.FortiClient EMS
B.SSL-VPN portal
C.ZTNA proxy
D.ZTNA inline CASB
AnswerC

The ZTNA proxy on the FortiGate terminates the HTTPS session and acts as a reverse proxy, inspecting and forwarding traffic to the internal application. This satisfies the requirement for brokered access without exposing the app directly.

Why this answer

The ZTNA proxy is the FortiGate component that acts as a reverse proxy for HTTPS applications in a ZTNA deployment. It terminates the client's TLS connection, authenticates the user via FortiClient EMS tags or certificates, and then proxies the request to the internal application, enforcing zero trust access policies. This is distinct from SSL-VPN, which provides network-level access rather than application-level reverse proxy.

Exam trap

NSE7 often tests the distinction between ZTNA proxy and SSL-VPN, as candidates may confuse network-level access with application-level reverse proxy functionality.

How to eliminate wrong answers

Option A is wrong because FortiClient EMS is the endpoint management server that provides ZTNA tags and compliance status, not the reverse proxy itself. Option B is wrong because SSL-VPN portal provides remote network access via a tunnel, not application-level reverse proxy for ZTNA. Option D is wrong because ZTNA inline CASB is used for SaaS application visibility and control, not for proxying internal HTTPS applications as a reverse proxy.

5
MCQeasy

An administrator wants to enforce that only devices with antivirus software installed and up-to-date can access the corporate network. Which FortiGate feature should be used?

A.Application control profile
B.ZTNA tags and posture checks
C.IPsec VPN with pre-shared key
D.Web filtering profile
AnswerB

ZTNA posture checks inspect endpoint attributes such as antivirus presence and signature currency, then apply tags to compliant devices. FortiGate enforces access policy against those tags, so only endpoints meeting the antivirus and up-to-date requirement reach the corporate network.

Why this answer

FortiGate uses ZTNA device posture checks via FortiClient EMS to enforce endpoint compliance, such as antivirus status.

6
MCQmedium

A network administrator is troubleshooting an IPsec VPN tunnel between two FortiGate devices. The tunnel is established, but traffic is not passing. Which configuration should the administrator check first?

A.Firewall policies
B.NAT traversal configuration
C.Static routes
D.Phase1 parameters
AnswerA

Firewall policies govern whether traffic is permitted through the tunnel; an established IPsec tunnel with no passing traffic typically indicates missing or misordered policies blocking the interesting traffic. FortiGate requires explicit policies permitting traffic between the VPN interfaces, so checking these first addresses the stem's constraint of a tunnel that is up but not forwarding data.

Why this answer

When an IPsec VPN tunnel is established but traffic does not pass, the most common cause is missing or misconfigured firewall policies. Even with correct Phase 1 and Phase 2 settings, the FortiGate will not forward traffic between the tunnel interface and the destination network unless an explicit firewall policy permits it. This is because FortiGate uses a stateful inspection model where all traffic must be allowed by a policy, regardless of the VPN being up.

Exam trap

The trap here is that candidates assume a working Phase 1 and Phase 2 automatically allows traffic, but FortiGate requires explicit firewall policies to permit traffic through the tunnel, unlike some other vendors where the VPN configuration itself implies a permit.

How to eliminate wrong answers

Option B (NAT traversal configuration) is wrong because NAT traversal is only relevant when there is a NAT device between the VPN peers; if the tunnel is already established, NAT-T is likely working or not needed, and it does not block traffic flow. Option C (Static routes) is wrong because while routes are necessary for traffic to reach the tunnel interface, the tunnel being established indicates that routing is likely correct; the issue is that even with correct routes, traffic is dropped at the policy layer. Option D (Phase1 parameters) is wrong because if Phase 1 parameters were mismatched, the tunnel would not establish at all; the fact that the tunnel is up means Phase 1 negotiation succeeded.

7
MCQhard

An administrator is troubleshooting a ZTNA issue where users are able to authenticate but the application access is still blocked. The ZTNA status on FortiClient shows 'Connected' but the application does not load. What is the MOST likely cause?

A.The user's FortiClient does not have the required ZTNA tags assigned
B.The ZTNA application is not configured with HTTPS
C.The FortiClient EMS server is not reachable from the FortiGate
D.The FortiGate is not configured with the correct ZTNA application gateway
AnswerA

Authentication alone does not grant access; the ZTNA proxy rule matches on device tags, so a missing required tag causes the policy to deny the session despite FortiClient showing 'Connected'. Assigning the correct tag to the client restores the match and unblocks the application.

Why this answer

When users can authenticate and the ZTNA status shows 'Connected' on FortiClient, but the application still fails to load, the most likely cause is that the client lacks the required ZTNA tags. ZTNA tags are used by the FortiGate to enforce access policies; without the correct tags, the FortiGate will block the application traffic even though the tunnel is established. This scenario indicates a tag assignment or synchronization issue between FortiClient and EMS.

Exam trap

The trap here is that candidates assume a 'Connected' ZTNA status means full application access is granted, overlooking that ZTNA tags are the critical enforcer of granular access control beyond just tunnel establishment.

How to eliminate wrong answers

Option B is wrong because ZTNA applications can use any TCP-based protocol (e.g., HTTPS, SSH, RDP); HTTPS is not mandatory, and the issue is not protocol-specific. Option C is wrong because if the FortiClient EMS server were unreachable from the FortiGate, the ZTNA status would not show 'Connected' — the tunnel would fail to establish. Option D is wrong because if the FortiGate were not configured with the correct ZTNA application gateway, the user would not be able to authenticate or see a 'Connected' status; the gateway configuration is a prerequisite for the tunnel to form.

8
MCQeasy

A FortiGate administrator is deploying ZTNA to protect an internal application. Users connect with FortiClient, which establishes a tunnel to the FortiGate. The administrator wants the FortiGate to verify the user's identity and device posture before allowing access to the application. Which FortiGate feature performs this verification as part of the ZTNA access proxy?

A.A firewall policy with NAT enabled to hide the internal application address.
B.A virtual IP (VIP) object that maps an external address to the application server.
C.IPsec phase2 selectors that restrict traffic to the application subnet.
D.ZTNA access proxy with authentication and posture check configured on the ZTNA server.
AnswerD

The ZTNA access proxy terminates the client tunnel and enforces authentication and posture checks before forwarding traffic to the protected application. It is the component that validates the user's identity and device compliance as part of the ZTNA server configuration. This directly performs the verification the administrator requires for access to the internal application.

Why this answer

ZTNA enforcement happens at the access proxy, which is configured on the ZTNA server and performs authentication plus posture checks before allowing traffic to the internal application. It replaces traditional NAT-based publishing with identity- and compliance-aware access. Phase2 selectors, NAT, and VIP objects operate at the network layer and cannot verify user identity or device posture.

Exam trap

The trap here is equating traditional NAT or VIP publishing with ZTNA, when only the ZTNA access proxy validates identity and posture before granting application access.

9
Multi-Selectmedium

An administrator is deploying ZTNA with FortiClient EMS to secure access to a corporate web application. Which THREE components are required for a successful ZTNA deployment? (Choose three.)

Select 3 answers
A.FortiSandbox for threat analysis
B.FortiClient EMS server
C.FortiClient installed on endpoint devices
D.FortiGate configured as ZTNA access proxy
E.FortiAnalyzer for logging
AnswersB, C, D

FortiClient EMS is the management plane that issues and maintains endpoint ZTNA tags, and it synchronises those tags to the FortiGate. Without this server, the FortiGate access proxy has no authoritative source of device posture, so tag-based policy enforcement cannot occur.

Why this answer

FortiClient EMS server (B) is required because it acts as the central management and policy authority for ZTNA, handling endpoint registration, tagging, and synchronization of ZTNA configuration to FortiGates and FortiClients. FortiClient installed on endpoint devices (C) is required because it provides the endpoint identity, posture information, and ZTNA client functionality needed to establish secure tunnels to the access proxy. A FortiGate configured as ZTNA access proxy (D) is required because it enforces ZTNA policies and brokers access between endpoints and the protected corporate web application.

FortiSandbox (A) is not required for ZTNA deployment; it provides sandboxing/threat analysis and is not a core ZTNA component. FortiAnalyzer (E) is also not required; it provides logging, reporting, and analytics but ZTNA can function without it.

Exam trap

The trap here is that candidates often assume FortiSandbox or FortiAnalyzer are mandatory for ZTNA, but FortiSandbox is only needed for file inspection in advanced threat scenarios and FortiAnalyzer is purely for logging, neither of which are core to the ZTNA control plane.

10
MCQhard

A FortiGate has an IPsec VPN with a remote peer that uses IKEv2. The administrator wants to ensure that child SA rekeying uses PFS (Perfect Forward Secrecy) with Diffie-Hellman group 14. Which CLI command should the administrator configure on the FortiGate's phase 2 proposal?

A.set auto-negotiate enable; set dh-group 14
B.set pfs enable; set dhgrp 14
C.set proposal aes256-sha256 dh-group 14
D.set pfs enable; set dh-group 14
AnswerB

Phase 2 handles child SA rekeying, so PFS is negotiated there. Enabling pfs plus dhgrp 14 forces a fresh Diffie-Hellman exchange using group 14 on each rekey, delivering the forward secrecy the administrator requires for the IPsec tunnel.

Why this answer

On a FortiGate IPsec phase 2 proposal, PFS is enabled with 'set pfs enable' and the Diffie-Hellman group is specified with 'set dhgrp 14' (note the abbreviated keyword 'dhgrp', not 'dh-group'). This ensures that child SA rekeying performs a fresh DH exchange using group 14 (2048-bit MODP), providing Perfect Forward Secrecy. The 'auto-negotiate' and 'proposal' keywords belong to different configuration contexts and do not control PFS.

Exam trap

NSE7 often tests the exact FortiGate CLI keyword 'dhgrp' versus the generic 'dh-group' used by other vendors — candidates who memorize generic IPsec terminology instead of FortiOS-specific syntax pick the wrong option.

How to eliminate wrong answers

Option A is wrong because 'set auto-negotiate enable' is not the correct keyword for enabling PFS in a FortiGate phase 2 proposal, and 'dh-group' is not the FortiGate CLI keyword — the correct keyword is 'dhgrp'. Option C is wrong because 'set proposal aes256-sha256 dh-group 14' mixes phase 1 proposal syntax with a non-existent 'dh-group' keyword; the phase 2 proposal uses 'set proposal' for encryption/authentication but PFS is controlled separately. Option D is wrong because while 'set pfs enable' is correct, 'set dh-group 14' uses the wrong keyword — FortiGate uses 'dhgrp' (no hyphen) in phase 2.

11
MCQhard

A FortiGate is configured with an IPsec VPN that uses certificate-based authentication. The VPN fails to establish. The administrator checks the phase1 debug and sees the message: 'no suitable certificate found'. What is the most likely cause?

A.The peer's certificate is not trusted
B.The certificate revocation list (CRL) is outdated
C.The CA certificate is missing
D.The local certificate is not imported or does not match the certificate name
AnswerD

Certificate-based IPsec requires a local certificate whose subject or name matches the phase1 configuration. If it is absent from the FortiGate keystore, or its name differs from the one referenced in phase1, IKE cannot present a valid identity, producing the 'no suitable certificate found' error.

Why this answer

The 'no suitable certificate found' error in IPsec phase1 debug indicates that the FortiGate cannot locate a local certificate that matches the peer's expected certificate name (often the peer's ID or the configured local certificate name). This typically occurs when the local certificate is not imported or the certificate's Common Name (CN) or Subject Alternative Name (SAN) does not match the configured local ID or peer's expected identifier. Without a matching local certificate, the IKE exchange cannot proceed to authenticate the FortiGate to the remote peer.

Exam trap

The trap here is that candidates often confuse 'no suitable certificate found' with trust or revocation issues, but the error specifically points to a missing or mismatched local certificate, not problems with the peer's certificate or CA chain.

How to eliminate wrong answers

Option A is wrong because 'no suitable certificate found' refers to the local certificate not being found or matching, not the peer's certificate trust; a lack of trust in the peer's certificate would produce a different error like 'certificate validation failed' or 'untrusted certificate'. Option B is wrong because an outdated CRL would cause a certificate validation failure (e.g., 'certificate revoked' or 'CRL not checked'), not a failure to find a suitable local certificate. Option C is wrong because a missing CA certificate would prevent validation of the peer's certificate, resulting in a trust-related error, not the 'no suitable certificate found' message which is about the local certificate selection.

12
Multi-Selecthard

A FortiGate administrator is troubleshooting a ZTNA problem where users are unable to connect to an internal application via FortiClient. FortiClient reports 'Connection refused'. The FortiGate ZTNA gateway is configured correctly. Which THREE steps should the administrator take to diagnose the issue?

Select 3 answers
A.Check the FortiGate's antivirus update status
B.Verify that FortiClient can reach the ZTNA gateway's IP and port
C.Examine the ZTNA access proxy rule to ensure the application mapping is correct
D.Reboot the FortiClient computer
E.Verify that the application server is reachable from the FortiGate (e.g., ping or telnet)
AnswersB, C, E

Reachability testing isolates transport-layer failures before deeper ZTNA inspection. Since FortiClient reports "Connection refused", the TCP handshake to the gateway's access port is likely failing — often due to routing, firewall policy, or an incorrect port. Confirming IP and port reachability satisfies the stem's requirement to diagnose connectivity before examining ZTNA tags or Microsoft Entra ID integration.

Why this answer

Option B is correct because a 'Connection refused' error from FortiClient typically indicates a TCP-level reachability problem to the ZTNA gateway, so verifying that the client can reach the gateway's IP and port (for example, with telnet or Test-NetConnection on the configured access proxy port) confirms whether the failure is at the network path or at the gateway itself. Option C is correct because the ZTNA access proxy rule defines the application mapping (external FQDN/port to the real internal server and port), and an incorrect mapping would cause the gateway to reject or misroute the connection even when the gateway is otherwise configured correctly. Option E is correct because the FortiGate must be able to reach the backend application server; if the server is down, the port is closed, or a firewall/routing issue blocks the FortiGate-to-server path, the access proxy cannot complete the connection and the client sees a refused or failed connection.

Option A is not relevant because antivirus update status does not affect ZTNA access proxy connectivity or TCP reachability. Option D is not a diagnostic step; rebooting the FortiClient computer does not isolate the cause and may only mask a transient issue.

Exam trap

The trap is selecting generic steps like rebooting or checking antivirus, which are not relevant to ZTNA connectivity issues.

13
MCQhard

A FortiGate is the hub of an IPsec VPN and also terminates SSL VPN for remote users. The administrator wants remote users to access internal resources only after the FortiGate validates the endpoint's compliance through FortiClient EMS, and wants the validation to happen before the user is placed in a VPN address pool. Which SSL VPN configuration element enforces endpoint compliance during the connection handshake?

A.SSL VPN settings with the 'Require Client Certificate' option enabled.
B.SSL VPN host check policy that references FortiClient EMS compliance tags.
C.SSL VPN realm configured with a custom authentication timeout.
D.SSL VPN portal with split tunneling disabled.
AnswerB

A host check policy evaluates the endpoint's compliance, including FortiClient EMS tags, during the SSL VPN connection handshake before the user is assigned an address from the pool. If the endpoint fails the check, the FortiGate can deny or restrict access immediately. This directly enforces the requirement that compliance be validated before tunnel access is granted.

Why this answer

Endpoint compliance before address assignment is enforced by the SSL VPN host check policy, which can reference FortiClient EMS compliance tags and runs during the connection handshake. It blocks or restricts non-compliant endpoints before they receive a VPN address, satisfying the requirement. Certificate and portal settings affect authentication and routing but not posture evaluation.

Exam trap

The trap here is confusing strong authentication such as client certificates with endpoint posture validation, when only a host check policy can evaluate EMS compliance before address assignment.

14
MCQhard

A FortiGate administrator is deploying ZTNA to provide secure access to internal web applications. The administrator wants to ensure that only devices with up-to-date antivirus signatures are granted access. Which FortiGate component should be used to enforce this requirement?

A.SSL VPN portal with host checking.
B.ZTNA proxy rules with application mapping.
C.Firewall policies with antivirus security profiles.
D.FortiClient EMS compliance rules.
AnswerD

FortiClient EMS compliance rules allow administrators to define endpoint posture requirements, such as up-to-date antivirus signatures, and enforce them. When integrated with FortiGate ZTNA, the FortiGate can query FortiClient EMS for device compliance status and grant or deny access based on those rules. This is the correct component for enforcing endpoint compliance in a ZTNA deployment.

Why this answer

In FortiGate ZTNA, endpoint compliance is enforced through integration with FortiClient EMS. FortiClient EMS compliance rules define the required posture, such as antivirus signature version, and FortiGate queries EMS for the compliance status of the device. ZTNA rules then use this information to allow or deny access.

This ensures that only compliant devices can reach protected applications.

Exam trap

The trap here is assuming that ZTNA proxy rules or firewall antivirus profiles can enforce endpoint compliance, when in fact compliance enforcement requires FortiClient EMS integration.

15
MCQeasy

Which FortiGate feature allows an administrator to define a granular policy based on the security posture of the endpoint device, such as OS version, antivirus status, and disk encryption, before granting access to a protected application?

A.Web filtering profile
B.SSL VPN portal
C.IPsec phase 1 configuration
D.ZTNA access proxy
AnswerD

ZTNA access proxy evaluates endpoint posture — OS version, antivirus state, disk encryption — before granting application access, enforcing zero-trust checks per session. It satisfies the granular, posture-based policy requirement that conventional firewall rules cannot express.

Why this answer

FortiGate ZTNA access proxy enables granular policy enforcement based on endpoint security posture, such as OS version, antivirus status, and disk encryption. It acts as a reverse proxy that evaluates ZTNA tags (derived from endpoint posture) before granting access to protected applications, aligning with zero-trust principles.

Exam trap

NSE7 often tests the distinction between ZTNA access proxy and other FortiGate features, leading candidates to confuse it with SSL VPN or web filtering for endpoint posture enforcement.

How to eliminate wrong answers

Option A is wrong because web filtering profiles control access to web content based on categories, not endpoint posture. Option B is wrong because SSL VPN portal provides remote access but does not inherently enforce endpoint posture checks for application access. Option C is wrong because IPsec phase 1 configuration is for establishing VPN tunnels, not for granular application access based on endpoint posture.

16
MCQhard

A FortiGate is configured as a hub in an ADVPN with multiple spokes. The administrator notices that some spokes are not learning routes from other spokes, even though the ADVPN tunnel is up. The hub is using BGP for routing. Which configuration on the hub is required to enable spoke-to-spoke route propagation?

A.Configure the hub as a BGP route reflector and set the spokes as route reflector clients.
B.Set the hub's BGP router ID to match the IPsec tunnel IP address.
C.Enable multihop on the hub's BGP peering with the spokes.
D.Enable split-horizon on the hub's IPsec tunnel interfaces.
AnswerA

In an ADVPN hub-and-spoke topology, the hub must act as a BGP route reflector to propagate routes between spokes. By configuring the hub as a route reflector and the spokes as clients, the hub can reflect routes learned from one spoke to other spokes. This enables spoke-to-spoke communication over dynamic tunnels.

Why this answer

For spoke-to-spoke route propagation in ADVPN, the hub must be configured as a BGP route reflector. This allows the hub to reflect routes received from one spoke to other spokes, enabling dynamic tunnel establishment between spokes. Without route reflection, spokes only learn routes from the hub and cannot directly reach other spokes.

Exam trap

The trap here is confusing route reflection with other BGP features like split-horizon or multihop, which do not enable spoke-to-spoke route propagation in ADVPN.

17
Drag & Dropmedium

Drag and drop the steps to configure a FortiGate VDOM in multi-VDOM mode into the correct order.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

First enable VDOM mode globally, then create and assign interfaces, then configure each VDOM, then resource allocation.

18
MCQhard

A FortiGate administrator is troubleshooting a ZTNA access proxy rule that is not matching traffic from a specific user group. The rule is configured with a source of 'ZTNA_Users' and a destination of the internal web server. The administrator confirms that the user is authenticated and has the correct EMS tag. Which FortiGate CLI command should the administrator use to verify that the ZTNA rule is being evaluated correctly?

A.diagnose wad debug enable category ztna
B.diagnose debug application fnbamd -1
C.diagnose vpn ike gateway list
D.diagnose firewall auth list
AnswerA

The 'diagnose wad debug enable category ztna' command enables debugging for ZTNA processing in the WAD daemon. It provides detailed logs about ZTNA rule matching, including source, destination, and user information. This is essential for troubleshooting why a ZTNA rule is not matching traffic. It shows the evaluation process and any errors.

Why this answer

The 'diagnose wad debug enable category ztna' command enables detailed debugging of ZTNA processing in the WAD daemon, which handles access proxy rules. It shows rule matching, user identification, and any errors. Other commands like 'diagnose firewall auth list' only show authentication status, while 'fnbamd' debugging is for authentication daemon issues.

For ZTNA rule matching, WAD debug is the correct tool.

Exam trap

The trap here is using authentication debugging commands when the issue is with ZTNA rule evaluation, not authentication.

19
MCQmedium

A FortiGate administrator is troubleshooting an IPsec VPN tunnel that fails to establish. The administrator runs 'diagnose vpn ike gateway list' and sees the tunnel state as 'connecting' but no phase2 selectors are listed. Which step should the administrator take next to identify the issue?

A.Run 'diagnose debug application ike -1' and then attempt to bring up the tunnel to capture IKE negotiation details.
B.Run 'diagnose vpn tunnel list' to check the status of all IPsec tunnels and their selectors.
C.Run 'diagnose vpn ike gateway list' with the 'name' parameter to see detailed phase1 and phase2 information.
D.Run 'diagnose vpn ike status' to check the IKE status and any error counters.
AnswerA

When phase2 selectors are missing, it indicates that phase2 negotiation has not completed or failed. Enabling IKE debug with 'diagnose debug application ike -1' will show the detailed exchange, including proposals, selectors, and any error messages. This is the most effective way to identify why phase2 is not establishing, such as mismatched proposals or proxy IDs. The debug output will pinpoint the failure.

Why this answer

When an IPsec tunnel is stuck in 'connecting' with no phase2 selectors, the issue is likely in phase2 negotiation. Enabling IKE debug with 'diagnose debug application ike -1' will show the detailed negotiation, including proposals and selectors, and any error messages. This is the best next step to identify the cause, such as mismatched phase2 proposals or incorrect proxy IDs.

Other commands may not provide the necessary detail.

Exam trap

The trap here is using summary commands like 'diagnose vpn tunnel list' or incorrect commands instead of enabling detailed IKE debug to see the actual negotiation failure.

20
MCQmedium

A FortiGate administrator has configured a ZTNA access proxy for an internal web application and wants to enforce device compliance before allowing access. The administrator has integrated FortiClient EMS and created ZTNA tags for compliant devices. Users with compliant devices are still being denied access. The firewall policy references the ZTNA server and the tag. What should the administrator verify first?

A.That the FortiGate is configured to use SSL VPN instead of ZTNA for the internal application, because ZTNA does not support tag-based policies.
B.That the ZTNA server is configured with a valid SSL certificate and that the certificate chain is trusted by the client.
C.That the ZTNA tags are correctly received from FortiClient EMS and that the tag names in the firewall policy match the tags assigned to the devices.
D.That the firewall policy is placed after a broader allow policy that matches the same users and services.
AnswerC

ZTNA policy matching depends on the tag names being identical between what FortiClient EMS sends and what the firewall policy references. If the tag is misspelled or not received, the policy will not match even if the device is compliant. Verifying tag reception and name matching is the most direct way to diagnose why compliant users are denied.

Why this answer

When ZTNA tag-based enforcement denies compliant users, the most common cause is a mismatch between the tags received from FortiClient EMS and the tag names referenced in the firewall policy. Confirming that the FortiGate has the expected tags and that the policy uses the exact same names is the correct first step. Certificate issues, protocol substitution, and policy ordering do not fit the reported symptom of denied compliant users.

Exam trap

The trap here is assuming that a compliant device automatically satisfies the policy, when the policy only matches if the tag name received from EMS matches the tag name configured on the FortiGate.

21
MCQhard

A FortiGate administrator is configuring ZTNA to provide access to an internal web application. The administrator wants to ensure that only devices with a specific security posture tag are allowed access. The ZTNA rule is configured with a policy that references a device group synced from FortiClient EMS. However, when a user attempts to access the application, the connection is denied even though the device has the correct tag. What is the most likely cause?

A.The user's device is not running FortiClient, so the tag cannot be evaluated.
B.The ZTNA rule is missing a matching source interface or source address.
C.The FortiClient EMS tag is not synchronized with the FortiGate due to a certificate or connectivity issue.
D.The ZTNA proxy rule requires an application mapping that has not been configured.
AnswerC

If the tag is not synchronized, the FortiGate will not see the device as compliant, even if it has the tag in EMS. This causes the ZTNA policy to deny access. Synchronization issues often stem from expired certificates or network problems.

Why this answer

The most likely cause is that the FortiClient EMS tag is not synchronized with the FortiGate. Even if the device has the tag in EMS, the FortiGate must receive that information via the EMS connector. If synchronization fails due to certificate issues or connectivity, the FortiGate will not recognize the device as compliant, resulting in a denial.

Exam trap

The trap here is focusing on the ZTNA rule configuration itself, but the issue is often in the EMS synchronization, not the rule.

22
MCQeasy

A network administrator is setting up an IPsec VPN between two FortiGates. The administrator wants to ensure that if the VPN tunnel goes down, the FortiGate can automatically re-establish it without manual intervention. Which IPsec feature should the administrator enable to detect peer failures and trigger tunnel renegotiation?

A.Dead Peer Detection (DPD) with the mode set to on-idle or always.
B.Automatic Key Negotiation (AutoIKE) to dynamically negotiate new SAs.
C.Perfect Forward Secrecy (PFS) to generate new keys for each phase 2 negotiation.
D.IKEv2 fragmentation to allow large packets to traverse the tunnel.
AnswerA

DPD is the IPsec feature that detects when a peer becomes unreachable. When enabled, the FortiGate sends periodic probes or waits for idle traffic before probing. If the peer fails to respond, DPD marks the tunnel as down and triggers renegotiation or failover. Setting DPD mode to on-idle or always ensures detection occurs and the tunnel can be automatically re-established without manual intervention.

Why this answer

Dead Peer Detection is the IPsec mechanism that monitors peer liveness by sending probes or waiting for idle periods. When the peer fails to respond, DPD marks the tunnel as down and triggers renegotiation or failover. Setting DPD mode to on-idle or always ensures continuous monitoring, enabling automatic tunnel recovery without manual intervention.

Exam trap

The trap here is confusing security features like PFS or fragmentation with the liveness detection provided by DPD.

23
MCQhard

A multinational corporation is implementing ZTNA for remote access to a critical internal application hosted on a server with IP 10.0.1.200:8443. The FortiGate is deployed at the edge with WAN IP 203.0.113.50. The administrator configures a ZTNA rule with proxy destination 10.0.1.200:8443, a firewall policy allowing traffic from the ZTNA gateway to the internal server, and a VIP for port forwarding for testing. However, remote users report that they can establish a ZTNA connection to the gateway but the application page fails to load, showing a blank page after a long delay. The FortiGate logs show no errors, and the debug output indicates that the proxy successfully forwarded the request to 10.0.1.200:8443 and received a response. The internal server team confirms the application is working correctly for on-site users. What is the most likely cause?

A.The ZTNA proxy is not configured to support HTTPS.
B.The internal server is not reachable from the FortiGate.
C.The client's ZTNA tags are expired.
D.The application uses hardcoded IP addresses or internal hostnames that are not resolvable externally.
AnswerD

The proxy forwards successfully and the server replies, so the failure lies in the returned content: the application generates links or redirects referencing internal addresses that remote clients cannot resolve. That matches the blank page after delay despite a healthy ZTNA tunnel.

Why this answer

The application uses hardcoded IP addresses or internal hostnames that are not resolvable externally. When the ZTNA proxy forwards the request to the internal server, the server responds with HTML content that references internal resources (e.g., images, scripts, or links) using private IP addresses (like 10.0.1.200) or internal DNS names. The remote client cannot resolve or reach these internal addresses, causing the page to load partially or display a blank page after a delay, even though the initial proxy connection and response are successful.

Exam trap

The trap here is that candidates see the proxy successfully forwarding and receiving a response and assume the issue is network connectivity or proxy configuration, overlooking the fact that the application's embedded content (hardcoded IPs/hostnames) can break the client-side rendering even when the initial proxy transaction succeeds.

How to eliminate wrong answers

Option A is wrong because the ZTNA proxy is configured with a proxy destination of 10.0.1.200:8443, which implies HTTPS (port 8443 is commonly used for HTTPS), and the debug output confirms the proxy successfully forwarded the request and received a response, indicating HTTPS support is present. Option B is wrong because the debug output explicitly states the proxy forwarded the request to 10.0.1.200:8443 and received a response, proving the internal server is reachable from the FortiGate. Option C is wrong because if the client's ZTNA tags were expired, the client would not be able to establish a ZTNA connection to the gateway at all; the question states remote users can establish the connection, so tags are valid.

24
MCQeasy

A FortiGate administrator wants to use PKI certificates for IPsec VPN authentication instead of pre-shared keys. Which phase1 parameter must be set to 'signature' to enable certificate-based authentication?

A.set authmethod signature
B.set cert-validation enable
C.set ike-version 2
D.set peer-id certificate
AnswerA

Setting authmethod to signature makes phase1 use X.509 certificates for peer authentication rather than a pre-shared key, satisfying the requirement to replace PSKs with PKI. FortiGate then validates the peer certificate against the configured local or CA certificate.

Why this answer

In FortiGate IPsec phase1 configuration, certificate-based authentication is enabled by setting authmethod to signature, which tells the FortiGate to use digital signatures (certificates) instead of pre-shared keys. This is the specific phase1 parameter that switches authentication from PSK to certificate-based.

Exam trap

NSE7 often tests the confusion between authmethod (which selects PSK vs signature) and other certificate-related parameters like cert-validation or peer-id — candidates pick cert-validation thinking it enables certificate auth, but it only validates the chain.

How to eliminate wrong answers

Option B is wrong because cert-validation is not the parameter that selects certificate authentication; it relates to validating the peer certificate chain, not choosing the auth method. Option C is wrong because ike-version 2 selects IKEv2 but does not by itself enable certificate authentication — authmethod must still be set to signature. Option D is wrong because peer-id certificate is not a valid FortiGate phase1 parameter for enabling certificate auth; peer-id is used for peer identification, not auth method selection.

25
MCQeasy

A FortiGate administrator wants to integrate ZTNA with FortiClient EMS to control access to an internal application based on device posture. The admin has configured a ZTNA tag in EMS for 'AntiVirus enabled' and created a ZTNA rule in FortiGate. What additional configuration is required on the FortiGate to enforce access based on the ZTNA tag?

A.Configure SSL VPN to authenticate users and assign tags
B.Install a client certificate on each FortiClient from the FortiGate
C.Enable ZTNA inline CASB in the antivirus profile
D.Configure the FortiGate as an EMS connector and import the tag
AnswerD

FortiGate must be configured as an EMS connector so it can poll FortiClient EMS and import the ZTNA tag. Without this connector, the firewall has no visibility of the 'AntiVirus enabled' tag, so the ZTNA rule cannot match device posture and enforcement fails.

Why this answer

For FortiGate to enforce ZTNA tags created in FortiClient EMS, the FortiGate must be configured as an EMS connector so it can poll and import the tags. Once the EMS connector is authorized and the tags are imported, the ZTNA rule can match on those tags to grant or deny access based on device posture. Without the EMS connector, FortiGate has no visibility into the EMS-defined tags.

Exam trap

The trap is assuming ZTNA tag enforcement works without an EMS connector — candidates often pick SSL VPN or certificate options, but the exam tests that FortiGate must be an authorized EMS connector to import and enforce EMS-defined ZTNA tags.

How to eliminate wrong answers

Option A is wrong because SSL VPN is a remote-access method, not the mechanism for importing ZTNA tags from EMS; ZTNA uses its own rule framework and does not require SSL VPN to assign tags. Option B is wrong because installing client certificates is a separate authentication feature and does not import or synchronize ZTNA tags from EMS. Option C is wrong because inline CASB in an antivirus profile is for cloud application control and data protection, not for enforcing ZTNA tag-based access.

26
MCQmedium

A FortiGate administrator has deployed ZTNA with FortiClient EMS tagging. A remote user's endpoint is tagged as 'Compliant' in EMS, but the FortiGate ZTNA policy still denies the user's connection to the internal web application. The administrator confirmed the EMS connector status on the FortiGate shows 'Connected' and the tag is visible in the FortiGate's device inventory. What is the most likely cause of the access denial?

A.The ZTNA firewall policy references the tag as a source address, but the user's traffic is being matched by a broader policy above it that denies access.
B.FortiClient EMS requires the endpoint to be re-registered with the FortiGate before the tag can be used in a ZTNA policy.
C.The ZTNA policy must use the EMS tag as a destination address rather than a source address to match the endpoint.
D.The FortiGate requires a valid SSL certificate on the endpoint before it will honor any EMS compliance tag in a ZTNA policy.
AnswerA

Firewall policies are evaluated top-down, and the first matching policy is applied. If a broader deny or restrictive policy appears above the ZTNA tag-based policy and matches the user's source, destination, or service, the ZTNA policy is never reached. This is the most common reason a correctly tagged device still gets denied despite the EMS connector showing Connected and the tag being visible in inventory.

Why this answer

A correctly tagged endpoint can still be denied if a policy earlier in the top-down evaluation order matches the traffic first. The FortiGate applies the first matching firewall policy, so a broad deny or restrictive allow placed above the ZTNA tag-based policy will intercept the connection before the tag-based rule is evaluated. Verifying policy order and specificity resolves the denial.

Exam trap

The trap here is assuming that a visible EMS tag guarantees the ZTNA policy will be reached, ignoring top-down policy evaluation order.

27
MCQhard

A FortiGate administrator is configuring an IPsec VPN with IKEv2 between two sites. The administrator wants to ensure that only specific subnets are allowed over the tunnel and that the tunnel uses strong encryption. After configuring phase1 and phase2, the administrator notices that the tunnel is up, but traffic from a subnet that should be allowed is not passing. The administrator runs 'diagnose vpn tunnel list' and sees that the tunnel is established. What is the most likely reason for the traffic not passing?

A.The phase2 selectors do not match the local and remote subnets exactly as configured in the firewall address objects.
B.The dead peer detection (DPD) is disabled, causing the tunnel to become stale.
C.The encryption algorithm used in phase2 is not supported by the remote peer.
D.The firewall policy allowing the traffic does not have NAT enabled.
AnswerA

In IPsec VPN, phase2 selectors define the traffic that is allowed over the tunnel. If the local and remote subnets configured in phase2 do not match the actual source and destination addresses of the traffic, the FortiGate will not route that traffic into the tunnel. This is a common misconfiguration. Even if the tunnel is up, mismatched selectors will cause traffic to be dropped or sent unencrypted, depending on routing. The administrator should verify that the phase2 selectors exactly match the subnets defined in the firewall policies and address objects.

Why this answer

Phase2 selectors must match the actual traffic subnets. If they do not, the FortiGate will not encrypt and send that traffic over the tunnel. Even with the tunnel up, mismatched selectors cause traffic to be dropped or routed elsewhere.

The other options would either prevent tunnel establishment or are not relevant to the symptom.

Exam trap

The trap here is assuming that an established tunnel guarantees traffic will pass, overlooking that phase2 selectors must match the actual traffic subnets.

28
MCQmedium

A healthcare provider is deploying ZTNA to secure access to an internal electronic health records (EHR) system. The EHR system is composed of multiple web services running on different ports behind a load balancer with IP 10.0.10.100. The load balancer listens on ports 443, 8443, and 9090. The administrator configures a single ZTNA rule with proxy destination 10.0.10.100:443, expecting that the other ports will be accessed via the same rule. However, users report that they can only access the service on port 443; connections to ports 8443 and 9090 fail. The FortiGate logs show that requests to other ports are being dropped. What should the administrator do to resolve this?

A.Configure the load balancer to redirect all traffic to port 443.
B.Configure the ZTNA gateway to allow all ports to the load balancer.
C.Create separate ZTNA rules for each port (8443 and 9090).
D.Ask users to change the port in their browser to 443.
AnswerC

A ZTNA proxy destination matches the exact IP-and-port pair, so 10.0.10.100:443 covers only port 443. Traffic to 8443 and 9090 matches no rule and is dropped. Separate rules, or a destination covering all three ports, are required.

Why this answer

Each ZTNA rule maps to a single proxy destination port. The rule configured with proxy destination 10.0.10.100:443 only forwards traffic for that specific port. To access services on ports 8443 and 9090, separate ZTNA rules must be created for each port, each with its own proxy destination and access proxy configuration.

Exam trap

The trap here is that candidates assume a single ZTNA rule with a destination IP will automatically forward traffic to all ports on that IP, overlooking that ZTNA rules are port-specific and require separate rules for each service port.

How to eliminate wrong answers

Option A is wrong because redirecting all traffic to port 443 would break the intended functionality of the separate web services running on ports 8443 and 9090, and the load balancer is not designed to redirect traffic arbitrarily. Option B is wrong because the ZTNA gateway does not support a wildcard 'allow all ports' configuration; ZTNA rules require explicit proxy destination IP and port pairs. Option D is wrong because asking users to change the port in their browser does not address the underlying ZTNA rule limitation; the gateway would still drop connections to ports not defined in the rule.

29
MCQeasy

In a Fortinet ZTNA deployment, which component is responsible for forwarding decrypted traffic to the internal application server after the FortiGate proxy has performed SSL inspection?

A.FortiClient EMS
B.ZTNA proxy on FortiGate
C.IPsec VPN tunnel
D.FortiNAC
AnswerB

The FortiGate's ZTNA proxy terminates the client TLS session, performs SSL inspection, then opens a separate connection to the internal application server, forwarding the decrypted traffic onward. This satisfies the stem's requirement that traffic reaches the server after inspection, since the FortiGate itself acts as the forwarding proxy rather than an external access broker.

Why this answer

In Fortinet ZTNA, the FortiGate acts as the ZTNA proxy (also called the access proxy). After it terminates the client's TLS session and performs SSL inspection, the FortiGate itself re-originates the connection to the internal application server. No separate component forwards that decrypted traffic — the FortiGate proxy handles both the client-facing and server-facing legs.

Exam trap

NSE7 often tests the confusion between the control plane (FortiClient EMS distributing tags) and the data plane (FortiGate proxy forwarding traffic) — candidates pick EMS thinking it forwards traffic.

How to eliminate wrong answers

Option A is wrong because FortiClient EMS is the management plane that distributes ZTNA tags and policies to endpoints; it does not proxy or forward application traffic. Option C is wrong because an IPsec VPN tunnel is a transport mechanism for site-to-site or client-to-site connectivity, not the component that forwards decrypted ZTNA proxy traffic to the app server. Option D is wrong because FortiNAC provides network access control (device visibility, onboarding, quarantine), not ZTNA traffic forwarding.

30
Multi-Selecthard

A company is deploying ZTNA to protect an internal application. They want to ensure that only users with devices that have disk encryption enabled and the latest OS patches can access the application. Which THREE components must be configured to achieve this?

Select 3 answers
A.FortiNAC for network admission control
B.IPsec VPN to encrypt traffic between client and FortiGate
C.FortiClient on the endpoint device
D.FortiGate ZTNA access proxy with tag-based rules
E.FortiClient EMS to define compliance policies and assign tags
AnswersC, D, E

FortiClient performs the endpoint posture checks for disk encryption and OS patch level, then reports compliance to EMS. These checks generate the tags that the FortiGate evaluates, so FortiClient is essential to enforce the stated conditions.

Why this answer

Option C is correct because FortiClient is the endpoint agent that performs the on-device posture checks (disk encryption status and OS patch level) and reports that information to FortiClient EMS. Option E is correct because FortiClient EMS is where the compliance/ZTNA tagging policies are defined and where tags (such as 'disk-encrypted' and 'patched') are assigned to endpoints based on those posture results. Option D is correct because the FortiGate ZTNA access proxy enforces tag-based rules, only allowing access to the internal application when the endpoint presents the required compliance tags.

Option A is not needed since FortiNAC provides network admission control (NAC) for LAN/port-level access, not ZTNA application access control. Option B is not required because ZTNA uses TLS-based access proxy tunnels rather than an IPsec VPN to reach the protected application.

Exam trap

NSE7 often tests the division of labor between FortiClient (collector), EMS (policy/tag engine), and FortiGate (enforcer) — candidates who conflate FortiNAC's NAC role with ZTNA posture enforcement pick the FortiNAC distractor.

31
MCQeasy

A FortiGate administrator is configuring a ZTNA rule to protect an internal application. The administrator wants to ensure that only devices with a specific compliance tag are allowed, while all other devices are denied. The administrator has already created the ZTNA server and the FortiClient EMS tags. What is the correct way to enforce this requirement in the firewall policy?

A.Use a firewall policy with the ZTNA server as the destination and a schedule that only allows access during business hours, which implicitly blocks non-compliant devices.
B.Create a firewall policy that allows all users to the ZTNA server, then create a separate deny policy for non-compliant devices below it.
C.Create a firewall policy that references the ZTNA server and includes the compliance tag as a source or destination condition, so only tagged devices match the allow rule.
D.Configure the ZTNA server to require the compliance tag in its application mapping, which automatically denies untagged devices at the proxy level.
AnswerC

ZTNA tag-based enforcement is implemented by referencing the ZTNA server in the policy and using the compliance tag as a matching condition. Only devices that have the tag will match the allow policy, and all others will fall through to the implicit deny. This directly enforces the requirement without needing a separate deny rule.

Why this answer

ZTNA tag enforcement is achieved by referencing the ZTNA server in the firewall policy and adding the compliance tag as a matching condition. Only devices that present the tag match the allow policy; all others are denied by the implicit deny. Separate deny policies, ZTNA server mappings, and schedules do not provide the required tag-based control.

Exam trap

The trap here is thinking that a deny policy placed after an allow policy will block non-compliant devices, when the allow policy must itself require the compliance tag to match.

32
MCQhard

Refer to the exhibit. A tunnel interface is configured with IP 10.0.1.1/30 and remote-ip 10.0.1.2/30. The phase2 defines src-subnet as 10.0.1.0/30 and dst-subnet as 10.0.2.0/30. What is the most likely problem with this configuration?

A.The phase2 src-subnet includes the tunnel interface IP
B.The remote gateway is set to a static IP but the peer might be dynamic
C.The tunnel interface is missing the 'ip' command
D.The phase2 dst-subnet overlaps with the remote gateway
AnswerA

The phase2 selector 10.0.1.0/30 overlaps the tunnel interface subnet, so traffic sourced from 10.0.1.1 matches the encryption domain and is routed into the tunnel rather than reaching the remote gateway. FortiGate requires selectors distinct from the tunnel IP range to avoid this routing conflict.

Why this answer

The phase2 src-subnet is set to 10.0.1.0/30, which includes the tunnel interface IP 10.0.1.1/30. In IPsec VPN configurations, the phase2 selector must not include the tunnel interface IP itself because the tunnel interface is used for routing encapsulated traffic; including it can cause routing loops or prevent the tunnel from establishing correctly. The correct src-subnet should be the protected internal network behind the FortiGate, not the tunnel subnet.

Exam trap

The trap here is that candidates often confuse the tunnel interface subnet with the protected local subnet, assuming the phase2 selectors should match the tunnel IPs, when in fact they must specify the actual internal networks behind the VPN gateways.

How to eliminate wrong answers

Option B is wrong because the question does not provide any information about the peer being dynamic; the remote-ip is statically configured, and a static peer is valid. Option C is wrong because the tunnel interface is configured with an IP address (10.0.1.1/30), which implies the 'ip' command is present; the issue is not a missing command. Option D is wrong because the phase2 dst-subnet (10.0.2.0/30) does not overlap with the remote gateway (10.0.1.2/30); they are on different subnets, so no overlap exists.

33
MCQmedium

A FortiGate is configured as a ZTNA access proxy for an internal application. The administrator wants to enforce device compliance using FortiClient EMS tags before allowing access. Which configuration step is required to ensure that only endpoints with a specific EMS tag can access the application?

A.Set the ZTNA rule action to 'deny' for non-compliant devices.
B.Configure FortiClient EMS as a fabric connector and synchronize EMS tags.
C.Create a ZTNA rule with a source address of the EMS tag.
D.Enable 'device-detection' on the ZTNA rule.
AnswerB

To use EMS tags in ZTNA rules, FortiGate must be integrated with FortiClient EMS via a fabric connector. This allows FortiGate to receive dynamic tag information about endpoints. After synchronization, the EMS tags become available as source objects in ZTNA rules. This is the essential step to enforce compliance based on EMS tags.

Why this answer

Enforcing device compliance via EMS tags in ZTNA requires FortiGate to be integrated with FortiClient EMS using a fabric connector. This integration synchronizes EMS tags, which can then be used as source objects in ZTNA rules. Without this, tags are not available, and compliance cannot be enforced.

Other steps like device detection or deny actions are secondary.

Exam trap

The trap here is thinking that simply referencing an EMS tag in a rule is enough, without first establishing the EMS fabric connector and tag synchronization.

34
Multi-Selecteasy

A company is deploying ZTNA to replace their legacy VPN. They want to ensure that only users with a valid certificate and compliant antivirus can access the internal application. Which TWO components are required on the FortiGate for this deployment?

Select 2 answers
A.ZTNA proxy rule with access proxy
B.Dynamic routing protocol (BGP)
C.Firewall policy with ZTNA tags matching
D.SSL-VPN portal
E.IPsec phase1 with certificate authentication
AnswersA, C

The access proxy defines the protected internal application and terminates ZTNA traffic, enforcing certificate and posture checks before forwarding. Without this proxy rule on the FortiGate, no ZTNA policy can validate the user certificate and compliant antivirus required by the stem.

Why this answer

Option A is correct because the ZTNA proxy rule with an access proxy is the FortiGate component that publishes the internal application and enforces the ZTNA access proxy, which is where client certificate authentication and device posture (such as compliant antivirus) are validated before traffic is allowed. Option C is correct because a firewall policy with ZTNA tags matching is required to permit and control the traffic from ZTNA-authenticated users, using the dynamic ZTNA tags that FortiClient EMS assigns based on certificate and antivirus compliance. Together, the access proxy handles the ZTNA authentication and posture check, while the firewall policy with ZTNA tag matching authorizes the session to the internal application.

Option B is not required because BGP is a dynamic routing protocol unrelated to ZTNA access control. Option D is not required because SSL-VPN portal is the legacy VPN feature being replaced by ZTNA. Option E is not required because IPsec phase1 with certificate authentication is a site-to-site or remote VPN tunnel mechanism, not the ZTNA access proxy enforcement used here.

Exam trap

NSE7 often tests the confusion between ZTNA components and legacy VPN components, causing candidates to select SSL-VPN or IPsec options instead of the required ZTNA proxy rule and ZTNA tag-based firewall policy.

35
MCQhard

An administrator is deploying an ADVPN with a hub and two spokes. The hub is behind a NAT device and has a static public IP, while both spokes are behind NAT with dynamic public IPs. The administrator wants the spokes to establish shortcuts directly between each other. Which configuration is required for the shortcut to form?

A.Configure the hub to use a dial-up VPN with a pre-shared key and disable DPD on the spokes to prevent shortcut teardown.
B.Enable IPsec NAT traversal on the hub and both spokes, and ensure that the spokes can exchange IKE and ESP traffic through their NAT devices.
C.Configure the spokes with a static public IP address so that the hub can advertise them for direct shortcut negotiation.
D.Enable IPsec NAT traversal on the hub only, because the hub is the device that initiates shortcut negotiation.
AnswerB

ADVPN shortcut negotiation relies on IKE and ESP packets reaching the spoke peers directly. When spokes are behind NAT, NAT-T must be enabled on every peer so that the traffic is encapsulated in UDP and the NAT devices can maintain the mappings. This allows the hub to relay the shortcut proposal and the spokes to establish the direct tunnel.

Why this answer

For ADVPN shortcuts to form between spokes that are behind NAT, every peer must support NAT traversal so IKE and ESP can be carried over UDP through the NAT devices. The hub relays the shortcut information, but the direct tunnel between spokes depends on NAT-T being enabled on those spokes as well. Static addresses and DPD changes are not prerequisites for shortcut creation.

Exam trap

The trap here is thinking that NAT traversal is only needed on the device behind NAT or only on the hub, when every ADVPN peer that may be behind NAT must have it enabled.

36
MCQeasy

A FortiGate administrator wants to use Fortinac for network access control. Which of the following is the PRIMARY function of Fortinac in a network?

A.Perform deep packet inspection on all traffic
B.Act as a VPN concentrator for remote access
C.Provide network access control by enforcing policies based on device identity and posture
D.Provide a cloud-based sandbox for malware analysis
AnswerC

FortiNAC enforces access decisions at the network edge using device identity and posture assessment, satisfying the stem's requirement for network access control. It profiles endpoints, checks compliance, and dynamically assigns VLANs or blocks access, which is the primary function distinguishing it from firewalling or authentication alone.

Why this answer

FortiNAC's primary function is network access control (NAC): it identifies devices and users, assesses device posture (e.g., OS patches, antivirus status), and enforces access policies that determine whether a device is allowed on the network and at what level of access. This is the core purpose of FortiNAC in a Fortinet security fabric deployment.

Exam trap

NSE7 often tests the confusion between Fortinet products, so candidates pick firewall or sandbox functions (DPI, VPN, malware analysis) for FortiNAC when its actual role is identity- and posture-based network access control.

How to eliminate wrong answers

Option A is wrong because deep packet inspection is performed by firewalls (FortiGate) and IPS engines, not by FortiNAC, which focuses on identity and posture-based access decisions. Option B is wrong because VPN concentration is a FortiGate function (SSL/IPsec VPN), not a FortiNAC capability. Option D is wrong because cloud-based malware sandboxing is provided by FortiSandbox, not FortiNAC.

37
MCQmedium

A FortiGate administrator is using FortiNAC to enforce network access control for wired endpoints. The administrator wants to quarantine any endpoint that fails antivirus compliance. Which action should be configured in the FortiNAC policy to achieve this?

A.Disable the switch port
B.Send a SNMP trap to the admin
C.Assign the endpoint to a quarantine VLAN
D.Block the MAC address at the switch port
AnswerC

Placing the non-compliant endpoint into a quarantine VLAN isolates it at layer 2, so it can reach only remediation resources and cannot route to production subnets. This directly satisfies the stem's requirement to quarantine any endpoint failing antivirus compliance, enforced by the FortiNAC policy action.

Why this answer

FortiNAC policies can enforce compliance by moving endpoints to a quarantine VLAN or applying a quarantine ACL. The typical action is to place the endpoint in a quarantine VLAN where access is restricted.

38
MCQmedium

A FortiGate administrator configures SAML SSO with FortiGate as the Service Provider (SP) and an external IdP. Users report that they are prompted for credentials repeatedly without successful authentication. What is the most likely cause?

A.The SAML attribute mapping is incorrect
B.The FortiGate's clock is synchronized via NTP
C.The firewall policy does not allow SAML traffic
D.The IdP certificate is not imported or trusted on the FortiGate
AnswerD

SAML assertions are signed by the IdP, so the FortiGate must hold and trust the IdP signing certificate to validate them. Without that certificate imported, signature validation fails, authentication never completes, and users are repeatedly redirected to the IdP login.

Why this answer

When FortiGate acts as SAML SP, it must validate the IdP's signed SAML assertions using the IdP's signing certificate. If the IdP certificate is not imported and trusted on the FortiGate, signature validation fails, and authentication cannot complete — users are repeatedly redirected to the IdP and back without a successful login. This is the most common cause of SAML SSO loops in FortiGate deployments.

Exam trap

NSE7 often tests the misconception that attribute mapping or firewall policies cause SSO loops, when the most common root cause is a missing or untrusted IdP signing certificate.

How to eliminate wrong answers

Option A is wrong because incorrect attribute mapping would typically result in authentication succeeding but user attributes (like group membership) being wrong, not a repeated credential prompt loop. Option B is wrong because NTP synchronization is important for SAML (to validate timestamps), but the question states the clock is synchronized via NTP, so it is not the cause. Option C is wrong because SAML traffic between the user's browser and the IdP, and between FortiGate and IdP, is usually HTTPS; a firewall policy blocking it would prevent any SAML exchange, not cause repeated prompts.

39
MCQmedium

An administrator is troubleshooting an IPsec VPN tunnel between two FortiGates. The tunnel is up, but traffic is not passing. The administrator runs 'diagnose vpn tunnel list' and sees that both phase 1 and phase 2 are up. The policy allows traffic from both sides. What should the administrator check next?

A.Check the routing table for routes to the remote subnet
B.Increase the phase 2 keylife
C.Check the FortiGate's NTP status
D.Disable DPD
AnswerA

With both phases up and policies permitting traffic, the failure lies beyond IKE negotiation. FortiGate only forwards traffic into a tunnel when a route to the remote subnet points out the IPsec interface; without it, packets follow the default route instead. Verify the routing table for the correct static or dynamic route.

Why this answer

If both IPsec phases are up and policies allow traffic, the next most likely issue is missing or incorrect routing. Without a route to the remote subnet pointing to the IPsec tunnel interface, the FortiGate will not send traffic into the tunnel, even though the tunnel is established. Checking the routing table is the logical next step.

Exam trap

NSE7 often tests the assumption that an 'up' tunnel means traffic will flow, ignoring the need for correct routing and policy — candidates may jump to DPD or keylife instead of checking routes.

How to eliminate wrong answers

Option B is wrong because increasing the phase 2 keylife would not fix traffic not passing; it only affects rekey timing and is not a troubleshooting step for a tunnel that is already up. Option C is wrong because NTP status affects certificate and log timestamps, not IPsec traffic forwarding. Option D is wrong because disabling DPD (Dead Peer Detection) would not help; DPD is used to detect dead peers, and disabling it could mask issues, not resolve traffic flow.

40
MCQeasy

An administrator wants to enforce that only devices with up-to-date antivirus software can access corporate resources via ZTNA. Which FortiClient feature should be used to enforce this requirement?

A.VPN tunnel
B.Web filter
C.Application firewall
D.ZTNA tags
AnswerD

ZTNA tags carry the endpoint's compliance posture, including antivirus status, from FortiClient to the FortiGate. The access proxy then evaluates these tags in firewall policy, so only devices with current antivirus satisfy the stem's requirement to reach corporate resources.

Why this answer

ZTNA tags in FortiClient are dynamic posture attributes (such as antivirus status, OS patch level, and domain membership) that FortiGate/FortiClient EMS uses to make zero-trust access decisions. By tagging endpoints based on their antivirus being up-to-date, the administrator can enforce a policy that only tagged devices are allowed to reach corporate resources. This is the core mechanism Fortinet uses for ZTNA posture-based access control.

Exam trap

NSE7 often tests the distinction between authentication (VPN) and posture-based authorization (ZTNA tags) — candidates incorrectly assume a VPN tunnel enforces endpoint compliance.

How to eliminate wrong answers

Option A is wrong because a VPN tunnel provides encrypted connectivity but does not enforce endpoint posture — a device with outdated antivirus can still establish a VPN tunnel. Option B is wrong because web filtering inspects and blocks URLs/categories, not endpoint security posture. Option C is wrong because application firewall controls which applications can traverse the network, not whether the endpoint has current antivirus.

41
MCQeasy

An administrator wants to enforce that only devices with corporate-owned certificates can establish an IPsec VPN tunnel. Which IPsec authentication method should be configured?

A.Pre-shared keys
B.Extended Authentication (XAuth)
C.Aggressive mode
D.X.509 certificates
AnswerD

X.509 certificate authentication validates the peer's certificate against a trusted CA, so only devices holding corporate-issued certificates complete IKE negotiation. This enforces the corporate-owned certificate constraint that preshared keys or plain user credentials cannot guarantee.

Why this answer

X.509 certificates provide a strong, identity-based authentication mechanism that allows the VPN gateway to verify that only devices possessing a corporate-issued certificate can establish an IPsec tunnel. This method relies on a public key infrastructure (PKI) where the gateway validates the certificate chain and optionally checks certificate revocation lists (CRLs) or OCSP responses, ensuring that unauthorized devices without a valid corporate certificate are rejected.

Exam trap

The trap here is that candidates often confuse Extended Authentication (XAuth) with device authentication, but XAuth only authenticates the user, not the device, and is typically used as a secondary factor after PSK or certificate authentication, not as a standalone method for corporate-owned device enforcement.

How to eliminate wrong answers

Option A is wrong because pre-shared keys (PSK) use a shared secret that is not tied to device identity; any device with the same PSK can authenticate, making it impossible to enforce corporate-only device access. Option B is wrong because Extended Authentication (XAuth) is an additional user-based authentication layer (e.g., username/password) that runs after IKE Phase 1, but it does not authenticate the device itself and can be bypassed if the PSK or certificate is compromised. Option C is wrong because Aggressive mode is an IKE Phase 1 exchange mode that sends the identity in plaintext and is vulnerable to dictionary attacks; it does not provide device-level certificate enforcement and is less secure than Main mode.

42
MCQhard

An administrator is configuring an IPsec VPN on a FortiGate that will interoperate with a third-party peer. The peer requires the use of a specific encryption domain and does not support IKEv2. The administrator wants to ensure that only specific subnets are permitted through the tunnel, while all other traffic is excluded from the SA. Which configuration element on the FortiGate directly controls which traffic is selected for the IPsec tunnel?

A.The phase 2 selector, configured with the local and remote subnet pairs that match the peer's encryption domain.
B.The routing table entries that direct traffic to the IPsec interface.
C.The phase 1 proposal, which includes the encryption and authentication algorithms negotiated with the peer.
D.The firewall address objects referenced in the policy that permits traffic from the local subnet to the remote subnet.
AnswerA

The phase 2 selector defines the interesting traffic for the IPsec SA. It specifies the local and remote subnet pairs that are permitted through the tunnel. If the selector does not match the peer's encryption domain, the tunnel may fail to establish or traffic may be dropped. Configuring the selector to match the peer's required subnets ensures only that traffic is encrypted and sent through the SA.

Why this answer

The phase 2 selector is the configuration element that defines the encryption domain by specifying the local and remote subnet pairs permitted through the IPsec SA. It must match the third-party peer's required subnets. Firewall policies and routes influence forwarding and permission, but only the phase 2 selector determines which traffic is actually selected and encrypted for the tunnel.

Exam trap

The trap here is confusing firewall policy address objects or routing with the phase 2 selector that actually defines the IPsec encryption domain.

43
MCQeasy

An administrator wants to ensure that only devices with up-to-date antivirus software can access a sensitive application via ZTNA. Which FortiGate feature should be used to enforce this requirement?

A.ZTNA tags from FortiClient EMS
B.SSL deep inspection profile
C.Application control profile
D.AntiVirus profile on the firewall policy
AnswerA

ZTNA tags from FortiClient EMS satisfy the antivirus-compliance constraint: FortiClient reports endpoint posture, including antivirus status and signature currency, to EMS, which maps compliant devices to dynamic tags. FortiGate ZTNA policies then permit access only to tagged devices, enforcing health checks before the sensitive application is reached.

Why this answer

ZTNA tags from FortiClient EMS are used to enforce device posture requirements such as up-to-date antivirus software. FortiClient EMS assesses endpoint compliance and assigns tags, which FortiGate uses in ZTNA access policies to grant or deny access based on the tag. An AntiVirus profile on a firewall policy scans traffic content but does not directly check the device's antivirus status for ZTNA access.

Exam trap

Administrators might mistakenly think an AntiVirus profile on the policy can enforce device antivirus status, but it only scans traffic content. ZTNA tags from EMS are designed specifically for device posture verification.

44
MCQhard

You run 'diagnose vpn ike gateway list' and see the following: gateway name: HUB_GW version: IKEv2 state: UP mode: main local: 10.0.0.1:500 remote: 203.0.113.5:500 auth: psk dpd: on rekey: 86400 num_peers: 2 total_tunnels: 2 auto-discovery: enabled What does the 'auto-discovery: enabled' indicate about this VPN gateway?

A.The gateway will automatically create new phase2 selectors for any remote subnet
B.The gateway is acting as an ADVPN hub and will advertise routes to spokes for shortcut tunnel creation
C.The gateway will automatically renegotiate IKEv2 keys before expiration
D.The gateway will discover other VPN gateways on the same network and form peer relationships
AnswerB

Auto-discovery enabled confirms the gateway runs ADVPN hub behaviour: it exchanges shortcut offers and forwards spoke subnet routes so spokes can build direct tunnels. The two peers and two tunnels reflect the hub's multiple spoke connections.

Why this answer

In FortiOS, 'auto-discovery: enabled' on an IKE gateway indicates the gateway is operating as an ADVPN (Auto-Discovery VPN) hub. The hub advertises learned spoke routes to other spokes via IKE, enabling them to establish dynamic shortcut tunnels directly with each other instead of hairpinning traffic through the hub. This is the defining behavior of an ADVPN hub in the 'diagnose vpn ike gateway list' output.

Exam trap

NSE7 often tests the confusion between ADVPN auto-discovery (spoke shortcut negotiation) and generic IKE features like DPD, rekey, or phase2 selector auto-creation, so candidates must map the exact CLI output field to its ADVPN meaning.

How to eliminate wrong answers

Option A is wrong because phase2 selector creation is driven by the configured phase2 quick-mode selectors and routing, not by the auto-discovery flag; auto-discovery concerns shortcut tunnel negotiation between spokes, not selector generation. Option C is wrong because IKE key renegotiation is governed by the 'rekey' value (shown as 86400 seconds) and lifetime settings, not by auto-discovery. Option D is wrong because auto-discovery does not scan the network for arbitrary VPN gateways; it is a Fortinet ADVPN mechanism where the hub relays spoke routes so spokes can build on-demand shortcuts, not a generic peer-discovery protocol.

45
MCQmedium

A network administrator is troubleshooting an IPsec VPN tunnel between Site A (FortiGate) and Site B (third-party VPN peer). The tunnel fails to establish. On FortiGate, phase1 status shows 'up' but phase2 status remains 'down'. What is the MOST likely cause?

A.The phase2 proposal (encryption, authentication, etc.) does not match.
B.The firewall policies at Site B are blocking UDP port 500.
C.The pre-shared key does not match on both sides.
D.The DPD settings are incompatible between the peers.
AnswerA

A phase1 'up' but phase2 'down' means IKE SA negotiation succeeded, so the mismatch lies in the phase2 proposal parameters. FortiGate's phase2 selectors, encryption, authentication, and PFS settings must match the third-party peer exactly; any difference in these attributes prevents the IPsec SA from establishing.

Why this answer

Phase1 being up indicates IKE SA is established. Phase2 down indicates IPsec SA negotiation failed, typically due to mismatched proposals (encryption, integrity, PFS) or traffic selector mismatch.

46
MCQmedium

A ZTNA rule is configured to allow access to an internal application only if the client device has the ZTNA tag 'Compliant' and the user is authenticated via SAML. The FortiGate is acting as ZTNA proxy. A user successfully authenticates but the device is not tagged. What happens when the user tries to access the application?

A.The user is denied access
B.The FortiGate dynamically assigns the 'Compliant' tag to the device
C.The user is redirected to a device registration portal
D.The user is granted access because authentication succeeded
AnswerA

ZTNA rules require every configured condition to match; the 'Compliant' ZTNA tag is mandatory alongside SAML authentication. With the device untagged, the rule does not match, so the FortiGate ZTNA proxy denies the user's access to the internal application.

Why this answer

ZTNA rules on FortiGate enforce both user authentication and device posture (ZTNA tags) as conditions. If the device lacks the required 'Compliant' tag, the rule does not match, so the traffic is denied even though SAML authentication succeeded. ZTNA is zero-trust: authentication alone is insufficient without device compliance.

Exam trap

NSE7 often tests the misconception that successful SAML authentication alone grants ZTNA access; candidates must remember that ZTNA requires both identity and device posture, and missing tags result in denial, not auto-tagging or redirection.

How to eliminate wrong answers

Option B is wrong because the FortiGate does not auto-assign ZTNA tags; tags are applied by FortiClient EMS or the ZTNA tagging process based on posture checks, not dynamically by the FortiGate during access. Option C is wrong because ZTNA rules do not redirect to a registration portal; that behavior belongs to captive portal or device onboarding workflows, not ZTNA policy enforcement. Option D is wrong because successful authentication is only one condition; the rule explicitly requires the 'Compliant' tag, so access is not granted on authentication alone.

47
Multi-Selecthard

Which TWO features are required to implement an always-on SSL VPN tunnel with FortiGate that automatically reconnects when the user's network changes?

Select 2 answers
A.Tunnel mode enabled
B.DTLS enabled
C.Auto-connect setting in FortiClient
D.Web mode portal
E.Split tunneling configured
AnswersA, C

Tunnel mode is mandatory because it encapsulates all traffic in the SSL VPN tunnel, giving the client a persistent virtual interface that survives underlying network changes. This satisfies the always-on requirement: when the user's physical link switches, the tunnel re-establishes automatically rather than dropping to split-tunnel behaviour.

Why this answer

Option A (Tunnel mode enabled) is correct because an always-on SSL VPN requires a full tunnel-mode connection, which routes all traffic through the FortiGate and supports the persistent, automatically reconnecting VPN interface; web-mode portals are session-based and cannot provide an always-on tunnel. Option C (Auto-connect setting in FortiClient) is correct because FortiClient's auto-connect feature establishes the SSL VPN tunnel at startup and automatically re-establishes it when the underlying network changes, which is exactly the always-on behavior described. Option B (DTLS enabled) is not required, since DTLS only optimizes transport performance and the tunnel can reconnect over TLS.

Option D (Web mode portal) is not required because web mode is a clientless, browser-based access method that cannot deliver an always-on tunnel. Option E (Split tunneling configured) is not required because split tunneling only controls which traffic is routed through the tunnel and does not enable automatic reconnection.

Exam trap

The trap here is that candidates often confuse DTLS (which improves performance but is optional) with a requirement for always-on connectivity, or they mistakenly think split tunneling is needed for automatic reconnection, when in fact the core requirements are tunnel mode and the auto-connect client setting.

48
Multi-Selecthard

An organization uses FortiNAC for network access control. They want to enforce that only corporate-managed devices with up-to-date patches can access the production VLAN. Which THREE components must be integrated or configured?

Select 3 answers
A.ZTNA proxy on FortiGate
B.FortiClient EMS with compliance rules
C.SNMP read/write community on network devices
D.IPsec VPN between FortiNAC and FortiGate
E.RADIUS authentication on switches
AnswersB, C, E

FortiClient EMS supplies endpoint compliance telemetry — patch level and management status — to FortiNAC, which enforces the production VLAN policy through its device profiling and network access rules. Without EMS integration, FortiNAC cannot verify patch currency, so the corporate-managed, up-to-date constraint fails.

Why this answer

FortiClient EMS with compliance rules (B) is required because FortiNAC relies on the EMS integration to receive endpoint posture and compliance data (e.g., patch level, antivirus status) so it can classify corporate-managed devices as compliant before granting production VLAN access. RADIUS authentication on switches (E) is needed because FortiNAC enforces VLAN assignment and access decisions by acting as the RADIUS server (or proxy) that authenticates supplicants via 802.1X/MAC authentication and returns the appropriate VLAN or deny response. SNMP read/write community on network devices (C) is required so FortiNAC can read MAC/ARP/forwarding tables for host discovery and, with write access, send SNMP SET commands to change switch port VLANs or shut/no-shut ports for enforcement.

The other options do not belong: a ZTNA proxy on FortiGate (A) is an application-access control feature unrelated to FortiNAC's LAN enforcement, an IPsec VPN between FortiNAC and FortiGate (D) is not a prerequisite for NAC posture and VLAN enforcement, and while RADIUS is correct, it must be on the switches rather than any generic VPN or proxy component.

Exam trap

NSE7 often tests whether candidates confuse FortiNAC's NAC enforcement components (EMS compliance, SNMP, RADIUS/802.1X) with FortiGate ZTNA or VPN features that serve a different access-control purpose.

49
MCQmedium

A FortiGate is configured as a SAML service provider (SP) for ZTNA. Users authenticate via an external IdP. After authentication, users are not able to access applications even though the ZTNA proxy rule lists them. What should the administrator check FIRST?

A.The FortiClient EMS license is invalid
B.The application server is unreachable from FortiGate
C.The ZTNA proxy rule's allowed group does not include the user's group
D.The SAML IdP certificate is expired
AnswerC

SAML authentication can succeed while authorisation fails: the ZTNA proxy rule matches on user group membership, so if the IdP-asserted group is absent from the rule's allowed group, access is denied. Checking group mapping first isolates this authorisation mismatch.

Why this answer

In FortiGate ZTNA with SAML SSO, after the IdP authenticates the user, FortiGate maps the SAML assertion's group attribute to a local or remote group and then evaluates the ZTNA proxy rule. If the user's group is not listed in the rule's allowed groups, access is denied even though authentication succeeded. Therefore, the first thing to check is whether the ZTNA proxy rule's allowed group includes the group the user was mapped to.

Exam trap

NSE7 often tests the misconception that successful SAML authentication guarantees access — candidates forget that group mapping and ZTNA rule group membership are separate authorization steps that can silently fail.

How to eliminate wrong answers

Option A is wrong because an invalid FortiClient EMS license would affect endpoint posture and ZTNA tagging, but it would not typically cause a user who authenticated successfully via SAML to be denied by a proxy rule that lists them — the symptom points to group matching, not licensing. Option B is wrong because if the application server were unreachable, the user would see a connection timeout or 502-style error, not an authorization denial after successful SAML authentication; also, checking server reachability is a later troubleshooting step. Option D is wrong because an expired IdP certificate would cause SAML authentication itself to fail (signature validation error), so the user would never reach the ZTNA proxy rule evaluation stage.

50
MCQmedium

A FortiGate administrator is troubleshooting a site-to-site IPsec tunnel that intermittently drops. The administrator runs 'diagnose vpn ike gateway list' and observes that the tunnel re-establishes every few minutes, and 'diagnose debug application ike -1' shows repeated INVALID_KE_PAYLOAD notifications. The remote peer is a third-party gateway that only supports a specific Diffie-Hellman group. What is the most likely cause of the repeated renegotiation?

A.Dead peer detection is configured with an interval shorter than the remote gateway's idle timeout, causing premature tunnel deletion.
B.The pre-shared key on the FortiGate does not match the remote gateway, so authentication fails and IKE restarts.
C.The phase 2 selectors do not match between peers, so the quick mode negotiation fails and the tunnel is torn down.
D.The FortiGate phase 1 proposal includes a Diffie-Hellman group that the remote gateway does not support, causing IKE to restart with a different group.
AnswerD

INVALID_KE_PAYLOAD is the standard IKE notification sent when the responder cannot accept the proposed Diffie-Hellman group, prompting the initiator to retry with another group. Repeated renegotiation every few minutes indicates the FortiGate keeps offering a group the third-party gateway rejects. Aligning the phase 1 DH group with the remote gateway's supported group resolves the mismatch and stabilizes the tunnel.

Why this answer

INVALID_KE_PAYLOAD is emitted when the proposed Diffie-Hellman group is unacceptable to the peer, and the initiator then retries with a different group. A third-party gateway restricted to one group will keep rejecting the FortiGate's default proposal, producing the periodic renegotiation. Matching the phase 1 DH group to the remote gateway's supported value fixes the loop.

Exam trap

The trap here is interpreting repeated tunnel re-establishment as an authentication or selector problem, when the INVALID_KE_PAYLOAD notification specifically identifies a Diffie-Hellman group mismatch.

51
MCQmedium

A FortiGate administrator is deploying ZTNA to replace SSL VPN for remote access. The requirement is that endpoint posture (antivirus status, OS patch level) must be verified before a user is allowed to reach internal web applications through the ZTNA proxy, and that posture must be re-evaluated on each new connection. Which FortiGate configuration element is required to enforce this dynamic, per-connection posture check?

A.An SSL VPN portal with host-check enforcement bound to the user group.
B.An IPsec dial-up tunnel with extended authentication and a peer group tied to the user group.
C.A firewall authentication rule using a local user group with two-factor authentication enabled.
D.A ZTNA server object referencing an access-proxy policy, with an EMS connector tag used as the policy source.
AnswerD

ZTNA access-proxy policies match on EMS connector tags that represent live endpoint posture, so each new proxy connection is evaluated against current compliance state. Binding the access-proxy policy to the EMS connector tag is what makes posture dynamic and per-connection, which is exactly the behaviour requested for protecting the internal web applications behind the ZTNA server.

Why this answer

ZTNA on FortiGate enforces access through an access-proxy policy, and endpoint posture is expressed as EMS connector tags that FortiClient EMS updates. Because the policy matches those tags at connection time, a device that falls out of compliance stops matching and loses access on its next request, satisfying the per-connection posture requirement. Identity-only mechanisms cannot deliver this behaviour.

Exam trap

The trap here is assuming that SSL VPN host checking and ZTNA posture enforcement are interchangeable, when only the EMS-tag-based access-proxy policy evaluates posture dynamically for ZTNA traffic.

52
Multi-Selecthard

An administrator is troubleshooting an OSPF over IPsec VPN overlay. The OSPF neighbor state is stuck in EXSTART. The VPN tunnel is up. Which TWO issues could cause this?

Select 2 answers
A.IP fragmentation issue due to GRE/IPsec overhead
B.OSPF hello/dead interval mismatch
C.OSPF area ID mismatch
D.IPsec phase2 proposal mismatch
E.MTU mismatch on the tunnel interface
AnswersA, E

GRE/IPsec encapsulation adds overhead, so large OSPF hello or DBD packets can exceed the path MTU. If fragmentation is blocked, DBD packets carrying the master/slave election data never arrive intact, leaving neighbours stuck in EXSTART despite the tunnel being up.

Why this answer

Options A and E are correct because EXSTART is the stage where OSPF routers exchange DBD packets to elect Master/Slave, and these packets are large enough to exceed the reduced MTU caused by GRE/IPsec overhead. An IP fragmentation issue due to GRE/IPsec overhead (A) prevents the large DBD packets from being delivered or reassembled, so the routers keep retransmitting DBDs and never advance past EXSTART. An MTU mismatch on the tunnel interface (E) similarly causes large DBD packets to be dropped (or black-holed when DF is set), producing the same stuck-in-EXSTART symptom.

Options B, C, and D are incorrect because a hello/dead interval mismatch (B) or an area ID mismatch (C) prevents the routers from forming a neighbor relationship at all, leaving them in DOWN or INIT, not EXSTART, and an IPsec phase2 proposal mismatch (D) would prevent the VPN tunnel from coming up, whereas the scenario states the tunnel is already up.

53
MCQmedium

A FortiGate administrator wants to implement ZTNA to control access to an internal application server. Users will access the application via FortiClient. Which configuration step is REQUIRED to allow FortiClient to forward traffic to the ZTNA gateway?

A.Install a CA-signed certificate on FortiClient
B.Create a firewall policy from the WAN interface to the application server
C.Configure a ZTNA gateway on the FortiGate with an access proxy rule for the application
D.Configure the application server to accept connections from FortiClient's IP range
AnswerC

FortiClient tunnels application traffic to the FortiGate's access proxy, so the gateway and its access proxy rule must exist before FortiClient can forward anything. Without this rule, FortiClient has no ZTNA destination to send traffic to, and access control cannot be enforced.

Why this answer

To allow FortiClient to forward traffic to the ZTNA gateway, the FortiGate must be configured as a ZTNA gateway with an access proxy rule that maps the application to a specific hostname and port. FortiClient then connects to the ZTNA gateway's proxy address, which forwards traffic to the internal application server. Option A is incorrect because a CA-signed certificate is not required for FortiClient; FortiGate can use a self-signed certificate for ZTNA.

Option B is incorrect because a firewall policy from WAN to the application server would bypass ZTNA and expose the server directly. Option D is incorrect because the application server does not need to trust FortiClient's IP range; ZTNA uses identity-based access, not IP-based.

54
MCQmedium

An administrator is configuring ZTNA inline CASB on a FortiGate to control access to a sanctioned SaaS application. The requirement is to block uploads of files containing credit card numbers while allowing normal business uploads. The administrator creates an access proxy rule and a CASB profile with a data loss prevention sensor. During testing, uploads of files with credit card numbers are still allowed. Which action should the administrator take to enforce the block?

A.Add the SaaS application FQDN to the ZTNA access proxy destination list.
B.Enable deep inspection on the firewall policy that carries the SaaS traffic.
C.Attach the CASB profile to the ZTNA access proxy rule so the inline inspection can act on the upload.
D.Configure the DLP sensor to use the 'block' action instead of 'monitor' in the sensor definition.
AnswerC

Inline CASB enforcement occurs only when the CASB profile is referenced by the access proxy rule handling the SaaS traffic. Creating the profile without attaching it leaves inspection inactive, so uploads pass uninspected. Attaching the profile makes the DLP sensor evaluate the upload stream and block content matching the credit card pattern.

Why this answer

Inline CASB requires the CASB profile to be attached to the ZTNA access proxy rule that handles the SaaS session. The profile contains the DLP sensor and SaaS application definitions that enable content inspection. Without this attachment, the FortiGate proxies the traffic but does not apply CASB controls, allowing sensitive uploads to proceed even though the profile and sensor exist.

Exam trap

The trap here is assuming that creating a CASB profile or DLP sensor is enough, when the profile must be explicitly attached to the access proxy rule to take effect.

55
MCQeasy

A FortiGate administrator enables Dead Peer Detection (DPD) on an IPsec VPN tunnel. What is the primary purpose of DPD?

A.To dynamically adjust the tunnel MTU
B.To encrypt the IKE negotiation traffic
C.To automatically renegotiate the IKE SA before it expires
D.To detect when the remote peer is no longer reachable
AnswerD

DPD sends periodic encrypted probes (R-U-THERE) through the tunnel and expects replies. When the remote FortiGate stops responding within the configured retry limits, the local FortiGate tears down the stale IKE SA and routes traffic through an alternate path, satisfying the requirement to detect an unreachable peer.

Why this answer

DPD is used to monitor the liveness of the remote peer. If the peer becomes unreachable, DPD detects it and can trigger a failover or tunnel teardown, ensuring traffic does not blackhole.

56
MCQhard

A FortiGate has multiple IPsec VPNs to different branch offices. The administrator notices that one VPN tunnel is flapping (going up and down repeatedly). From the CLI, 'diagnose vpn ike gateway list' shows the gateway state as 'up' but then quickly goes to 'down'. What is the MOST likely cause?

A.The remote gateway's certificate is expired
B.The phase2 proposal is mismatched
C.Dead Peer Detection (DPD) retry interval is too short
D.The pre-shared key is incorrect
AnswerC

An overly aggressive DPD retry interval causes the FortiGate to declare the peer dead before replies arrive, tearing down the IKE SA and forcing renegotiation; the gateway cycles up then down, matching the observed flapping.

Why this answer

A flapping IPsec tunnel where the IKE gateway shows 'up' then quickly 'down' is most commonly caused by Dead Peer Detection (DPD) being too aggressive — if the DPD retry interval or retry count is too short, transient packet loss or latency causes the FortiGate to declare the peer dead and tear down the tunnel, which then renegotiates and flaps.

Exam trap

NSE7 often tests the misconception that any tunnel problem is a crypto mismatch — candidates pick phase2 or PSK errors, but those prevent establishment, not cause flapping after 'up'.

How to eliminate wrong answers

Option A is wrong because an expired remote certificate would cause the tunnel to fail to establish entirely (IKE negotiation failure), not flap up and down after coming up. Option B is wrong because a phase2 proposal mismatch would prevent the tunnel from ever reaching 'up' — it would fail at quick mode, not flap. Option D is wrong because an incorrect pre-shared key causes IKE phase1 authentication to fail outright, so the tunnel would never come up.

57
MCQhard

A company uses SSL VPN with FortiGate for remote access. Users report that after connecting, they can access internal web servers but cannot ping them. Which configuration is most likely missing?

A.Split tunneling settings
B.SSL VPN web portal settings
C.Firewall policy allowing ICMP
D.DNS server configuration
AnswerC

SSL VPN tunnel mode permits traffic only through firewall policies referencing the SSL VPN tunnel interface. Web access works because an existing policy allows HTTP/HTTPS, but ICMP echo has no matching policy, so pings are dropped. Adding an ICMP-accepting policy on that interface restores reachability.

Why this answer

SSL VPN tunnels typically allow TCP-based traffic like HTTP/HTTPS to internal web servers, but ICMP (ping) is a separate protocol that requires explicit permission in the firewall policy. Without a firewall policy rule permitting ICMP from the SSL VPN interface to the internal network, the FortiGate will drop the ping requests, even though the tunnel is established and other traffic flows.

Exam trap

The trap here is that candidates assume split tunneling or DNS is the cause, but the real issue is that ICMP is a separate protocol that must be explicitly permitted in the firewall policy, unlike TCP-based web traffic.

How to eliminate wrong answers

Option A is wrong because split tunneling controls whether traffic to the internet goes through the VPN tunnel or directly, not the ability to ping internal servers; it does not affect ICMP traffic to internal resources. Option B is wrong because the SSL VPN web portal settings define the web-based interface and bookmarks for users, not the underlying firewall rules that govern ICMP or other protocols. Option D is wrong because DNS server configuration resolves hostnames to IP addresses, but the issue is that ping fails even when using the IP address, indicating a lack of ICMP permission rather than name resolution.

58
MCQeasy

An administrator is troubleshooting an IPsec VPN tunnel that fails to establish. The configuration uses certificates for authentication. The admin sees the following log message: 'Certificate validation failed: unable to get local issuer certificate.' What is the most likely cause?

A.The peer's certificate has expired
B.The CA certificate that signed the peer's certificate is not imported on the FortiGate
C.The certificate revocation list (CRL) is not configured
D.The local certificate does not match the peer's expected CN
AnswerB

The error means the FortiGate cannot build a chain to a trusted root for the peer's certificate. Importing the issuing CA certificate into the local store lets the FortiGate validate the peer's certificate chain, resolving the 'unable to get local issuer certificate' failure.

Why this answer

The error 'unable to get local issuer certificate' indicates that the FortiGate cannot find the CA certificate that signed the peer's certificate in its local store. Without the CA certificate, the FortiGate cannot validate the peer's certificate chain. Importing the correct CA certificate resolves the issue.

Exam trap

The trap is confusing this error with an expired certificate or CRL issue. The specific phrase 'unable to get local issuer certificate' points directly to a missing CA certificate.

How to eliminate wrong answers

Option A is wrong because an expired certificate would produce a different error, such as 'certificate has expired'. Option C is wrong because a missing CRL would cause a revocation check failure, not an issuer lookup failure. Option D is wrong because a CN mismatch would result in a name mismatch error, not an issuer certificate error.

59
MCQhard

An administrator has deployed a ZTNA configuration on a FortiGate where remote users authenticate through FortiClient EMS. The administrator wants to ensure that only devices with an up-to-date operating system and active antivirus are granted access to an internal web application. The FortiGate is configured as the ZTNA access proxy. Which FortiGate component or configuration is required to enforce these device compliance checks?

A.Configure an IPsec VPN tunnel between FortiClient and FortiGate and apply a firewall policy with antivirus scanning.
B.Create a firewall policy that uses a schedule to allow access only during business hours, assuming devices are patched.
C.Configure a ZTNA server with a tag that references the FortiClient EMS compliance tags and apply it in the ZTNA policy.
D.Enable client certificate authentication on the ZTNA server and require a specific certificate issued by the EMS.
AnswerC

FortiGate ZTNA can use dynamic tags received from FortiClient EMS to enforce endpoint compliance. The ZTNA policy can match on these tags, ensuring only compliant devices access the protected resource. This is the correct method for integrating EMS compliance checks into ZTNA access decisions.

Why this answer

ZTNA on FortiGate integrates with FortiClient EMS to receive compliance tags. Using these tags in a ZTNA policy allows enforcement of device posture before granting access. This dynamic tagging ensures that only devices meeting the defined compliance criteria can reach the protected application, aligning with zero-trust principles.

Exam trap

The trap here is confusing authentication with authorization based on device posture, assuming that any form of certificate or VPN automatically enforces compliance.

60
MCQeasy

An administrator wants to enforce that only devices with antivirus software installed and running can access a sensitive application via ZTNA. Which ZTNA feature should be used to verify this requirement?

A.ZTNA inline CASB
B.NAC with FortiNAC
C.ZTNA tags with device posture checks
D.IPsec VPN with DPD
AnswerC

ZTNA tags with device posture checks have FortiClient EMS inspect the endpoint and assign a tag only when antivirus is installed and running. The access proxy rule then matches that tag, satisfying the requirement that only protected devices reach the application.

Why this answer

ZTNA tags with device posture checks allow the FortiGate to evaluate the security posture of the endpoint, including whether antivirus software is installed and running. These tags are then used in firewall policies to grant or deny access to sensitive applications based on compliance. This directly enforces the requirement.

Exam trap

NSE7 often tests the confusion between ZTNA tags and other access control methods like NAC, leading candidates to choose NAC when the requirement is specifically for application access based on device posture.

How to eliminate wrong answers

Option A is wrong because ZTNA inline CASB is for cloud access security broker functions, not device posture checks. Option B is wrong because NAC with FortiNAC is for network access control, typically for on-premises devices, and does not integrate directly with ZTNA for application access. Option D is wrong because IPsec VPN with DPD is for VPN connectivity and dead peer detection, not for endpoint posture assessment.

61
MCQeasy

In FortiGate's ZTNA, what is the purpose of a 'ZTNA tag'?

A.To identify a device's compliance status and attributes for policy enforcement.
B.To mark packets for quality of service (QoS) prioritization.
C.To label network interfaces for traffic steering.
D.To assign a security level to application traffic.
AnswerA

A ZTNA tag is a dynamic attribute, typically populated by FortiClient EMS, describing device compliance and posture. FortiGate ZTNA rules match these tags to decide whether a device is permitted, enforcing zero-trust access based on verified device state rather than network location.

Why this answer

ZTNA tags are dynamic attributes (e.g., OS type, antivirus status) assigned to devices based on posture checks. They are used in firewall policies to grant access based on device compliance, not for routing or QoS.

62
Multi-Selectmedium

A network administrator is troubleshooting a scenario where remote users can connect via FortiClient VPN but cannot access internal resources. The FortiGate has a valid IPsec VPN configuration. Which THREE checks should the administrator perform to resolve the issue?

Select 3 answers
A.Check if there is a route on the internal network pointing back to the VPN subnet
B.Ensure that NAT is disabled on the VPN policy
C.Increase the MTU on the VPN interface
D.Disable DPD on the VPN phase 1
E.Verify that the firewall policy allows traffic from the VPN IP pool to the internal network
AnswersA, B, E

The internal hosts must know how to reach the VPN client subnet. Without a return route pointing back to the VPN IP pool, replies are dropped or sent to the default gateway, so traffic never returns to the tunnel.

Why this answer

Option A is correct because remote-access IPsec VPN clients use a virtual IP pool subnet, and internal hosts or routers must have a return route for that VPN subnet; without it, return traffic is dropped and users cannot reach internal resources even though the tunnel is up. Option B is correct because NAT must be disabled on the VPN policy; if NAT is enabled, the FortiGate translates the source address of VPN traffic, which breaks routing and access to internal resources that expect the original VPN pool address. Option E is correct because the FortiGate requires an explicit firewall policy permitting traffic from the VPN IP pool (source) to the internal network (destination), and without this policy the tunnel establishes but no traffic is allowed through.

Option C is not appropriate because increasing MTU on the VPN interface is not a standard fix for access failures and can worsen fragmentation issues; MTU problems typically require lowering or adjusting MSS, not raising MTU. Option D is not appropriate because disabling Dead Peer Detection (DPD) on phase 1 does not resolve internal resource access problems and can prevent the FortiGate from detecting dead VPN peers.

Exam trap

The trap here is that candidates often focus on tunnel-level settings like MTU or DPD when the real issue is a missing return route or firewall policy, which are common misconfigurations in IPsec VPN deployments.

63
MCQmedium

In a hub-and-spoke VPN, spokes cannot communicate with each other directly. The administrator wants to allow direct spoke-to-spoke traffic without routing through the hub. Which technology should be configured?

A.Static routes on spokes
B.IKEv1 with mode-config
C.GRE over IPsec
D.ADVPN with IKEv2
AnswerD

ADVPN with IKEv2 lets spokes establish on-demand shortcuts directly between themselves, bypassing the hub for spoke-to-spoke traffic. The hub still handles initial route exchange, but once traffic flows, spokes negotiate a direct tunnel, satisfying the requirement to avoid hub routing while retaining centralised policy control.

Why this answer

ADVPN (Auto-Discovery VPN) with IKEv2 is Fortinet's proprietary shortcut mechanism that allows spokes to dynamically establish direct tunnels to one another without permanent spoke-to-spoke configuration. The hub acts as a registration point and uses IKEv2 to negotiate shortcut tunnels between spokes on demand, so traffic no longer has to hairpin through the hub. This is the only option that provides dynamic, on-demand direct spoke-to-spoke connectivity.

Exam trap

NSE7 often tests the distinction between technologies that merely route traffic (static routes, GRE) and those that dynamically build tunnels (ADVPN), so candidates who focus only on routing rather than tunnel establishment pick the wrong answer.

How to eliminate wrong answers

Option A is wrong because static routes on spokes only tell a spoke where to send traffic — they cannot create a tunnel to another spoke, so traffic still has to traverse the hub. Option B is wrong because IKEv1 with mode-config only provides dynamic IP assignment to remote peers; it does not enable spoke-to-spoke shortcut tunnels. Option C is wrong because GRE over IPsec creates a tunnel interface but still requires a full mesh of static GRE/IPsec peers to be configured — it does not dynamically discover or build spoke-to-spoke tunnels.

64
MCQmedium

A FortiGate administrator is configuring an IPsec VPN tunnel to a remote site that is behind a NAT device. The administrator notices that the tunnel establishes, but traffic intermittently fails. Which setting should be adjusted to improve reliability?

A.Enable Dead Peer Detection (DPD) with a shorter interval.
B.Configure the remote gateway as a dynamic DNS hostname.
C.Enable NAT traversal (NAT-T) and set the keepalive frequency.
D.Set the IPsec phase-1 proposal to use AES-256 encryption.
AnswerC

NAT traversal (NAT-T) encapsulates IPsec packets in UDP to allow them to pass through NAT devices. The keepalive frequency setting sends periodic keepalive packets to maintain the NAT mapping and prevent the NAT session from timing out. This is crucial for reliability when a peer is behind NAT, as it keeps the UDP port open and avoids intermittent failures due to NAT session expiration.

Why this answer

When an IPsec peer is behind NAT, the NAT device may close the UDP session if no traffic is sent for a period. Enabling NAT traversal (NAT-T) encapsulates IPsec packets in UDP, and setting a keepalive frequency ensures that periodic packets are sent to keep the NAT mapping alive. This prevents intermittent tunnel failures caused by NAT session timeouts.

Exam trap

The trap here is attributing intermittent failures to DPD or encryption settings, when the root cause is often NAT session timeout that can be mitigated with NAT-T and keepalives.

65
MCQeasy

A FortiGate administrator is setting up a ZTNA rule to allow access to an internal application only for users who are members of the 'Finance' group in FortiClient EMS. The administrator has already configured the ZTNA server and access proxy. Which additional configuration is required on the FortiGate to enforce this group membership?

A.Configure a user group on the FortiGate that maps to the Finance group in EMS and reference it in the ZTNA rule.
B.Enable EMS tag synchronization and create a tag for the Finance group.
C.Create a firewall address object for the Finance group and reference it in the ZTNA rule.
D.Add the Finance group as a local user group on the FortiGate and manually add each user.
AnswerA

To enforce EMS group membership, the FortiGate must have a user group that corresponds to the Finance group in EMS. This is typically done by creating a user group and selecting the EMS connector as the source, then specifying the Finance group. The ZTNA rule then references this user group as a source condition. This ensures that only users in the Finance group can access the application. This is the required configuration.

Why this answer

To enforce EMS group membership, the FortiGate must have a user group that is synchronized with the EMS Finance group. This is done by creating a user group with the EMS connector as the source and specifying the Finance group. The ZTNA rule then uses this user group as a source condition.

This ensures that only users belonging to the Finance group in EMS are granted access, without manual user management.

Exam trap

The trap here is confusing EMS tags with user groups; tags are for endpoint compliance, while user groups are for identity-based access.

66
MCQhard

During a ZTNA deployment, an administrator notices that traffic from a specific internal application is being routed through the ZTNA gateway but is not reaching the destination server. The FortiGate policy allows the traffic, and the client has a valid ZTNA connection. What is the most likely cause of the issue?

A.The ZTNA proxy rule on the FortiGate is misconfigured, pointing to the wrong destination IP or port.
B.The client's FortiClient agent is not connected to the EMS server.
C.The destination server does not have internet connectivity.
D.The FortiGate policy is set to deny traffic from the client's subnet.
AnswerA

The ZTNA proxy rule defines the destination IP and port used when forwarding the client's request to the internal application. If these are wrong, the FortiGate accepts the session but forwards it to an unreachable or incorrect server, so traffic never arrives.

Why this answer

In a ZTNA deployment, the FortiGate acts as a reverse proxy for internal applications. If the ZTNA proxy rule is misconfigured with an incorrect destination IP or port, the FortiGate will forward the traffic to the wrong backend server or service, causing the connection to fail even though the client has a valid ZTNA connection and the firewall policy permits the traffic.

Exam trap

The trap here is that candidates often assume the issue is with the client's connectivity or the firewall policy, but the key is that a valid ZTNA connection and permissive policy do not guarantee correct proxy forwarding—the proxy rule itself must accurately point to the destination server.

How to eliminate wrong answers

Option B is wrong because the client already has a valid ZTNA connection, which requires the FortiClient agent to be connected to the EMS server for authentication and posture checks; if it were disconnected, the ZTNA connection would not be established. Option C is wrong because the destination server does not need internet connectivity; ZTNA traffic is proxied through the FortiGate, and the server only needs reachability from the FortiGate, not the public internet. Option D is wrong because the question explicitly states that the FortiGate policy allows the traffic, so a deny policy for the client's subnet would contradict that condition.

67
Multi-Selectmedium

A FortiGate is configured as a ZTNA proxy. The administrator wants to ensure that only devices with a specific ZTNA tag assigned by FortiClient EMS are allowed to access the application. Which two configuration steps are required? (Choose two.)

Select 2 answers
A.Configure a firewall policy with the ZTNA proxy as destination and enable 'allow only ZTNA'
B.Create a firewall policy allowing all traffic to the ZTNA proxy
C.Enable 'set ztna-tag' on the FortiGate interface
D.Create a ZTNA access rule with a condition matching the tag
E.Import the ZTNA tag from EMS into FortiGate
AnswersD, E

The access rule must include a condition matching the specific ZTNA tag so FortiGate only admits devices carrying that EMS-assigned attribute. Without this tag condition, the rule cannot distinguish compliant devices from others, defeating the zero-trust requirement.

Why this answer

Option E is correct because the FortiGate must first learn the ZTNA tags that FortiClient EMS assigns to endpoints; this is done by configuring the EMS connector (FortiClient EMS fabric connector) and importing/synchronizing the tags, which then appear under ZTNA tags on the FortiGate. Option D is correct because enforcement of a specific tag is performed by a ZTNA access rule (access-proxy rule) whose condition matches the imported tag, so only devices presenting that tag are granted access to the protected application. Option A is incorrect because simply setting the ZTNA proxy as the destination with an 'allow only ZTNA' style setting does not itself match a specific EMS tag; tag-based authorization requires the access rule in D.

Option B is incorrect because a policy allowing all traffic to the ZTNA proxy would not restrict access by tag and would undermine the requirement. Option C is incorrect because there is no 'set ztna-tag' interface command; tags are matched in ZTNA access rules, not enabled on an interface.

68
Multi-Selecthard

A FortiGate administrator is implementing Zero Trust Network Access (ZTNA) for remote users accessing internal applications. The administrator wants to ensure that only authenticated and compliant devices can access the applications, and that all traffic is inspected. Which two actions are required to achieve this? (Choose two.)

Select 2 answers
A.Set the ZTNA server to use 'transparent' mode instead of 'proxy' mode for all applications.
B.Create a firewall policy that allows all traffic from the ZTNA server to the internal network.
C.Enable device posture checking by integrating FortiClient EMS with the FortiGate.
D.Configure a ZTNA server with application mappings for each internal application.
E.Configure SSL VPN for remote users to connect before accessing ZTNA applications.
AnswersC, D

Integrating FortiClient EMS allows the FortiGate to receive device posture tags, such as compliance status. These tags can then be used in firewall policies to enforce that only compliant devices access applications. Without this integration, the FortiGate cannot verify device posture, and ZTNA would not be able to enforce Zero Trust principles based on device health. This is a critical component for compliance enforcement.

Why this answer

To implement ZTNA with Zero Trust principles, you must define the applications via a ZTNA server with application mappings, and integrate FortiClient EMS to enforce device posture. These two actions ensure that only authenticated and compliant devices can access the specified applications. The ZTNA server proxies the traffic, and the EMS integration provides the necessary compliance data for policy decisions.

Exam trap

The trap here is thinking that SSL VPN or a specific ZTNA mode is required, while the core requirements are application mappings and posture integration.

69
MCQmedium

A network administrator is troubleshooting an IPsec VPN tunnel that is not coming up. The configuration uses IKEv2 with pre-shared keys. The administrator runs 'diagnose vpn ike log-filter' and sees no logs. What is the most likely cause?

A.IKE debug is not enabled
B.The pre-shared key does not match
C.The tunnel name is misspelled in the filter
D.The remote gateway is unreachable
AnswerA

IKEv2 negotiation events are only captured once the IKE log filter is applied and debug output is active; without enabling IKE debugging, 'diagnose vpn ike log-filter' produces no output, so the tunnel's failure remains invisible.

Why this answer

The diagnose vpn ike log-filter command sets a filter for which IKE negotiations to log, but it does not itself enable logging — the administrator must also run diagnose debug application ike -1 (or the equivalent debug enable command) to actually turn on IKE debug output. Seeing no logs after setting a filter is the classic symptom of debug not being enabled. The filter only narrows what would be logged if logging were active.

Exam trap

NSE7 often tests the two-step nature of FortiGate debugging, so the trap is assuming that setting the log-filter is sufficient and then misdiagnosing the silence as a PSK or reachability problem.

How to eliminate wrong answers

Option B is wrong because a PSK mismatch would still produce IKE logs (showing the negotiation failing at the authentication stage) — the absence of any logs points to logging being off, not to a credential problem. Option C is wrong because a misspelled tunnel name in the filter would simply filter out that tunnel's logs, but the administrator would typically still see logs for other negotiations or could correct the filter; the more fundamental issue is that debug is not enabled at all. Option D is wrong because an unreachable remote gateway would still generate IKE retransmission and timeout logs, so the administrator would see activity rather than silence.

70
MCQmedium

A FortiGate administrator is configuring an IPsec VPN with IKEv2. The remote peer is behind a NAT device and has a dynamic public IP. The administrator wants the FortiGate to act as the responder and allow the remote peer to initiate the tunnel, while ensuring that only the remote peer's unique ID (FQDN) is accepted. Which configuration on the FortiGate is required to achieve this?

A.Set the local gateway to 0.0.0.0 and configure the remote gateway as the remote peer's current public IP, then set the peer ID to the remote peer's FQDN.
B.Set the local gateway to the FortiGate's public IP and configure the remote gateway as 0.0.0.0, then set the peer ID to the remote peer's FQDN.
C.Set the local gateway to 0.0.0.0 and configure a pre-shared key with the remote peer's FQDN as the peer ID.
D.Set the local gateway to 0.0.0.0 and configure the remote gateway as 0.0.0.0, then set the peer ID to the remote peer's FQDN.
AnswerD

When the remote peer has a dynamic IP and is behind NAT, the FortiGate must listen on all interfaces (local gateway 0.0.0.0) and accept any remote gateway (remote gateway 0.0.0.0). The peer ID is then used to authenticate the remote peer by its FQDN, ensuring only that peer can connect. This is the correct configuration for dynamic IP with peer ID verification.

Why this answer

For a remote peer with a dynamic IP behind NAT, the FortiGate must listen on all interfaces and accept connections from any IP. Setting the local gateway to 0.0.0.0 and the remote gateway to 0.0.0.0 enables this. The peer ID is then used to authenticate the remote peer by its FQDN, providing security without relying on a static IP.

This configuration is standard for dynamic IP peers.

Exam trap

The trap here is assuming that the remote gateway must be set to the peer's current IP, but dynamic IPs require 0.0.0.0 to avoid tunnel failures when the IP changes.

71
MCQeasy

A FortiGate administrator is configuring an IPsec VPN to a remote peer behind a device that performs NAT. The administrator notices that the tunnel establishes but rekeys fail after the Phase 1 lifetime expires. Which setting should the administrator enable on the FortiGate to allow the IKE negotiation to survive NAT and pass through the NAT device reliably?

A.Dead Peer Detection (DPD) with an aggressive retry interval on Phase 1.
B.Aggressive mode for IKE Phase 1 instead of main mode.
C.NAT traversal (NAT-T) on the IPsec Phase 1 interface.
D.Perfect Forward Secrecy (PFS) on the IPsec Phase 2 interface.
AnswerC

NAT-T encapsulates IKE and ESP in UDP (typically port 4500) so that NAT devices can translate the traffic and maintain state. When a peer is behind NAT, enabling NAT-T on the Phase 1 interface allows the tunnel to establish and rekey reliably, because the NAT device can track the UDP flow. Without NAT-T, ESP packets may be dropped or mishandled, causing rekey failures.

Why this answer

NAT-T allows IKE and ESP to be encapsulated in UDP so NAT devices can translate and track the flow. Enabling NAT-T on the Phase 1 interface lets the tunnel establish and rekey reliably when a peer sits behind NAT, which directly addresses the rekey failures observed after the Phase 1 lifetime expires.

Exam trap

The trap here is confusing NAT traversal with other IPsec options such as PFS or aggressive mode, which do not solve NAT translation issues.

72
MCQhard

During a ZTNA implementation, the administrator configures a ZTNA rule for an internal application but users cannot connect. The FortiGate policy is correct and the application is reachable from the FortiGate. What is the most likely misconfiguration?

A.The firewall policy is set to deny traffic from the ZTNA gateway.
B.The client does not have a route to the internal application.
C.The client's FortiClient agent is not authenticated.
D.The ZTNA rule's proxy destination IP or port is wrong.
AnswerD

ZTNA access proxy rules forward traffic to the real application using the configured destination IP and port. If these are wrong, the FortiGate cannot reach the backend service, so users fail to connect even though the policy matches and the application is otherwise reachable.

Why this answer

The ZTNA rule defines the mapping between the external proxy address and the internal application's actual IP and port. If the proxy destination IP or port is misconfigured, the FortiGate's ZTNA proxy cannot forward traffic to the correct internal server, even though the firewall policy and network connectivity are otherwise valid. This is a common misconfiguration when the internal application's IP or service port differs from what is specified in the ZTNA rule.

Exam trap

The trap here is that candidates often confuse ZTNA rule misconfiguration with firewall policy issues or client-side routing, but the exam specifically tests that the ZTNA rule's proxy destination must exactly match the internal application's IP and port for the proxy to forward traffic correctly.

How to eliminate wrong answers

Option A is wrong because the firewall policy for ZTNA must permit traffic from the ZTNA gateway (the proxy IP) to the internal application; a deny rule would explicitly block the proxy, but the question states the policy is correct. Option B is wrong because the client does not need a direct route to the internal application; in ZTNA, the client connects only to the FortiGate's external proxy IP, and the FortiGate handles routing to the internal application. Option C is wrong because while FortiClient authentication is required for ZTNA access, the question states users cannot connect despite a correct policy and reachable application, implying the authentication is likely successful; the issue is specifically with the ZTNA rule's proxy destination mapping.

73
MCQeasy

An organization wants to implement Zero Trust Network Access (ZTNA) to secure access to an internal web application. The current network uses FortiGate as the firewall. Which component is required to enforce ZTNA policies on the FortiGate?

A.FortiSandbox for content inspection
B.FortiAnalyzer for log analysis
C.FortiGate ZTNA proxy configuration
D.FortiAuthenticator for RADIUS authentication
AnswerC

ZTNA on FortiGate requires the access proxy, configured via the ZTNA proxy settings, to intercept and broker user traffic to the internal web application. This proxy enforces the zero-trust policy, verifying identity and posture before granting access rather than relying on network location.

Why this answer

To enforce ZTNA policies on a FortiGate, you must configure the FortiGate as a ZTNA access proxy, which inspects and controls traffic to the internal application based on device posture and identity tags. This is done via the ZTNA proxy configuration on the FortiGate, which acts as the policy enforcement point. Without this, the FortiGate cannot apply ZTNA rules to the traffic.

Exam trap

NSE7 often tests the misconception that authentication (FortiAuthenticator) or logging (FortiAnalyzer) components enforce ZTNA, when the FortiGate itself must be configured as the access proxy.

How to eliminate wrong answers

Option A is wrong because FortiSandbox performs advanced threat detection and sandboxing, not ZTNA policy enforcement. Option B is wrong because FortiAnalyzer is a logging and reporting appliance, not an enforcement component for ZTNA. Option D is wrong because FortiAuthenticator provides authentication and RADIUS services, but ZTNA enforcement requires the FortiGate's access proxy to apply tag-based policies.

74
MCQeasy

An administrator wants to configure a multi-peer IPsec VPN where one FortiGate (hub) connects to multiple remote FortiGates (spokes) using a single phase 1 interface with dynamic IP addresses. Which configuration is required on the hub?

A.Set psksecret to a group password and enable XAuth
B.Set mode to aggressive and use pre-shared keys
C.Set type to static and configure each peer's IP in separate phase1
D.Set type to dynamic and set remote-gw 0.0.0.0
AnswerD

A dynamic phase 1 with remote-gw 0.0.0.0 lets the hub accept connections from any spoke IP, satisfying the requirement for multiple spokes with dynamic addresses on a single interface. Static remote-gw would permit only one peer.

Why this answer

For a hub-and-spoke IPsec VPN where spokes have dynamic IP addresses, the hub's phase 1 must be configured with `set type dynamic` and `set remote-gw 0.0.0.0` so it can accept connections from any peer IP. This allows a single phase 1 interface to serve multiple spokes with dynamic addresses, which is the standard FortiGate dial-up VPN configuration.

Exam trap

NSE7 often tests the specific FortiGate syntax for dial-up VPNs — candidates confuse aggressive mode (an IKEv1 mode) with the `type dynamic` / `remote-gw 0.0.0.0` configuration that actually enables dynamic peer acceptance.

How to eliminate wrong answers

Option A is wrong because XAuth is an authentication extension for remote user VPNs (dial-up clients), not the mechanism for multi-peer site-to-site IPsec with dynamic spokes; a group password alone does not enable dynamic peer acceptance. Option B is wrong because aggressive mode is an IKEv1 phase 1 mode used for dial-up VPNs with pre-shared keys, but it does not by itself configure the hub to accept dynamic peers — the `type dynamic` and `remote-gw 0.0.0.0` settings are still required, and aggressive mode is not the defining configuration here. Option C is wrong because static type with per-peer IPs in separate phase 1 entries cannot handle dynamic spoke IPs; it requires knowing each peer's IP in advance, which contradicts the scenario.

75
MCQeasy

An organization wants to implement Zero Trust Network Access (ZTNA) to secure access to an internal application. The application is hosted on a server with IP 10.1.1.100. Which component acts as the intermediary between users and the application in FortiGate ZTNA?

A.FortiClient EMS
B.ZTNA agent on the application server
C.ZTNA proxy on FortiGate
D.ZTNA tags assigned to the application server
AnswerC

The ZTNA proxy on FortiGate terminates user connections and initiates separate sessions to the protected server, so users never reach 10.1.1.100 directly. This intermediary role satisfies the Zero Trust requirement of brokering access to the internal application.

Why this answer

FortiGate ZTNA uses a reverse proxy to forward user connections to internal applications. Users connect to the proxy, which verifies identity and posture before proxying traffic to the application server.

Page 1 of 2 · 138 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Advanced VPN and Zero Trust questions.