Examtopics

Professional Cloud Developer
  • Topic 1 Question 329

    You are using the latest stable version of Python 3 to develop an API that stores data in a Cloud SQL database. You need to perform CRUD operations on the production database securely and reliably with minimal effort. What should you do?

      1. Use Cloud Composer to manage the connection to the Cloud SQL database from your Python application.
      2. Grant an IAM role to the service account that includes the composer.worker permission.
      1. Use the Cloud SQL API to connect to the Cloud SQL database from your Python application.
      2. Grant an IAM role to the service account that includes the cloudsql.instances.login permission.
      1. Use the Cloud SQL connector library for Python to connect to the Cloud SQL database through a Cloud SQL Auth Proxy.
      2. Grant an IAM role to the service account that includes the cloudsql.instances.connect permission.
      1. Use the Cloud SQL emulator to connect to the Cloud SQL database from Cloud Shell
      2. Grant an IAM role to the user that includes the cloudsql.instances.login permission.

    シャッフルモード