Which Python code completes the task?

Posted by: Pdfprep Category: 300-435 Tags: , ,

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?

A)

B)

C)

D)

A . Option A
B . Option B
C . Option C
D . Option D

Answer: A

Explanation:

For number in range value is required for the application to send the alert. Bssids are also included.

Leave a Reply

Your email address will not be published.