โ† 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 tool in Google Cloud is best suited for identifying performance bottlenecks in distributed microservices by visualizing request latency across services?

    Answer: Cloud Trace

    Cloud Trace collects latency data from applications and displays distributed traces, allowing you to identify performance bottlenecks across microservices.

  2. A developer wants to be automatically notified when their application starts throwing a new type of exception in production. Which service provides this capability?

    Answer: Error Reporting

    Error Reporting aggregates and de-duplicates application errors and sends notifications when new error groups are detected in your application.

  3. You need to create a metric based on the count of log entries containing the word 'ERROR' in your application logs. What should you configure in Cloud Logging?

    Answer: Log-based metric

    Log-based metrics extract numeric values from log entries matching a filter and make them available as Cloud Monitoring metrics for alerting and dashboards.

  4. Which IAM role grants a user read-only access to view logs in Cloud Logging without allowing them to modify log sinks or exclusions?

    Answer: roles/logging.viewer

    The roles/logging.viewer role grants permission to view logs, log-based metrics, and logging configuration but not to modify them.

  5. A Cloud Monitoring alerting policy is configured with a condition duration of 5 minutes. What does this mean?

    Answer: The alert fires only if the threshold is continuously exceeded for 5 minutes

    The condition duration (also called the alignment period or 'for' window) requires the threshold to be continuously violated for the specified duration before the alerting policy fires.

  6. You want to reduce Cloud Logging ingestion costs by dropping noisy DEBUG-level log entries from a specific service before they are stored. What should you configure?

    Answer: Log exclusion filter

    Log exclusion filters in Cloud Logging drop matching log entries before they are ingested and stored, reducing ingestion volume and costs.

  7. Which Cloud Profiler feature helps reduce the performance overhead of continuous profiling in production?

    Answer: It uses statistical sampling to collect performance data with low overhead

    Cloud Profiler uses statistical (sampling-based) profiling, which introduces minimal CPU and memory overhead, making it safe to run continuously in production.