Q: 14
Refer to the exhibit.
The goal is to write a Python script to automatically send a message to an external messaging
application when a rogue AP is detected on the network. The message should include the broadcast
SSID that is in the alert. A function called “send_to_application” is created, and this is the
declaration:
send_to_application(message)
The exhibit also shows the data that is received by the application and stored in the variable
return_val. Which Python code completes the task?

The goal is to write a Python script to automatically send a message to an external messaging
application when a rogue AP is detected on the network. The message should include the broadcast
SSID that is in the alert. A function called “send_to_application” is created, and this is the
declaration:
send_to_application(message)
The exhibit also shows the data that is received by the application and stored in the variable
return_val. Which Python code completes the task?

Options
Discussion
Maybe D. includes both the SSID and bssids in the message, which matches what the function expects. B looks like a trap since it might ignore part of the data. Pretty sure about D unless I’m missing something in the exhibit.
Probably D, fits the format needed for the alert message with the required SSID from the return_val data.
Be respectful. No spam.