ABDF
There is an article in the Microsoft documentation on configuring Azure Stream Analytics on IoT Edge devices.
You need to have a storage container for the job definition:
Installation instructions -
The high-level steps are described in the following table. More details are given in the following sections.

You also need to create a cloud part job definition:

You also need to set the modules for your IoT edge device:
Deployment ASA on your IoT Edge device(s)
Add ASA to your deployment -
ג€¢ In the Azure portal, open IoT Hub, navigate to IoT Edge and click on the device you want to target for this deployment.
ג€¢ Select Set modules, then select + Add and choose Azure Stream Analytics Module.
ג€¢ Select the subscription and the ASA Edge job that you created. Click Save.

You also need to configure the Routes:
Configure routes -
IoT Edge provides a way to declaratively route messages between modules, and between modules and IoT Hub. The full syntax is described here. Names of the inputs and outputs created in the ASA job can be used as endpoints for routing.
Since this is clear from the Microsoft documentation, all other options are incorrect.
Reference:
https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-edge