Answer by Duck Claude 3

The correct answer is B. Create a service account with appropriate access for Google services, and configure the application to use this account.

Explanation:

A. Assigning appropriate access to the default Compute Engine service account is not the recommended approach, as it is a shared account and may not provide the necessary granular control over permissions.

B. Creating a dedicated service account with the appropriate access for the required Google services and configuring the application to use this account is the recommended best practice. This ensures that the application has the necessary permissions without exposing any user credentials.

C. Storing service account credentials in a config file and deploying it with the application is not recommended, as it can lead to security risks if the credentials are compromised.

D. Storing user account credentials in a config file and deploying it with the application is not recommended, as it can lead to security risks and may not be scalable if the application needs to be deployed to multiple environments.

The key points are:

  • Use a dedicated service account with the appropriate permissions for the required Google services.
  • Configure the application to use the service account for authentication, which is the recommended Google-recommended practice.
  • This approach ensures the necessary permissions without exposing any user credentials, which is more secure and scalable.

This page was last edited on 2025-02-07 04:35

Powered by Wiki|Docs

This page was last edited on 2025-02-07 04:35

Mac
To whom it may concern

Powered by Wiki|Docs