JN0-224 · Question #144
You are asked to write an on-box script that will be triggered when a specific interface on a Junos device goes down. Which type of on-box script should you use to accomplish this task?
The correct answer is B. event. An event script is used to automate responses to system events in Junos, such as an interface going down. These scripts are triggered automatically when a specified event occurs, making them suitable for tasks like monitoring interface status and executing actions when the…
Question
You are asked to write an on-box script that will be triggered when a specific interface on a Junos device goes down. Which type of on-box script should you use to accomplish this task?
Options
- Acommit
- Bevent
- Coperation
- DSNMP
How the community answered
(21 responses)- A5% (1)
- B76% (16)
- C5% (1)
- D14% (3)
Explanation
An event script is used to automate responses to system events in Junos, such as an interface going down. These scripts are triggered automatically when a specified event occurs, making them suitable for tasks like monitoring interface status and executing actions when the status Option B (event) is correct because event scripts are designed for reacting to system events like an interface going down.
Topics
Community Discussion
No community discussion yet for this question.