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)
- Install and configure the Google Cloud Ops Agent on the Compute Engine virtual machines to gather metrics and application logs.Cevap
- Configure Cloud Logging exclusion filters with specific sample rates while explicitly allowing log entries with a severity level of ERROR or higher.Cevap
- CGrant the primitive Owner role to the default Compute Engine service account to guarantee metric and log telemetry permissions across all projects.
- DApply a global exclusion filter dropping all logs from Compute Engine instances without specifying severity limits to minimize telemetry costs.
- ERely 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
Anahtar Kavram
Monitoring and Logging Integration for Compute Workloads