nerdexam
Fortinet

NSE4_FGT-7.0 · Question #161

An administrator has a requirement to keep an application session from timing out on port 80. What two changes can the administrator make to resolve the issue without affecting any existing services…

The correct answer is B. Create a new service object for HTTP service and set the session TTL to never C. Set the TTL value to never under config system-ttl. To prevent a specific application's HTTP session from timing out without impacting other services, the administrator should either configure a custom service object with an indefinite session TTL or adjust the system-wide default TCP session TTL.

Firewall Policies

Question

An administrator has a requirement to keep an application session from timing out on port 80. What two changes can the administrator make to resolve the issue without affecting any existing services running through FortiGate? (Choose two.)

Options

  • ACreate a new firewall policy with the new HTTP service and place it above the existing HTTP
  • BCreate a new service object for HTTP service and set the session TTL to never
  • CSet the TTL value to never under config system-ttl
  • DSet the session TTL on the HTTP policy to maximum

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    79% (19)
  • D
    17% (4)

Why each option

To prevent a specific application's HTTP session from timing out without impacting other services, the administrator should either configure a custom service object with an indefinite session TTL or adjust the system-wide default TCP session TTL.

ACreate a new firewall policy with the new HTTP service and place it above the existing HTTP

Creating a new firewall policy and placing it above existing ones does not inherently prevent session timeouts; the session TTL must be configured within the policy or its associated service, and policy order alone doesn't control timeout duration.

BCreate a new service object for HTTP service and set the session TTL to neverCorrect

Creating a new service object for HTTP (port 80) and explicitly setting its session TTL to 'never' allows for granular control, ensuring that only sessions utilizing this specific service object will have an indefinite timeout, thereby not affecting other existing HTTP services or policies.

CSet the TTL value to never under config system-ttlCorrect

Setting the default TCP session TTL to 'never' using `config system-ttl` would apply to all new TCP sessions that do not have a more specific TTL configured in their firewall policy or custom service object. This change can resolve the issue for the target application and not affect existing services if those services already have explicit session TTLs defined, overriding the system default.

DSet the session TTL on the HTTP policy to maximum

Setting the session TTL on an existing HTTP policy to 'maximum' would affect all applications using that policy, contradicting the requirement to only affect 'an' application session without impacting 'any existing services' more broadly.

Concept tested: FortiGate session TTL configuration and custom services

Source: https://docs.fortinet.com/document/fortigate/7.4.0/administration-guide/52678/setting-session-timeouts

Topics

#session TTL#firewall policy#service objects#HTTP sessions

Community Discussion

No community discussion yet for this question.

Full NSE4_FGT-7.0 Practice