Based on the information provided within the question it seems that you should on a domain controller, configure constrained delegation on the service account. This would allow you to adjust the trust boundaries of the service by limiting the scope as to what it can do on a user's behalf. Therefore allowing (in this scenario) the application to connect to a back-end database server, BEdata, on behalf of users.
When you shut down your electronic, all your open programs close and the electronic shuts down your operating system. An electronic that's shut down uses almost no power. In sleep mode, the electronic enters a low-power state. The electronics state is kept in memory.