Which operator runs a shell command as a task?
- A. PythonOperator
- B. SqlSensor
- C. BashOperator✓ Correct
- D. EmptyOperator
Explanation
The BashOperator executes a Bash/shell command. The PythonOperator (A) runs Python callables, SqlSensor (B) waits for a SQL condition, and EmptyOperator (D) is a no-op placeholder.