Google Cloud Professional Data Engineer — Question 85

You are integrating one of your internal IT applications and Google BigQuery, so users can query BigQuery from the application's interface. You do not want individual users to authenticate to BigQuery and you do not want to give them access to the dataset. You need to securely access BigQuery from your IT application. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because using a service account allows secure access to BigQuery without exposing individual user credentials or granting direct access to the dataset. Option A is incorrect as it still allows group access, which doesn't meet the requirement for individual user authentication. Option B is not suitable as it requires passing user credentials, which you want to avoid. Option D is insecure, as storing credentials in a file poses significant security risks.