Refer to the exhibit. An API request must display an alert message if change in OSPF neighbors is detected. Which code snippet must be added to complete the requests?
The correct code snippet for detecting a change in OSPF neighbors and displaying an alert message is Option C. This option includes a check for ‘OSPF-neighbor-state-change’ within the ‘Correlation Engine’ data returned by the API call. If this key exists and its value is not 0, indicating a state change has occurred, it prints out an alert message “OSPF neighbor change detected!” This logic correctly implements the required functionality.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit