nerdexam
Juniper

JN0-102 · Question #321

Which three statements are true about terms in a policy? (Choose three.)

The correct answer is B. The action is specified in a then statement. C. Terms are optional in a policy. D. The match condition can be identified with a from statement.. In a routing policy, terms are evaluated sequentially, with from statements defining match conditions and then statements specifying the action to take. While from statements are optional, their absence means the term matches all routes.

Routing Policy and Firewall Filters

Question

Which three statements are true about terms in a policy? (Choose three.)

Options

  • AThe order of the terms in a policy is irrelevant.
  • BThe action is specified in a then statement.
  • CTerms are optional in a policy.
  • DThe match condition can be identified with a from statement.
  • EA from statement is mandatory in a term.

How the community answered

(57 responses)
  • A
    2% (1)
  • B
    93% (53)
  • E
    5% (3)

Why each option

In a routing policy, terms are evaluated sequentially, with `from` statements defining match conditions and `then` statements specifying the action to take. While `from` statements are optional, their absence means the term matches all routes.

AThe order of the terms in a policy is irrelevant.

The order of terms in a policy is crucial because terms are evaluated sequentially, and the first term that matches a route determines the action taken.

BThe action is specified in a then statement.Correct

The `then` statement within a policy term is used to specify the action to be taken if the match conditions are met, such as `accept`, `reject`, `next-term`, or `next-policy`.

CTerms are optional in a policy.Correct

Terms are optional in a policy; if a policy does not contain any terms, a default action (usually implicitly accept for import policies or reject for export policies) will apply.

DThe match condition can be identified with a from statement.Correct

The `from` statement within a policy term is used to specify the match conditions that a route must meet for the actions in the `then` statement to be applied.

EA from statement is mandatory in a term.

A `from` statement is optional in a term; if omitted, the term implicitly matches all routes.

Concept tested: Junos routing policy terms and structure

Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/topic-map/policy-match-conditions.html

Topics

#Junos policy terms#policy structure#then statement

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice