nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #159

PROFESSIONAL-CLOUD-DEVELOPER Question #159: Real Exam Question with Answer & Explanation

The correct answer is D: Run gcloud bigtable instances list, gcloud redis instances list, and gcloud sql databases list. Use -. https://cloud.google.com/sdk/gcloud/reference/topic/filters Most gcloud commands return a list of resources on success. By default they are pretty-printed on the standard output. The --format=NAMEATTRIBUTES and -- filter=EXPRESSION flags along with projections can be used to form

Operating Google Cloud Services

Question

Your operations team has asked you to create a script that lists the Cloud Bigtable, Memorystore, and Cloud SQL databases running within a project. The script should allow users to submit a filter expression to limit the results presented. How should you retrieve the data?

Options

  • AUse the HBase API, Redis API, and MySQL connection to retrieve database lists. Combine the
  • BUse the HBase API, Redis API, and MySQL connection to retrieve database lists. Filter the
  • CRun gcloud bigtable instances list, gcloud redis instances list, and gcloud sql databases list. Use
  • DRun gcloud bigtable instances list, gcloud redis instances list, and gcloud sql databases list. Use -

Explanation

https://cloud.google.com/sdk/gcloud/reference/topic/filters Most gcloud commands return a list of resources on success. By default they are pretty-printed on the standard output. The --format=NAMEATTRIBUTES and -- filter=EXPRESSION flags along with projections can be used to format and change the default output to a more meaningful result. Use the --format flag to change the default output format of a command. For details run $ gcloud Use the --filter flag to select resources to be listed. Resource filters are described in detail below.

Topics

#gcloud CLI#Resource Management#Cloud Databases#Command Line Filtering

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions