Amazon interview question

How does a web server authenticate to a database?