0 votes
in Cloud Computing by

You have an application that periodically needs to fetch data online and then upload it to BigQuery and Cloud Storage.
You have prepared a bash script to complete the operation.
What do you have to do in order to to authorize the procedure in an automated, simple and scalable way in the VM of the managed instance group on which it is installed?

A. Create the virtual machine with an image or script that provides the necessary roles
B. Set up a service account with the correct privileges and create the instance template of the virtual machine with this service account
C. Write all the proper and needed credentials in the code
D. Create a procedure in App Engine and translate the script in code in order to load the data

1 Answer

0 votes
by

Correct Answer B
A and C are wrong for security reasons. You are never advised to expose security information in clear text.
D is wrong because there is no need to code in programming language and, in any case, this not solve out issue.

Related questions

0 votes
asked Dec 2, 2021 in Cloud Computing by DavidAnderson
0 votes
asked Dec 2, 2021 in Cloud Computing by DavidAnderson
...