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?

QuestionsCategory: Google Professional Cloud DeveloperYou 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?
Admin Staff asked 7 months ago
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?

A. Use an OAuth Client ID that uses the https://www.googleapis.com/auth/drive.file scope to obtain an access token for each user.

B. Use an OAuth Client ID with delegated domain-wide authority.

C. Use the App Engine service account and https://www.googleapis.com/auth/drive.file scope to generate a signed JSON Web Token (JWT).

D. Use the App Engine service account with delegated domain-wide authority.








 

Correct Answer: B

This question is in Google Professional Cloud Developer Exam
For getting Google Professional Cloud Developer Certificate

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.