Google Cloud Professional Cloud Database Engineer — Question 125

You are a DBA of Cloud SQL for PostgreSQL. You want the applications to have password-less authentication for read and write access to the database. Which authentication mechanism should you use?

Answer options

Correct answer: A

Explanation

The correct answer is A, as IAM authentication allows for password-less access through Google Cloud's identity management. The other options do not support password-less connections to Cloud SQL; Managed Active Directory authentication requires credentials, Cloud SQL federated queries are used for querying data from other sources, and PostgreSQL's built-in authentication relies on passwords.