Topic 1 Question 27
You are creating a web application that runs in a Compute Engine instance and writes a file to any user's Google Drive. You need to configure the application to authenticate to the Google Drive API. What should you do?
Use an OAuth Client ID that uses the https://www.googleapis.com/auth/drive.file scope to obtain an access token for each user.
Use an OAuth Client ID with delegated domain-wide authority.
Use the App Engine service account and https://www.googleapis.com/auth/drive.file scope to generate a signed JSON Web Token (JWT).
Use the App Engine service account with delegated domain-wide authority.
ユーザの投票
コメント(8)
- 正解だと思う選択肢: A
A is correct
👍 3tomato1232022/08/19 A is the most suitable answer in my opinion. Auth tokens should be requested per user (So for each user, a token is requested by the application and the user needs to authorise the application).
👍 2anisov2021/12/30- 正解だと思う選択肢: A
A is correct because each user should have its own access token rather giving delegated wide domain access.
👍 2ParagSanyashiv2022/01/08
シャッフルモード