← All Cloud Engineer Flashcard Decks

Cloud Monitoring, Logging & Observability Flashcards

7 cards from real Cloud Engineer practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Cloud Monitoring, Logging & Observability flashcards as text
  1. Which Google Cloud service provides a unified dashboard for metrics, logs, and traces across your cloud infrastructure?

    Answer: Cloud Monitoring

    Cloud Monitoring (formerly Stackdriver Monitoring) provides a unified dashboard for metrics, uptime checks, alerting, and dashboards across Google Cloud and AWS resources.

  2. A cloud engineer needs to capture all API calls made to Google Cloud resources for security auditing. Which log type should they enable?

    Answer: Data Access Audit Logs

    Data Access Audit Logs record API calls that read or modify the configuration or data of user-created resources and must be explicitly enabled (except for BigQuery).

  3. You want to export Cloud Logging logs to BigQuery for long-term analysis. What resource do you configure in Cloud Logging?

    Answer: Log sink

    A log sink routes log entries matching a filter to a destination such as BigQuery, Cloud Storage, or Pub/Sub for long-term storage or analysis.

  4. What is the default retention period for logs stored in the _Default log bucket in Cloud Logging?

    Answer: 30 days

    The _Default log bucket retains logs for 30 days by default; you can extend retention up to 3,650 days for an additional cost.

  5. A team wants to receive an email alert when the CPU utilization of a Compute Engine instance exceeds 80% for 5 minutes. Which Cloud Monitoring component defines this threshold condition?

    Answer: Alerting policy

    An alerting policy in Cloud Monitoring defines conditions (metric threshold, duration, filter) and notification channels to trigger when those conditions are met.

  6. Which Cloud Monitoring feature allows you to verify that a publicly accessible URL returns a successful HTTP response at regular intervals?

    Answer: Uptime check

    Uptime checks periodically send requests to a specified URL or IP address and alert you when the endpoint is unreachable or returns an error.

  7. You are writing a custom metric in Cloud Monitoring. Which metric kind should you use if each data point represents an instantaneous measurement, such as current memory usage?

    Answer: GAUGE

    A GAUGE metric kind represents an instantaneous value at a specific point in time, such as current CPU or memory usage.