JNCIA-Junos: Juniper Networks Certified Associate – Junos (legacy) — Question 22

-- Exhibit --
[edit routing-options]
user@router# show
static {
route 0.0.0.0/0 {
next-hop 10.1.1.1;
qualified-next-hop 10.1.1.254 {
preference 4;
}
}
}
-- Exhibit --

Assuming both paths shown in the exhibit are available, which statement is correct?

Answer options

Correct answer: B

Explanation

The correct answer is B because the qualified-next-hop 10.1.1.254 has a preference value of 4, which is lower than the implicit preference of the primary next hop 10.1.1.1. Therefore, traffic matching the default route will prefer the qualified next hop. Options A, C, and D are incorrect because they do not account for the preference value that prioritizes the qualified next hop.