Soru

Zorluk: KolayMonitoring, Logging, and Observability Integration

An enterprise organization is deploying application workloads on Compute Engine virtual machines in Google Cloud. The operations team needs to collect basic system metrics, custom application telemetry, and ensure high-priority error log entries are retained while managing overall logging ingestion volume. Which TWO implementation steps should the Cloud Architect recommend? (Select TWO)

  1. Install and configure the Google Cloud Ops Agent on the Compute Engine virtual machines to gather metrics and application logs.Cevap
  2. Configure Cloud Logging exclusion filters with specific sample rates while explicitly allowing log entries with a severity level of ERROR or higher.Cevap
  3. C
    Grant the primitive Owner role to the default Compute Engine service account to guarantee metric and log telemetry permissions across all projects.
  4. D
    Apply a global exclusion filter dropping all logs from Compute Engine instances without specifying severity limits to minimize telemetry costs.
  5. E
    Rely exclusively on VPC Service Controls perimeter configurations to collect guest operating system metrics and application logs.

Cevap

The correct recommendations are to deploy the Google Cloud Ops Agent on Compute Engine virtual machines for telemetry collection, and to configure Cloud Logging exclusion filters that preserve log entries with a severity of ERROR or higher.
Deploying the Google Cloud Ops Agent ensures comprehensive metric and log collection from VM instances. Additionally, using Cloud Logging exclusion filters while safeguarding error-level logs allows cost management without losing essential diagnostic data during operational incidents.

Adım Adım Çözüm

1
Identify the primary mechanism for collecting logs and metrics on Compute Engine instances.
The Google Cloud Ops Agent is selected as the standard unified agent for telemetry.
The Ops Agent is designed specifically for Compute Engine to collect system metrics, custom metrics, and application logs.
2
Design log ingestion control mechanisms to optimize cost without impacting reliability monitoring.
Exclusion filters with severity thresholds are established in Cloud Logging Log Router.
Filtering out low-priority telemetry while explicitly preserving high-severity error logs protects the error budget and supports rapid incident response.

Anahtar Kavram

Monitoring and Logging Integration for Compute Workloads
Bu soruyu puanla