It is necessary to avoid any risks
Structural frame evaluating an action via the adjective 'necessary'.
It is necessary to avoid any risk before signing the contract.
—Do we invest now? —It is necessary to avoid any risk with this market.
For safety, it is necessary to avoid any risk during the operation.