You have a Linux VM that must connect to Cloud SQL. You created a service account with the appropriate access rights. You want to make sure that the VM uses this service account instead of the default Compute Engine service account. What should you do?
A) When creating the VM via the web console, specify the service account under the 'Identity and API Access' section.
B) Download a JSON Private Key for the service account. On the Project Metadata, add that JSON as the value for the key compute-engine-service-account . Download a JSON Private Key for the service account. On the Project Metadata, add that JSON as the value for the key compute-engine-service-account .
C) Download a JSON Private Key for the service account. On the Custom Metadata of the VM, add that JSON as the value for the key compute-engine-service-account . Download a JSON Private Key for the service account. On the Custom Metadata of the VM, add that JSON as the value for the key
D) Download a JSON Private Key for the service account. After creating the VM, ssh into the VM and save the JSON under ~/.gcloud/compute-engine-service-account.json.
Correct Answer:
Verified
Q14: You have an object in a Cloud
Q15: You are the project owner of a
Q16: You want to configure autohealing for network
Q17: You need to grant access for three
Q18: You need to set up permissions for
Q20: You are using multiple configurations for gcloud.
Q21: You deployed an App Engine application using
Q22: You want to configure an SSH connection
Q23: Your organization is a financial company that
Q24: You need to enable traffic between multiple
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents