Q: You built an application on a your dev laptop that uses Google cloud services. You application uses application default credentials for authentication and works fine on your development laptop. You want to migrate this application to the Compute engine virtual machine (vm) and set up a authentication using google recommended practices and minimal changes. what should you do ?
A) Assign appropriate access for google services to the service account used by compute engine VM
B) Create a service account with appropriate access for google services and configure the application to use this account.
C and D – I ruled out.
What do you think the answer is, but most importantly why ? These 2 options are so close to each other.