Q19 PostgreSQL Domain 2 · 25–30% of exam

Which authentication method is recommended for Azure Database for PostgreSQL Flexible Server in production?

  1. A Username/password only
  2. B Microsoft Entra ID (AAD) authentication with managed identity (correct answer)
  3. C Server admin account
  4. D MD5 password hash

Shortcut: Entra ID authentication allows Azure managed identities and service principals to authenticate without passwords. Assign the identity the right PostgreSQL role to grant access.