Hello Axium, unfortunately, Azure SQL Serverless does not provide a direct setting to differentiate between “Light Pause” and “Deep Pause.” The auto-pause feature is designed to pause the database after a specified period of inactivity, and the resume time can vary depending on how long the database has been paused. The auto-pause delay can be configured, but it does not allow for fine-tuning to avoid longer resume times after extended periods of inactivity.
A possible workaround like what you mentioned could help eliminate the deep pause. However, there's no straight forward answer to provide in terms of what the frequency of this program to query the DB should be, since the inactivity time isn't exposed by the serverless SQL.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.