Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 287 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 287

Select 2Google Cloud Platform

You are tasked with monitoring a custom metric for the number of user logins per minute in a web application hosted on Google Cloud Platform. You need to create and ingest this custom metric into Cloud Monitoring. What steps should you take to achieve this task?

  1. A

    A. Define a custom metric descriptor using the Cloud Monitoring API.

  2. B

    B. Install the Cloud Monitoring agent on your web application servers.

  3. C

    C. Use the Cloud Monitoring API to write time series data for the custom metric.

  4. D

    D. Create a dashboard in Cloud Monitoring to visualize the custom metric.

  5. E

    E. Set up a Cloud Pub/Sub topic to ingest the custom metric data.

Show answer and explanation

Correct answers: A, C

Explanation

To create and ingest a custom metric in Cloud Monitoring, you must first define the metric descriptor using the Cloud Monitoring API. This defines the metric's properties and structure. After defining the descriptor, use the Cloud Monitoring API to write time series data for this metric, effectively ingesting the data into Cloud Monitoring. These steps are crucial for setting up and populating your custom metric.

  • A. Correct.

    A. Correct. Defining a custom metric descriptor using the Cloud Monitoring API is the first step to creating a custom metric.

  • B. Incorrect.

    B. Incorrect. While the Cloud Monitoring agent can collect some metrics, it is not necessary for ingesting custom metrics directly.

  • C. Correct.

    C. Correct. Writing time series data using the Cloud Monitoring API is required to ingest data into the custom metric.

  • D. Incorrect.

    D. Incorrect. While creating a dashboard can help visualize the metric, it is not a step in the creation and ingestion process.

  • E. Incorrect.

    E. Incorrect. Cloud Pub/Sub is not used for ingesting custom metric data into Cloud Monitoring.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam