nerdexam
Fortinet

NSE4 · Question #36

Which of the following statements are correct about the HA command diagnose sys ha reset- uptime? (Choose two.)

The correct answer is A. The device this command is executed on is likely to switch from master to slave status if override D. This command resets the uptime variable used in the HA algorithm so it may cause a new master. The diagnose sys ha reset-uptime command resets a FortiGate's uptime, potentially causing it to switch from master to slave status if override is enabled and a peer has a higher priority, or if override is disabled and a peer gains an uptime advantage.

Submitted by daniela_cl· Apr 18, 2026FortiGate Deployment and System Configuration

Question

Which of the following statements are correct about the HA command diagnose sys ha reset- uptime? (Choose two.)

Options

  • AThe device this command is executed on is likely to switch from master to slave status if override
  • BThe device this command is executed on is likely to switch from master to slave status if override
  • CThis command has no impact on the HA algorithm.
  • DThis command resets the uptime variable used in the HA algorithm so it may cause a new master

How the community answered

(57 responses)
  • A
    95% (54)
  • B
    4% (2)
  • C
    2% (1)

Why each option

The `diagnose sys ha reset-uptime` command resets a FortiGate's uptime, potentially causing it to switch from master to slave status if override is enabled and a peer has a higher priority, or if override is disabled and a peer gains an uptime advantage.

AThe device this command is executed on is likely to switch from master to slave status if overrideCorrect

If override is enabled and unit priorities are equal, uptime acts as a tie-breaker; resetting uptime on the master would likely cause the peer to become master if its uptime is now longer.

BThe device this command is executed on is likely to switch from master to slave status if override

If override is disabled, uptime is a critical factor; resetting uptime on a master makes it *less* likely to be master, causing it to switch to slave if a peer has a longer uptime.

CThis command has no impact on the HA algorithm.

The command directly modifies a key metric (uptime) in the HA algorithm, therefore it absolutely has an impact on the master election process.

DThis command resets the uptime variable used in the HA algorithm so it may cause a new masterCorrect

This command directly manipulates the uptime variable used in the HA master election algorithm, which is a significant factor, especially when override is disabled or when other criteria like unit priority are equal, thus potentially triggering a master role change.

Concept tested: FortiGate HA master election, uptime reset

Source: https://docs.fortinet.com/document/fortigate/7.4.0/administration-guide/181512/master-unit-selection

Topics

#FortiGate HA#HA commands#Master election#HA override

Community Discussion

No community discussion yet for this question.

Full NSE4 Practice